-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XR SHOW ASIC ERRORS: Add new template (#353)
- Loading branch information
1 parent
bd30182
commit abf4475
Showing
4 changed files
with
253 additions
and
0 deletions.
There are no files selected for viewing
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,26 @@ | ||
Value Filldown ASIC (\S+) | ||
Value Required INSTANCE (\d+) | ||
Value NUMBER_OF_NODES (\d+) | ||
Value SBE_ERROR_COUNT (\d+) | ||
Value MBE_ERROR_COUNT (\d+) | ||
Value PARITY_ERROR_COUNT (\d+) | ||
Value CRC_ERROR_COUNT (\d+) | ||
Value GENERIC_ERROR_COUNT (\d+) | ||
Value RESET_ERROR_COUNT (\d+) | ||
|
||
Start | ||
^.+ASIC\s+Error\s+Summary\s+\* -> Continue.Record | ||
^\*\s+${ASIC}\s+ASIC\s+Error\s+Summary\s+\* | ||
^Instance -> Continue.Record | ||
^Instance\s+:\s+${INSTANCE} | ||
^Number\s+of\s+nodes\s+:\s+${NUMBER_OF_NODES} | ||
^SBE\s+error\s+count\s+:\s+${SBE_ERROR_COUNT} | ||
^MBE\s+error\s+count\s+:\s+${MBE_ERROR_COUNT} | ||
^Parity\s+error\s+count\s+:\s+${PARITY_ERROR_COUNT} | ||
^CRC\s+error\s+count\s+:\s+${CRC_ERROR_COUNT} | ||
^Generic\s+error\s+count\s+:\s+${GENERIC_ERROR_COUNT} | ||
^Reset\s+error\s+count\s+:\s+${RESET_ERROR_COUNT} | ||
^-+$$ | ||
^\*+$$ | ||
^\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
111 changes: 111 additions & 0 deletions
111
tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_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,111 @@ | ||
--- | ||
parsed_sample: | ||
|
||
- asic: Fia | ||
crc_error_count: '99999' | ||
generic_error_count: '0' | ||
instance: '0' | ||
mbe_error_count: '44' | ||
number_of_nodes: '22' | ||
parity_error_count: '55' | ||
reset_error_count: '0' | ||
sbe_error_count: '33' | ||
- asic: Fia | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '1' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '23' | ||
- asic: Fia | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '2' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Fia | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '3' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '0' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '1' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '2' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '3' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '4' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '5' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '6' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' | ||
- asic: Prm_np | ||
crc_error_count: '0' | ||
generic_error_count: '0' | ||
instance: '7' | ||
mbe_error_count: '0' | ||
number_of_nodes: '0' | ||
parity_error_count: '0' | ||
reset_error_count: '0' | ||
sbe_error_count: '0' |
115 changes: 115 additions & 0 deletions
115
tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_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,115 @@ | ||
************************************************************ | ||
* Fia ASIC Error Summary * | ||
************************************************************ | ||
Instance : 0 | ||
Number of nodes : 22 | ||
SBE error count : 33 | ||
MBE error count : 44 | ||
Parity error count : 55 | ||
CRC error count : 99999 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 1 | ||
Number of nodes : 0 | ||
SBE error count : 23 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 2 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 3 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
|
||
************************************************************ | ||
* Prm_np ASIC Error Summary * | ||
************************************************************ | ||
Instance : 0 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 1 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 2 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 3 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 4 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 5 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 6 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- | ||
Instance : 7 | ||
Number of nodes : 0 | ||
SBE error count : 0 | ||
MBE error count : 0 | ||
Parity error count : 0 | ||
CRC error count : 0 | ||
Generic error count : 0 | ||
Reset error count : 0 | ||
-------------------- |