11.3. Showing floating IP details¶
GET /v2.0/floatingips/{floatingip_id}
Shows details of a floating IP.
11.3.1. Request¶
| Name | In | Type | Description | 
|---|---|---|---|
| floatingip_id | path | string | The ID of the floating IP address. | 
11.3.1.1. Example¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9696/v2.0/floatingips/239fe333-b801-4096-a04f-20f33f6177c3
11.3.2. Response¶
| Name | In | Type | Description | 
|---|---|---|---|
| floatingip | body | object | A floatingipobject. When you associate a
floating IP address with a VM, the instance has the same public IP
address each time that it boots, basically to maintain a
consistent IP address for maintaining DNS assignment. | 
| router_id | body | string | The ID of the router for the floating IP. | 
| status | body | string | The status of the floating IP. Values are ACTIVE,DOWNandERROR. | 
| description | body | string | A human-readable description for the resource. | 
| dns_domain | body | string | A valid DNS domain. | 
| dns_name | body | string | A valid DNS name. | 
| port_details | body | string | The information of the port that this floating IP associates with.
In particular, if the floating IP is associated with a port, this field
contains some attributes of the associated port, including name,network_id,mac_address,admin_state_up,status,device_idanddevice_owner. If the floating IP is not associated
with a port, this field isnull. | 
| tenant_id | body | string | The ID of the project. | 
| created_at | body | string | Time at which the resource has been created (in UTC ISO8601 format). | 
| updated_at | body | string | Time at which the resource has been updated (in UTC ISO8601 format). | 
| revision_number | body | integer | The revision number of the resource. | 
| project_id | body | string | The ID of the project. | 
| floating_network_id | body | string | The ID of the network associated with the floating IP. | 
| fixed_ip_address | body | string | The fixed IP address that is associated with the floating IP address. | 
| floating_ip_address | body | string | The floating IP address. | 
| port_id | body | string | The ID of a port associated with the floating IP. | 
| id | body | string | The ID of the floating IP address. | 
| tags | body | array | The list of tags on the resource. | 
| port_forwardings | body | array | The associated port forwarding resources for the floating IP. If the
floating IP has multiple port forwarding resources, this field has
multiple entries. Each entry consists of network IP protocol
( protocol), the fixed IP address of internal neutron port
(internal_ip_address), the TCP or UDP port used by internal
neutron port (internal_port) and the TCP or UDP port used by
floating IP (external_port). | 
11.3.2.1. Status codes¶
11.3.2.1.1. Success¶
| Code | Reason | 
|---|---|
| 200 - OK | Request was successful. | 
11.3.2.1.2. Error¶
| Code | Reason | 
|---|---|
| 401 - Unauthorized | User must authenticate before making a request. | 
| 403 - Forbidden | Policy does not allow current user to do this operation. | 
| 404 - Not Found | The requested resource could not be found. | 
11.3.2.2. Example¶
{
  "floatingip": {
    "router_id": "02542148-44cb-470d-a551-58f370c47b83",
    "status": "ACTIVE",
    "description": "",
    "tags": [],
    "tenant_id": "f5d834d636c642c7bfe8af86139c6f26",
    "created_at": "2020-03-04T16:37:27Z",
    "updated_at": "2020-03-04T16:37:32Z",
    "floating_network_id": "b4907761-8c0f-447e-9cfe-c688ca6e44a0",
    "port_details": {
      "status": "ACTIVE",
      "name": "",
      "admin_state_up": true,
      "network_id": "c4e2f31b-fe3b-402b-ac1b-b182693f72f7",
      "device_owner": "compute:nova",
      "mac_address": "fa:16:3e:66:ab:b3",
      "device_id": "e1ae6f7e-c35d-4656-a4fd-2371f9a791d4"
    },
    "fixed_ip_address": "192.168.0.112",
    "floating_ip_address": "10.94.139.170",
    "revision_number": 1,
    "project_id": "f5d834d636c642c7bfe8af86139c6f26",
    "port_id": "165d5ff3-d015-4361-9bce-d59054c585cf",
    "id": "239fe333-b801-4096-a04f-20f33f6177c3"
  }
}
Version 4.5.0 — Feb 15, 2021
          
        