• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. Subnet Pool
  6. Querying a Subnet Pool

Querying a Subnet Pool

Function

This interface is used to query details about the specific subnet pool.

URI

GET /v2.0/subnetpools/{subnetpool_id}

Request Message

None

Response Message

Table 1 Response parameter

Parameter

Type

Description

subnetpool

Dict

Specifies the subnet pool object list. For details, see Table 1.

Example:

Example request

GET /v2.0/subnetpools/03f761e6-eee0-43fc-a921-8acf64c14988

Response

Example response

{
    "subnetpool": {
        "min_prefixlen": 64,
        "address_scope_id": null,
        "default_prefixlen": 64,
        "id": "03f761e6-eee0-43fc-a921-8acf64c14988",
        "max_prefixlen": 64,
        "name": "my-subnet-pool",
        "default_quota": null,
        "is_default": false,
        "project_id": "9fadcee8aa7c40cdb2114fff7d569c08",
        "tenant_id": "9fadcee8aa7c40cdb2114fff7d569c08",
        "created_at": "2016-03-08T20:19:41",
        "prefixes": [
            "2001:db8:0:2::/64",
            "2001:db8::/63"
        ],
        "updated_at": "2016-03-08T20:19:41",
        "ip_version": 6,
        "shared": false,
        "description": "",
        "revision_number": 2
    }
}

Status Codes

For details, see section Status Codes.