Ovirt- List Datacenter, hypervisors/host,vms in an ovirt DC with its name,status,id..etc using python/ovirt-sdk [Part 2]

Its a common use that, fetching Data center, hypervisors and VMs status in a ovirt Dc periodically.. Instead of connecting to OVirt GUI ( web admin portal) and seeing its status, you can automate this task via a python script. I wrote a program to just fetch the name & its status in a DC using python sdk.

Please download the program from github as below indentation is broken..

The output will look like this:

Hope this will help someone.. Please let me know your feedback..

Leave a Reply

Your email address will not be published. Required fields are marked *