Policy > Networking > Connectivity > Tier-1 Gateways > Tier-1 Gateways

Create or update tier-1 configuration

If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
If it already exists, replace the Tier-1 instance with this object.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Tier1+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw { "display_name": "Tier1Gateway1_33", "route_advertisement_types": [ "TIER1_CONNECTED", "TIER1_STATIC_ROUTES" ], "description": "Tier1-1 created through automation" }

Successful Response:

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

Example Response:

{ "failover_mode": "NON_PREEMPTIVE", "enable_standby_relocation": false, "route_advertisement_types": [ "TIER1_CONNECTED", "TIER1_STATIC_ROUTES" ], "force_whitelisting": false, "default_rule_logging": false, "disable_firewall": false, "ipv6_profile_paths": [ "/infra/ipv6-ndra-profiles/default", "/infra/ipv6-dad-profiles/default" ], "pool_allocation": "ROUTING", "advanced_config": { "traffic_back_to_source": false }, "resource_type": "Tier1", "id": "Tier1Gateway13", "display_name": "Tier1Gateway1_33", "description": "Tier1-1 created through automation", "path": "/infra/tier-1s/Tier1Gateway13", "relative_path": "Tier1Gateway13", "parent_path": "/infra", "unique_id": "8063528e-050a-44e6-a2de-187d28104cac", "realization_id": "8063528e-050a-44e6-a2de-187d28104cac", "marked_for_delete": false, "overridden": false, "_create_time": 1694110599714, "_create_user": "admin", "_last_modified_time": 1694110599714, "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

execute

Feature:

policy_t1

Additional Errors: