System Administration > Configuration > Fabric > Pool Management > IP Pools

Create an IP Pool

Creates a new IPv4 or IPv6 address pool. Required parameters are
allocation_ranges and cidr. Optional parameters are display_name,
description, dns_nameservers, dns_suffix, and gateway_ip.

Request:

Method:
POST
URI Path(s):
/api/v1/pools/ip-pools
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpPool+

Example Request:

POST https://<nsx-mgr>/api/v1/pools/ip-pools { "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+

Example Response:

{ "_revision": 0, "id": "5a5f22a8-8293-4212-93df-99286d20e25c", "display_name": "IPPool-IPV6-1", "description": "IPPool-IPV6-1 Description", "resource_type": "IpPool", "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" } ], "_last_modified_user": "admin", "_last_modified_time": 1414691880507, "_create_time": 1414691880507, "_create_user": "admin" }

Required Permissions:

crud

Feature:

groups_ip_pools

Additional Errors: