NSX Autonomous Edge REST API

Associated URIs:

API Description API Path

Get all L2VPN sessions


Get list of all L2VPN sessions
GET /vpn/l2vpn/sessions

Create an L2VPN session from Peer Code


Create an L2VPN session from Peer Code.
In addition to the L2VPN Session, the IPSec VPN Session, along
with the IKE, Tunnel, and DPD Profiles are created and owned by
the system. Local Endpoint are created only when required, i.e.,
an IPSec VPN Local Endpoint with same local address does not
already exist.
API supported only when L2VPN Service is in Client Mode.
POST /vpn/l2vpn/sessions?action=create_with_peer_code

Delete a L2VPN session


Delete a specific L2VPN session.
DELETE /vpn/l2vpn/sessions/{l2vpn-session-id}

Get a L2VPN session


Get a specific L2VPN session
GET /vpn/l2vpn/sessions/{l2vpn-session-id}

Update an L2VPN session with a new peer code


Updating an L2VPN Session can be performed only through this API
by specifying new peer codes. Use of specific APIs to update the
L2VPN Session and the system-owned resources associated with it
is not allowed.
API supported only when L2VPN Service is in Client Mode.
PUT /vpn/l2vpn/sessions/{l2vpn-session-id}?action=update_with_peer_code

Get L2VPN session statistics


Get statistics of a specific L2VPN session
GET /vpn/l2vpn/sessions/{l2vpn-session-id}/statistics
Additional Links