3.25.4. List floating IPs by host

 
MethodURIDescription
GET/v2/{tenant_id}/os-floating-ips-bulk/{host_name}

Lists all floating IPs for a specified host.

Normal response codes: 200

 3.25.4.1. Request

This table shows the URI parameters for the list floating ips by host request:

NameTypeDescription

{tenant_id}

​String

The unique identifier of the tenant or account.

{host_name}

​String

The name of the host of interest to you.

This operation does not require a request body.

 3.25.4.2. Response

 

Example 3.213. List floating IPs by host: JSON response

{
    "floating_ip_info": [
        {
            "address": "10.10.10.3",
            "instance_uuid": null,
            "interface": "eth0",
            "pool": "nova",
            "project_id": null
        }
    ]
}

 

Example 3.214. List floating IPs by host: XML response

<?xml version='1.0' encoding='UTF-8'?>
<floating_ip_info>
  <item>
    <interface>eth0</interface>
    <instance_uuid>None</instance_uuid>
    <project_id>None</project_id>
    <pool>nova</pool>
    <address>10.10.10.3</address>
  </item>
</floating_ip_info>

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...