NSX-T Data Center REST API

GreTunnelTrafficStatistics (type)

{
  "description": "Provides traffic statistics for a P2P GRE tunnel for all the edge transport nodes. It includes the following information:  - Destination IP address of the tunnel. - Port ID and source address of the tunnel. - The subcluster ID of the logical tunnel port. - Transport node ID. - Incoming packet counters on the tunnel across all edge transport nodes. It includes the total number   of packets received, dropped, and the number of errors and failures causing the drops. The counters   are from the time the tunnel was created. The tunnel statistics from a given transport node will be   reset on edge reboot or edge dataplane restart of that node. - Outgoing packet counters on the tunnel across all edge transport nodes. It includes the total number   of packets sent, dropped, and the number of errors and failures causing the drops. The counters are   from the time the tunnel was created. The tunnel statistics from a given transport node will be reset   on edge reboot or edge dataplane restart of that node.", 
  "extends": {
    "$ref": "TunnelTrafficStatistics
  }, 
  "id": "GreTunnelTrafficStatistics", 
  "module_id": "PolicyConnectivityStatistics", 
  "polymorphic-type-descriptor": {
    "type-identifier": "GreTunnelTrafficStatistics"
  }, 
  "properties": {
    "destination": {
      "$ref": "IPAddress, 
      "description": "GreTunnelTrafficStatistics - Resource type as GreTunnelTrafficStatistics will be used to populate P2P GRE Tunnel traffic statistics", 
      "readonly": true, 
      "title": "Indicates Resource type of tunnel"
    }, 
    "per_edge_node_statistics": {
      "description": "Provides the incoming and outgoing packet counters of a P2P GRE tunnel for all transport nodes. The counts are from the time the tunnel port was created.  Also includes details like tunnel port ID, source address, transport node ID and sub-cluster ID.", 
      "items": {
        "$ref": "TunnelPortStatisticsPerNode
      }, 
      "maxItems": 8, 
      "minItems": 1, 
      "readonly": true, 
      "title": "Per edge node statistics", 
      "type": "array"
    }, 
    "resource_type": {
      "description": "GreTunnelTrafficStatistics - Resource type as GreTunnelTrafficStatistics will be used to populate P2P GRE Tunnel traffic statistics", 
      "enum": [
        "GreTunnelTrafficStatistics"
      ], 
      "required": true, 
      "title": "Indicates Resource type of tunnel", 
      "type": "string"
    }
  }, 
  "title": "GRE tunnel statistics", 
  "type": "object"
}