NSX-T Data Center Global Manager REST API

L2VPNTunnelEncapsulation (type)

{
  "additionalProperties": false,
  "description": "L2VPN tunnel encapsulation config.",
  "id": "L2VPNTunnelEncapsulation",
  "module_id": "PolicyVpnLayer2VPN",
  "properties": {
    "local_endpoint_address": {
      "$ref": "IPv4Address",
      "description": "IP Address of the local tunnel port. This property only applies in CLIENT mode.",
      "readonly": true,
      "required": false,
      "title": "IP Address of the tunnel port"
    },
    "peer_endpoint_address": {
      "$ref": "IPv4Address",
      "description": "IP Address of the peer tunnel port. This property only applies in CLIENT mode.",
      "readonly": true,
      "required": false,
      "title": "IP Address of the peer tunnel port"
    },
    "protocol": {
      "default": "GRE",
      "description": "Encapsulation protocol used by the tunnel.",
      "enum": [
        "GRE"
      ],
      "readonly": true,
      "required": false,
      "title": "Encapsulation protocol",
      "type": "string"
    }
  },
  "title": "L2VPN Tunnel Encapsulation",
  "type": "object"
}