Hi,<div><br></div><div>that would work. Keep in mind though, that since <span style>NIC/MAC and NIC/VLAN_ID are restricted attributes, it will only work for oneadmin:</span></div><div><a href="http://opennebula.org/documentation:rel3.2:compatibility#resource_management" target="_blank" style>http://opennebula.org/documentation:rel3.2:compatibility#resource_management</a></div>

<div><br></div><div>cheers,</div><div>Jaime<br><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 2:47 PM, Florian Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know it is possible to add a NIC to a VM only with only the IP, MAC<br>
and BRIDGE name, but is it possible to add a NIC only with IP, MAC;<br>
PHYDEV, VLAN_ID and VLAN?<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jan 24, 2012 at 3:05 PM, Florian Antonescu<br>
<<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I would like to know if it is possible to add a NIC to VM definition<br>
> with a VLAN, without using a previously defined virtual network,<br>
> similar to the attached one:<br>
><br>
> NIC=[<br>
>  IP=192.168.122.5,<br>
>  MAC=02:00:c0:a8:7a:05,<br>
>  PHYDEV=eth0,<br>
>  VLAN=YES,<br>
>  VLAN_ID=3<br>
> ]<br>
><br>
> Thank you,<br>
> Florian Antonescu<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>


</div>