Get L2VPN Peer Config
Get peer config for the L2Vpn to configure the remote side of the tunnel.
- no enforcement point path specified: L2Vpn Peer Codes will be evaluated on
each enforcement point.
- {enforcement_pointpath}: L2Vpn Peer Codes are evaluated only on the given
enforcement point.
This API is deprecated. Please use GET /infra/tier-0s/
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l2vpn-context/l2vpns/{l2vpn-id}/peer-config
Query Parameters
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
Response
Response
Response BodyResponse Body
200 OK returns
AggregateL2VpnPeerConfig of type(s) application/json
{
"l2vpn_path": "string",
"l2vpn_peer_config_per_enforcement_point": [
{
"enforcement_point_path": "string",
"resource_type": "string"
}
]
}
string
l2vpn_path
Required
Policy path referencing the L2Vpn.
array of
L2VpnPeerConfigPerEnforcementPoint
l2vpn_peer_config_per_enforcement_point
Optional
List of L2Vpn peer config per Enforcement Point.
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l2vpn-context/l2vpns/{l2vpn-id}/peer-config
Errors
BadRequest
400
The request cannot be fulfilled due to bad syntax.
Forbidden
403
The server understood the request, but is refusing to fulfill it.
404
Not Found
PreconditionFailed
412
This error has no documentation
InternalServerError
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
ServiceUnavailable
503
The server is currently unavailable (because it is overloaded or down for maintenance).
On This Page
Locale Services L2VPN Operations
put
delete
delete
delete
get
get
get
patch
patch
patch