neutron-lib/api-ref/source/v2/samples/subnets/subnetpools-list-response.json
Nakul Dahiwade 113af41f80 api-ref: Fix api-ref for subnetpools
Added/cleaned request/response parameters for subnetpools rest_methods:

GET /v2.0/subnetpools
GET /v2.0/subnetpools/{subnetpool_id}
PUT /v2.0/subnetpools/{subnetpool_id}
POST /v2.0/subnetpools
DELETE /v2.0/subnetpools/{subnetpool_id}

Change-Id: I03234589b7fb9f0b5b5784ea2419bc380d85e5aa
Partially-Implements: blueprint neutron-in-tree-api-ref
2016-11-15 16:34:33 +00:00

45 lines
1.4 KiB
JSON

{
"subnetpools": [
{
"min_prefixlen": "64",
"address_scope_id": null,
"default_prefixlen": "64",
"id": "03f761e6-eee0-43fc-a921-8acf64c14988",
"max_prefixlen": "64",
"name": "my-subnet-pool-ipv6",
"default_quota": null,
"is_default": false,
"project_id": "9fadcee8aa7c40cdb2114fff7d569c08",
"tenant_id": "9fadcee8aa7c40cdb2114fff7d569c08",
"prefixes": [
"2001:db8:0:2::/64",
"2001:db8::/63"
],
"ip_version": 6,
"shared": false,
"description": "",
"revision_number": 2
},
{
"min_prefixlen": "24",
"address_scope_id": null,
"default_prefixlen": "25",
"id": "f49a1319-423a-4ee6-ba54-1d95a4f6cc68",
"max_prefixlen": "30",
"name": "my-subnet-pool-ipv4",
"default_quota": null,
"is_default": false,
"project_id": "9fadcee8aa7c40cdb2114fff7d569c08",
"tenant_id": "9fadcee8aa7c40cdb2114fff7d569c08",
"prefixes": [
"10.10.0.0/21",
"192.168.0.0/16"
],
"ip_version": 4,
"shared": false,
"description": "",
"revision_number": 2
}
]
}