[Users] Rest-api to fetch the hosts details ( active vm's , CPU , Physical memory etc.)

Michael Pasternak mpastern at redhat.com
Wed Jan 30 08:34:00 UTC 2013


Hi Romil,

On 01/30/2013 10:17 AM, Romil Gupta wrote:
> Hi all ,
> 
> how I can get the hosts details like Active VM's , 

host doesn't have running vms attribute, instead you
can see in the guest on which host it's running,

general system summary you can see at api.get_summary()

Number of CPU's , CPU name , CPU type ,

these are host attributes

Physical Memory (used , free ) , swap size and other parameters

these are host.statistics attributes

> using ovirt-engine-sdk-3.2.0.5-1.
> 
> 
> 
> Regards,
> Romil 
> 
> -- 
> 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