HP VAN SDN Controller REST API Guide

Sample response
The response includes port statistics grouped by datapaths.
{
"stats": [
{
"dpid": "00:64:74:46:a0:ff:07:00",
"port_stats": [
{
"collisions": 0,
"duration_nsec": 4294967295,
"duration_sec": 4294967295,
"port_id": 24,
"rx_bytes": 86162,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 860,
"tx_bytes": 204628,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 1594
},
{
"collisions": 0,
"duration_nsec": 4294967295,
"duration_sec": 4294967295,
"port_id": 4294967294,
"rx_bytes": 0,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 0,
"tx_bytes": 0,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 0
},
{
"collisions": 0,
"duration_nsec": 4294967295,
"duration_sec": 4294967295,
"port_id": 23,
"rx_bytes": 86226,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 861,
"tx_bytes": 207300,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 1583
}
],
"version": "1.3.0"
}
]
}
Stats 51