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

Associated URIs:

API Description API Path

List BGP community lists


Paginated list of all community lists under a tier-0
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/community-lists

Delete a BGP community list


Delete a BGP community list
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>

Read a BGP community list


Read a BGP community list
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>

Create or update a BGP community list


If a community list with the community-list-id is not already present,
create a new community list. If it already exists, update the community
list for specified attributes.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>

Create or update a BGP community list


If a community list with the community-list-id is not already present,
create a new community list. If it already exists, replace the community
list instance with the new object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>

Get forwarding table from tier-0


Get forwarding table from tier-0
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/forwarding-table

Get forwarding table from tier-0 in CSV format


Get forwarding table from tier-0 gateway in CSV format.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/forwarding-table?format=csv

Read BGP routing config


Read BGP routing config
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp

Create or update BGP routing config


If an BGP routing config not present, create BGP routing config.
If it already exists, update the routing config.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp
PATCH /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp

Create or update a BGP routing config


If BGP routing config is not already present, create BGP routing config.
If it already exists, replace the BGP routing config with this object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp
PUT /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp

List BGP neighbor configurations


Paginated list of all BGP neighbor configurations
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors

Delete BGP neighbor config


Delete BGP neighbor config
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
DELETE /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>

Read BGP neighbor config


Read BGP neighbor config
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>

Create or update a BGP neighbor config


If BGP neighbor config with the neighbor-id is not already present, create a new
neighbor config. If it already exists, replace the BGP neighbor config with this object.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
PATCH /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>

Create or update a BGP neighbor config


If BGP neighbor config with the neighbor-id is not already present, create a new
neighbor config. If it already exists, replace the BGP neighbor config with this object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
PUT /policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>

Get BGP neighbor advertised routes


Returns routes advertised by BGP neighbor from all edge transport nodes on which
this neighbor is currently enabled.
The query parameter "source=cached" is not supported.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/advertised-routes

Get BGP neighbor advertised routes in CSV format


Returns routes advertised by BGP neighbor from all edge transport nodes on which
this neighbor is currently enabled in CSV format. Routes from all enforcement points are returned.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/advertised-routes?format=csv

Get routes learned by BGP neighbor in CSV format


Returns routes learned by BGP neighbor from all edge nodes on which
this neighbor is currently enabled. Routes from all enforcement points are returned.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/routes?format=csv

Get routes learned by BGP neighbor


Returns routes learned by BGP neighbor from all edge nodes on which
this neighbor is currently enabled.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/routes

Get BGP neighbor status for the Tier0


Returns the status of all the BGP neighbors for the given Tier0.
To get BGP neighbor status for a particular enforcement point,
parameter "enforcement_point_path=" needs to be specified.
If an enforcement_point is unspecified, then bgp neighbor status for all enforcement points is fetched.
To get BGP neighbors status for the logical router from particular edge node,
parameter "edge_path=" needs to be specified.
If an edge_path is unspecified, then bgp neighbor status for all edges is fetched.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/status

Read OSPF routing config


Read OSPF routing config
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf

Create or update a OSPF routing config


If OSPF routing config is not already present, create OSPF routing config.
If it already exists, replace the OSPF routing config with this object.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf

Create or update a OSPF routing config


If OSPF routing config is not already present, create OSPF routing config.
If it already exists, replace the OSPF routing config with this object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf

List OSPF area configurations


List all OSPF area configurations.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/areas

Delete OSPF Area config


Delete OSPF Area config
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/areas/<area-id>

Read OSPF Area config


Read OSPF Area config
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/areas/<area-id>

Create or update a OSPF Area config


If OSPF Area config is not already present, create OSPF Area config.
If it already exists, replace the OSPF Area config with this object.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/areas/<area-id>

Create or update a OSPF Area config


If OSPF Area config is not already present, create OSPF Area config.
If it already exists, replace the OSPF Area config with this object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/areas/<area-id>

Get OSPF database information


Get OSPF database information.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/database

Get OSPF Database information in CSV format


Get OSPF Database information in CSV format.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/database?format=csv

Get OSPF neighbor information


Get OSPF neighbor information.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/neighbors

Get OSPF route information


Get OSPF route information.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/routes

Get OSPF route information in CSV format


Get OSPF route information in CSV format.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/routes?format=csv

List prefix lists


Paginated list of all prefix lists
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/prefix-lists

Delete a prefix list


Delete a prefix list
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>

Read a prefix list


Read a prefix list
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/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, update prefix list for prefix-list-id.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/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.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>

List route maps


Paginated list of all route maps under a tier-0
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/route-maps

Delete a route map


Delete a route map
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>

Read a route map


Read a route map
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>

Create or update a route map


If a route map with the route-map-id is not already present, create a new
route map. If it already exists, update the route map for specified
attributes.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>

Create or update a route map


If a route map with the route-map-id is not already present,
create a new route map. If it already exists, replace the
route map instance with the new object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>

Get routing table from tier-0


Get routing table from tier-0
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/routing-table

Get routing table from tier-0 in CSV format


Get routing table from tier-0 gateway in CSV format.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/routing-table?format=csv

Get Tier0 state


Returns
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/state

List Tier-0 Static Routes


Paginated list of all Tier-0 Static Routes
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes

Delete Tier-0 static routes


Delete Tier-0 static routes
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/<route-id>

Read Tier-0 static routes


Read Tier-0 static routes
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/<route-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes/<route-id>

Create or update a Tier-0 static routes


If static routes for route-id are not already present, create
static routes. If it already exists, update static routes for route-id.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/<route-id>

Create or update a Tier-0 static routes


If static routes for route-id are not already present, create
static routes. If it already exists, replace the static routes for route-id.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/<route-id>
PUT /policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes/<route-id>

List StaticRouteBfdPeers


Paginated list of all StaticRouteBfdPeers.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/bfd-peers
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes/bfd-peers

Delete this StaticRouteBfdPeer and all the entities contained by it.


Delete this StaticRouteBfdPeer and all the entities contained by it.
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/bfd-peers/<bfd-peer-id>

Read a StaticRouteBfdPeer


Read a StaticRouteBfdPeer with the bfd-peer-id.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/bfd-peers/<bfd-peer-id>
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes/bfd-peers/<bfd-peer-id>

Create or update a StaticRouteBfdPeer


If a StaticRouteBfdPeer with the bfd-peer-id is not already present,
create a new StaticRouteBfdPeer. If it already exists, update the
StaticRouteBfdPeer. This is a full replace.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/bfd-peers/<bfd-peer-id>

Create or update a StaticRouteBfdPeer


If a StaticRouteBfdPeer with the bfd-peer-id is not already present,
create a new StaticRouteBfdPeer. If it already exists, update the
StaticRouteBfdPeer. This operation will fully replace the object.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/bfd-peers/<bfd-peer-id>