-
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.
Merge branch 'master' into oneaccess_fifth_5
- Loading branch information
Showing
351 changed files
with
26,435 additions
and
853 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Value Filldown FILE_SYSTEM (\S+) | ||
Value PERMISSIONS (\S+) | ||
Value SIZE (\d+) | ||
Value DATE_TIME (\S+\s+\d+\s+((\d+)|(\d+:\d+))|\<no date\>) | ||
Value NAME (\S+) | ||
Value Fillup TOTAL_SIZE (\d+) | ||
Value Fillup TOTAL_FREE (\d+) | ||
|
||
Start | ||
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher | ||
^\s*$$ | ||
^. -> Error "LINE NOT FOUND" | ||
|
||
Dispatcher | ||
^\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record Files | ||
^Directory\s+of -> Continue.Record | ||
^Directory\s+of\s+${FILE_SYSTEM} | ||
^No\s+files -> NoFiles | ||
^\s*$$ | ||
^\. -> Error "LINE NOT FOUND" | ||
|
||
Files | ||
^\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record | ||
^${TOTAL_SIZE}\s+\S+\s+\S+\s+\(${TOTAL_FREE}\s+\S+\s+\S+\) -> Start | ||
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher | ||
^No\s+space\s+information -> Start | ||
^\s*$$ | ||
^. -> Error "LINE NOT FOUND" | ||
|
||
NoFiles | ||
^${TOTAL_SIZE}\s+\S+\s+\S+\s+\(${TOTAL_FREE}\s+\S+\s+\S+\) -> Record Start | ||
^Directory\s+of -> Continue.Record | ||
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher | ||
^\s*$$ | ||
^\. -> Error "LINE NOT FOUND" | ||
|
||
EOF |
This file was deleted.
Oops, something went wrong.
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
45 changes: 45 additions & 0 deletions
45
ntc_templates/templates/ciena_saos_lldp_show_neighbors.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,45 @@ | ||
Value List,Filldown REMOTE_IPV4_ADDRESS (\d+\.\d+\.\d+\.\d+) | ||
Value List,Filldown REMOTE_IPV6_ADDRESS ([a-f0-9:]+) | ||
Value Filldown SYSTEM_NAME (\S+) | ||
Value Filldown SYSTEM_DESCRIPTION (.*\S) | ||
Value Required LOCAL_PORT (\S+) | ||
Value REMOTE_PORT (\S+) | ||
Value REMOTE_CHASSIS_ID (\S+) | ||
Value List REMOTE_MGMT_IPV4_ADDRESS (\d+\.\d+\.\d+\.\d+) | ||
Value List REMOTE_MGMT_IPV6_ADDRESS ([a-f0-9:]+) | ||
Value REMOTE_SYSTEM_NAME (\S+) | ||
Value REMOTE_SYSTEM_DESCRIPTION (.*\S) | ||
Value REMOTE_SYNCE_SUPPORT (.*\S) | ||
Value REMOTE_SYNCE_CONFIG (.*\S) | ||
|
||
Start | ||
^\+\-+ | ||
^\|\s*LLDP\s+Neighbors\s+\|\s*$$ | ||
^\|\s*Local\s+\|\s+Remote\s+\|\s*$$ | ||
^\|\s*Port\s+\|\s*Port\s+\|\s*Info\s+\|\s*$$ | ||
^\|\sRemote\sAddr:\s${REMOTE_IPV4_ADDRESS} | ||
^\|\sRemote\sAddr:\s${REMOTE_IPV6_ADDRESS} | ||
^\|\sSystem\sName:\s${SYSTEM_NAME}\s+\| | ||
^\|\sSystem\sDesc:\s${SYSTEM_DESCRIPTION}\s+\| | ||
# neighbor record | ||
^\|${LOCAL_PORT}\s*\|${REMOTE_PORT}\s*\|\s*Chassis\sId:\s*${REMOTE_CHASSIS_ID} -> Neighbor | ||
^\s*$$ | ||
^. -> Error | ||
|
||
Neighbor | ||
^\|\s*\|\s*\|\s*Mgmt\sAddr:\s${REMOTE_MGMT_IPV4_ADDRESS}\s+\| -> NeighborMgmt | ||
^\|\s*\|\s*\|\s*Mgmt\sAddr:\s${REMOTE_MGMT_IPV6_ADDRESS}\s+\| -> NeighborMgmt | ||
^\|\s*\|\s*\|\s*System\sName:\s${REMOTE_SYSTEM_NAME} -> Neighbor | ||
^\|\s*\|\s*\|\s*System\sDesc:\s${REMOTE_SYSTEM_DESCRIPTION}\s+\| | ||
^\|\s*\|\s*\|\s*SyncE\sSuppt:\s${REMOTE_SYNCE_SUPPORT}\s+\| | ||
^\|\s*\|\s*\|\s*SyncE\sConfg:\s${REMOTE_SYNCE_CONFIG}\s+\| | ||
^\+\-+ -> Record Start | ||
^\s*$$ | ||
^. -> Error | ||
|
||
NeighborMgmt | ||
^\|\s*\|\s*\|\s+${REMOTE_MGMT_IPV4_ADDRESS}\s+\|$$ | ||
^\|\s*\|\s*\|\s+${REMOTE_MGMT_IPV6_ADDRESS}\s+\|$$ | ||
^\|\s*\|\s*\|\s*System\sName:\s${REMOTE_SYSTEM_NAME} -> Neighbor | ||
^\s*$$ | ||
^. -> Error |
22 changes: 22 additions & 0 deletions
22
ntc_templates/templates/ciena_saos_port_show_ethernet-config.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,22 @@ | ||
Value NAME (\S+) | ||
Value TYPE (\S+) | ||
Value ADMIN_STATUS (\S+) | ||
Value SPEED (\S+) | ||
Value DUPLEX (\S+) | ||
Value FLOW_CONTROL (\S+) | ||
Value FLOW_CONTROL_ADV (\S+) | ||
Value AUTO_NEGOTIATION (\S+) | ||
Value MTU (\d+) | ||
Value MIRROR_STATE (\S+) | ||
Value MIRROR_EG (\d+) | ||
Value MIRROR_IG (\d+) | ||
|
||
Start | ||
^\+-+\s*PORT\s*ETHERNET\s*CONFIGURATION\s*-+\+ | ||
^(\|\s+){10}Mirror\s+\|\s*$$ | ||
^\|\s*Port\s*\|\s*Port\s*\|\s*Admin\s*\|(?:\s+\|){3}\s*FC\s*\|\s*Auto\s*\|\s*MTU\s*\|\s*Status\s*\|\s*$$ | ||
^\|\s*Name\s*\|\s*Type\s*\|\s*Status\|\s*Speed\s*\|\s*Dplx\s*\|\s*FC\s*\|\s*Adv\s*\|\s*Neg\s*\|\s*Size\s*\|\s*State\|\s*Eg\s*\|\s*Ig\s*\|\s*$$ | ||
^\+-+ | ||
^\|\s*${NAME}\s*\|\s*${TYPE}\s*\|\s*${ADMIN_STATUS}\s*\|\s*${SPEED}\s*\|\s*(${DUPLEX}|\s+)\s*\|\s*${FLOW_CONTROL}\s*\|\s*${FLOW_CONTROL_ADV}\s*\|\s*${AUTO_NEGOTIATION}\s*\|\s*${MTU}\s*\|\s*${MIRROR_STATE}\s*\|\s*${MIRROR_EG}\s*\|\s*${MIRROR_IG}\s*\| -> Record | ||
^\s*$$ | ||
^. -> Error |
21 changes: 21 additions & 0 deletions
21
ntc_templates/templates/ciena_saos_port_show_network-config.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,21 @@ | ||
Value NAME (\S+) | ||
Value PRIVATE_VLAN_ID (\S+) | ||
Value ACCEPT_FRAME_TYPE (\S+) | ||
Value UNTAG_INGRESS_VLAN_ID (\S+) | ||
Value VLAN_INGRESS_FILTER (\S+) | ||
Value VS_INGRESS_FILTER (\S+) | ||
Value EGRESS_UNTAG_VLAN (\S+) | ||
Value VS_EGRESS_FILTER (\S+) | ||
Value INGRESS_COS_POLICY (\S+) | ||
Value VPLS_PORT_TYPE (\S+) | ||
Value ETH_VC_ETHERTYPE (\d+) | ||
|
||
Start | ||
^\+-+\s*PORT\s*ETHERNET\s*CONFIGURATION\s*-+\+ | ||
^\+-+ | ||
^\|\s*\s*\|\s*\s*\|\s*Accpt\s*\|\s*Untag\s*\|\s*VLAN\s*\|\s*VS\s*\|\s*Egress\s*\|\s*VS\s*\|\s*Ingress\s*\|\s*VPLS\s*\|\s*Eth\s*VC\s*\|\s*$$ | ||
^\|\s*Port\s*\|\s*\s*\|\s*Frame\s*\|\s*Ingress\s*\|\s*Ingress\s*\|\s*Ingress\s*\|\s*Untag\s*\|\s*Egress\s*\|\s*CoS\s*\|\s*Port\s*\|\s*Ether-\s*\|\s*$$ | ||
^\|\s*Name\s*\|\s*PVID\s*\|\s*Type\s*\|\s*Vid\s*\|\s*Filter\s*\|\s*Filter\s*\|\s*VLAN\s*\|\s*Filter\s*\|\s*Policy\s*\|\s*Type\s*\|\s*Type\s*\|\s*$$ | ||
^\|\s*${NAME}\s*\|\s*${PRIVATE_VLAN_ID}\s*\|\s*${ACCEPT_FRAME_TYPE}\s*\|\s*${UNTAG_INGRESS_VLAN_ID}\s*\|\s*(${VLAN_INGRESS_FILTER}|\s+)\s*\|\s*${VS_INGRESS_FILTER}\s*\|\s*${EGRESS_UNTAG_VLAN}\s*\|\s*${VS_EGRESS_FILTER}\s*\|\s*${INGRESS_COS_POLICY}\s*\|\s*${VPLS_PORT_TYPE}\s*\|\s*${ETH_VC_ETHERTYPE}\s*\| -> Record | ||
^\s*$$ | ||
^. -> Error |
19 changes: 19 additions & 0 deletions
19
ntc_templates/templates/ciena_saos_port_show_status.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,19 @@ | ||
Value NAME (\S+) | ||
Value DESCRIPTION (\S*) | ||
Value LINK (Up|Down) | ||
Value DURATION ([^\|]+) | ||
Value TRANSCEIVER (\S+) | ||
Value STP (\w+) | ||
Value SPEED_DUPLEX (\S+) | ||
Value MTU (\d+) | ||
Value FLOW_CONTROL (\S+) | ||
|
||
|
||
Start | ||
^\+-+\s*PORT\s*OPERATIONAL\s*STATUS\s*-+\+ | ||
^\+-+ | ||
^\|(\s+\|){3}\s*Link\s*State\s*\|(\s+\|){2}\s*Speed/\s*\|\s*MTU \s*\|\s*Flow\s*\|\s*$$ | ||
^\|\s*##\s*\|\s*Description\s*\|\s*Link\s*\|\s*Duration\s*\|\s*XCVR\s*\|\s*STP\s*\|\s*Duplex\s*\|\s*Size\s*\|\s*Ctrl\s*\|\s*$$ | ||
^\|${NAME}\s*\|${DESCRIPTION}\s*\|\s*${LINK}\s*\|\s*${DURATION}\s*\|\s*(${TRANSCEIVER}|\s+)\s*\|\s*${STP}\s*\|\s*(${SPEED_DUPLEX}|\s+)\s*\|\s*${MTU}\s*\|\s*(${FLOW_CONTROL}|\s+)\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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Value PORT (\S+) | ||
Value ADMIN_STATE (\S+) | ||
Value OPERATIONAL_STATE (\S+) | ||
Value VENDOR (\S.*\S) | ||
Value CIENA_REV (\S+) | ||
Value CONNECTOR_TYPE (\S+) | ||
Value DIAGNOSTIC (\S+) | ||
|
||
Start | ||
^\+-+ | ||
^\|\s+\|\s*Admin\s*\|\s*Oper\s*\|\s+\|\s*Ciena\s*\|\s*Ether\s*Medium\s*&\s*\|\s*Diag\s*\|\s*$$ | ||
^\|\s*Port\s*\|(?:\s*State\s*\|){2}\s*Vendor\s*Name\s*&\s*Part\s*Number\s*\|\s*Rev\s*\|\s*Connector\s*Type\s*\|\s*Data\s*\|\s*$$ | ||
^\|\s*${PORT}\s*\|${ADMIN_STATE}\s*\|(${OPERATIONAL_STATE}|)\s*\|(${VENDOR}|)\s*\|(${CIENA_REV}|)\s*\|(${CONNECTOR_TYPE}|)\s*\|(${DIAGNOSTIC}|)\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
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,16 @@ | ||
Value PROTOCOL (\S+) | ||
Value ADDRESS (\S+) | ||
Value AGE_MIN (\S+) | ||
Value HARDWARE_ADDRESS ((?:([a-f0-9]{4}\.){2}[a-f0-9]{4})|Incomplete) | ||
Value TYPE (\S+) | ||
Value INTERFACE (\S+) | ||
|
||
Start | ||
^\s*Protocol\s+Address\s+Age\s+\(min\)\s+Hardware\s+Addr\s+Type\s+Interface\s*$$ -> ArpTable | ||
^\s*$$ | ||
^. -> Error | ||
|
||
ArpTable | ||
^\s*${PROTOCOL}\s+${ADDRESS}\s+${AGE_MIN}\s+${HARDWARE_ADDRESS}\s+${TYPE}(?:\s+${INTERFACE})?\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
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
17 changes: 17 additions & 0 deletions
17
ntc_templates/templates/cisco_ios_show_ip_dhcp_binding.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,17 @@ | ||
Value IP_ADDRESS (\S+) | ||
Value HARDWARE_ADDRESS (\S+) | ||
Value EXPIRATION (\S+) | ||
Value TYPE (\S+) | ||
|
||
Start | ||
^\s*Bindings from all pools not associated with VRF:\s*$$ | ||
^\s*IP\s+address\s+Client-ID/(?:Hardware\s+address/(?:User\s+name)?)?\s+Lease expiration\s+Type\s*$$ -> DhcpTable | ||
^\s*$$ | ||
^. -> Error | ||
|
||
DhcpTable | ||
^\s*Hardware\s+address/\s*$$ | ||
^\s*User\s+name\s*$$ | ||
^\s*${IP_ADDRESS}\s+${HARDWARE_ADDRESS}\s+${EXPIRATION}\s+${TYPE}\s*$$ -> Record | ||
^\s*$$ | ||
^. -> Error |
33 changes: 33 additions & 0 deletions
33
ntc_templates/templates/cisco_ios_show_ip_eigrp_neighbors_detail.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,33 @@ | ||
Value Filldown AS (\d+) | ||
Value Required H (\d+) | ||
Value Required IP_ADDRESS ([0-9A-Fa-f:\.]+) | ||
Value INTERFACE (\S+) | ||
Value HOLD (\d+) | ||
Value UPTIME (\S+) | ||
Value SRTT (\d+) | ||
Value RTO (\d+) | ||
Value Q_CNT (\d+) | ||
Value SEQ_NUM (\d+) | ||
Value VERSION (\S+) | ||
Value RETRANS (\d+) | ||
Value RETRIES (\d+) | ||
Value PREFIXES (\d+) | ||
Value TOPOLOGY_IDS_FROM_PEER (\d+) | ||
Value Fillup MAX_NEIGHBORS (\d+) | ||
Value Fillup CURRENT_NEIGHBORS (\d+) | ||
|
||
Start | ||
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s*$$ | ||
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s+VRF default\s*$$ | ||
^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$ | ||
^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ -> Neighbors | ||
|
||
Neighbors | ||
^\s*${H}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$ | ||
^\s*Version\s+${VERSION},\s+Retrans:\s+${RETRANS},\s+Retries:\s+${RETRIES},\s+Prefixes:\s+${PREFIXES}\s*$$ | ||
^\s*Topology-ids\s+from\s+peer\s+\-\s+${TOPOLOGY_IDS_FROM_PEER}\s*$$ -> Record | ||
^\s*Max\s+Nbrs\:\s+${MAX_NEIGHBORS}\,\s+Current\s+Nbrs\:\s+${CURRENT_NEIGHBORS}\s*$$ | ||
^\s*$$ | ||
^.* -> Error | ||
|
||
EOF |
Oops, something went wrong.