Management Plane API > Networking > Logical Routing And Services > Routing Configuration

Create a new BGP community list on a logical router

Add a new BGP Community List on a Logical Router

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+

Example Response:

{ "id": "640912b0-4820-46f0-b7c2-7a9e2cb57505", "resource_type": "BGPCommunityList" "communities": ["10:50","10:52"], "community_type": "NormalBGPCommunity", "_last_modified_user": "admin", "_last_modified_time": 1433949148014, "_create_time": 1433949148014, "_create_user": "admin", "_revision": 0 }

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: