<font size=2 face="sans-serif">Andrew -- thanks for the reply.</font>
<br><font size=2 face="sans-serif"> Since <guest_info> of a
<vm> is not modifiable, is there a way to set a VM's IP address.</font>
<br><font size=2 face="sans-serif">This seems like a really needed functionality
when provisioning VMs through the Rest API.</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
Messaoud Benantar<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Andrew Cathrow <acathrow@redhat.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Messaoud Benantar/Austin/IBM@IBMUS</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">users@ovirt.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">03/13/2012 01:30 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [Users]
Rest API for vmanager 3.0 (set VM ip address)</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><br>
<br>
----- Original Message -----<br>
> From: "Messaoud Benantar" <mbenanta@us.ibm.com><br>
> To: users@ovirt.org<br>
> Sent: Tuesday, March 13, 2012 12:13:25 PM<br>
> Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)<br>
> <br>
> <br>
> Hi everyone,<br>
> i am using the vmanager's 3.0 Rest API.<br>
> have created a VM from an existing template (using http POST) and<br>
> been trying to find a way to set the VMs ip address<br>
> with no success. I tried supplying the ip address in the <guest_info><br>
> element during VM creation as in:<br>
> <guest_info><br>
> <ips><br>
> <ip address="x.x.x.x"/><br>
> </ips><br>
> </guest_info><br>
<br>
That's a read only property that shows the IP address of the virtual machine
reported by the in-guest agent.<br>
<br>
There's discussion going on about how we pass a payload to a VM that can
handle things like in-guest configuration<br>
<br>
</font></tt><a href=http://www.ovirt.org/wiki/Features/VMPayload><tt><font size=2>http://www.ovirt.org/wiki/Features/VMPayload</font></tt></a><tt><font size=2><br>
<br>
> <br>
> But the created VM ends up with the same ip address as that in the<br>
> template.<br>
> <br>
> Anyone attempted to do something similar ? Is there another way of<br>
> doing it. I tried the nics API but there seem to be no interface<br>
> to modify a nic's ip address.<br>
> <br>
> Thank you.<br>
> <br>
> <br>
> Regards,<br>
> Messaoud Benantar<br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> Users@ovirt.org<br>
> </font></tt><a href=http://lists.ovirt.org/mailman/listinfo/users><tt><font size=2>http://lists.ovirt.org/mailman/listinfo/users</font></tt></a><tt><font size=2><br>
> <br>
<br>
</font></tt>
<br>