Not sure what your use case is.
But basically, you can get the list of compute nodes belonging to one host 
aggregate and then, get the virtual instances on each compute nodes in the list.

Regards,
Ligong Duan


From: Pradeep Singh [mailto:[email protected]]
Sent: Wednesday, March 29, 2017 4:24 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [nova] How can i check if an instance belongs to 
host-aggregate

Hello,

I want to filter out some instances(to avoid some operation on them) which are 
scheduled on  host-aggregates.

How can i filter out these instances from all instances list in my cloud.

Thanks in advance!!

Thanks,
Pradeep Singh
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to