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

Get routing table from tier-0

Get routing table from tier-0

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "route_entries": [ { "next_hop": "169.254.0.1", "route_type": "ns ", "admin_distance": 3, "network": "25.1.0.0/16" }, { "next_hop": "45.1.1.1", "route_type": "c ", "admin_distance": 0, "network": "45.1.1.0/24" }, { "next_hop": "169.254.0.1", "route_type": "ns ", "admin_distance": 3, "network": "100.96.0.0/30" }, { "next_hop": "169.254.0.2", "route_type": "c ", "admin_distance": 0, "network": "169.254.0.0/28" } ], "count": 4, "edge_node": "41efeae8-58c2-11e8-993c-000c29326bac" } ] }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: