-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize interface capture group (#1419)
* Update index * change interface capture group from INTF to INTERFACE to standardize * change interface capture group from IFACE to INTERFACE to standardize
- Loading branch information
Showing
70 changed files
with
2,086 additions
and
2,086 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
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/aruba_os_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,8 +1,8 @@ | ||
Value INTF (\S+\s\S+) | ||
Value INTERFACE (\S+\s\S+) | ||
Value IPADDR (\S+) | ||
Value MASK (\S+) | ||
Value ADMIN (\S+) | ||
Value PROTOCOL (\S+) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+/\s+${MASK}\s+${ADMIN}\s+${PROTOCOL} -> Record | ||
^${INTERFACE}\s+${IPADDR}\s+/\s+${MASK}\s+${ADMIN}\s+${PROTOCOL} -> Record |
6 changes: 3 additions & 3 deletions
6
ntc_templates/templates/aruba_os_show_ipv6_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,12 +1,12 @@ | ||
Value INTF (\S+\s\S+|\S+) | ||
Value INTERFACE (\S+\s\S+|\S+) | ||
Value List IPADDR (\S+) | ||
Value ADMIN (\S+) | ||
Value PROTOCOL (\S+) | ||
|
||
Start | ||
^${INTF}\s+\[\s+${ADMIN}/${PROTOCOL}\s+\] -> Interfaces | ||
^${INTERFACE}\s+\[\s+${ADMIN}/${PROTOCOL}\s+\] -> Interfaces | ||
|
||
Interfaces | ||
^(\S+\s\S+|\S+)\s+\[\s+(\S+)/(\S+)\s+\] -> Continue.Record | ||
^${INTF}\s+\[\s+${ADMIN}/${PROTOCOL}\s+\] | ||
^${INTERFACE}\s+\[\s+${ADMIN}/${PROTOCOL}\s+\] | ||
^\s+${IPADDR} |
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_asa_show_interface_ip_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,10 +1,10 @@ | ||
Value INTF (\S+) | ||
Value INTERFACE (\S+) | ||
Value IPADDR (\S+) | ||
Value STATUS (up|down|administratively down) | ||
Value PROTO (up|down) | ||
|
||
Start | ||
^Interface\s+IP-Address\s+OK\?\s+Method\s+Status\s+Protocol\s*$$ | ||
^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record | ||
^${INTERFACE}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> 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
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_ios_show_interface_transceiver.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,11 @@ | ||
Value IFACE (\w+\d+\/\S+) | ||
Value INTERFACE (\w+\d+\/\S+) | ||
Value TEMPERATURE (\d+.\d+) | ||
Value VOLTAGE (\d+.\d+) | ||
Value TX_PWR (\S+) | ||
Value RX_PWR (\S+) | ||
|
||
Start | ||
^${IFACE}\s+${TEMPERATURE}\s+${VOLTAGE}\s+${TX_PWR}\s+${RX_PWR}\s+ -> Record | ||
^${INTERFACE}\s+${TEMPERATURE}\s+${VOLTAGE}\s+${TX_PWR}\s+${RX_PWR}\s+ -> Record | ||
# Capture time-stamp if vty line has command time-stamping turned on | ||
^Load\s+for\s+ | ||
^Time\s+source\s+is |
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
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_ios_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,10 +1,10 @@ | ||
Value INTF (\S+) | ||
Value INTERFACE (\S+) | ||
Value IPADDR (\S+) | ||
Value STATUS (up|down|administratively down) | ||
Value PROTO (up|down) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record | ||
^${INTERFACE}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record | ||
# Capture time-stamp if vty line has command time-stamping turned on | ||
^Load\s+for\s+ | ||
^Time\s+source\s+is |
6 changes: 3 additions & 3 deletions
6
ntc_templates/templates/cisco_ios_show_ipv6_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,17 +1,17 @@ | ||
Value INTF (\S+) | ||
Value INTERFACE (\S+) | ||
Value List IPADDR (\S+) | ||
Value ADMIN (\S+|\S+\s\S+) | ||
Value PROTOCOL (\S+|\S+\s\S+) | ||
|
||
|
||
Start | ||
^${INTF}\s+\[${ADMIN}/${PROTOCOL}\] -> Interfaces | ||
^${INTERFACE}\s+\[${ADMIN}/${PROTOCOL}\] -> Interfaces | ||
# Capture time-stamp if vty line has command time-stamping turned on | ||
^Load\s+for\s+ | ||
^Time\s+source\s+is | ||
|
||
Interfaces | ||
^(\S+)\s+\[(\S+|\S+\s\S+)/(\S+|\S+\s\S+)\] -> Continue.Record | ||
^${INTF}\s+\[${ADMIN}/${PROTOCOL}\] | ||
^${INTERFACE}\s+\[${ADMIN}/${PROTOCOL}\] | ||
^\s+${IPADDR} | ||
|
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
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_nxos_show_ipv6_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,10 +1,10 @@ | ||
Value Required INTF (\S+) | ||
Value Required INTERFACE (\S+) | ||
Value Required IPADDR ([a-zA-Z0-9:/]+) | ||
Value LINKIPADDR ([a-zA-Z0-9:/]+) | ||
Value STATUS (\S+/\S+) | ||
Value PROTO (\S+) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+${STATUS}/${PROTO} | ||
^${INTERFACE}\s+${IPADDR}\s+${STATUS}/${PROTO} | ||
^\s+${LINKIPADDR} -> Record | ||
|
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_xr_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,8 +1,8 @@ | ||
Value INTF (.+?) | ||
Value INTERFACE (.+?) | ||
Value IPADDR (\S+) | ||
Value STATUS (Up|Down|Shutdown) | ||
Value PROTO (Up|Down) | ||
Value VRF (\S+) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+${STATUS}\s+${PROTO}\s+${VRF} -> Record | ||
^${INTERFACE}\s+${IPADDR}\s+${STATUS}\s+${PROTO}\s+${VRF} -> Record |
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/cisco_xr_show_ipv4_vrf_all_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,9 +1,9 @@ | ||
Value Required INTF ([\w\./-]+) | ||
Value Required INTERFACE ([\w\./-]+) | ||
Value IPADDR (\d+\.\d+\.\d+\.\d+) | ||
Value STATUS (\w+) | ||
Value PROTO (\w+) | ||
Value VRF (\S+) | ||
|
||
Start | ||
^\s*Interface\s+IP-Address\s+Status\s+Protocol(\s+Vrf-Name)?\s*$$ | ||
^\s*${INTF}\s+${IPADDR}\s+${STATUS}\s+${PROTO}(\s+${VRF})?\s*$$ -> Record | ||
^\s*${INTERFACE}\s+${IPADDR}\s+${STATUS}\s+${PROTO}(\s+${VRF})?\s*$$ -> Record |
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/dell_force10_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,9 +1,9 @@ | ||
Value INTF (\S+ \S+) | ||
Value INTERFACE (\S+ \S+) | ||
Value IPADDR (\S+) | ||
Value OK (YES|NO) | ||
Value METHOD (None|Manual) | ||
Value STATUS (up|down) | ||
Value PROTO (up|down) | ||
|
||
Start | ||
^${INTF}\s+${IPADDR}\s+${OK}\s+${METHOD}\s+${STATUS}\s+${PROTO} -> Record | ||
^${INTERFACE}\s+${IPADDR}\s+${OK}\s+${METHOD}\s+${STATUS}\s+${PROTO} -> Record |
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
4 changes: 2 additions & 2 deletions
4
ntc_templates/templates/paloalto_panos_show_interface_hardware.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,9 +1,9 @@ | ||
Value INTF (\S+) | ||
Value INTERFACE (\S+) | ||
Value ID (\S+) | ||
Value SPEED (\[n/a\]|\S+) | ||
Value DUPLEX (\[n/a\]|\S+) | ||
Value STATE (\S+) | ||
Value ADDRESS ([a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}) | ||
|
||
Start | ||
^${INTF}\s+${ID}\s+${SPEED}/${DUPLEX}/${STATE}\s+${ADDRESS} -> Record | ||
^${INTERFACE}\s+${ID}\s+${SPEED}/${DUPLEX}/${STATE}\s+${ADDRESS} -> Record |
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.