NSX-T Data Center REST API
Get BGP neighbor advertised routes in CSV format (Deprecated)
Returns routes advertised by BGP neighbor from all edge transportnodes on which this neighbor is currently enabled in CSV format.
It always returns realtime response.
Deprecated:
Please use below Policy API.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/to-onprem/advertised-routes?format=csv&enforcement_point_path=/infra/sites/default/enforcement-points/default
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/bgp/neighbors/to-onprem/advertised-routes?format=csv&enforcement_point_path=/infra/sites/default/enforcement-points/default
Request:
Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/bgp/neighbors/<neighbor-id>/advertised-routes?format=csv
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-routers/875381be-a4c5-4173-8aa7-ab71695a8129/routing/bgp/neighbors/f8431964-f400-4da5-8c18-4ce4e6bd5fa5/advertised-routes?format=csvSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
BgpNeighborRouteDetailsInCsvFormat+