NSX-T Data Center REST API
Get BGP neighbor advertised routes in CSV format
Returns routes advertised by BGP neighbor from all edge transport nodes on whichthis neighbor is currently enabled in CSV format. 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>/advertised-routes?format=csv
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/advertised-routes?format=csv
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>/advertised-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/advertised-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+