<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> <nic>
<br> <interface>virtio</interface>
<br> <name>eth0</name>
<br> <boot_protocol>static</boot_protocol>
<br> <mac address='".$ip->mac_address."'/>
<br> <network>
<br> <ip address='".$ip->mac_ip."' netmask='255.255.255.0' gateway='".$ip->mac_gateway."'/>
<br> </network>
<br> <on_boot>true</on_boot>
<br> <vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' />
<br> </nic><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>