Policy > Networking > Connectivity > Routing

Associated URIs:

API Description API Path

List prefix lists


Paginated list of all prefix lists
GET /policy/api/v1/infra/routing-config/prefix-lists

Delete a prefix list


Delete a prefix list
DELETE /policy/api/v1/infra/routing-config/prefix-lists/{prefix-list-id}

Read a prefix list


Read a prefix list
GET /policy/api/v1/infra/routing-config/prefix-lists/{prefix-list-id}

Create or patch a prefix list


If prefix list for prefix-list-id is not already present, create
a prefix list. If it already exists, patch prefix list for prefix-list-id.
Note:
Patching existing prefix-list's "prefixes" property will overwrite the existing prefixes.
GET and PATCH is the expected set of operations to update or append new entries to the existig prefixes.
Patching existing prefixes require order to be preserved to avoid traffic impact. During PATCH operation,
reordering of existing prefixes may impact routes and eventually datapath.
Order here is crucial and it all depends upon action. If action for every prefix is PERMIT then order may
not impact but if there is DENY prefix then change in ordering could lead to traffic impact.
PATCH /policy/api/v1/infra/routing-config/prefix-lists/{prefix-list-id}

Create or update a prefix list


If prefix list for prefix-list-id is not already present, create
a prefix list. If it already exists, replace the prefix list for
prefix-list-id.
Note:
Updating existing prefixes require order to be preserved to avoid traffic impact. During PATCH operation,
reordering of existing prefixes may impact routes and eventually datapath.
Order here is crucial and it all depends upon action. If action for every prefix is PERMIT then order may
not impact but if there is DENY prefix then change in ordering could lead to traffic impact.
PUT /policy/api/v1/infra/routing-config/prefix-lists/{prefix-list-id}

List project route filter lists


Paginated list of all route filter lists
GET /policy/api/v1/infra/routing-config/project-route-filters

Delete a route filter


Delete a route filter
DELETE /policy/api/v1/infra/routing-config/project-route-filters/{route-filter-id}

Read a project route filter


Read a project route filter
GET /policy/api/v1/infra/routing-config/project-route-filters/{route-filter-id}

Create or patch a route filter


Create or patch a route filter. This will create a mapping of projects to prefix lists. Prefix lists will be
applied to all T-1 under the specified projects.
PATCH /policy/api/v1/infra/routing-config/project-route-filters/{route-filter-id}

Create or update project route filter


Create or update a route filter
PUT /policy/api/v1/infra/routing-config/project-route-filters/{route-filter-id}

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.
POST /policy/api/v1/infra/tier-0s?action=site_failover