delete_ip_pool
Permanently delete an unused IP address pool after confirming it has no active allocations.
Instructions
[WRITE] Permanently delete an IP address pool.
Irreversible: consumers (e.g. transport endpoints) that draw addresses from this pool can no longer allocate, and NSX rejects the delete if the pool still has active allocations. Run list_ip_pools and get_ip_pool_usage on the same pool_id first to confirm the pool is unused, and confirm with the user before deleting. Returns a confirmation string on success, or an "Error: ..." string (pool not found, still in use, connectivity failure). Recorded in the audit log (~/.vmware/audit.db).
Args: pool_id: IP pool ID to delete, as returned by list_ip_pools. target: NSX Manager name from config.yaml. Uses the default target if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| pool_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |