NSX-T Data Center REST API
Create a new BGP community list on a logical router (Deprecated)
Add a new BGP Community List on a Logical RouterDeprecated:
Please use below Policy APIs.
POST /policy/api/v1/infra/tier-0s/<tier-0-id>/community-lists/<community-list-id>
Request:
Method:
POST
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/bgp/community-lists
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
BGPCommunityList+
Example Request:
POST https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/bgp/community-lists { "communities": ["10:50","10:52"], "community_type": "NormalBGPCommunity" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
BGPCommunityList+