Policy > Networking > Connectivity > Tier-0 Gateways > Routing > State

Get Tier0 state

Returns

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/state
Request Headers:
n/a
Query Parameters:
Tier0StateRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/state

Successful Response:

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

Example Response:

{ "tier0_state": { "state": "in_sync", "details": [ { "sub_system_id": "9d09f56c-6bd2-11e9-ac02-000c294188d6", "sub_system_type": "TransportNode", "state": "in_sync" }, { "sub_system_id": "96e40830-6bd2-11e9-a190-000c2985db32", "sub_system_type": "TransportNode", "state": "in_sync" } ] }, "tier0_status": { "logical_router_id": "db481db6-2759-4769-b6f4-71cef0b5ef07", "last_update_timestamp": 1557467728692, "per_node_status": [ { "transport_node_id": "9d09f56c-6bd2-11e9-ac02-000c294188d6", "service_router_id": "6456b7c0-a50f-46cb-86e2-4094812bdd6d", "high_availability_status": "STANDBY" }, { "transport_node_id": "96e40830-6bd2-11e9-a190-000c2985db32", "service_router_id": "c4ac6edb-bca7-45ba-b888-29594201f15c", "high_availability_status": "ACTIVE" } ] }, "ipv6_status": [ { "interface_id": "/infra/tier-0s/pepsi/locale-services/1-policyconnectivity-197/interfaces/1-policyconnectivity-350", "dad_statuses": [] }, { "interface_id": "/infra/tier-0s/pepsi/locale-services/1-policyconnectivity-197/interfaces/1-policyconnectivity-270", "dad_statuses": [] }, { "interface_id": "/infra/tier-0s/pepsi/locale-services/1-policyconnectivity-197/interfaces/1-policyconnectivity-185", "dad_statuses": [ { "ip_address": "fe80::50:56ff:fe56:4452", "status": "NOT_APPLICABLE" }, { "ip_address": "fcf8:9c18:67c6::1", "status": "NOT_APPLICABLE" } ] }, { "interface_id": "/infra/tier-0s/pepsi/locale-services/1-policyconnectivity-197/interfaces/1-policyconnectivity-12", "dad_statuses": [ { "ip_address": "fe80::50:56ff:fe56:4452", "status": "NOT_APPLICABLE" }, { "ip_address": "fcf8:9c18:67c6:1::1", "status": "NOT_APPLICABLE" } ] } ] }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: