• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. OpenStack Nova APIs
  5. Floating IP Address Management
  6. Querying Floating IP Address Pools (Discarded)

Querying Floating IP Address Pools (Discarded)

Function Description

This interface is used to query floating IP address pools.

There is only one network resource pool that can be queried through this interface by tenants in Open Telekom Cloud live network environment.

Constraints

  • This API will be discarded. You are advised to use the VPC interface "Querying Networks".

The interface parameter is as follows: router:external=True

GET /networks?router:external=True //Name in the result is returned.

URI

GET /v2/{project_id}/os-floating-ip-pools

GET /v2.1/{project_id}/os-floating-ip-pools

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

Request

Request parameters

Table 2 describes the request parameters.

Table 2 Request parameters

Parameter

Type

Mandatory

Description

tenant_id

String

Yes

Specifies the tenant ID specified in the URI.

The value is in UUID format.

Response

Response parameters

Table 3 describes the response parameters.

Table 3 Response parameters

Parameter

Type

Mandatory

Description

floating_ip_pools

List

Yes

Specifies the floating IP address pool.

name

String

Yes

Specifies the name of the floating IP address pool.

Examples

  • Example request
    GET /v2/e73621affb8f44e1bc01898747ca09d4/os-floating-ip-pools
    GET /v2.1/e73621affb8f44e1bc01898747ca09d4/os-floating-ip-pools
  • Example response
    {
        "floating_ip_pools": [
            {
                "name": "pool1"
            },
            {
                "name": "pool2"
            }
        ]
    }

Returned Values

See General Request Returned Values.