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

Update a VNI Pool

Updates the specified VNI pool. Modifiable parameters include description, display_name and ranges.
Ranges can be added, modified or deleted. Overlapping ranges are not allowed.
Only range end can be modified for any existing range.
Range shrinking or deletion is not allowed if there are any allocated VNIs.

Request:

Method:
PUT
URI Path(s):
/api/v1/pools/vni-pools/{pool-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VniPool+

Example Request:

PUT https://<nsx-mgr>/api/v1/pools/vni-pools/ac926c72-daf2-4bb5-ac07-9ab70afded67 { "_revision": 2, "display_name": "VniPool1", "description": "VNI Pool1", "ranges": [ { "start": 9000, "end": 10000 }, { "start": 7000, "end": 8000 }, { "start": 75001, "end": 76000 } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
VniPool+

Example Response:

{ "_revision": 3, "id": "ac926c72-daf2-4bb5-ac07-9ab70afded67", "display_name": "VniPool1", "description": "VNI Pool1", "resource_type": "VniPool", "ranges": [ { "start": 9000, "end": 10000 }, { "start": 7000, "end": 8000 }, { "start": 75001, "end": 76000 } ], "_last_modified_user": "admin", "_last_modified_time": 1413845541782, "_create_time": 1413324646640, "_create_user": "system" }

Required Permissions:

crud

Feature:

profiles_configuration

Additional Errors: