This is a multipart message in MIME format.
--=_alternative 00592017862579C0_=
Content-Type: text/plain; charset="US-ASCII"
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>
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
--=_alternative 00592017862579C0_=
Content-Type: text/html; charset="US-ASCII"
<font size=2 face="sans-serif">Hi everyone,</font>
<br><font size=2 face="sans-serif">
i am using the vmanager's 3.0 Rest API.</font>
<br><font size=2 face="sans-serif"> have created a VM from
an existing
template (using http POST) and been trying to find a way to set the VMs
ip address</font>
<br><font size=2 face="sans-serif">with no success. I tried
supplying the
ip address in the <guest_info> element during VM creation as
in:</font>
<br><font size=2 face="sans-serif">
<guest_info></font>
<br><font size=2 face="sans-serif">
<ips></font>
<br><font size=2 face="sans-serif">
<ip
address="x.x.x.x"/></font>
<br><font size=2 face="sans-serif">
</ips></font>
<br><font size=2 face="sans-serif">
</guest_info></font>
<br>
<br><font size=2 face="sans-serif">But the created VM ends up with
the
same ip address as that in the template. </font>
<br>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">to modify a nic's ip
address.</font>
<br>
<br><font size=2 face="sans-serif">Thank you.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
Messaoud Benantar<br>
</font>
--=_alternative 00592017862579C0_=--