NSX-T Data Center REST API

Get routing table from route controller in CSV format.

Get routing table from route controller in CSV format.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/route-controllers/{route-controller-id}/routing-table/download
Request Headers:
n/a
Query Parameters:
RouteControllerRoutesRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/route-controllers/RC-1/routing-table/download

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
GatewayRouteTableInCsvFormat+

Example Response:

transport_node_path,edge_path,route_type,network,interface,next_hop,admin_distance,lr_component_id,lr_component_type,next_hop_gateway,black_hole ,"ea2426f6-1cc9-43bd-97e8-e40b3a2dcdc5",t0c,40.40.40.0/24,,,0,"3924e91f-add9-4b9b-a7a5-075573a8abb0","CCP_ROUTER_TYPE_SERVICE_ROUTER_TIER0",,false ,"ea2426f6-1cc9-43bd-97e8-e40b3a2dcdc5",t0c,90.90.90.0/24,,,0,"3924e91f-add9-4b9b-a7a5-075573a8abb0","CCP_ROUTER_TYPE_SERVICE_ROUTER_TIER0",,false ,"ea2426f6-1cc9-43bd-97e8-e40b3a2dcdc5",t0c,fe80::/64,,,0,"3924e91f-add9-4b9b-a7a5-075573a8abb0","CCP_ROUTER_TYPE_SERVICE_ROUTER_TIER0",,false ,"94b22101-31ce-40ef-8508-28dace021619",t0c,40.40.40.0/24,,,0,"355aab42-d011-40bf-a34f-823419050e5f","CCP_ROUTER_TYPE_SERVICE_ROUTER_TIER0",,false ,"94b22101-31ce-40ef-8508-28dace021619",t0c,90.90.90.0/24,,,0,"355aab42-d011-40bf-a34f-823419050e5f","CCP_ROUTER_TYPE_SERVICE_ROUTER_TIER0",,false

Required Permissions:

read

Feature:

policy_route_controller

Additional Errors: