Hi, I am trying to use the "ovs-ofctl mod-port switch port <action>" command to bring down the patch port I have on my switch . I am using the patch port to create a link between two switches. I am using ovs 2.1 version.
When I use the command "ovs-ofctl mod-port br1 port1 down" the patch port on switch doesn't go down. When I use the command with veth pair ports it works fine. I wanted to know if I am doing anything wrong or patch port is not supported. Thanks KP ----------------------------------------------------------------------------- The log says : 2016-05-13T17:58:08.474Z|00042|netdev|WARN|failed to set flags for network device port1: Operation not supported ------------------------------------------------------------------------------ here is the sample output of what i am trying to do: root@mininet-vm:/root# ovs-vsctl show aaa4c93f-aa5a-4e41-b565-47c6f100c291 Bridge "br1" Port "port1" Interface "port1" type: patch options: {peer="port2"} Port "br1" Interface "br1" type: internal Bridge "br2" Port "br2" Interface "br2" type: internal Port "port2" Interface "port2" type: patch options: {peer="port1"} root@mininet-vm:/root# ovs-ofctl show br1 OFPT_FEATURES_REPLY (xid=0x2): dpid:00006a6100110d4c n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst 1(port1): addr:2e:2d:25:2b:ae:e7 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max LOCAL(br1): addr:6a:61:00:11:0d:4c config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 root@mininet-vm:/root# ovs-ofctl mod-port br1 port1 down root@mininet-vm:/root# ovs-ofctl show br1 OFPT_FEATURES_REPLY (xid=0x2): dpid:00006a6100110d4c n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst 1(port1): addr:2e:2d:25:2b:ae:e7 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max LOCAL(br1): addr:6a:61:00:11:0d:4c config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss