NSX-T Data Center REST API

LogicalSwitchStatistics (type)

{
  "extends": {
    "$ref": "AggregatedDataCounterEx"
  },
  "id": "LogicalSwitchStatistics",
  "module_id": "AggSvcLogicalSwitch",
  "properties": {
    "distributed_dhcp_server_packets": {
      "$ref": "DistributedDhcpServerPackets",
      "readonly": true,
      "required": false
    },
    "dropped_by_firewall_packets": {
      "$ref": "DfwDropCounters",
      "readonly": true,
      "required": false
    },
    "dropped_by_security_packets": {
      "$ref": "PacketsDroppedBySecurity",
      "readonly": true,
      "required": false
    },
    "last_update_timestamp": {
      "$ref": "EpochMsTimestamp",
      "description": "Timestamp when the data was last updated; unset if data source has never updated the data.",
      "readonly": true
    },
    "logical_switch_id": {
      "readonly": true,
      "required": true,
      "title": "The id of the logical Switch",
      "type": "string"
    },
    "mac_learning": {
      "$ref": "MacLearningCounters",
      "readonly": true,
      "required": false
    },
    "nsxt_fp": {
      "$ref": "FpCounters",
      "description": "ENS/FC module for DP packet processing",
      "readonly": true,
      "required": false
    },
    "nsxt_swsec": {
      "$ref": "SwsecCounters",
      "description": "Switch Security provides stateless L2 and L3 security by checking, traffic to the logical switch and dropping unauthorized packets sent, from VMs",
      "readonly": true,
      "required": false
    },
    "nsxt_vdl2": {
      "$ref": "Vdl2Counters",
      "description": "Overlay Layer-2 module responsible for workload connectivity",
      "readonly": true,
      "required": false
    },
    "nsxt_vdrb": {
      "$ref": "VdrbCounters",
      "description": "Virtual Distributed Routing (VDR) routes packets on every ESX",
      "readonly": true,
      "required": false
    },
    "nsxt_vsip": {
      "$ref": "VsipCounters",
      "description": "VSIP provides Distributed Firewall capability",
      "readonly": true,
      "required": false
    },
    "nsxt_vswitch": {
      "$ref": "VswitchCounters",
      "description": "Virtual Switch is responsible for providing switching functionality",
      "readonly": true,
      "required": false
    },
    "rx_bytes": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "rx_packets": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "tx_bytes": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    },
    "tx_packets": {
      "$ref": "DataCounter",
      "readonly": true,
      "required": false
    }
  },
  "type": "object"
}