Debian Codegraph @

lib/jnpr/junos/command/ea_wo_statistics.yml

raw
1 ---
2 CChipWoStatsTable:
3 command: show mqss {{ chip_instance }} wo stats
4 target: Null
5 args:
6 chip_instance: 0
7 eval:
8 cchip-wo-packets-sent: >
9 {{ data }}['counter_0']['total_packets_0'] +
10 {{ data }}['counter_1']['total_packets_1']
11 view: CChipWoStatsView
12
13 CChipWoStatsView:
14 fields:
15 counter_0: _counter0_table
16 counter_1: _counter1_table
17
18 _counter0_table:
19 title: Counter set 0
20 item: "*"
21 view: _counter_0_view
22
23 _counter_0_view:
24 regex:
25 total_packets_0: 'Transmitted packets\s+:\s+(\d+)'
26
27 _counter1_table:
28 title: Counter set 1
29 item: "*"
30 view: _counter_1_view
31
32 _counter_1_view:
33 regex:
34 total_packets_1: 'Transmitted packets\s+:\s+(\d+)'