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

Create or patch an L2VPN session under Tier-1

Create or patch an L2VPN session under Tier-1. API supported
only when L2VPN Service is in Server Mode.

Request:

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

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/locale-services/default/l2vpn-services/default/sessions/stretched-pa-site { "description": "Stretched Palo Alto Site", "display_name": "stretched-pa-site", "enabled" : true, "transport_tunnels": [ "/infra/tier-1s/cgw/locale-services/default/ipsec-vpn-services/default/sessions/rbs-1" ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_vpn

Additional Errors: