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

Hi all , how I can get the hosts details like Active VM's , Number of CPU's , CPU name , CPU type , Physical Memory (used , free ) , swap size and other parameters 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.

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

Hi, You can find a documentation on how to use the python sdk here: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualiza... Should be the same for oVirt... -- Best Regards René Koch Senior Solution Architect ============================================ ovido gmbh - "Das Linux Systemhaus" Brünner Straße 163, A-1210 Wien Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.koch@ovido.at ============================================ On Wed, 2013-01-30 at 13:47 +0530, Romil Gupta wrote:
Hi all ,
how I can get the hosts details like Active VM's , Number of CPU's , CPU name , CPU type , Physical Memory (used , free ) , swap size and other parameters 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. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Michael Pasternak
-
René Koch (ovido)
-
Romil Gupta