L2VPNSessionTransportTunnelData
L2VPNSessionTransportTunnelData
L2VPN Session Transport Tunnel Data uses a peer code which has all the information to create the transport tunnel.
JSON Example
{
"local_address": "string",
"peer_address": "string",
"peer_code": "string"
}
string As ipv4 As ipv4
local_address
Required
IPv4 Address of local endpoint.
string As ipv4 As ipv4
peer_address
Required
IPv4 Address of Peer endpoint on remote site.
string
peer_code
Optional
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.