<div dir="rtl"><div dir="ltr">I read openvswitch document completely about openvswitch <a href="http://opennebula.org/documentation:rel4.2:openvswitch" target="_blank">http://opennebula.org/documentation:rel4.2:openvswitch</a><br>
<br></div>
<div dir="ltr">there is 2 way for using openvswitch, i can implant second way (<b><code>ovswitch_brcompat) </code></b>but this way is deprecated<br><b>Bridge compatibility is deprecated and may be removed no earlier than February 2013</b><br>
</div><div dir="ltr"><br></div><div dir="ltr">now but when I'm using first way, (using from openvswith without <b><code>brcompat </code></b>and use from brctrl instead), opennebula when deploying new vm get error. <br>
<br><br><br><span style="color:rgb(153,0,0)">Wed Sep 4 06:05:28 2013 [VMM][I]: post: Executed "sudo /usr/bin/ovs-vsctl set Port vnet0 tag=550".<br>Wed Sep 4 06:05:28 2013 [VMM][I]: ovs-ofctl: br0 is not a bridge or a socket<br>
<span class="">Wed
Sep 4 06:05:28 2013 [VMM][E]: post: Command "sudo /usr/bin/ovs-ofctl
add-flow br0
in_port=,dl_src=02:00:ac:14:04:04,priority=40000,actions=normal" failed.</span><br><span class="">Wed Sep 4 06:05:28 2013 [VMM][E]: post: ovs-ofctl: dl_src=02:00:ac:14:04:04: bad syntax for in_port</span><br><span class="">Wed Sep 4 06:05:28 2013 [VMM][E]: ovs-ofctl: dl_src=02:00:ac:14:04:04: bad syntax for in_port</span></span><br>
<br></div><div dir="ltr">the main problem is that br0 is not created with openvswitch and create with brctl :) <br><br></div><div dir="ltr">but for solve this problem, I create fake bridge with openvswith <br><br> # ovs-vsctl add-br br0<br>
# ovs-vsctl add-port br0 eth1<br># ovs-vsctl add-br br10 br0 10<br># ovs-vsctl list-br<br>br0<br>br10<br><br></div><div dir="ltr">so I inform to opennebula, br10 is my bridge <br></div><div dir="ltr">now problem is <span style="color:rgb(153,0,0)"><span class="">ovs-ofctl </span></span>using br10 instead br0 and i get error from <span style="color:rgb(153,0,0)"><span class="">ovs-ofctl . <br>
</span></span></div><div dir="ltr"><br></div><div dir="ltr">in this situation, ovs-vsctl must use fake bridge (br10) and ovs-ofctl must use real bridge (br0) until anything work well <br><br></div><div dir="ltr"><br></div>
</div>