
This is a multipart message in MIME format. --=_alternative 006F4D40862579C0_= Content-Type: text/plain; charset="US-ASCII" Andrew - Unfortunately in our case we assign ip-addresses from a static pool. So i understand the VMPayload feature will include setting up <gues_info> ip-address, right? Sorry that i have not read any info regarding this functionality -- when will it be available? Thanks. Regards, Messaoud Benantar From: Andrew Cathrow <acathrow@redhat.com> To: Messaoud Benantar/Austin/IBM@IBMUS Cc: users@ovirt.org Date: 03/13/2012 03:12 PM Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address) Not today, the guest would usually just pickup from DHCP But that's the purpose of the VMPayload feature that's being discussed - a way to pass arbitrary data/config to the VM ----- Original Message -----
From: "Messaoud Benantar" <mbenanta@us.ibm.com> To: "Andrew Cathrow" <acathrow@redhat.com> Cc: users@ovirt.org Sent: Tuesday, March 13, 2012 4:02:46 PM Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
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@redhat.com> To: Messaoud Benantar/Austin/IBM@IBMUS Cc: users@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@us.ibm.com> To: users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=_alternative 006F4D40862579C0_= Content-Type: text/html; charset="US-ASCII" <font size=2 face="sans-serif">Andrew -</font> <br><font size=2 face="sans-serif"> Unfortunately in our case we assign ip-addresses from a static pool.</font> <br><font size=2 face="sans-serif">So i understand the </font><tt><font size=2>VMPayload</font></tt><font size=2 face="sans-serif"> feature will include setting up <gues_info> ip-address, right?</font> <br><font size=2 face="sans-serif">Sorry that i have not read any info regarding this functionality -- when will it be available? Thanks.</font> <br> <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 03:12 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>Not today, the guest would usually just pickup from DHCP<br> But that's the purpose of the VMPayload feature that's being discussed - a way to pass arbitrary data/config to the VM<br> <br> ----- Original Message -----<br> > From: "Messaoud Benantar" <mbenanta@us.ibm.com><br> > To: "Andrew Cathrow" <acathrow@redhat.com><br> > Cc: users@ovirt.org<br> > Sent: Tuesday, March 13, 2012 4:02:46 PM<br> > Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)<br> > <br> > Andrew -- thanks for the reply.<br> > Since <guest_info> of a <vm> is not modifiable, is there a way to set<br> > a VM's IP address.<br> > This seems like a really needed functionality when provisioning VMs<br> > through the Rest API.<br> > <br> > Regards,<br> > Messaoud Benantar<br> > <br> > <br> > <br> > <br> > From: Andrew Cathrow <acathrow@redhat.com><br> > To: Messaoud Benantar/Austin/IBM@IBMUS<br> > Cc: users@ovirt.org<br> > Date: 03/13/2012 01:30 PM<br> > Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)<br> > <br> > <br> > <br> > <br> > <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<br> > > <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<br> > machine reported by the in-guest agent.<br> > <br> > There's discussion going on about how we pass a payload to a VM that<br> > 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> > <br> > <br> <br> </font></tt> <br> --=_alternative 006F4D40862579C0_=--