create_ip_pool
Create an IP address pool with a static subnet and allocation range so NSX consumers like tunnel endpoints receive addresses. Check existing pools first to avoid overlapping ranges.
Instructions
[WRITE] Create an IP address pool with one static subnet and allocation range.
IP pools supply addresses to NSX consumers such as tunnel endpoints. Run list_ip_pools first to avoid overlapping ranges; start_ip and end_ip must both fall inside cidr. The same pool_id overwrites (PUT). Returns the created pool dict, else {"error", "hint"}. Then verify with get_ip_pool_usage; delete_ip_pool is the inverse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | Subnet containing the range, e.g. "192.168.1.0/24". | |
| end_ip | Yes | Last allocatable IPv4 address, e.g. "192.168.1.100". | |
| target | No | NSX Manager target from config (default if omitted). | |
| pool_id | Yes | Unique id (alphanumerics, hyphens, underscores only); becomes /infra/ip-pools/<pool_id>. | |
| start_ip | Yes | First allocatable IPv4 address, e.g. "192.168.1.10". | |
| gateway_ip | No | Subnet default gateway, e.g. "192.168.1.1". | |
| display_name | Yes | UI display name. |