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
Parameters
Parameters
string
tier-0-id
Required
Not available
string
locale-service-id
Required
Not available
string
l2vpn-id
Required
Not available
Query Parameters
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
Response
Response
Response BodyResponse Body
200 OK returns
AggregateL2VpnPeerConfig
{
"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
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).
Not available
404
The requested resource could not be found but may be available again in the future.
On This Page
Locale Services L2VPN Operations
put
delete
delete
delete
get
get
get
patch
patch
patch