[openstack-dev] [nova] how to get domain info of all running instances on a compute host

Kapil kapil6442 at gmail.com
Thu Mar 24 21:39:07 UTC 2016


Hi

I am trying to get the virDomainInfo objects of all the currently running
instances on the compute host. There is an api method in
virt/libvirt/driver.py "*get_info(self, instance)*", but it takes an
instance object as the argument. I can get instance names from "
*list_instances(self)*" but how do I get the instance objects ?

Regards,
Kapil Agarwal
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160324/ad057910/attachment.html>


More information about the OpenStack-dev mailing list