System Administration > Configuration > Fabric > Nodes > Transport Nodes

List transport nodes by realized state

Returns a list of transport node states that have realized state as provided
as query parameter.
If this API is called multiple times in parallel then it
will fail with error indicating that another request is already in progress.
In such case, try the API on another NSX manager instance (if exists) or try
again after some time.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.

Request:

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

Example Request:

GET https://<nsx-mgr>/policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcementpoint-id>/host-transport-nodes/state?status=IN_PROGRESS

Successful Response:

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

Example Response:

{ "state" : "in_progress", "node_deployment_state": "success", "transport_node_id" : "366048ba-89d9-435e-ac2e-2c7cf6ed0f33", "host_switch_states" : [ { "state" : "in_progress", "host_switch_id" : "58 20 ca 9e ff da 40 19-86 06 39 d2 0c 0a d7 c5", "endpoints" : [ { "subnet_mask" : "255.255.255.224", "device_name" : "vmk10", "label" : 593280, "default_gateway" : "", "ip" : "169.254.177.12" } ], "host_switch_name" : "opaque-switch-1" } ] }

Required Permissions:

read

Feature:

nodes_transport_nodes

Additional Errors: