NSX-T Data Center REST API

L2Extension (type)

{
  "additionalProperties": false,
  "id": "L2Extension",
  "module_id": "PolicyConnectivity",
  "properties": {
    "l2vpn_path": {
      "deprecated": true,
      "description": "This property has been deprecated. Please use the property l2vpn_paths for setting the paths of associated L2 VPN session. This property will continue to work as expected to provide backwards compatibility. However, when both l2vpn_path and l2vpn_paths properties are specified, only l2vpn_paths is used.",
      "required": false,
      "title": "Policy path of associated L2 VPN session",
      "type": "string"
    },
    "l2vpn_paths": {
      "description": "Policy paths corresponding to the associated L2 VPN sessions",
      "items": {
        "type": "string"
      },
      "required": false,
      "title": "Policy paths of associated L2 VPN sessions",
      "type": "array",
      "x-vmw-cross-reference": [
        {
          "leftType": [
            "Segment"
          ],
          "relationshipType": "SEGMENT_L2VPN_SESSION_RELATIONSHIP",
          "rightType": [
            "L2VPNSession"
          ]
        }
      ]
    },
    "local_egress": {
      "$ref": "LocalEgress",
      "description": "Local Egress.",
      "title": "Local Egress"
    },
    "tunnel_id": {
      "maximum": 4093,
      "minimum": 1,
      "required": false,
      "title": "Tunnel ID",
      "type": "int"
    }
  },
  "title": "Segment specific L2 VPN configuration",
  "type": "object"
}