create_ip_pool
Create an IP address pool with a static subnet and allocation range for NSX consumers like tunnel endpoints.
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.
Args: pool_id: Unique id (alphanumerics, hyphens, underscores only); becomes /infra/ip-pools/. display_name: UI display name. start_ip: First allocatable IPv4 address, e.g. "192.168.1.10". end_ip: Last allocatable IPv4 address, e.g. "192.168.1.100". cidr: Subnet containing the range, e.g. "192.168.1.0/24". gateway_ip: Subnet default gateway, e.g. "192.168.1.1". target: NSX Manager target from config (default if omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | ||
| end_ip | Yes | ||
| target | No | ||
| pool_id | Yes | ||
| start_ip | Yes | ||
| gateway_ip | No | ||
| display_name | Yes |