Skip to main content
Glama

get_transport_node_status

Check connectivity and tunnel status for a VMware NSX transport node to monitor network health and troubleshoot issues.

Instructions

Check status of a specific transport node (connectivity, tunnel status).

Args: node_id: The transport node ID. target: Optional NSX Manager target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYes
targetNo

Implementation Reference

  • The core logic function that queries the NSX API for transport node status.
    def get_transport_node_status(client: NsxClient, node_id: str) -> dict:
        """Get status of a specific transport node.
    
        Args:
            client: Authenticated NSX API client.
            node_id: Transport node UUID.
    
        Returns:
            Dict with node connectivity, tunnel, and pNIC status.
        """
        data = client.get(f"/api/v1/transport-nodes/{node_id}/status")
  • The MCP tool handler that orchestrates connection and calls the core health logic.
    @mcp.tool()
    def get_transport_node_status(node_id: str, target: str | None = None) -> dict:
        """Check status of a specific transport node (connectivity, tunnel status).
    
        Args:
            node_id: The transport node ID.
            target: Optional NSX Manager target name from config. Uses default if omitted.
        """
        from vmware_nsx.ops.health import get_transport_node_status as _get_tn_status
    
        client = _get_connection(target)
        return _get_tn_status(client, node_id)

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