get_ip_pool_usage
Check IP pool usage to see how many addresses are allocated. Use before deleting a pool to ensure no allocations remain, or to diagnose address exhaustion.
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"}.
Args: pool_id: IP pool ID, as returned by list_ip_pools. target: NSX Manager target from config (default if omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| pool_id | Yes |