Policy > Networking > Network Services > VPN > L2VPN > Services

Get L2VPN service list result under Tier-1

Get paginated list of all L2VPN services under Tier-1. This API is only available when using VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/l2vpn-services
Request Headers:
n/a
Query Parameters:
L2VPNServiceListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/locale-services/default/l2vpn-services

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
L2VPNServiceListResult+

Example Response:

{ "result_count" : 1, "results" : [ { "resource_type" : "L2VPNService", "path" : "/infra/tier-1s/cgw/locale-services/default/l2vpn-services/default", "enable_hub" : true, "mode" : "SERVER", "_create_time" : 1517293097281, "_last_modified_user" : "admin", "_last_modified_time" : 1517293097281, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 3 } ] }

Required Permissions:

read

Feature:

policy_vpn

Additional Errors: