Debian Codegraph @

lib/jnpr/junos/command/xm_wi_statistics.yml

raw
1 ---
2 CChipWiStatsTable:
3 command: show xmchip {{ chip_instance }} wi stats 0
4 target: Null
5 args:
6 chip_instance: 0
7 key: mac
8 view: CChipWiStatsView
9 eval:
10 cchip-total-oversubscription-drop: >
11 sum([v['total_drop_packet'] for k, v in {{ data }}.items() if
12 isinstance(v, dict) and 'total_drop_packet' in v])
13
14 CChipWiStatsView:
15 exists:
16 cchip_wi_stall_0: WIOCM STALL 0x0000000000000000_0000000000000000
17 cchip_wi_stall_1: WICPQ STALL 0x0000000000000000_0000000000000000
18 regex:
19 cchip-wi-received-packets: Received Packets\s+(\d+)
20 columns:
21 mac:
22 - MAC
23 - Port
24 total_drop_packet: Total Dropped Packets
25 drop_packet:
26 - Dropped Packets
27 - Rate (pps)
28 total_drop_byte: Total Dropped Bytes
29 drop_byte:
30 - Dropped Bytes Rate
31 - (bps)
32 total_preclassifier:
33 - Total Preclassifier
34 - Discards
35 preclassifier:
36 - Preclassifier
37 - Discards Rate (pps)