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

Create a new IP address block.

Creates a new IPv4 address block using the specified cidr. cidr is a required
parameter. display_name & description are optional parameters

Request:

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

Example Request:

POST https://<nsx-mgr>/api/v1/pools/ip-blocks { "display_name": "IPBlock-Tenant-1", "description": "IPBlock-Tenant-1 Description", "cidr": "192.168.0.0/16" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
IpBlock+

Example Response:

{ "_revision": 0, "id": "4a5f22a8-8293-4212-93df-99286d20e35b", "display_name": "IPBlock-Tenant-1", "description": "IPBlock-Tenant-1 Description", "resource_type": "IpBlock", "cidr": "192.168.0.0/16", "_last_modified_user": "admin", "_last_modified_time": 1414691880507, "_create_time": 1414691880507, "_create_user": "admin" }

Required Permissions:

crud

Feature:

ipam_ipam

Additional Errors: