Hello list,

Just started using openvswitch and ran either into a bug or I am missing 
something. According to various mailing list emails, MPLS label operations are 
available in userspace datapath. To configure a vswitch in the userspace DP, it 
needs to be set as a “netdev”, but after doing so, all vswitch operational 
commands fail with "br0 is not a bridge or a socket”. 

Found a similar report from back in October: 
http://openvswitch.org/pipermail/discuss/2014-October/015138.html 
<http://openvswitch.org/pipermail/discuss/2014-October/015138.html>, but I 
can’t find if the specified commit made it into 2.3.1 or this is a regression 
bug.

Here is the sequence of commands to reproduce (same error for ovs-ofctl 
add-flow):

root@pve:~# ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.3.1
Compiled Dec 27 2014 11:00:30
DB Schema 7.6.2

root@pve:~# ovs-vsctl del-br br0
root@pve:~# ovs-vsctl add-br br0
root@pve:~# ovs-vsctl add-port br0 eth1
root@pve:~# ovs-vsctl add-port br0 tap100i0
root@pve:~# ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000c29e93542
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST 
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth1): addr:00:0c:29:e9:35:42
     config:     0
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 2(tap100i0): addr:ae:6f:8b:e7:50:3a
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 LOCAL(br0): addr:00:0c:29:e9:35:42
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
root@pve:~# ovs-vsctl set bridge br0 datapath_type=netdev
root@pve:~# ovs-ofctl show br0
ovs-ofctl: br0 is not a bridge or a socket

Regards,
Andrei

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to