NSX-T Data Center REST API
L2VPNSessionData (type)
{
"additionalProperties": false,
"description": "L2VPN Session Data represents meta data necessary to create the L2VPN Session. It is represented by an array of peer code for each tunnel.",
"id": "L2VPNSessionData",
"module_id": "PolicyVpnLayer2VPN",
"properties": {
"description": {
"maxLength": 1024,
"title": "Description of L2VPN Session",
"type": "string"
},
"display_name": {
"description": "Defaults to id if not set.",
"maxLength": 255,
"title": "Identifier to use when displaying L2VPN Session",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enable to extend all the associated segments.",
"required": false,
"title": "Enable L2VPN session",
"type": "boolean"
},
"transport_tunnels": {
"description": "List of L2VPN transport tunnel data.",
"items": {
"$ref": "L2VPNSessionTransportTunnelData
},
"maxItems": 1,
"minItems": 1,
"title": "List of L2VPN Transport Tunnel Data",
"type": "array"
}
},
"title": "L2VPN Session Data",
"type": "object"
}