NSX-T Data Center REST API

L2VPNSessionSummary (type)

{
  "additionalProperties": false,
  "description": "List summary of L2VPN sessions.",
  "id": "L2VPNSessionSummary",
  "module_id": "L2VPNStatistics",
  "properties": {
    "established_l2vpn_sessions": {
      "description": "Number of established L2VPN sessions. L2VPN session is established when all the tunnels are up.",
      "readonly": true,
      "title": "Established L2VPN sessions",
      "type": "integer"
    },
    "failed_l2vpn_sessions": {
      "description": "Number of failed L2VPN sessions. L2VPN session is failed when all the tunnels are down.",
      "readonly": true,
      "title": "Failed L2VPN sessions",
      "type": "integer"
    },
    "total_l2vpn_sessions": {
      "description": "Total L2VPN sessions configured.",
      "readonly": true,
      "title": "Total L2VPN sessions",
      "type": "integer"
    }
  },
  "title": "L2VPN session status summary",
  "type": "object"
}