[Users] Rest-Api to get the VM ip-address in oVirt /RHEV-M 3.0

Michael Pasternak mpastern at redhat.com
Wed Dec 12 11:41:58 UTC 2012


On 12/12/2012 01:31 PM, Romil Gupta wrote:
> 
> Hi,
> 
> I am looking for a REST-API to get the IP-ADDRESS of a VM ?
> At the creation time we attach a nic's to a VM , but I didn't find any API to get the IP address.
> 
> I want to pass the VM_NAME as a parameter and get the IP-ADDRESS of a particular VM !
> is it possible ??

yes it is, ips located under <guest_info> in vm, but note that you
have to have guest agent installed.

> 
> Thanks for all your continuous help till now.
> 
> Regards,
> Romil  
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Users mailing list