Hi Michael,<div><br></div><div>I have 'rhev-agent-2.3.16-3.el6.x86_64 ' on every VM's and I tired <font color="#0000ff">api.vms.get(VM_NAME).guest_info.ips</font> but it return <font color="#ff0000">NONE</font> !</div>
<div>I can see on UI that all VM's have some IP Address .</div><div>can you please check once ?</div><div><br></div><div>Thanks </div><div>Romil </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 5:11 PM, Michael Pasternak <span dir="ltr"><<a href="mailto:mpastern@redhat.com" target="_blank">mpastern@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/12/2012 01:31 PM, Romil Gupta wrote:<br>
><br>
> Hi,<br>
><br>
> I am looking for a REST-API to get the IP-ADDRESS of a VM ?<br>
> At the creation time we attach a nic's to a VM , but I didn't find any API to get the IP address.<br>
><br>
> I want to pass the VM_NAME as a parameter and get the IP-ADDRESS of a particular VM !<br>
> is it possible ??<br>
<br>
</div>yes it is, ips located under <guest_info> in vm, but note that you<br>
have to have guest agent installed.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks for all your continuous help till now.<br>
><br>
> Regards,<br>
> Romil<br>
><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
<br>
Michael Pasternak<br>
RedHat, ENG-Virtualization R&D<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>I don't wish to be everything to everyone, but I would like to be something to someone. <br>
</div>