<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 5, 2014 at 10:02 AM, Livnat Peer <span dir="ltr"><<a href="mailto:lpeer@redhat.com" target="_blank">lpeer@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">[snip]<br></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">
<br>
</div>The security group is configured per VM, the rules are configured by the<br>
system on the node the VM is running on.<br>
<br>
>From the user perspective you need to configure a security group policy<br>
and then associate the VM with the relevant policy, there is also a<br>
default policy to which all VMs are associated by default.<br>
<br>
To use this feature you need to use the oVirt-Neutron integration -<br>
<a href="http://www.ovirt.org/Features/Detailed_OSN_Integration#Security_groups" target="_blank">http://www.ovirt.org/Features/Detailed_OSN_Integration#Security_groups</a><br>
<br></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">How can I set more than one custom device property?</span></div><div class="gmail_extra">
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">For example in my case when I had to use extnet I lose the security groups one...</span></div>
<div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">before</span></div><div class="gmail_extra">
<span style="font-family:arial,sans-serif;font-size:13px">[root@tekkaman ovirt-engine]# engine-config -g CustomDeviceProperties</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.1</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.2</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.3</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: {type=interface;prop={</span><span style="font-family:arial,sans-serif;font-size:13px">SecurityGroups=^(?:(?:[0-9a-</span><span style="font-family:arial,sans-serif;font-size:13px">fA-F]{8}-(?:[0-9a-fA-F]{4}-){</span><span style="font-family:arial,sans-serif;font-size:13px">3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-</span><span style="font-family:arial,sans-serif;font-size:13px">F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">then</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">[root@tekkaman ovirt-engine]# engine-config -s CustomDeviceProperties='{type=</span><span style="font-family:arial,sans-serif;font-size:13px">interface;prop={extnet=^[a-zA-</span><span style="font-family:arial,sans-serif;font-size:13px">Z0-9_ ---]+$}}'</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Please select a version:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">1. 3.0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">2. 3.1</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">3. 3.2</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">4. 3.3</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">5. 3.4</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">5</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">after:</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">[root@tekkaman ovirt-engine]# engine-config -g CustomDeviceProperties</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.1</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.2</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: version: 3.3</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CustomDeviceProperties: {type=interface;prop={extnet=^</span><span style="font-family:arial,sans-serif;font-size:13px">[a-zA-Z0-9_ ---]+$}} version: 3.4</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px"># systemctl restart ovirt-engine</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">What is the syntax to add extnet without deleting security groups one?</span><br style="font-family:arial,sans-serif;font-size:13px"></div><div class="gmail_extra">
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">Thanks</span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">Gianluca</span></div>
</div>