Hi,
I am using OF 1.5, OVS 2.7.4. I have couple of questions regarding
OFPPortMod
I want to bring down/shut port added to a ovs bridge, to do that,i am
currently using,
OFPPortMod with config=0,mask=ofp.OFPPC_PORT_DOWN. This operation
successfully brings the port down in OVS, and i receive port mod
notification on Ryu.
However changing the mask to ofp.OFPPC_NO_FWD ,ofp.OFPPC_NO_RECV has no
effect,the configuration in OVS does not get changed, and hence i do not
receive port status change message.
Both these messages below does not work.
version=None,msg_type=None,msg_len=None,xid=None,OFPPortMod(config=0,hw_addr='08:00:45:56:67:78',mask=1,port_no=300,properties=[])
version=None,msg_type=None,msg_len=None,xid=None,OFPPortMod(config=0,hw_addr='08:00:45:56:67:78',mask=32,port_no=300,properties=[])
Q) So am i doing something wrong here?
Q)Once i set the port-config to ofppc_port_down no matter what values of
conifg/mask i use i am not able to bring up the port , is this expected?Or
is there a way to emulate "ovs-ofctl mod-port br0 eth1 up" through
OFPPortMod message.
----------------------------------------------------------------------------------------------------------------
I am new to OVSDB, and i have tried this code to bring up the port.
self.ovs = ovs_bridge.OVSBridge(CONF=self.CONF,
datapath_id=datapath.id, ovsdb_addr=ovsdb_addr)
....
....
self.ovs.set_db_attribute("Interface", "eth1", "admin_state", "up")
Q)The above code does not work, does it make sense to perform an operation
like this?
Thanks,
Rahul
------------------------------------------------------------------------------
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel