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