NSX-T Data Center REST API

L2VPNSessionStatisticsNsxT (type)

{
  "additionalProperties": false, 
  "description": "Provides the following details for an L2VPN session for a given enforcement point:  - <b>Traffic statistics of an L2VPN tunnel</b> which includes the number of incoming, outgoing   and dropped packet counters since the time the L2VPN session is UP. - <b>Traffic statistics of all L2VPN stretched segment ports</b> which includes the number of   incoming, outgoing and dropped packet counters since the time the segment is associated   with the L2VPN session. - Alarm information details. - VPN session name.", 
  "extends": {
    "$ref": "L2VPNSessionStatisticsPerEP
  }, 
  "id": "L2VPNSessionStatisticsNsxT", 
  "module_id": "PolicyVpnStats", 
  "polymorphic-type-descriptor": {
    "type-identifier": "L2VPNSessionStatisticsNsxT"
  }, 
  "properties": {
    "alarm": {
      "$ref": "PolicyRuntimeAlarm, 
      "description": "Alarm information details.", 
      "readonly": true, 
      "title": "Alarm Information Details"
    }, 
    "display_name": {
      "description": "Display name of l2vpn session.", 
      "readonly": true, 
      "title": "Display name", 
      "type": "string"
    }, 
    "enforcement_point_path": {
      "description": "Policy Path referencing the enforcement point where the info is fetched.", 
      "readonly": true, 
      "title": "Enforcement point Path", 
      "type": "string"
    }, 
    "resource_type": {
      "enum": [
        "L2VPNSessionStatisticsNsxT"
      ], 
      "required": true, 
      "type": "string"
    }, 
    "tap_traffic_counters": {
      "description": "Provides the traffic statistics of an L2VPN tunnel since the time the L2VPN session is UP. It includes the number of incoming, outgoing and dropped packet counters.", 
      "items": {
        "$ref": "L2VPNTapStatistics
      }, 
      "readonly": true, 
      "title": "L2VPN tunnel port traffic counters", 
      "type": "array"
    }, 
    "traffic_statistics_per_segment": {
      "description": "Provides the traffic statistics of all associated segments of an L2VPN session. It includes the number of incoming, outgoing and dropped packet counters since the time the segment is associated with the L2VPN session.", 
      "items": {
        "$ref": "L2VPNTrafficStatisticsPerSegment
      }, 
      "readonly": true, 
      "title": "L2VPN traffic statistics per segment", 
      "type": "array"
    }
  }, 
  "title": "L2VPN session statistics", 
  "type": "object"
}