System Administration > Configuration > Fabric > Nodes > Transport Nodes

Get a Host Transport Node's State

Returns information about the current state of the transport node
configuration and information about the associated hostswitch.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcementpoint-id>/host-transport-nodes/<host-transport-node-id>/state
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/policy/api/v1/infra/sites//enforcement-points//host-transport-nodes/55120a1a-51c6-4c20-b4a3-6f59662c9f6a/state example_response: | { "transport_node_id": "55120a1a-51c6-4c20-b4a3-6f59662c9f6a", "host_switch_states": [ { "host_switch_id": "25 a2 64 85 c9 fa 4d 19-a1 41 45 cf cb 8b 55 54", "host_switch_name": "SV1", "endpoints": [ { "device_name": "vmk11", "ip": "172.16.223.210", "default_gateway": "", "subnet_mask": "", "label": 53251 } ], "transport_zone_ids": [ "a95c914d-748d-497c-94ab-10d4647daeba", "f9f39e61-85da-4704-97c6-d23e46bcd08d" ], "host_switch_type": "NVDS" }, { "host_switch_id": "50 21 0c 52 94 22 aa 20-b7 f0 0b da 1c 7c 29 ea", "host_switch_name": "dvs1", "endpoints": [ { "device_name": "vmk10", "ip": "172.16.223.175", "default_gateway": "", "subnet_mask": "255.255.224.0", "label": 53249 } ], "transport_zone_ids": [ "1b3a2f36-bfd1-443e-a0f6-4de01abc963e" ], "host_switch_type": "VDS" } ], "maintenance_mode_state": "DISABLED", "node_deployment_state": { "state": "success", "details": [] }, "deployment_progress_state": { "progress": 100, "current_step_title": "Configuration complete" }, "state": "success", "details": [ { "sub_system_id": "55120a1a-51c6-4c20-b4a3-6f59662c9f6a", "sub_system_type": "HostConfig", "state": "success" }, { "sub_system_id": "55120a1a-51c6-4c20-b4a3-6f59662c9f6a", "sub_system_type": "AppInit", "state": "success" }, { "sub_system_id": "55120a1a-51c6-4c20-b4a3-6f59662c9f6a", "sub_system_type": "LogicalSwitchFullSync", "state": "success" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TransportNodeState+

Required Permissions:

read

Feature:

nodes_transport_nodes

Additional Errors: