[one-users] Hi, I have some questions about Open vSwitch management in Opennebula 3(feature 476).

Jaime Melis jmelis at opennebula.org
Thu Oct 27 03:03:22 PDT 2011


Hello,

When we released OpenNebula 3.0, we finalized the network configuration
documentation, you can see how to activate the Open vSwitch integration
here:
http://opennebula.org/documentation:rel3.0:openvswitch
When you originally wrote this email this guide wasn't yet written (the
network drivers themselves were still under development). I hope it answers
your questions.

It addresse the 'brctl' by indicating that the Open vSwitch compatibility
layer for Linux bridging must be installed:
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD

Cheers,
Jaime

On Tue, Jul 26, 2011 at 2:58 AM, <wen.yang at cs2c.com.cn> wrote:

> Hello developers:
>
> I am interesting about feature 476 that Open vSwitch management in
> Opennebula 3. I download the source code by git. I have some questions:
>
> (1) How to use scripts in /src/vnm_mad? I can't find the C++ code that call
> vnm_mad  scripts in Opennebula 3. If I want to use these scripts to test the
> Open vSwitch management function, what should I do?
>
> (2) In vnm_mad scripts, 'brctl' command is used to control bridge. The
> 'brctl' command can't work normally if the bridge module is not loaded. But
> it is neccessary to start Open vSwitch that remove the bridge module(rmmod
> bridge). Moreover, Open vSwitch has a database named 'ovsdb', all
> information(such as bridge,port,and so on) be stored in ovsdb. The bridge
> created by 'brctl' command can't be used by Open vSwitch because the bridge
> information isn't stored in ovsdb. So, I think that the 'brctl' command
> can't be used in vnm_mad  scripts.
>
> I execute the following experiment:
>
> brctl addbr br0
>
> rmmod bridge
>
> insmod openvswitch_mod.ko
>
> /----------------------------------------
>
> start openvswitch
>
> ----------------------------------------/
>
> ovs-vsctl add-port br0 eth0
>
> Error message is printed as "bridge br0 not exist".
>
> Looking forward to your reply.
> Thanks & best regards!
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111027/9a8d16ce/attachment-0002.htm>


More information about the Users mailing list