[Users] Rest API for vmanager 3.0 (set VM ip address)
Messaoud Benantar
mbenanta at us.ibm.com
Tue Mar 13 20:02:46 UTC 2012
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 at redhat.com>
To: Messaoud Benantar/Austin/IBM at IBMUS
Cc: users at 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 at us.ibm.com>
> To: users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120313/6e349edb/attachment-0001.html>
More information about the Users
mailing list