[ovirt-users] Unable to assign profile to the nic

Shanil S xielesshanil at gmail.com
Thu Aug 28 08:31:30 UTC 2014


Hi All,

I am unable to assign the profile using the ovirt api code, the following
xml code is used for creating the nic

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

Could you please check if anything wrong with it ?



-- 
Regards
Shanil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140828/1f132a85/attachment-0001.html>


More information about the Users mailing list