NSX-T Data Center REST API
Create an ip pool for a DHCP server (Deprecated)
Create an ip pool for a local DHCP serverRequest:
Method:
POST
URI Path(s):
/api/v1/dhcp/servers/<server-id>/ip-pools
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpIpPool+
Example Request:
POST /api/v1/dhcp/servers/d7f425da-25d2-4e5e-ae9e-ea112375971d/ip-pools { "display_name" : "DHCP-ip-pool-2", "gateway_ip" : "192.168.150.1", "allocation_ranges" : [ { "start" : "192.168.150.100", "end" : "192.168.150.200" } ] }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
DhcpIpPool+