NSX-T Data Center REST API

L2VPNTapStatistics (type)

{
  "additionalProperties": false, 
  "description": "Provides the following traffic statistics of an L2VPN tunnel since the time the L2VPN session is UP:  - Incoming packet count. - Outgoing packet count. - Dropped packet count.", 
  "id": "L2VPNTapStatistics", 
  "module_id": "PolicyVpnStats", 
  "properties": {
    "bytes_in": {
      "description": "The total number of traffic bytes received on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "Bytes in", 
      "type": "integer"
    }, 
    "bytes_out": {
      "description": "The total number of traffic bytes sent on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "Bytes out", 
      "type": "integer"
    }, 
    "packets_in": {
      "description": "The total number of incoming data packets on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "Packets in", 
      "type": "integer"
    }, 
    "packets_out": {
      "description": "The total number of outgoing data packets on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "Packets out", 
      "type": "integer"
    }, 
    "packets_receive_error": {
      "description": "The total number of incoming packets dropped on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "packets recieved error", 
      "type": "integer"
    }, 
    "packets_sent_error": {
      "description": "The total number of outgoing packets dropped on an L2VPN tunnel.", 
      "readonly": true, 
      "title": "Packets sent error", 
      "type": "integer"
    }
  }, 
  "title": "L2VPN tunnel statistics", 
  "type": "object"
}