NSX-T Data Center REST API
Create L2VPN service (Deprecated)
Create L2VPN service for a given logical router Deprecated:Please use below Policy APIs.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/l2vpn-services/<service-id>
PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>
Request:
Method:
POST
URI Path(s):
/api/v1/vpn/l2vpn/services
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2VpnService+
Example Request:
{ "logical_router_id": "88a3c980-c433-43f7-80b8-987c8f80d9e1" }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
L2VpnService+