aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vpp_if_stats/response_example.json
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2018-11-21 18:46:54 +0200
committerOle Trøan <otroan@employees.org>2018-11-22 06:31:30 +0000
commit19ca78fbd7567c676beefc2b511dfdcd9f20201a (patch)
tree3f5a816566e73777bc28cd50a58dbb685eabf970 /extras/vpp_if_stats/response_example.json
parent15e8e681813a2e88dad107b5fe238bc8abee17d2 (diff)
stats: golang vpp_if_stats_client
see README for details Change-Id: Ida603ccaee21dabc903512699b5b355cebb70320 Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'extras/vpp_if_stats/response_example.json')
-rwxr-xr-xextras/vpp_if_stats/response_example.json200
1 files changed, 200 insertions, 0 deletions
diff --git a/extras/vpp_if_stats/response_example.json b/extras/vpp_if_stats/response_example.json
new file mode 100755
index 00000000000..ed9f933530c
--- /dev/null
+++ b/extras/vpp_if_stats/response_example.json
@@ -0,0 +1,200 @@
+{
+ "vpp_details": {
+ "program": "vpe",
+ "version": "18.10-release",
+ "build_date": "Tue Oct 23 07:03:38 UTC 2018",
+ "build_directory": "/w/workspace/vpp-merge-1810-centos7"
+ },
+ "interfaces": [
+ {
+ "if_index": 0,
+ "if_name": "local0",
+ "if_tag": "",
+ "if_mac": "",
+ "if_admin_state": 0,
+ "if_link_state": 0,
+ "if_link_mtu": 0,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ },
+ {
+ "if_index": 1,
+ "if_name": "TenGigabitEthernet5e/0/2",
+ "if_tag": "",
+ "if_mac": "11:33:55:77:99:aa",
+ "if_admin_state": 1,
+ "if_link_state": 1,
+ "if_link_mtu": 9202,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 5024976,
+ "if_tx_packets": 40524,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 200094228,
+ "if_rx_packets": 1685702,
+ "if_rx_errors": 0,
+ "if_drops": 1214356,
+ "if_punts": 0
+ },
+ {
+ "if_index": 2,
+ "if_name": "TenGigabitEthernet5e/0/3",
+ "if_tag": "",
+ "if_mac": "11:33:55:77:99:aa",
+ "if_admin_state": 1,
+ "if_link_state": 1,
+ "if_link_mtu": 9202,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 5024976,
+ "if_tx_packets": 40524,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 233044788,
+ "if_rx_packets": 2257762,
+ "if_rx_errors": 0,
+ "if_drops": 1214348,
+ "if_punts": 0
+ },
+ {
+ "if_index": 3,
+ "if_name": "BondEthernet0",
+ "if_tag": "net-vpp.physnet:physnet1",
+ "if_mac": "11:33:55:77:99:bb",
+ "if_admin_state": 1,
+ "if_link_state": 1,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 1514852,
+ "if_punts": 0
+ },
+ {
+ "if_index": 4,
+ "if_name": "BondEthernet0.549",
+ "if_tag": "net-vpp.uplink:physnet1.vlan.549",
+ "if_mac": "",
+ "if_admin_state": 1,
+ "if_link_state": 1,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 549,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 1968,
+ "if_rx_packets": 26,
+ "if_rx_errors": 0,
+ "if_drops": 78,
+ "if_punts": 0
+ },
+ {
+ "if_index": 5,
+ "if_name": "VirtualEthernet0/0/0",
+ "if_tag": "net-vpp.port:fb9b1ce8-f643-45be-9298-ccd18f9018c8",
+ "if_mac": "dd:ff:11:33:55:77",
+ "if_admin_state": 1,
+ "if_link_state": 0,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 26,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ },
+ {
+ "if_index": 6,
+ "if_name": "BondEthernet0.529",
+ "if_tag": "net-vpp.uplink:physnet1.vlan.529",
+ "if_mac": "",
+ "if_admin_state": 1,
+ "if_link_state": 1,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 529,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ },
+ {
+ "if_index": 7,
+ "if_name": "VirtualEthernet0/0/1",
+ "if_tag": "net-vpp.port:bc726b1c-526e-4a8d-9f9a-c19b5dfe2b28",
+ "if_mac": "22:44:66:88:aa:cc",
+ "if_admin_state": 1,
+ "if_link_state": 0,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 0,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ },
+ {
+ "if_index": 8,
+ "if_name": "VirtualEthernet0/0/2",
+ "if_tag": "net-vpp.port:aaabbbcc-a86d-4eb5-a3bc-aaabbbcccddd",
+ "if_mac": "12:34:56:78:9a:bc",
+ "if_admin_state": 1,
+ "if_link_state": 0,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 26,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ },
+ {
+ "if_index": 9,
+ "if_name": "VirtualEthernet0/0/3",
+ "if_tag": "net-vpp.port:dddeeeff-838e-4995-9bd2-eeefff000111",
+ "if_mac": "fe:dc:ba:98:76:54",
+ "if_admin_state": 1,
+ "if_link_state": 0,
+ "if_link_mtu": 9216,
+ "if_sub_dot1ad": 0,
+ "if_sub_id": 0,
+ "if_tx_bytes": 0,
+ "if_tx_packets": 0,
+ "if_tx_errors": 26,
+ "if_rx_bytes": 0,
+ "if_rx_packets": 0,
+ "if_rx_errors": 0,
+ "if_drops": 0,
+ "if_punts": 0
+ }
+ ]
+} \ No newline at end of file