[ovs-discuss] userspace openvswitch

yugang yugang at dptechnology.net
Mon Mar 21 09:40:12 UTC 2016


[DPTECH-Developer-Shell]ovs-vsctl --timeout 10 add-br brtest -- set bridge brtes
t datapath_type=netdev
ovs-vsctl: Error detected while setting up 'brtest'. See ovs-vswitchd log for details.
[DPTECH-Developer-Shell]

We can also ignore this error msg?



yugang

From: Chandran, Sugesh
Date: 2016-03-21 17:03
To: yugang; yugangdeai; discuss
Subject: RE: Re: [ovs-discuss] userspace openvswitch
Specify the type of bridge as netdev for userspace bridge.
 
ovs-vsctl --timeout 10 add-br br0 -- set bridge br0 datapath_type=netdev
 
You can ignore the warning message “failed to enumerate ….” for now.
 
Verify if the bridge has been created successfully using ‘ovs-vsctl show’.
 
Regards
_Sugesh
 
From: yugang [mailto:yugang at dptechnology.net] 
Sent: Monday, March 21, 2016 8:57 AM
To: Chandran, Sugesh <sugesh.chandran at intel.com>; yugangdeai <yugangdeai at 163.com>; discuss <discuss at openvswitch.org>
Subject: Re: Re: [ovs-discuss] userspace openvswitch
 
if it does, why i can add bridge with tool ovs-vsctl on version 1.11.0, but failed on the latest version,
[Sugesh] What error you are getting?
 
[DPTECH-Developer-Shell]ps aux|grep ovs 
root 4289 0.4 0.2 5904 1976 ? Ss 04:13 0:41 ./ovs-vswitchd --pidfile --detach --verbose
root 9744 0.0 0.0 2088 340 ttyS0 S+ 06:33 0:00 grep ovs
root 24785 0.0 0.1 3924 1460 ? Ss Jan01 0:19 ovsdb-server -v --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --pidfile --detach --log-file
[DPTECH-Developer-Shell]
[DPTECH-Developer-Shell]ovs-vsctl add-br testbridge
ovs-vsctl: Error detected while setting up 'testbridge'. See ovs-vswitchd log for details.
[DPTECH-Developer-Shell]
Here are more:
2009-01-01T20:13:36Z|00051|netlink_socket|DBG|nl_sock_recv__ (Success): nl(len:36, type=2(error), flags=0, seq=1, pid=4289 error(-2(No such file or directory), in-reply-to(nl(len:40, type=16(control), flags=1[REQUEST], seq=1, pid=4289))
2009-01-01T20:13:36Z|00052|netlink_socket|DBG|received NAK error=0 (No such file or directory)
2009-01-01T20:13:36Z|00053|dpif_netlink|ERR|Generic Netlink family 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not loaded.
2009-01-01T20:13:36Z|00054|dpif|WARN|failed to enumerate system datapaths: No such file or directory
2009-01-01T20:13:36Z|00055|dpif|WARN|failed to create datapath ovs-system: No such file or directory
2009-01-01T20:13:36Z|00056|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
 
 
Best regards,
Yugang



yugang
 
From: Chandran, Sugesh
Date: 2016-03-21 16:42
To: shanghai; discuss at openvswitch.org
Subject: Re: [ovs-discuss] userspace openvswitch
 
 
Regards
_Sugesh
 
From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of shanghai
Sent: Sunday, March 20, 2016 8:26 AM
To: discuss at openvswitch.org
Subject: [ovs-discuss] userspace openvswitch
 
Dear there,
Thanks for your time, i want to know that  whether the version 2.5.0  openvswitch can  work in userspace totaly,
[Sugesh] 2.5.0 supports userspace datapath.
if it does, why i can add bridge with tool ovs-vsctl on version 1.11.0, but failed on the latest version,
[Sugesh] What error you are getting?
which remind me to load the kernel module, how could i solve this problem. I am really looking forward to hear from you.
[Sugesh] No need to load  ovs kernel module for userspace datapath.
 
Best regards,
Yugang .  
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160321/0f06809d/attachment-0002.html>


More information about the discuss mailing list