NSX Autonomous Edge REST API

L2Extension (type)

{
  "description": "Configuration for extending L2 domain with L2VPN.",
  "id": "L2Extension",
  "properties": {
    "arp_resolver": {
      "description": "ARP Resolver feature,performs ARP resolution of remote gateway IP to remote gateway MAC.",
      "required": false,
      "title": "ARP Resolver",
      "type": "boolean"
    },
    "arp_resolver_mac": {
      "description": "MAC address used to send DAD ARP request.",
      "required": false,
      "title": "ARP Resolver MAC address",
      "type": "string"
    },
    "filter_spcl_garp": {
      "description": "Filters and drops special Gratuitous ARP (GARP) packets where both the Sender Protocol Address (SPA) and the Target Protocol Address (TPA) are set to zero.",
      "required": false,
      "title": "Filter Special GARP packets",
      "type": "boolean"
    },
    "gateway_ip": {
      "description": "IP address of the Source/Onprem/Remote side gateway.",
      "required": false,
      "title": "Gateway IP address",
      "type": "string"
    },
    "l2_rewrite": {
      "description": "L2 rewrite for Mobility optimized network feature in the VLAN. Rewrites the L2 destination MAC from stitch MAC to remote gateway MAC.",
      "required": false,
      "title": "L2 rewrite",
      "type": "boolean"
    },
    "l2vpn_session_id": {
      "description": "L2VPN sessions identifier for L2 extension.",
      "required": true,
      "title": "L2VPN session ID",
      "type": "string"
    },
    "l2vpn_session_name": {
      "description": "Display name of the given l2vpn session.",
      "readOnly": true,
      "required": false,
      "title": "Display name of the given l2vpn session",
      "type": "string"
    },
    "local_gw_mac": {
      "description": "MAC address of the Destination/Cloud/Local side gateway.",
      "required": false,
      "title": "Gateway MAC address",
      "type": "string"
    },
    "logical_switch_port_id": {
      "description": "UUID of logical switch port.",
      "readonly": true,
      "title": "Logical Switch port identifier",
      "type": "string"
    },
    "mon": {
      "description": "Mobility optimized network feature in the VLAN.",
      "required": false,
      "title": "Mobility optimized network",
      "type": "boolean"
    },
    "remote_gw_mac": {
      "description": "MAC address of the Source/Onprem/Remote side gateway.",
      "required": false,
      "title": "Gateway MAC address",
      "type": "string"
    },
    "stitch_mac": {
      "description": "MAC that is used to rewrite the destination MAC of packets sent over L2 Extension.",
      "required": false,
      "title": "Stitch MAC address",
      "type": "string"
    },
    "tunnel_id": {
      "description": "Tunnel ID to uniquely identify the L2 extension.",
      "maximum": 4093,
      "minimum": 1,
      "required": true,
      "title": "Tunnel ID",
      "type": "integer"
    }
  },
  "title": "L2 Extension",
  "type": "object"
}