Re: [Ryu-devel] Changing port-config and port-state

2017-12-17 Thread Iwase Yusuke
Hi Rahul, You need to specify the "mask" value whose bits are corresponding to the "config" value you need to change. For example, if you need to change ports into "up" state, the mask value should be the logical sum of all ofp_port_config flags e.g.) mask_all = (ofproto.OFPPC_PORT_DOWN

[Ryu-devel] Changing port-config and port-state

2017-12-17 Thread rahul b
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 m