<div dir="ltr">You should only use the management to keep changes.<br>We added network filtering options in 4.0.<br>There is also a option of VDSM hook for things that are not supported via the manager.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra&#39;anana, Israel 4350109

Tel : +972 (9) 7692306
        8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div></div></div></div></div>
<br><div class="gmail_quote">On Sat, Aug 13, 2016 at 12:15 AM, Bill Bill <span dir="ltr">&lt;<a href="mailto:jax2568@outlook.com" target="_blank">jax2568@outlook.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 lang="EN-US" link="blue" vlink="#954F72">


<div>
<p class="MsoNormal">It seems like when starting the VM through the oVirt dashboard, it’s either overwriting or removing those values.</p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:jax2568@outlook.com" target="_blank">Bill Bill</a><br>
<b>Sent: </b>Friday, August 12, 2016 3:04 PM<br>
<b>To: </b><a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<b>Subject: </b>xml config file being used in ovirt different from virsh?</p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
</div><div><div class="h5">
<div>
<div>
<p class="MsoNormal">I have a VM with network filtering enabled, specifically the clean-traffic filter.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Through virsh, I modify the configuration to reflect changes like this:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">     &lt;filterref filter=&#39;clean-traffic&#39;&gt;</p>
<p class="MsoNormal">        &lt;parameter name=&#39;IP&#39; value=&#39;192.168.10.10.&#39;/&gt;</p>
<p class="MsoNormal">        &lt;parameter name=&#39;IP&#39; value=&#39;192.168.10.11&#39;/&gt;</p>
<p class="MsoNormal">      &lt;/filterref&gt;</p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">This only allows those two specified IP’s to communicate on the VM. I’ve defined the xml through virsh.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">Now, if I start the VM directly through virsh, those rules apply and work correctly. I can add any other random IP from the same subnet and it does not work, as expected.
 Only the two Ip’s specified above will respond.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">This unfortunately, makes the VM appear to be down from with the ovirt dashboard if it’s started manually through virsh.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">If I edit the machine through virsh but do not start it and then go onto oVirt to start the VM, it seems the configuration is not loaded – does oVirt load a different configuration
 file other than /etc/libvirt/qemu/machine.xml?</span></p>
</div>
</div>
</div></div></div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>