Admin API to obtain tenantID to physical host and network interface mappings

asked 2015-04-24 13:21:17 -0500

shriram gravatar image

I am trying to add some management layer code to obtain the topology of a given tenant's deployment inside a openstack infrastructure. As part of this effort, I need to determine the set of physical hosts where a tenant's VMs are running and the associated network interfaces (ovs interfaces) attached to those VMs. Is there a management layer API (preferably REST/XML) to obtain this information? I cannot use the standard CLI commands for various reasons.

In short, given a tenantID, is there a REST/XML API (management/admin) to identify the list of physical hosts where the tenant's VMs are currently running and the respective network interfaces (openvswitch ports) attached to those VMs?

edit retag flag offensive close merge delete