Hello Jean-Pierre, Yes you can. You can gather or control all parts of OpenStack using the REST API:s
Best regards #!/usr/bin/env python from novaclient import client nova = client.Client(2, "adminuser", "passwordhere", "adminproject", "http://controller:35357/v2.0"<http://controller:35357/v2.0>) print "Hypervisors:" print nova.hypervisors.list() print "Aggregates:" print nova.aggregates.list() print "Availability zones:" print nova.availability_zones.list() On 06/07/2016 04:16 PM, Jean-Pierre Ribeauville wrote: Hi, By using OpenStack Python SDK, is it possible to retrieve such things as hypervisors , aggregate and availability zones list? Thx for help. Regards, Jean-Pierre RIBEAUVILLE +33 1 4717 2049 [axway_logo_tagline_87px]
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
