Debian Codegraph @

lib/jnpr/junos/command/ea_wi_statistics.yml

raw
1 ---
2 CChipWiStatsTable:
3 command: show mqss {{ chip_instance }} wi stats
4 target: Null
5 args:
6 chip_instance: 0
7 key: mac
8 view: CChipWiStatsView
9 eval:
10 total-drop: >
11 sum([v['total_drop_packet'] for k, v in {{ data }}.items()
12 if isinstance(v, dict) and 'total_drop_packet' in v])
13
14 CChipWiStatsView:
15 fields:
16 cchip-wi-stall: _CchipWiStallTable
17 columns:
18 mac:
19 - MAC
20 - Port
21 total_drop_packet: Total Dropped Packets
22 drop_packet:
23 - Dropped Packets
24 - Rate (pps)
25 total_drop_byte: Total Dropped Bytes
26 drop_byte:
27 - Dropped Bytes Rate
28 - (bps)
29
30 _CchipWiStallTable:
31 title: WI debug statistics
32 item: '*'
33 view: _CchipWiStallView
34
35 _CchipWiStallView:
36 regex:
37 cchip-wi-stall-0: wsch_stall_hi\s+:\s+(\d+)
38 cchip-wi-stall-1: wsch_stall_lo\s+:\s+(\d+)
39 cchip-wi-received-packets: Received Packets\s+(\d+)