Hi,

Can you please provide an example for the arguments to program the
following command using add_db_attribute API.

*ovs-vsctl command: *'ovs-vsctl add port "ens38" trunks 3'

what should be the arguments for ovs.add_db_attribute ?
I tried few combinations, but didnt work.

ovs.add_db_attribute(table=Port, record="ens38",column=trunks,value=3)

i get this error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 290, in _event_loop
    handler(ev)
  File "/usr/local/lib/python2.7/dist-packages/ryu/app/kapil.py", line 73,
in switch_features_handler
    ovs.add_db_attribute(Port, record="ens38",column="trunks",value=1)
NameError: global name 'Port' is not defined


Regards
Kapil.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to