3.27.5. List instances for hypervisors

 
MethodURIDescription
GET/v2/{tenant_id}/os-hypervisors/{hypervisor_hostname}/servers

Lists instances that belong to specific hypervisors.

Normal response codes: 200

 3.27.5.1. Request

This table shows the URI parameters for the list instances for hypervisors request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{hypervisor_hostname}

​String

The name of the host that runs the hypervisor.

This operation does not require a request body.

 3.27.5.2. Response

 

Example 3.237. List instances for hypervisors: JSON response

{
    "hypervisors": [
        {
            "hypervisor_hostname": "fake-mini",
            "id": 1
        }
    ]
}

 

Example 3.238. List instances for hypervisors: XML response

<?xml version='1.0' encoding='UTF-8'?>
<hypervisors>
  <hypervisor id="1" hypervisor_hostname="fake-mini">
    <servers/>
  </hypervisor>
</hypervisors>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...