get_ip_pool_usage
Check IP pool consumption before deletion or to diagnose address exhaustion. Returns allocation count and per-IP details, with an empty list indicating an unused pool.
Instructions
[READ] Get current IP allocations for one IP address pool.
Use this after list_ip_pools to see how much of a pool is consumed — e.g. diagnosing TEP address exhaustion, or before delete_ip_pool, which cannot proceed while allocations remain. Returns a single dict (not the list envelope): pool_id, allocation_count and allocations (id, display_name, allocation_ip). An empty allocations list means the pool is unused, not that the query failed. On failure returns {"error", "hint"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | NSX Manager target from config (default if omitted). | |
| pool_id | Yes | IP pool ID, as returned by list_ip_pools. |