Hi all,
I am trying to run Open vSwitch in userspace and use the VXLAN features.
I used the following commands to create the bridge and add ports to the
bridge
/system# ovs-vsctl add-br ovs-br0
/system# ovs-vsctl set bridge ovs-br0 datapath_type=netdev
/system# ovs-vsctl add-port ovs-br0 eth2
/system# ovs-vsctl add-port ovs-br0 eth3
/system# ovs-vsctl add-port ovs-br0 eth4
/system# ovs-vsctl add-port ovs-br0 eth0
Until this point everything seems to be working fine. After this I added
a couple of VXLAN interfaces.
/system# ovs-vsctl add-port ovs-br0 vxlan1 -- set interface vxlan1
type=vxlan options:remote_ip=10.121.58.215 options:key=42
options:dst_port=8472
/system# ovs-vsctl add-port ovs-br0 vxlan2 -- set interface vxlan2
type=vxlan options:remote_ip=10.121.58.216 options:key=44
options:dst_port=8472
Everything seems to be normal in ovs-vsctl but ovs-ofctl does not seem
to show the vxlan ports (ovs-vsctl output and ocs-ofctl output below).
Looking at the log file (ovs-vswitchd.log below), it seems that Open
vSwitch is looking for the kernel module to be loaded. Does this mean
that userspace open vSwitch does not support VXLAN functionality?
Thanks
Suresh
***********************ovs-vsctl output*****************************
/system# ovs-vsctl show
45479af8-7f72-4320-bb1a-6e0cb6045634
Bridge "ovs-br0"
Port "eth4"
Interface "eth4"
Port "eth3"
Interface "eth3"
Port "vxlan1"
Interface "vxlan1"
type: vxlan
options: {dst_port="8472", key="42",
remote_ip="10.121.58.215"}
Port "vxlan2"
Interface "vxlan2"
type: vxlan
options: {dst_port="8472", key="44",
remote_ip="10.121.58.216"}
Port "eth0"
Interface "eth0"
Port "eth2"
Interface "eth2"
Port "ovs-br0"
Interface "ovs-br0"
type: internal
***********************ovs-vsctl output*****************************
***********************ovs-ofctl output*****************************
/system# ovs-ofctl show ovs-br0
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000d6766d070
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(eth2): addr:00:0d:67:66:d0:70
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
2(eth3): addr:00:0d:67:66:d0:70
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
3(eth4): addr:00:0d:67:66:d0:70
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
4(eth0): addr:00:0d:67:66:d0:70
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(ovs-br0): addr:00:0d:67:66:d0:70
config: 0
state: 0
current: 10MB-FD COPPER
speed: 10 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
***********************ovs-ofctl output*****************************
***********************ovs-vswitchd.log*****************************
1970-01-04T15:47:19.844Z|00001|vlog|INFO|opened log file
/eovs/var/log/openvswitch/ovs-vswitchd.log
1970-01-04T15:47:19.851Z|00002|reconnect|INFO|unix:/eovs/var/run/openvswitch/db.sock:
connecting...
1970-01-04T15:47:19.852Z|00003|reconnect|INFO|unix:/eovs/var/run/openvswitch/db.sock:
connected
1970-01-04T15:47:19.866Z|00004|bridge|INFO|ovs-vswitchd (Open vSwitch)
2.1.90
1970-01-04T15:47:19.912Z|00005|dpif_linux|ERR|Generic Netlink family
'ovs_datapath' does not exist. The Open vSwitch kernel module is
probably not loaded.
1970-01-04T15:47:19.912Z|00006|dpif|WARN|failed to enumerate system
datapaths: No such file or directory
1970-01-04T15:47:19.913Z|00007|dpif|WARN|failed to create datapath
ovs-system: No such file or directory
1970-01-04T15:47:19.913Z|00008|ofproto_dpif|ERR|failed to open datapath
of type system: No such file or directory
1970-01-04T15:47:19.914Z|00009|ofproto|ERR|failed to open datapath
ovs-br0: No such file or directory
1970-01-04T15:47:19.915Z|00010|bridge|ERR|failed to create bridge
ovs-br0: No such file or directory
1970-01-04T15:47:19.958Z|00011|ofproto_dpif|INFO|netdev@ovs-netdev: MPLS
label stack length probed as 3
1970-01-04T15:47:19.969Z|00012|bridge|INFO|bridge ovs-br0: added
interface ovs-br0 on port 65534
1970-01-04T15:47:19.973Z|00013|bridge|INFO|bridge ovs-br0: using
datapath ID 0000ee0fad23ba24
1970-01-04T15:47:19.974Z|00014|netdev_linux|WARN|query ovs-br0 qdisc
failed (Operation not supported)
1970-01-04T15:47:19.975Z|00015|netdev_linux|WARN|ovs-br0: removing
policing failed: Operation not supported
1970-01-04T15:47:19.976Z|00016|connmgr|INFO|ovs-br0: added service
controller "punix:/eovs/var/run/openvswitch/ovs-br0.mgmt"
1970-01-04T15:47:25.258Z|00017|bridge|INFO|bridge ovs-br0: added
interface eth2 on port 1
1970-01-04T15:47:25.262Z|00018|bridge|INFO|bridge ovs-br0: using
datapath ID 0000000d6766d070
1970-01-04T15:47:25.263Z|00019|netdev_linux|WARN|ovs-br0: removing
policing failed: Operation not supported
1970-01-04T15:47:25.263Z|00020|netdev_linux|WARN|query eth2 qdisc failed
(Operation not supported)
1970-01-04T15:47:25.264Z|00021|netdev_linux|WARN|eth2: removing policing
failed: Operation not supported
1970-01-04T15:47:25.353Z|00022|bridge|INFO|bridge ovs-br0: added
interface eth3 on port 2
1970-01-04T15:47:25.354Z|00023|netdev_linux|WARN|query eth3 qdisc failed
(Operation not supported)
1970-01-04T15:47:25.355Z|00024|netdev_linux|WARN|eth3: removing policing
failed: Operation not supported
1970-01-04T15:47:25.357Z|00025|netdev_linux|WARN|ovs-br0: removing
policing failed: Operation not supported
1970-01-04T15:47:25.357Z|00026|netdev_linux|WARN|eth2: removing policing
failed: Operation not supported
1970-01-04T15:47:25.445Z|00027|bridge|INFO|bridge ovs-br0: added
interface eth4 on port 3
1970-01-04T15:47:25.446Z|00028|netdev_linux|WARN|eth3: removing policing
failed: Operation not supported
1970-01-04T15:47:25.447Z|00029|netdev_linux|WARN|query eth4 qdisc failed
(Operation not supported)
1970-01-04T15:47:25.448Z|00030|netdev_linux|WARN|eth4: removing policing
failed: Operation not supported
1970-01-04T15:47:25.449Z|00031|netdev_linux|WARN|ovs-br0: removing
policing failed: Operation not supported
1970-01-04T15:47:25.450Z|00032|netdev_linux|WARN|eth2: removing policing
failed: Operation not supported
1970-01-04T15:47:25.538Z|00033|bridge|INFO|bridge ovs-br0: added
interface eth0 on port 4
1970-01-04T15:47:25.539Z|00034|netdev_linux|WARN|query eth0 qdisc failed
(Operation not supported)
1970-01-04T15:47:25.540Z|00035|netdev_linux|WARN|eth0: removing policing
failed: Operation not supported
1970-01-04T15:47:25.540Z|00036|netdev_linux|WARN|eth3: removing policing
failed: Operation not supported
1970-01-04T15:47:25.541Z|00037|netdev_linux|WARN|eth4: removing policing
failed: Operation not supported
1970-01-04T15:47:25.542Z|00038|netdev_linux|WARN|ovs-br0: removing
policing failed: Operation not supported
1970-01-04T15:47:25.542Z|00039|netdev_linux|WARN|eth2: removing policing
failed: Operation not supported
***********************ovs-vswitchd.log*****************************
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss