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.y...@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@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 | jme...@opennebula.org
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org