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 Router
Deprecated:
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:

{ "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: