<div dir="ltr"><div><div><div><div><div><div>Hi , <br><br></div>Did you synced network/s after you moved the host to the ovs type cluster? <br></div>It seems like you didn't..)<br></div>Go to 'Hosts' main tab' and choose the host, go to 'Network Interfaces' sub tab and press the 'Sync All Networks' , now the networks should be synced to host as ovs switch type. <br></div>Run the vm and check the xml.<br></div>It should look something like this: <br><br><source bridge='vdsmbr_nRL3asDq'/><br> <virtualport type='openvswitch'><br><br></div>thanks<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 9:37 AM, Meni Yakove <span dir="ltr"><<a href="mailto:myakove@redhat.com" target="_blank">myakove@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 7:12 AM, lifuqiong <span dir="ltr"><<a href="mailto:lifuqiong@cncloudsec.com" target="_blank">lifuqiong@cncloudsec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="ZH-CN"><div><p class="MsoNormal" style="text-indent:21.0pt"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I create a cluster which already enabled ovs network as you mentioned , but when I create vm in this cluster, I can only using ovirtmgmt/ovirtmgmt vNIC profile, which is still a Linux bridge.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I found no way to add a OVS vNIC profile, I have to chose ovirtmgmt/ovirtmgmt vNIC to setup a VM. After VM is started, the vm is still using Linux bridge to communicate with outside, not the ovs.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Need I to create a ovs bridge or vport and bind it to physical NIC in vdsm manually?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope your reply as soon as possible.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Thank you<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Mark<u></u><u></u></span></p><p class="MsoNormal"><a name="m_7295896468137412312_m_-637359162845864804__MailEndCompose"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></a></p><p class="MsoNormal"><b><span style="font-size:10.0pt">发件人<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt" lang="EN-US"> <a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a> [mailto:<a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a>] </span><b><span style="font-size:10.0pt">代表 </span></b><span style="font-size:10.0pt" lang="EN-US">Meni Yakove<br></span><b><span style="font-size:10.0pt">发送时间<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt" lang="EN-US"> 2016</span><span style="font-size:10.0pt">年<span lang="EN-US">8</span>月<span lang="EN-US">1</span>日<span lang="EN-US"> 16:42<br></span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> Dan Kenigsberg<br></span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> Re: [ovirt-users] [ovirt-devel] How to add ovs-based VM in version 4.0.2? Thank you<u></u><u></u></span></span></p><div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><div><div><p class="MsoNormal"><span lang="EN-US">On Mon, Aug 1, 2016 at 11:07 AM, Dan Kenigsberg <<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>> wrote:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">On Mon, Aug 01, 2016 at 02:02:52PM +0800, lifuqiong wrote:<br>> Hi, I upgrade my ovirt to version 4.0.2.2, how to using ovs in this version?<br>> Is there any instruction? Thank you<br><br>Please note and note well: OVS is not production-grade yet. It is only a<br>preliminary tech preview, under active development.<br><br>However, we'd be very happy to get your help in testing it (and possibly<br>fixing it, too).<br><br>When defining a new cluster, you should see a check box, letting you<br>select OVS for that cluster. <u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">To be precise, this is not a check box. In the Edit Cluster dialog, look at the "switch <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">type" option, and change "LEGACY" to "OVS".<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal"><span lang="EN-US">After being checked, each VM network that<br>is defined in your cluster would be implemented with OVS instead of<br>Linux bridge.<br><br>As aluded before, there are plenty of known definciencies (e.g., no<br>persistence of ip config on VM network, no live migration, not all bond<br>modes, etc etc). But do not hesitate to raise other issues with the<br>devel mailing list.<br><br>Happy testing!<br><br>Dan.<br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><u></u><u></u></span></p></blockquote></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Michael Burman<br>RedHat Israel, RHEV-M QE Network Team<br><br>Mobile: 054-5355725<br>IRC: mburman</div></div>
</div>