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

Read a route map

Read a route map This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/route-maps/rm1

Successful Response:

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

Example Response:

{ "resource_type": "RoueMap", "id": "rm1", "display_name": "rm1", "path": "/infra/tier-0s/vmc_prv/route-maps/rm1", "parent_path": "/infra/tier-0s/vmc_prv", "relative_path": "rm1", "entries": [ { "community_list_matches": [ { "criteria": "/infra/tier-0s/vmc/community-lists/cl1", "match_operator": "MATCH_ALL" }], "set": { "as_path_prepend": "3354.1234", "med": 20, "weight": 12 }, "action": "PERMIT" }, { "prefix_list_matches": [ "/infra/tier-0s/vmc/prefix-lists/pl1" ], "set": { "as_path_prepend": "3354.1234", "med": 20, "weight": 12 }, "action": "PERMIT" } ], "_create_user": "admin", "_create_time": 1516667421694, "_last_modified_user": "admin", "_last_modified_time": 1516667421694, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: