<div dir="ltr"><div><div>Hi All,<br><br></div>I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic<br><br> &lt;nic&gt;
<br>    &lt;interface&gt;virtio&lt;/interface&gt; 
<br>    &lt;name&gt;eth0&lt;/name&gt;
<br>    &lt;boot_protocol&gt;static&lt;/boot_protocol&gt;
<br>    &lt;mac address=&#39;&quot;.$ip-&gt;mac_address.&quot;&#39;/&gt;
<br>    &lt;network&gt;
<br>     &lt;ip address=&#39;&quot;.$ip-&gt;mac_ip.&quot;&#39; netmask=&#39;255.255.255.0&#39; gateway=&#39;&quot;.$ip-&gt;mac_gateway.&quot;&#39;/&gt;
<br>    &lt;/network&gt;
<br>    &lt;on_boot&gt;true&lt;/on_boot&gt;
<br>    &lt;vnic_profile id=&#39;bbabc471-667d-4221-bc8e-4ab30b3dcc34&#39; /&gt;
<br>   &lt;/nic&gt;<br><br></div>Could you please check if anything wrong with it ?<br><br><br><div><div><div><br clear="all"><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
</div></div></div></div>