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

Get L2VPN service under Tier-0 (Deprecated)

Get L2VPN service for given Tier-0 locale service.
This API is deprecated. Please use GET /infra/tier-0s/<tier-0-id>/l2vpn-services/<service-id> instead.
Note:
Please note that request is validated and any error messages returned from validation may include the new VPN path
instead of the deprecated path. Both new path and old path refer to same resource.

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "resource_type" : "L2VPNService", "path" : "/infra/tier-0s/ext_net/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: