forked from networktocode/ntc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI Test for standard capture group naming
- Loading branch information
1 parent
7af9f67
commit 5bb9d01
Showing
5 changed files
with
396 additions
and
89 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
18 changes: 18 additions & 0 deletions
18
ntc_templates/templates/cisco_ios_show_inventory-test.textfsm
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,18 @@ | ||
Value NAME (.*) | ||
Value MAC_ADDRESS (.*) | ||
Value SERIAL (.*) | ||
Value IP_ADDR (.*) | ||
|
||
Start | ||
^NAME:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" | ||
^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN:\s+${SN} -> Record | ||
^PID:\s+,.*VID:\s+${VID},.*SN: -> Record | ||
^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN: -> Record | ||
^PID:\s+,.*VID:\s+${VID},.*SN:\s+${SN} -> Record | ||
^PID:\s+${PID}.*,.*VID:\s+${VID}.* | ||
^PID:\s+,.*VID:\s+${VID}.* | ||
^.*SN:\s+${SN} -> Record | ||
^.*SN: -> Record | ||
# Capture time-stamp if vty line has command time-stamping turned on | ||
^Load\s+for\s+ | ||
^Time\s+source\s+is |
Oops, something went wrong.