L2VpnTunnelEncapsulation
L2VpnTunnelEncapsulation
L2VPN tunnel encapsulation config
JSON Example
{
"local_endpoint_ip": "string",
"peer_endpoint_ip": "string",
"protocol": "string"
}
string As ipv4
As ipv4
local_endpoint_ip
Optional
IP Address of the tunnel port. For hub, the IP is allocated from L2VpnService logical_tap_ip_pool. All sessions on same L2VpnService get the same local_endpoint_ip. For spoke, the IP must be provided.
string As ipv4
As ipv4
peer_endpoint_ip
Optional
IP Address of the peer tunnel port. For hub, the IP is allocated from L2VpnService logical_tap_ip_pool. For spoke, the IP must be provided.
string
protocol
Optional
Constraints:
default: GRE
Encapsulation protocol used by the tunnel