3.27.1. List hypervisors

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

Lists hypervisors information for each server obtained through the hypervisor-specific API, such as libvirt or XenAPI.

Normal response codes: 200

 3.27.1.1. Request

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

NameTypeDescription

{tenant_id}

​String

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

This operation does not require a request body.

 3.27.1.2. Response

 

Example 3.229. List hypervisors: JSON response

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

 

Example 3.230. List hypervisors: XML response

<?xml version='1.0' encoding='UTF-8'?>
<hypervisors>
  <hypervisor id="1" hypervisor_hostname="fake-mini"/>
</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...