NSX-T Data Center REST API
Associated URIs:
API Description | API Path |
---|---|
List IP PoolsReturns information about the configured IP address pools. Information includes the display name and description of the pool and the details of each of the subnets in the pool, including the DNS servers, allocation ranges, gateway, and CIDR subnet address. |
GET /api/v1/pools/ip-pools
(Deprecated)
|
Read IP PoolReturns information about the specified IP address pool. |
GET /api/v1/pools/ip-pools/{pool-id}
(Deprecated)
|
List IP Pool AllocationsReturns information about which addresses have been allocated from a specified IP address pool. |
GET /api/v1/pools/ip-pools/{pool-id}/allocations
(Deprecated)
|
List MAC PoolsReturns a list of all the MAC pools |
GET /api/v1/pools/mac-pools
|
Read MAC PoolReturns information about the specified MAC pool. |
GET /api/v1/pools/mac-pools/{pool-id}
|
List VNI PoolsReturns information about the default and configured virtual network identifier (VNI) pools for use when building logical network segments. Each virtual network has a unique ID called a VNI. Instead of creating a new VNI each time you need a new logical switch, you can instead allocate a VNI from a VNI pool. VNI pools are sometimes called segment ID pools. Each VNI pool has a range of usable VNIs. By default, there is one pool with two ranges [5000, 65535] and [65536, 75000]. To create multiple smaller pools, specify a smaller range for each pool such as 75001-75100 and 75101-75200. The VNI range determines the maximum number of logical switches that can be created in each network segment. |
GET /api/v1/pools/vni-pools
|
Create a new VNI Pool.Creates a new VNI pool using the specified VNI pool range. The range should be non-overlapping with an existing range. If the range in payload is present or overlaps with an existing range, return code 400 with bad request and an error message is returned mentioning that the given range overlaps with an existing range. |
POST /api/v1/pools/vni-pools
|
Delete a VNI PoolDeletes the given VNI pool. |
DELETE /api/v1/pools/vni-pools/{pool-id}
|
Read VNI PoolReturns information about the specified virtual network identifier (VNI) pool. |
GET /api/v1/pools/vni-pools/{pool-id}
|
Update a VNI PoolUpdates 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 which has allocated VNIs. Range shrinking or deletion is not allowed if it affects any allocated VNIs. |
PUT /api/v1/pools/vni-pools/{pool-id}
|
List virtual tunnel endpoint Label PoolsReturns a list of all virtual tunnel endpoint label pools |
GET /api/v1/pools/vtep-label-pools
|
Read a virtual tunnel endpoint label poolReturns information about the specified virtual tunnel endpoint label pool. |
GET /api/v1/pools/vtep-label-pools/{pool-id}
|