-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new template for Alcatel aos:
show system
Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com> (#1900)
- Loading branch information
1 parent
b4a11f2
commit 6697a54
Showing
6 changed files
with
81 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,27 @@ | ||
Value DESCRIPTION (.+) | ||
Value OBJECT_ID (\S+) | ||
Value UPTIME (.+) | ||
Value CONTACT (.+) | ||
Value NAME (\S+) | ||
Value LOCATION (.+) | ||
Value SERVICES (\d+) | ||
Value DATETIME ((\S+\s*)+) | ||
Value AVAILABLE (\d+) | ||
Value COMMENTS (.+) | ||
|
||
Start | ||
^\s*System:\s*$$ | ||
^\s*Description:\s*${DESCRIPTION},$$ | ||
^\s*Object\s*ID:\s*${OBJECT_ID},$$ | ||
^\s*Up\s*Time:\s*${UPTIME},$$ | ||
^\s*Contact:\s*${CONTACT},$$ | ||
^\s*Name:\s*${NAME},$$ | ||
^\s*Location:\s*${LOCATION},$$ | ||
^\s*Services:\s*${SERVICES},$$ | ||
^\s*Date\s*&\s*Time:\s*${DATETIME}$$ | ||
^\s*Flash\s*Space:\s*$$ | ||
^\s*Primary\s*CMM:$$ | ||
^\s*Available\s*\(bytes\):\s*${AVAILABLE},$$ | ||
^\s*Comments\s*:\s*${COMMENTS}$$ | ||
^\s*$$ | ||
^.*$$ -> 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
14 changes: 14 additions & 0 deletions
14
tests/alcatel_aos/show_system/alcatel_aos_show_system_1.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,14 @@ | ||
System: | ||
Description: Alcatel-Lucent Enterprise OS6350-P24 6.7.1.001.R01 GA, January 01, 2000., | ||
Object ID: 0.0.0.0.0.0.0000.000.0.0.0.0.00.0.0, | ||
Up Time: 22 days 2 hours 20 minutes and 20 seconds, | ||
Contact: Alcatel-Lucent Enterprise, https://www.al-enterprise.com, | ||
Name: SWA_0001, | ||
Location: Espoo - Finland, | ||
Services: 2, | ||
Date & Time: MON JAN 01 2001 00:00:00 (CET) | ||
|
||
Flash Space: | ||
Primary CMM: | ||
Available (bytes): 39243776, | ||
Comments : None |
13 changes: 13 additions & 0 deletions
13
tests/alcatel_aos/show_system/alcatel_aos_show_system_1.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,13 @@ | ||
--- | ||
parsed_sample: | ||
- available: "39243776" | ||
comments: "None" | ||
contact: "Alcatel-Lucent Enterprise, https://www.al-enterprise.com" | ||
datetime: "MON JAN 01 2001 00:00:00 (CET)" | ||
description: "Alcatel-Lucent Enterprise OS6350-P24 6.7.1.001.R01 GA, January 01, | ||
2000." | ||
location: "Espoo - Finland" | ||
name: "SWA_0001" | ||
object_id: "0.0.0.0.0.0.0000.000.0.0.0.0.00.0.0" | ||
services: "2" | ||
uptime: "22 days 2 hours 20 minutes and 20 seconds" |
13 changes: 13 additions & 0 deletions
13
tests/alcatel_aos/show_system/alcatel_aos_show_system_2.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,13 @@ | ||
System: | ||
Description: Alcatel-Lucent Enterprise OS6360-PH24 8.0.00.R01 GA, January 01, 2000., | ||
Object ID: 0.0.0.0.0.0.0000.000.0.0.0.0.00.0.0, | ||
Up Time: 22 days 22 hours 22 minutes and 22 seconds, | ||
Contact: Alcatel-Lucent Enterprise, https://www.al-enterprise.com, | ||
Name: SWA_0001, | ||
Location: Espoo - Finland, | ||
Services: 2, | ||
Date & Time: MON DEC 24 2025 01:02:03 (CET) | ||
Flash Space: | ||
Primary CMM: | ||
Available (bytes): 501198848, | ||
Comments : None |
13 changes: 13 additions & 0 deletions
13
tests/alcatel_aos/show_system/alcatel_aos_show_system_2.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,13 @@ | ||
--- | ||
parsed_sample: | ||
- available: "501198848" | ||
comments: "None" | ||
contact: "Alcatel-Lucent Enterprise, https://www.al-enterprise.com" | ||
datetime: "MON DEC 24 2025 01:02:03 (CET)" | ||
description: "Alcatel-Lucent Enterprise OS6360-PH24 8.0.00.R01 GA, January 01, | ||
2000." | ||
location: "Espoo - Finland" | ||
name: "SWA_0001" | ||
object_id: "0.0.0.0.0.0.0000.000.0.0.0.0.00.0.0" | ||
services: "2" | ||
uptime: "22 days 22 hours 22 minutes and 22 seconds" |