NSX-T Data Center REST API
L2VpnTunnelEncapsulation (type)
{
"additionalProperties": false,
"description": "L2VPN tunnel encapsulation config",
"id": "L2VpnTunnelEncapsulation",
"module_id": "L2VPN",
"properties": {
"local_endpoint_ip": {
"$ref": "IPv4Address,
"description": "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.",
"required": false,
"title": "IP Address of the tunnel port"
},
"peer_endpoint_ip": {
"$ref": "IPv4Address,
"description": "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.",
"required": false,
"title": "IP Address of the peer tunnel port"
},
"protocol": {
"default": "GRE",
"description": "Encapsulation protocol used by the tunnel",
"enum": [
"GRE"
],
"required": false,
"title": "Encapsulation protocol",
"type": "string"
}
},
"title": "L2VPN tunnel encapsulation config",
"type": "object"
}