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

Michael Pasternak mpastern at redhat.com
Wed Dec 12 13:57:27 UTC 2012


what sdk version you're using?

On 12/12/2012 03:15 PM, Romil Gupta wrote:
> Thanks,
> I tried this but It doesn't work for me :
> 
> VM_NAME='instance-0000019b'
> ips=api.vms.get(VM_NAME).get_guest_info().get_ips()
> print ips
> 
> 
> Output : None 
> 
> On Wed, Dec 12, 2012 at 6:38 PM, Michael Pasternak <mpastern at redhat.com <mailto:mpastern at redhat.com>> wrote:
> 
>     vm.get_guest_info().get_ips()
> 
> 
> 
> 
> -- 
> I don't wish to be everything to everyone, but I would like to be something to someone.


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Users mailing list