Policy >
Networking
>
Connectivity
>
Routing
>
Tier-0 Gateways
Recover of Tier0 and linked tier1 gateway(s).
API to recover specified Tier0 gateway and linked tier1 gateway from
primary site path to new primary site path. This will update intent of
affected Tier-0 and Tier-1 gateway.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/tier-0s?action=site_failover
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
GatewaySiteFailoverActionConfig
+
GatewaySiteFailoverActionConfig
(
schema
)
Name
Description
Type
Notes
from_site_path
Source site path
Source site path for failover. Gateway whose primary site path matches from_site_path are considered for recovery.
string
Required
to_primary_site_config
Recovery site for gateway
Recovery stie for Tier-0 gateway and linked Tier-1 gateway.
array of
GatewayRecoverySiteConfig
Required
Maximum items: 200
Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/tier-0s?action=site_failover
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Example Response:
200 OK
Required Permissions:
crud
Feature:
policy_t0
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable