<div dir="ltr"><div><div>Hi David) ,<br><br></div>You are looking on the net-dumpxml and it&#39;s ok, this is how it should look like - in my setup i see the same, for example --&gt;<br># virsh -r net-list<br> Name                 State      Autostart     Persistent<br>----------------------------------------------------------<br> ;vdsmdummy;          active     no            no<br> direct-pool          active     yes           yes<br> vdsm-ovirtmgmt       active     yes           yes<br> vdsm-vmfex_net       active     yes           yes<br><br>brctl show<br>bridge name     bridge id               STP enabled     interfaces<br>;vdsmdummy;             8000.000000000000       no<br>ovirtmgmt               8000.0025b50a0002       no              enp6s0f0<br>vmfex_net               8000.0025b50b0002       no              enp7s0f0<br><br># virsh -r net-dumpxml vdsm-vmfex_net<br>&lt;network&gt;<br>  &lt;name&gt;vdsm-vmfex_net&lt;/name&gt;<br>  &lt;uuid&gt;bbb7615a-4f7b-4497-a899-58b11f25d5ae&lt;/uuid&gt;<br>  &lt;forward mode=&#39;bridge&#39;/&gt;<br>  &lt;bridge name=&#39;vmfex_net&#39;/&gt;<br>&lt;/network&gt;<br><br></div><div>- What you should be looking for is the dumpxml of the &#39;DOM&#39;(the VM when it&#39;s running on the host) and look for the interface type --&gt;<br><br># virsh -r list<br> Id    Name                           State<br>----------------------------------------------------<br> 2     v7                             running<br><br># virsh -r dumpxml 2<br><br> &lt;interface type=&#39;direct&#39;&gt;<br>      &lt;mac address=&#39;00:00:00:00:00:29&#39;/&gt;<br>      &lt;source network=&#39;direct-pool&#39; dev=&#39;enp6s0f1&#39; mode=&#39;passthrough&#39;/&gt;<br>      &lt;virtualport type=&#39;802.1Qbh&#39;&gt;<br>        &lt;parameters profileid=&#39;10GbE-VMFEX-B&#39;/&gt;<br>      &lt;/virtualport&gt;<br>      &lt;target dev=&#39;macvtap0&#39;/&gt;<br>      &lt;model type=&#39;virtio&#39;/&gt;<br>      &lt;link state=&#39;up&#39;/&gt;<br>      &lt;boot order=&#39;2&#39;/&gt;<br>      &lt;alias name=&#39;net0&#39;/&gt;<br>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x03&#39; function=&#39;0x0&#39;/&gt;<br>    &lt;/interface&gt;<br><br></div><div>- The BZ i reported - <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1308839" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1308839</a><br></div><div>will be fixed on the next version(not the one you have) and it should prevent you from running the VM with vmfex profile network. <br><br><br></div><div>Cheers)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 12:44 PM, David LeVene <span dir="ltr">&lt;<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>&gt;</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="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Hi Michael,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thanks for the additional steps and troubleshooting, things are looking healthier, but the virsh config has not changed. I can see a
 direct-pool configuration which looks correct.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Did it fail to clean up the vdsm-SRIOV interface &amp; associated bridge? Or should they be present as well? I did a reboot of the host and
 it looks like it sets them all up.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black"># virsh -r net-list --all<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">Name                 State      Autostart     Persistent<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">----------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">;vdsmdummy;          active     no            no<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">direct-pool          active     yes           yes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">vdsm-ovirtmgmt       active     yes           yes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">vdsm-SRIOV           active     yes           yes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">$ brctl show<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">bridge name     bridge id               STP enabled     interfaces<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">;vdsmdummy;             8000.000000000000       no<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">SRIOV           8000.0025b5000b0f       no              enp7s0f0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:black">ovirtmgmt               8000.0025b5000b4f       no              enp6s0<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"># virsh -r net-dumpxml vdsm-SRIOV<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">&lt;network&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  &lt;name&gt;vdsm-SRIOV&lt;/name&gt;<u></u><u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  &lt;uuid&gt;46b2655c-ce6f-401d-acaf-f5ca9cdb1627&lt;/uuid&gt;<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  &lt;forward mode=&#39;bridge&#39;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  &lt;bridge name=&#39;SRIOV&#39;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">&lt;/network&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"># rpm -qa | grep -i vmfex<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">vdsm-hook-vmfex-dev-4.17.23-1.el7.noarch<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Found your bug report - is this related as well? As it should be resolved in the version I’m using. <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1308839" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1308839</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><img src="cid:image002.png@01D17B0F.3AE61C60" height="23" width="1001"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thread-196::ERROR::2016-03-10 20:47:26,566::vm::759::virt.vm::(_startUnderlyingVm) vmId=`2a03a747-5d43-4ba9-a95b-6903fb41cacc`::The vm
 start process failed<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  File &quot;/usr/share/vdsm/virt/vm.py&quot;, line 703, in _startUnderlyingVm<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">    self._run()<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  File &quot;/usr/share/vdsm/virt/vm.py&quot;, line 1941, in _run<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">    self._connection.createXML(domxml, flags),<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  File &quot;/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py&quot;, line 124, in wrapper<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">    ret = f(*args, **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  File &quot;/usr/lib/python2.7/site-packages/vdsm/utils.py&quot;, line 1313, in wrapper<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">    return func(inst, *args, **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">  File &quot;/usr/lib64/python2.7/site-packages/libvirt.py&quot;, line 3611, in createXML<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">    if ret is None:raise libvirtError(&#39;virDomainCreateXML() failed&#39;, conn=self)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">libvirtError: unsupported configuration: filterref is not supported for network interfaces of type direct<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thread-196::INFO::2016-03-10 20:47:26,567::vm::1330::virt.vm::(setDownStatus) vmId=`2a03a747-5d43-4ba9-a95b-6903fb41cacc`::Changed state
 to Down: unsupported configuration: filterref is not supported for network interfaces of type direct (code=1)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thread-196::DEBUG::2016-03-10 20:47:26,568::vmchannels::229::vds::(unregister) Delete fileno 35 from listener.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thread-196::DEBUG::2016-03-10 20:47:26,568::vmchannels::59::vds::(_unregister_fd) Failed to unregister FD from epoll (ENOENT): 35<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Thread-196::DEBUG::2016-03-10 20:47:26,569::__init__::206::jsonrpc.Notification::(emit) Sending event {&quot;params&quot;: {&quot;2a03a747-5d43-4ba9-a95b-6903fb41cacc&quot;:
 {&quot;status&quot;: &quot;Down&quot;, &quot;timeOffset&quot;: &quot;0&quot;, &quot;exitReason&quot;: 1, &quot;exitMessage&quot;: &quot;unsupported configuration: filterref is not supported for network interfaces of type direct&quot;, &quot;exitCode&quot;: 1}, &quot;notify_time&quot;: 4406685340}, &quot;jsonrpc&quot;: &quot;2.0&quot;, &quot;method&quot;: &quot;|virt|VM_status|2a03a747-5d43-4ba9-a95b-6903fb41cacc&quot;}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">VM Channels Listener::DEBUG::2016-03-10 20:47:26,780::vmchannels::135::vds::(_do_del_channels) fileno 35 was removed from listener.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">periodic/0::WARNING::2016-03-10 20:47:27,877::periodic::258::virt.periodic.VmDispatcher::(__call__) could not run &lt;class &#39;virt.periodic.DriveWatermarkMonitor&#39;&gt;
 on [u&#39;2a03a747-5d43-4ba9-a95b-6903fb41cacc&#39;]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">mailbox.SPMMonitor::DEBUG::2016-03-10 20:47:27,900::storage_mailbox::735::Storage.Misc.excCmd::(_checkForMail) /usr/bin/taskset --cpu-list
 0-39 dd if=/rhev/data-center/00000001-0001-0001-0001-00000000017a/mastersd/dom_md/inbox iflag=direct,fullblock count=1 bs=1024000 (cwd None)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">mailbox.SPMMonitor::DEBUG::2016-03-10 20:47:27,919::storage_mailbox::735::Storage.Misc.excCmd::(_checkForMail) SUCCESS: &lt;err&gt; = &#39;1+0
 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied, 0.00310821 s, 329 MB/s\n&#39;; &lt;rc&gt; = 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">jsonrpc.Executor/7::DEBUG::2016-03-10 20:47:28,411::__init__::503::jsonrpc.JsonRpcServer::(_serveRequest) Calling &#39;VM.destroy&#39; in bridge
 with {u&#39;vmID&#39;: u&#39;2a03a747-5d43-4ba9-a95b-6903fb41cacc&#39;}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">jsonrpc.Executor/7::INFO::2016-03-10 20:47:28,412::API::341::vds::(destroy) vmContainerLock acquired by vm 2a03a747-5d43-4ba9-a95b-6903fb41cacc<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">jsonrpc.Executor/7::DEBUG::2016-03-10 20:47:28,412::vm::3885::virt.vm::(destroy) vmId=`2a03a747-5d43-4ba9-a95b-6903fb41cacc`::destroy
 Called<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">jsonrpc.Executor/7::INFO::2016-03-10 20:47:28,412::vm::3815::virt.vm::(releaseVm) vmId=`2a03a747-5d43-4ba9-a95b-6903fb41cacc`::Release
 VM resources<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">David<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US"> Michael Burman [mailto:<a href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a>]
<br>
<b>Sent:</b> Thursday, March 10, 2016 19:07</span></p><div><div class="h5"><br>
<b>To:</b> David LeVene &lt;<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>&gt;<br>
<b>Cc:</b> <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>; Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>&gt;<br>
<b>Subject:</b> Re: [ovirt-users] Configuring the SRIOV virsh device<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok, lets try few things. <u></u><u></u></p>
</div>
<p class="MsoNormal">- I see you using the latest vdsm 3.6 version and you have the
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">vdsm-hook-vmfex-dev-4.17.23-1.el7.noarch shipped by default. But i also see that you have the old hook installed - vdsm-hook-vmfex-4.17.23-0.el7.centos.noarch, please remove it from
 the server and re-install the host in ovirt(maintenance+re-install). To make sure you have no conflicts with the old hook and you are using the new one.
</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"><br>
- In the VM interface profile dialog please uncheck the &#39;passthrough&#39; property(first remove the SRIOV network from the VMs vNIC and add it back after editing the profile). The &#39;passthrough&#39; property shouldn&#39;t be checked when using the vmfex-hook.
</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">- Last thing, but not must, go to &#39;Networks&#39; main tab and choose your network &#39;SRIOV&#39;, go to &#39;Clusters&#39; sub tab and press the &#39;Manage network&#39; button --&gt; uncheck
 the &#39;Required&#39; checkboxes</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> from your cluster(because your network attached to 2 servers in your cluster from 3, it is in down state colored with red)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">, once you will uncheck the &#39;Required&#39; from the cluster it will be shown as UP, colored in green.
</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">I believe now it will work for you, please let me know.
</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Cheers )</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Mar 10, 2016 at 1:51 AM, David LeVene &lt;<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Hi Michael,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">I’m going to include some screen shots - as I’ve got it all setup exactly how you mention below.. but
 the config on the Hypervisor is still bridged config.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">All the UCS port profiles are correct as we use this config on standalone KVM/QEMU hosts.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">See in-line for pics at the appropriate step .</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Cheers</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">David</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US"> Michael
 Burman [mailto:<a href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a>]
<br>
<b>Sent:</b> Wednesday, March 09, 2016 19:47<br>
<b>To:</b> David LeVene &lt;<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>&gt;<br>
<b>Cc:</b> <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>; Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>&gt;<br>
<b>Subject:</b> Re: [ovirt-users] Configuring the SRIOV virsh device</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi again David)
<u></u><u></u></p>
</div>
<p class="MsoNormal">In order to achieve such xml ^^ (the one you describing) you should first of all prepare a proper &#39;Port Profile&#39; on your UCS manager side.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">- In your/from your example you should have 2 Port Profiles([1], [2]) configured in your cisco side(see - 
<a href="http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/vm_fex/kvm/gui/config_guide/2-1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1_chapter_010.html" target="_blank">
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/vm_fex/kvm/gui/config_guide/2-1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1/b_GUI_KVM_VM-FEX_UCSM_Configuration_Guide_2_1_chapter_010.html</a>)
<br>
<br>
[1]  profile-ame1-test1<br>
[2] profile-ame1-prep1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- This port profiles should associate with your service profiles(blades)<br>
 <u></u><u></u></p>
</div>
<p class="MsoNormal">- If you have those port profiles on your ucs side and they well configured, then you should follow the steps i suggested in the previous e-mail --&gt;
<br>
<br>
1) Run for example:<br>
engine-config -s CustomDeviceProperties=&quot;{type=interface;prop={ifacemacspoof=^(true|false)$;queues=[1-9][0-9]*;vmfex=^[a-zA-Z0-9_.-]{2,32}$;SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}}&quot;
 --cver=3.5<br>
<br>
- Restart your ovirt-engine service<br>
- with --cver=3.5 you can specify your cluster version level. ^^<br>
- If you don&#39;t want that it will overwrite your current attributes, you have to send them all as well(like on my example above). ^^<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">We are using 3.6.3, with the applied patch from
<a href="https://gerrit.ovirt.org/#/c/54237" target="_blank">https://gerrit.ovirt.org/#/c/54237</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"># engine-config -g CustomDeviceProperties</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties:  version: 3.0</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties:  version: 3.1</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties:  version: 3.2</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties:  version: 3.3</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.5</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">CustomDeviceProperties: {type=interface;prop={ifacemacspoof=^(true|false)$;queues=[1-9][0-9]*;vmfex=^[a-zA-Z0-9_.-]{2,32}$;SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6</span><u></u><u></u></p>
<p class="MsoNormal"><br>
<br>
2) Install vdsm-hook-vmfex-dev on your server(if you don&#39;t using vdsm version 3.6, the vmfex hook isn&#39;t installed by default)<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"># rpm -qa | grep -i vmfex</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">vdsm-hook-vmfex-dev-4.17.23-1.el7.noarch</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">vdsm-hook-vmfex-4.17.23-0.el7.centos.noarch</span><u></u><u></u></p>
<p class="MsoNormal"><br>
<br>
3) In ovirt engine you can verify that host have the hooks installed under  &#39;Hosts&#39; main tab - &gt; &#39;Host Hooks&#39; sub tab<br>
You should see there: a) before_device_migrate_destination b) before_device_create c) before_nic_hotplug<u></u><u></u></p>
<p class="MsoNormal"><img src="cid:image003.png@01D17B0F.3AE61C60" height="248" width="896" border="0"><u></u><u></u></p>
<p class="MsoNormal"><br>
<br>
4) Create new network and edit the vNIC profile. <br>
Choose from the CustomDeviceProperties the &#39;vmfex&#39; key(like in your example) and in the right field enter your Port Profile id/name(the one that is configured on your UCS side)<u></u><u></u></p>
<p class="MsoNormal"><img src="cid:image005.jpg@01D17B0F.3AE61C60" height="406" width="563" border="0"><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> </span><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
- &#39;Networks&#39; main tab(create network) &gt;&gt; &#39;vNIC Profiles&#39; sub tab(edit the profile and add the &#39;vmfex&#39; key), so it would look like:<u></u><u></u></p>
</div>
<p class="MsoNormal">vmfex = profile-ame1-test1<u></u><u></u></p>
</div>
<p class="MsoNormal">and/or
<u></u><u></u></p>
</div>
<p class="MsoNormal">vmfex = profile-ame1-prep1<u></u><u></u></p>
<p class="MsoNormal"><img src="cid:image006.png@01D17B0F.3AE61C60" height="319" width="473" border="0"><u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
5) Go to &#39;Setup Networks&#39; sub tab under &#39;Hosts&#39; main tab --&gt; attach the network with the vmfex profile to NIC on host(drag it), it should be the additional NIC, not the one that the management network attached to.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image007.png@01D17B0F.3AE61C60" height="121" width="888" border="0"><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image008.jpg@01D17B0F.3AE61C60" height="414" width="613" border="0"><br>
<br>
6) Create VM or use exist one, create/add new vNIC to the VM with the vmfex profile<span style="color:black"><br>
</span><img src="cid:image009.jpg@01D17B0F.3AE61C60" height="423" width="635" border="0"><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
7) Run VM<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">Note - only Test hosts 2 &amp; 3 are currently configured with this network - so I expect Host 1 to fail.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><img src="cid:image010.png@01D17B0F.3AE61C60" height="372" width="490" border="0"><u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If your port profile configured properly you should see the proper xml, like you described above ^^ --&gt;
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Good luck and kind regards,
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Michael B<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Mar 9, 2016 at 8:49 AM, David LeVene &lt;<a href="mailto:David.LeVene@blackboard.com" target="_blank">David.LeVene@blackboard.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hey All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Still trying to work through this VMFEX stuff, and I know what I want the file to look like at the end.. but not sure how to achieve it from the doco written here<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.ovirt.org/develop/developer-guide/vdsm/hook/vmfex/" target="_blank">http://www.ovirt.org/develop/developer-guide/vdsm/hook/vmfex/</a><u></u><u></u></p>
<p class="MsoNormal">and<u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.ovirt.org/develop/release-management/features/network/ucs-integration/" target="_blank">http://www.ovirt.org/develop/release-management/features/network/ucs-integration/</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Currently my device looks like this<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"># virsh -r net-dumpxml vdsm-SRIOV<u></u><u></u></p>
<p class="MsoNormal">&lt;network&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;name&gt;vdsm-SRIOV&lt;/name&gt;<u></u><u></u></p>
<p class="MsoNormal"> &lt;forward mode=&#39;bridge&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;bridge name=&#39;SRIOV&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">&lt;/network&gt;<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I want it looking like this, then the networking will be as it should be!<u></u><u></u></p>
<p class="MsoNormal">A port group would be a vNIC Profile from the looks of things…<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">  &lt;name&gt;vdsm-SRIOV&lt;/name&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;forward dev=&#39;enp6s0f1&#39; mode=&#39;passthrough&#39;&gt;                            
<span style="font-family:Wingdings">ß</span> defined as a passthrough device, not a bridge<u></u><u></u></p>
<p class="MsoNormal">    &lt;interface dev=&#39;enp6s0f1&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;interface dev=&#39;enp6s0f2&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;interface dev=&#39;enp6s0f3&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;interface dev=&#39;enp6s0f4&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">&lt;   .. list of interfaces available to it which would need to be manually inputted as a hook&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;/forward&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;portgroup name=&#39;ame1-test1&#39;&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;virtualport type=&#39;802.1Qbh&#39;&gt;<u></u><u></u></p>
<p class="MsoNormal">      &lt;parameters profileid=&#39;profile-ame1-test1&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;/virtualport&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;/portgroup&gt;
<u></u><u></u></p>
<p class="MsoNormal">  &lt;portgroup name=&#39;ame1-prep1&#39;&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;virtualport type=&#39;802.1Qbh&#39;&gt;<u></u><u></u></p>
<p class="MsoNormal">      &lt;parameters profileid=&#39;profile-ame1-prep1&#39;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;/virtualport&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;/portgroup&gt;<u></u><u></u></p>
<p class="MsoNormal">&lt;/network&gt;<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Cheers<u></u><u></u></p>
<p class="MsoNormal">David<u></u><u></u></p>
</div>
<p class="MsoNormal">This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended
 recipient, disclosure, copying, re-distribution or other use of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Michael Burman<br>
RedHat Israel, RHEV-M QE Network Team<br>
<br>
Mobile: 054-5355725<br>
IRC: mburman<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use
 of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Michael Burman<br>
RedHat Israel, RHEV-M QE Network Team<br>
<br>
Mobile: 054-5355725<br>
IRC: mburman<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div><div><div class="h5">
This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information
 is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="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>