NSX-T Data Center REST API
Get routes learned by BGP neighbor in CSV format
Returns routes learned by BGP neighbor from all edge nodes on whichthis neighbor is currently enabled. Routes from all enforcement points are returned.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/routes?format=csv
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/routes?format=csv
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/routes?format=csv
Request Headers:
n/a
Query Parameters:
BgpRoutesRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/locale-services/defalt/bgp/neighbors/to-onprem/routes?format=csv&enforcement_point_path=/infra/sites/default/enforcement-points/defaultSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
BgpNeighborRouteDetailsInCsvFormat+