Debian Codegraph @

lib/jnpr/junos/command/linecard_ethernet_statistics.yml

raw
1 ---
2 EthernetDevicesStatistics:
3 command: show devices local
4 target: Null
5 item: 'TSEC Ethernet Device Driver: (\.?\w+),'
6 key: name
7 view: DevicesLocalView
8
9 DevicesLocalView:
10 fields:
11 rx_counters: _ReceiveTable
12 tx_counters: _TransmitTable
13 tsec_status_counters: _TSECStatusTable
14
15 _ReceiveTable:
16 item: '*'
17 title: 'Receive:'
18 view: _ReceiveView
19
20 _ReceiveView:
21 regex:
22 rx_bytes: '(\d+) bytes'
23 rx_pkts: '(\d+) packets'
24 rx_err_fcs: '(\d+) FCS errors'
25 rx_mcast_pkts: '(\d+) multicast packets'
26 rx_bcast_pkts: '(\d+) broadcast packets'
27 rx_err_ctrl_frames: '(\d+) control frame packets'
28 rx_err_pause_frames: '(\d+) PAUSE frame packets'
29 rx_err_unkn_opcodes: '(\d+) unknown OP codes'
30 rx_err_allign: '(\d+) alignment errors'
31 rx_err_frame_len: '(\d+) frame length errors'
32 rx_err_code: '(\d+) code errors'
33 rx_err_carrier_sense: '(\d+) carrier sense errors'
34 rx_err_undersize_pkts: '(\d+) undersize packets'
35 rx_err_oversize_pkts: '(\d+) oversize packets'
36 rx_err_frags: '(\d+) fragments'
37 rx_err_jabbers: '(\d+) jabbers'
38 rx_err_drops: '(\d+) drops'
39
40 _TransmitTable:
41 item: '*'
42 title: 'Transmit:'
43 view: _TransmitView
44
45 _TransmitView:
46 regex:
47 tx_bytes: '(\d+) bytes'
48 tx_pkts: '(\d+) packets'
49 tx_mcast_pkts: '(\d+) multicast packets'
50 tx_bcast_pkts: '(\d+) broadcast packets'
51 tx_err_pause_frames: '(\d+) PAUSE control frames'
52 tx_err_deferral_pkts: '(\d+) deferral packets'
53 tx_err_excessive_deferral_pkts: '(\d+) excessive deferral packets'
54 tx_err_singel_coll_pkts: '(\d+) single collision packets'
55 tx_err_multiple_coll_pkts: '(\d+) multiple collision packets'
56 tx_err_late_coll_pkts: '(\d+) late collision packets'
57 tx_err_excessive_coll_pkts: '(\d+) excessive collision packets'
58 tx_err_total_coll_pkts: '(\d+) total collisions'
59 tx_err_drop_frames: '(\d+) drop frames'
60 tx_err_jabber_frames: '(\d+) jabber frames'
61 tx_err_fcs: '(\d+) FCS errors'
62 tx_err_ctrl_frames: '(\d+) control frames'
63 tx_err_oversize_frames: '(\d+) oversize frames'
64 tx_err_undersize_frames: '(\d+) undersize frames'
65 tx_err_frag_frames: '(\d+) fragments frames'
66
67 _TSECStatusTable:
68 item: '*'
69 title: 'TSEC status counters:'
70 view: _TSECStatusView
71
72 _TSECStatusView:
73 regex:
74 status_err_kernel_dropped: 'kernel_dropped:\s*(\d+)'
75 status_err_rx_large: 'rx_large:\s*(\d+)'
76 status_err_rx_short: 'rx_short:\s*(\d+)'
77 status_err_rx_nonoctet: 'rx_nonoctet:\s*(\d+)'
78 status_err_rx_crcerr: 'rx_crcerr:\s*(\d+)'
79 status_err_rx_overrun: 'rx_overrun:\s*(\d+)'
80 status_err_rx_bsy: 'rx_bsy:\s*(\d+)'
81 status_err_rx_babr: 'rx_babr:\s*(\d+)'
82 status_err_rx_trunc: 'rx_trunc:\s*(\d+)'
83 status_err_rx_length_errors: 'rx_length_errors:\s*(\d+)'
84 status_err_rx_frame_errors: 'rx_frame_errors:\s*(\d+)'
85 status_err_rx_crc_errors: 'rx_crc_errors:\s*(\d+)'
86 status_err_rx_errors: 'rx_errors:\s*(\d+)'
87 status_rx_ints: 'rx_ints:\s*(\d+)'
88 status_err_collisions: 'collisions:\s*(\d+)'
89 status_err_eberr: 'eberr:\s*(\d+)'
90 status_err_tx_babt: 'tx_babt:\s*(\d+)'
91 status_err_tx_underrun: 'tx_underrun:\s*(\d+)'
92 status_err_tx_timeout: 'tx_timeout:\s*(\d+)'
93 status_err_tx_window_errors: 'tx_window_errors:\s*(\d+)'
94 status_err_tx_aborted_errors: 'tx_aborted_errors:\s*(\d+)'
95 status_tx_ints: 'tx_ints:\s*(\d+)'
96 status_resets: 'resets:\s*(\d+)'