Hello,<div><br></div><div><div>When we released OpenNebula 3.0, we finalized the network configuration documentation, you can see how to activate the Open vSwitch integration here:</div><div><a href="http://opennebula.org/documentation:rel3.0:openvswitch">http://opennebula.org/documentation:rel3.0:openvswitch</a></div>
<div>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.</div><div><br></div><div>It addresse the 'brctl' by indicating that the Open vSwitch compatibility layer for Linux bridging must be installed:</div>
<div><a href="http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD">http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD</a></div><div><br>
</div><div>Cheers,</div><div>Jaime</div><div><br></div><div class="gmail_quote">On Tue, Jul 26, 2011 at 2:58 AM, <span dir="ltr"><<a href="mailto:wen.yang@cs2c.com.cn">wen.yang@cs2c.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Hello developers:<br><br>I am interesting about feature 476 that Open vSwitch management in Opennebula 3. I download the source code by git. I have some questions:<br><br>(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?<br>
<br>(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.<br>
<br>I execute the following experiment:<br><br>brctl addbr br0<br><br>rmmod bridge<br><br>insmod openvswitch_mod.ko<br><br>/----------------------------------------<br><br>start openvswitch<br><br>----------------------------------------/<br>
<br>ovs-vsctl add-port br0 eth0<br><br>Error message is printed as "bridge br0 not exist". <br><br>Looking forward to your reply.<br>Thanks & best regards!</p><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>