NSX-T Data Center REST API

L2VPNSessionPeerConfigNsxT (type)

{
  "additionalProperties": false,
  "description": "L2VPNSessionPeerCodes represents an array of peer code for each tunnel. The peer code is necessary to configure the remote end of the tunnel. Currently only stand-along/unmanaged edge is supported on the remote end of the tunnel.",
  "extends": {
    "$ref": "L2VPNSessionPeerConfigPerEP"
  },
  "id": "L2VPNSessionPeerConfigNsxT",
  "module_id": "PolicyVpnLayer2VPN",
  "polymorphic-type-descriptor": {
    "type-identifier": "L2VPNSessionPeerConfigNsxT"
  },
  "properties": {
    "alarm": {
      "$ref": "PolicyRuntimeAlarm",
      "description": "Alarm information details.",
      "readonly": true,
      "title": "Alarm Information Details"
    },
    "enforcement_point_path": {
      "description": "Policy Path referencing the enforcement point where the info is fetched.",
      "readonly": true,
      "title": "Enforcement point Path",
      "type": "string"
    },
    "peer_codes": {
      "description": "List of peer codes per transport tunnel.",
      "items": {
        "$ref": "L2VPNSessionTransportTunnelPeerCode"
      },
      "maxItems": 1,
      "minItems": 1,
      "readonly": true,
      "title": "List of peer codes",
      "type": "array"
    },
    "resource_type": {
      "enum": [
        "L2VPNSessionPeerConfigNsxT"
      ],
      "required": true,
      "type": "string"
    }
  },
  "title": "Peer code to configure the other side of the tunnel",
  "type": "object"
}