
28 Aug
2014
28 Aug
'14
11:31 a.m.
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