-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jefvantongerloo/ale_aos8_show_log_events
Ale aos8 show log events
- Loading branch information
Showing
6 changed files
with
39 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
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
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,5 @@ | ||
2022 Mar 3 15:16:55.335 : CMM : ChassisSupervisor : chassisTrapsAlert - CERTIFY w/FLASH SYNCHRO process started | ||
2022 Mar 3 15:17:51.495 : CMM : ChassisSupervisor : chassisTrapsAlert - CERTIFY process completed successfully | ||
2022 Mar 3 15:17:57.750 : CMM : ChassisSupervisor : chassisTrapsAlert - Flash Synchronization process completed successfully | ||
2022 Mar 4 11:39:27.123 : CMM : intfCmm : Link 2/1/43 operationally down | ||
2022 Mar 4 11:39:43.870 : CMM : intfCmm : Link 2/1/43 operationally up |
21 changes: 21 additions & 0 deletions
21
tests/ale_aos8_show_log_events/ale_aos8_show_log_events.yml
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,21 @@ | ||
--- | ||
- swlog_timestamp: '2022 Mar 3 15:16:55.335' | ||
cmm_ni: 'CMM' | ||
module_name: 'ChassisSupervisor' | ||
log_description: 'chassisTrapsAlert - CERTIFY w/FLASH SYNCHRO process started' | ||
- swlog_timestamp: '2022 Mar 3 15:17:51.495' | ||
cmm_ni: 'CMM' | ||
module_name: 'ChassisSupervisor' | ||
log_description: 'chassisTrapsAlert - CERTIFY process completed successfully' | ||
- swlog_timestamp: '2022 Mar 3 15:17:57.750' | ||
cmm_ni: 'CMM' | ||
module_name: 'ChassisSupervisor' | ||
log_description: 'chassisTrapsAlert - Flash Synchronization process completed successfully' | ||
- swlog_timestamp: '2022 Mar 4 11:39:27.123' | ||
cmm_ni: 'CMM' | ||
module_name: 'intfCmm' | ||
log_description: 'Link 2/1/43 operationally down' | ||
- swlog_timestamp: '2022 Mar 4 11:39:43.870' | ||
cmm_ni: 'CMM' | ||
module_name: 'intfCmm' | ||
log_description: 'Link 2/1/43 operationally up' |
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,8 @@ | ||
Value swlog_timestamp (\d+\s\w+\s+\d+\s\d{1,2}:\d{1,2}:\d+.\d+) | ||
Value cmm_ni ([^:]*) | ||
Value module_name ([^:]*) | ||
Value log_description ([^:]*) | ||
|
||
Start | ||
^${swlog_timestamp}\s+:\s${cmm_ni}\s:\s${module_name}\s:\s${log_description}$$ -> Record | ||
^. -> Error |
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