NSX-T Data Center REST API
Create an IP Pool (Deprecated)
Creates a new IPv4 or IPv6 address pool. Required parameters areallocation_ranges and cidr. Optional parameters are display_name,
description, dns_nameservers, dns_suffix, and gateway_ip.
Deprecated:
This rest routine is deprecated. Use /infra/ip-pools/<ip-pool-id> with method type as PATCH for creation of a new IP address pool.
Request:
Method:
POST
URI Path(s):
/api/v1/pools/ip-pools
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpPool+
Example Request:
{ "display_name": "IPPool-IPV6-1", "description": "IPPool-IPV6-1 Description", "subnets": [ { "dns_nameservers": ["2002:a70:cbfa:1:1:1:1:1"], "allocation_ranges": [ { "start": "2002:a70:cbfa:0:0:0:0:1", "end": "2002:a70:cbfa:0:0:0:0:5" } ], "gateway_ip": "2002:a80:cbfa:0:0:0:0:255", "cidr": "2002:a70:cbfa:0:0:0:0:0/124" } ] }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
IpPool+