-
Notifications
You must be signed in to change notification settings - Fork 735
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
a8b4d6d
commit f224341
Showing
25 changed files
with
339 additions
and
274 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
12 changes: 0 additions & 12 deletions
12
ntc_templates/templates/oneaccess_oneos_show_ip_helper-address_statistics.textfsm
This file was deleted.
Oops, something went wrong.
13 changes: 7 additions & 6 deletions
13
ntc_templates/templates/oneaccess_oneos_show_ip_interface_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,11 +1,12 @@ | ||
Value INTF (\S+(?:\s\S+)?) | ||
Value IPADDR (\S+) | ||
Value INTERFACE (\S+(?:\s\S+)?) | ||
Value IP_ADDRESS (\S+) | ||
Value OK (YES|NO|Yes|No|yes|no) | ||
Value STATUS (up|down|administratively down) | ||
Value PROTO (up|down) | ||
Value IFDESCR (.*) | ||
Value PROTOCOL (up|down) | ||
Value DESCRIPTION (.*?) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+${OK}\s+${STATUS}\s+${PROTO}\s+${IFDESCR} -> Record | ||
^.*$$ | ||
^Interface\s+IP[-\s]Address\s+OK\?\s+Status\s+Protocol\s+Description\s*$$ | ||
^${INTERFACE}\s+${IP_ADDRESS}\s+${OK}\s+${STATUS}\s+${PROTOCOL}\s+${DESCRIPTION}\s*$$ -> Record | ||
^\s*$$ | ||
^. -> Error |
9 changes: 4 additions & 5 deletions
9
ntc_templates/templates/oneaccess_oneos_show_ip_prefix-list.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,17 +1,16 @@ | ||
Value Required,Filldown PROTCOL (\S+) | ||
Value Required,Filldown PROTOCOL (\S+) | ||
Value Required,Filldown NAME (\S+) | ||
Value Filldown DESCRIPTION (.*) | ||
Value Required SEQ (\d+) | ||
Value Required SEQUENCE (\d+) | ||
Value ACTION (\S+) | ||
Value NETWORK ([0-9a-f:\.]+|any) | ||
Value NETMASK (\d+) | ||
Value LE (\d+) | ||
Value GE (\d+) | ||
|
||
Start | ||
^${PROTCOL}:\sip\s+prefix-list\s+${NAME} | ||
^${PROTOCOL}:\sip\s+prefix-list\s+${NAME} | ||
^\s+Description:\s${DESCRIPTION} | ||
^\s+seq\s+${SEQ}\s+${ACTION}\s+${NETWORK}(/${NETMASK}|)(?:\s+ge\s+${GE}|)(?:\s+le\s+${LE}|)\s*$$ -> Record | ||
^\s+seq\s+${SEQUENCE}\s+${ACTION}\s+${NETWORK}(/${NETMASK}|)(?:\s+ge\s+${GE}|)(?:\s+le\s+${LE}|)\s*$$ -> Record | ||
^\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
12 changes: 12 additions & 0 deletions
12
ntc_templates/templates/oneaccess_oneos_show_ip_vrf_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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Value VRF (\w+) | ||
Value VRF_ID (\d+) | ||
Value List INTERFACES ([\w\-]+\s?[\w\/\.]+) | ||
|
||
Start | ||
^\s*VRF\s+Name\s+VRF\s+I[Dd]\s+Interfaces\s*$$ | ||
^\s?\w+\s+\d+ -> Continue.Record | ||
^\s?${VRF}?\s+${VRF_ID}\s+${INTERFACES}$$ | ||
^\s?${VRF}?\s+${VRF_ID}\s*$$ | ||
^\s+${INTERFACES}$$ | ||
^\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
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
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
Oops, something went wrong.