NSX Autonomous Edge REST API

TunnelEncapsulation (type)

{
  "description": "Details of encapsulation tunnel for L2VPN Session.",
  "id": "TunnelEncapsulation",
  "properties": {
    "local_endpoint_ip": {
      "$ref": "IPv4Address",
      "description": "IPv4 Address of local GRE tunnel endpoint.",
      "required": true,
      "title": "IPv4 Address of local GRE tunnel endpoint"
    },
    "peer_endpoint_ip": {
      "$ref": "IPv4Address",
      "description": "IPv4 Address of remote GRE tunnel endpoint.",
      "required": true,
      "title": "IPv4 Address of remote GRE tunnel endpoint"
    },
    "protocol": {
      "default": "GRE",
      "description": "Protocol used for encapsulation of L2VPN traffic. As of now, only GRE protocol is supported",
      "enum": [
        "NONE",
        "GRE"
      ],
      "required": false,
      "title": "Tunnel Encapsulation Protocol",
      "type": "string"
    }
  },
  "title": "Encapsulation Tunnel of L2VPN Session",
  "type": "object"
}