[ovs-discuss] Open vSwitch installation in userspace.

Hardeep Uppal hardeep.uw at gmail.com
Fri Jul 30 23:47:07 UTC 2010


Hi Jesse,

I followed the steps in INSTALL.usespace to create bridge br0 and there were
no error messages. How do I check if the bridge br0 is created? I tried
"brctl show" but i didn't see bridge br0.

I am running Xen3.3 with Debian kernel 2.6.26-2-xen-686 as dom0 and ubuntu
9.04 as domUs. I have a linux bridge "eth0" which is bounded to interfaces
peth0 and vif1.0.

ettm at ettm:~$ brctl show
bridge name    bridge id             STP enabled    interfaces
eth0        8000.00256449d794          no                  peth0

                                                        vif1.0
pan0        8000.000000000000         no

I want to create a bridge br0 using open vswitch with interfaces peth0 and
vif1.0 and replace the linux bridge eth0. I am not sure how to go about
doing that using open vswitch. I would appreciate any help I can get.

Thanks

Hardeep



On Fri, Jul 30, 2010 at 3:09 PM, Jesse Gross <jesse at nicira.com> wrote:

> On Thu, Jul 29, 2010 at 1:36 PM, Hardeep Uppal <hardeep.uw at gmail.com>wrote:
>>
>> root at ettm:/home/ettm/Desktop/openvswitch-1.0.1# ovs-vswitchd
>> unix:/usr/local/var/run/openvswitch/db.sock
>> Jul 29
>> 12:43:21|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>> connecting...
>> Jul 29
>> 12:43:21|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>> connected
>> Jul 29 12:43:21|00003|dpif_linux|ERR|/proc/devices: openvswitch major not
>> found (is the module loaded?)
>> Jul 29 12:43:21|00004|dpif|WARN|failed to enumerate system datapaths: No
>> such device
>> Jul 29 12:55:12|00005|dpif_linux|ERR|/proc/devices: openvswitch major not
>> found (is the module loaded?)
>> Jul 29 12:55:12|00006|dpif|WARN|failed to create datapath br0: No such
>> device
>>
>>
>> I am not sure what the error corresponds to. I would appreciate any help.
>
>
> The reason for these error messages is that by default Open vSwitch assumes
> that a kernel based datapath is being created, which it cannot do if the
> kernel module is not loaded.  If you look at the next line in the
> INSTALL.userspace directions you'll see:
>
> ovs-vsctl set bridge br0 datapath_type=netdev
>
> The "netdev" datapath type corresponds to userspace, so the errors should
> go away once you give it that command.  Since the kernel module is our
> primary datapath you may see a few additional error messages about not being
> able to contact it but you can safely ignore those.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100730/04a03edf/attachment-0001.html>


More information about the discuss mailing list