Skip to main content
Glama

list_ip_pools

Retrieve all IP address pools with subnet details and usage summaries to manage network resources in VMware NSX environments.

Instructions

List all IP address pools with subnets and usage summary.

Args: target: Optional NSX Manager target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the list_ip_pools tool, which queries the NSX Policy API to list IP pools and sanitizes the output.
    def list_ip_pools(client: NsxClient) -> list[dict]:
        """List all IP pools.
    
        Returns:
            List of IP pool dicts with id, display_name, and usage summary.
        """
        items = client.get_all("/policy/api/v1/infra/ip-pools")
        return [
            {
                "id": _sanitize(p.get("id", "")),
                "display_name": _sanitize(p.get("display_name", "")),
                "pool_usage": p.get("pool_usage", {}),
            }
            for p in items
        ]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zw008/VMware-NSX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server