NSX-T Data Center REST API

Get the status for the Logical Router of the given id (Deprecated)

Returns status for the Logical Router of the given id. Deprecated:
Please use below Policy API.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/state
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/state

Request:

Method:
GET
URI Path(s):
/api/v1/logical-routers/{logical-router-id}/status
Request Headers:
n/a
Query Parameters:
DataSourceParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "logical_router_id": "875381be-a4c5-4173-8aa7-ab71695a8129", "last_update_timestamp": 1457127071089, "per_node_status": [ { "service_router_id": "56eead22-3bb9-4586-8de3-9412941f9116", "high_availability_status": "STANDBY", "transport_node_id": "ca6fd559-198d-4a4a-a5be-7e4eda1d5af4" }, { "service_router_id": "56eead22-3bb9-4586-8de3-9412941f9116", "high_availability_status": "ACTIVE", "transport_node_id": "88324389-7991-4189-a4e9-3eaea4b97f61" } ] }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: