[ovirt-devel] RHEVM API for virtual machine hostname

Juan Hernandez jhernand at redhat.com
Wed Apr 23 10:48:23 UTC 2014


On 04/23/2014 08:41 AM, Vikas Kokare wrote:
> Is there a way using RHEVM ReST API 3.2, to fetch the hostname(DNS name)
> of a virtual machine? There is IP address available under
> 
> <vm>
>       <guest_info>
>            <ips>
>               <ip address=""/>
>            </ips>
>        </guest_info>
> </vm>
> 
> but, no way to fetch the hostname.
> 
> Please guide.
> 

The host name isn't available with 3.2, it was introduced in oVirt 3.4.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Devel mailing list