NSX-T Data Center REST API
Get a Transport Node's State
Returns information about the current state of the transport nodeconfiguration and information about the associated hostswitch.
Change introduced in 4.1.2 for ESX Transport node - The vib details will
not be retrieved in every state API call. It will be retrieved by periodical
polling on the host. Therefore the nsx vib version mismatch or nsx vib absence
will be reported by this API only after subsequent polling takes place.
Currently, the poll frequency is 10 minutes.
Request:
Method:
GET
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/state
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
example_response: | { "transport_node_id": "55120a1a-51c6-4c20-b4a3-6f59662c9f6a", "host_switch_states": [ { "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+