-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template (#358)
- Loading branch information
1 parent
fef6939
commit 8564e7b
Showing
4 changed files
with
192 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Value FIA (\S+) | ||
Value CATEGORY (\S+) | ||
Value TO_XBAR_UC_CRC_0 (\d+) | ||
Value TO_XBAR_UC_CRC_1 (\d+) | ||
Value TO_XBAR_UC_CRC_2 (\d+) | ||
Value TO_XBAR_UC_CRC_3 (\d+) | ||
Value TO_XBAR_MC_CRC_0 (\d+) | ||
Value TO_XBAR_MC_CRC_1 (\d+) | ||
Value TO_XBAR_MC_CRC_2 (\d+) | ||
Value TO_XBAR_MC_CRC_3 (\d+) | ||
Value NB_PA_READ_DATA_ERR (\d+) | ||
Value PA_HEADER_ERR (\d+) | ||
Value PA_CRC16_ERR (\d+) | ||
Value PA_CRC32_ERR (\d+) | ||
Value PA_TO_TF_ERR (\d+) | ||
Value AB_OVERFLOW_REQ_LOST (\d+) | ||
Value NI_BAD_CRC32 (\d+) | ||
Value NI_CRC32_CORRUPT (\d+) | ||
|
||
Start | ||
^\s*\*+\s+\S+ -> Continue.Record | ||
^\s*\*+\s+${FIA}\s+\*+ | ||
^Category:\s+${CATEGORY} | ||
^\s+To\s+Xbar\s+Uc\s+Crc-0\s+${TO_XBAR_UC_CRC_0} | ||
^\s+To\s+Xbar\s+Uc\s+Crc-1\s+${TO_XBAR_UC_CRC_1} | ||
^\s+To\s+Xbar\s+Uc\s+Crc-2\s+${TO_XBAR_UC_CRC_2} | ||
^\s+To\s+Xbar\s+Uc\s+Crc-3\s+${TO_XBAR_UC_CRC_3} | ||
^\s+To\s+Xbar\s+Mc\s+Crc-0\s+${TO_XBAR_MC_CRC_0} | ||
^\s+To\s+Xbar\s+Mc\s+Crc-1\s+${TO_XBAR_MC_CRC_1} | ||
^\s+To\s+Xbar\s+Mc\s+Crc-2\s+${TO_XBAR_MC_CRC_2} | ||
^\s+To\s+Xbar\s+Mc\s+Crc-3\s+${TO_XBAR_MC_CRC_3} | ||
^\s+nb\s+pa\s+read\s+data\s+err\s+${NB_PA_READ_DATA_ERR} | ||
^\s+pa\s+header\s+err\s+${PA_HEADER_ERR} | ||
^\s+pa\s+crc16\s+err\s+${PA_CRC16_ERR} | ||
^\s+pa\s+crc32\s+err\s+${PA_CRC32_ERR} | ||
^\s+pa\s+to\s+tf\s+err\s+${PA_TO_TF_ERR} | ||
^\s+ab\s+overflow\s+req lost\s+${AB_OVERFLOW_REQ_LOST} | ||
^\s+ni\s+bad\s+crc32\s+${NI_BAD_CRC32} | ||
^\s+ni\s+crc32\s+corrupt\s+${NI_CRC32_CORRUPT} | ||
^\s*$$ | ||
^.* -> Error "LINE NOT FOUND" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
...rors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
parsed_sample: | ||
|
||
- ab_overflow_req_lost: '0' | ||
category: in_error-0 | ||
fia: FIA-0 | ||
nb_pa_read_data_err: '12334' | ||
ni_bad_crc32: '0' | ||
ni_crc32_corrupt: '0' | ||
pa_crc16_err: '0' | ||
pa_crc32_err: '0' | ||
pa_header_err: '0' | ||
pa_to_tf_err: '99999' | ||
to_xbar_mc_crc_0: '55' | ||
to_xbar_mc_crc_1: '66' | ||
to_xbar_mc_crc_2: '77' | ||
to_xbar_mc_crc_3: '0' | ||
to_xbar_uc_crc_0: '11' | ||
to_xbar_uc_crc_1: '22' | ||
to_xbar_uc_crc_2: '33' | ||
to_xbar_uc_crc_3: '44' | ||
- ab_overflow_req_lost: '0' | ||
category: in_error-1 | ||
fia: FIA-1 | ||
nb_pa_read_data_err: '0' | ||
ni_bad_crc32: '0' | ||
ni_crc32_corrupt: '11111111' | ||
pa_crc16_err: '0' | ||
pa_crc32_err: '0' | ||
pa_header_err: '0' | ||
pa_to_tf_err: '0' | ||
to_xbar_mc_crc_0: '0' | ||
to_xbar_mc_crc_1: '0' | ||
to_xbar_mc_crc_2: '0' | ||
to_xbar_mc_crc_3: '0' | ||
to_xbar_uc_crc_0: '0' | ||
to_xbar_uc_crc_1: '0' | ||
to_xbar_uc_crc_2: '0' | ||
to_xbar_uc_crc_3: '0' | ||
- ab_overflow_req_lost: '0' | ||
category: in_error-2 | ||
fia: FIA-2 | ||
nb_pa_read_data_err: '0' | ||
ni_bad_crc32: '0' | ||
ni_crc32_corrupt: '0' | ||
pa_crc16_err: '0' | ||
pa_crc32_err: '0' | ||
pa_header_err: '0' | ||
pa_to_tf_err: '0' | ||
to_xbar_mc_crc_0: '0' | ||
to_xbar_mc_crc_1: '0' | ||
to_xbar_mc_crc_2: '0' | ||
to_xbar_mc_crc_3: '0' | ||
to_xbar_uc_crc_0: '0' | ||
to_xbar_uc_crc_1: '0' | ||
to_xbar_uc_crc_2: '0' | ||
to_xbar_uc_crc_3: '0' | ||
- ab_overflow_req_lost: '0' | ||
category: in_error-3 | ||
fia: FIA-3 | ||
nb_pa_read_data_err: '0' | ||
ni_bad_crc32: '0' | ||
ni_crc32_corrupt: '0' | ||
pa_crc16_err: '0' | ||
pa_crc32_err: '0' | ||
pa_header_err: '0' | ||
pa_to_tf_err: '0' | ||
to_xbar_mc_crc_0: '0' | ||
to_xbar_mc_crc_1: '0' | ||
to_xbar_mc_crc_2: '0' | ||
to_xbar_mc_crc_3: '0' | ||
to_xbar_uc_crc_0: '0' | ||
to_xbar_uc_crc_1: '0' | ||
to_xbar_uc_crc_2: '0' | ||
to_xbar_uc_crc_3: '0' |
75 changes: 75 additions & 0 deletions
75
..._errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
********** FIA-0 ********** | ||
Category: in_error-0 | ||
To Xbar Uc Crc-0 11 | ||
To Xbar Uc Crc-1 22 | ||
To Xbar Uc Crc-2 33 | ||
To Xbar Uc Crc-3 44 | ||
To Xbar Mc Crc-0 55 | ||
To Xbar Mc Crc-1 66 | ||
To Xbar Mc Crc-2 77 | ||
To Xbar Mc Crc-3 0 | ||
nb pa read data err 12334 | ||
pa header err 0 | ||
pa crc16 err 0 | ||
pa crc32 err 0 | ||
pa to tf err 99999 | ||
ab overflow req lost 0 | ||
ni bad crc32 0 | ||
ni crc32 corrupt 0 | ||
|
||
********** FIA-1 ********** | ||
Category: in_error-1 | ||
To Xbar Uc Crc-0 0 | ||
To Xbar Uc Crc-1 0 | ||
To Xbar Uc Crc-2 0 | ||
To Xbar Uc Crc-3 0 | ||
To Xbar Mc Crc-0 0 | ||
To Xbar Mc Crc-1 0 | ||
To Xbar Mc Crc-2 0 | ||
To Xbar Mc Crc-3 0 | ||
nb pa read data err 0 | ||
pa header err 0 | ||
pa crc16 err 0 | ||
pa crc32 err 0 | ||
pa to tf err 0 | ||
ab overflow req lost 0 | ||
ni bad crc32 0 | ||
ni crc32 corrupt 11111111 | ||
|
||
********** FIA-2 ********** | ||
Category: in_error-2 | ||
To Xbar Uc Crc-0 0 | ||
To Xbar Uc Crc-1 0 | ||
To Xbar Uc Crc-2 0 | ||
To Xbar Uc Crc-3 0 | ||
To Xbar Mc Crc-0 0 | ||
To Xbar Mc Crc-1 0 | ||
To Xbar Mc Crc-2 0 | ||
To Xbar Mc Crc-3 0 | ||
nb pa read data err 0 | ||
pa header err 0 | ||
pa crc16 err 0 | ||
pa crc32 err 0 | ||
pa to tf err 0 | ||
ab overflow req lost 0 | ||
ni bad crc32 0 | ||
ni crc32 corrupt 0 | ||
|
||
********** FIA-3 ********** | ||
Category: in_error-3 | ||
To Xbar Uc Crc-0 0 | ||
To Xbar Uc Crc-1 0 | ||
To Xbar Uc Crc-2 0 | ||
To Xbar Uc Crc-3 0 | ||
To Xbar Mc Crc-0 0 | ||
To Xbar Mc Crc-1 0 | ||
To Xbar Mc Crc-2 0 | ||
To Xbar Mc Crc-3 0 | ||
nb pa read data err 0 | ||
pa header err 0 | ||
pa crc16 err 0 | ||
pa crc32 err 0 | ||
pa to tf err 0 | ||
ab overflow req lost 0 | ||
ni bad crc32 0 | ||
ni crc32 corrupt 0 |