NSX-T Data Center REST API
L2VPNSessionTransportTunnelData (type)
{
"additionalProperties": false,
"description": "L2VPN Session Transport Tunnel Data uses a peer code which has all the information to create the transport tunnel.",
"id": "L2VPNSessionTransportTunnelData",
"module_id": "PolicyVpnLayer2VPN",
"properties": {
"local_address": {
"$ref": "IPv4Address,
"description": "IPv4 Address of local endpoint.",
"required": true,
"title": "IPv4 Address of local endpoint"
},
"peer_address": {
"$ref": "IPv4Address,
"description": "IPv4 Address of Peer endpoint on remote site.",
"required": true,
"title": "IPv4 Address of Peer endpoint"
},
"peer_code": {
"description": "Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g local/peer ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it.",
"required": false,
"sensitive": true,
"title": "Peer code for the transport tunnel",
"type": "secure_string"
}
},
"title": "L2VPN Session Transport Tunnel Data",
"type": "object"
}