-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30b53ac
commit f66b674
Showing
5 changed files
with
29 additions
and
28 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
.../cisco_asa_show_access-list-brief.textfsm → .../cisco_asa_show_access-list_brief.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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Value Filldown ACL_NAME (\S+) | ||
Value Filldown ACL_TOT_ELEM (\d+) | ||
Value Filldown ACL_TOTAL_ELEMENTS (\d+) | ||
Value Filldown ACL_NAME_HASH (0x\w+) | ||
Value Required LINE_HASH (\w{8}) | ||
Value GROUP_HASH (\w{8}) | ||
Value COUNTER (\w{8}) | ||
Value LAST_HIT (\w{8}) | ||
|
||
Start | ||
^access\-list\s+${ACL_NAME};\s+${ACL_TOT_ELEM}\s+elements;\s+name\s+hash:\s+${ACL_NAME_HASH}\s* -> Record | ||
^access\-list\s+${ACL_NAME};\s+${ACL_TOTAL_ELEMENTS}\s+elements;\s+name\s+hash:\s+${ACL_NAME_HASH}\s* | ||
^${LINE_HASH}\s+${GROUP_HASH}\s+${COUNTER}\s+${LAST_HIT}\s* -> Record | ||
^\s*$$ | ||
^.* -> Error | ||
|
||
EOF | ||
EOF |
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
23 changes: 0 additions & 23 deletions
23
tests/cisco_asa/show_access-list-brief/cisco_asa_show_access-list-brief.yml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...rief/cisco_asa_show_access-list-brief.raw → ...rief/cisco_asa_show_access-list_brief.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
access-list global-acl-test-show-acl-brief; 3 elements; name hash: 0xccfef45c | ||
06228509 d0a2680b 00006049 6178289f | ||
4c8c760a d0a2680b 00000cf5 6245930b | ||
179f5b95 00000000 00000003 61695d26 | ||
179f5b95 00000000 00000003 61695d26 |
23 changes: 23 additions & 0 deletions
23
tests/cisco_asa/show_access-list_brief/cisco_asa_show_access-list_brief.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,23 @@ | ||
--- | ||
parsed_sample: | ||
- acl_name: "global-acl-test-show-acl-brief" | ||
acl_total_elements: "3" | ||
acl_name_hash: "0xccfef45c" | ||
line_hash: "06228509" | ||
group_hash: "d0a2680b" | ||
counter: "00006049" | ||
last_hit: "6178289f" | ||
- acl_name: "global-acl-test-show-acl-brief" | ||
acl_total_elements: "3" | ||
acl_name_hash: "0xccfef45c" | ||
line_hash: "4c8c760a" | ||
group_hash: "d0a2680b" | ||
counter: "00000cf5" | ||
last_hit: "6245930b" | ||
- acl_name: "global-acl-test-show-acl-brief" | ||
acl_total_elements: "3" | ||
acl_name_hash: "0xccfef45c" | ||
line_hash: "179f5b95" | ||
group_hash: "00000000" | ||
counter: "00000003" | ||
last_hit: "61695d26" |