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.
Merge branch 'ntc_update' into 'master'
Support unknown protocol in arista_eos_show_interfaces_description (networktocode#1540) See merge request bsh-developers/ntc-templates!40
- Loading branch information
Showing
29 changed files
with
1,131 additions
and
77 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
55 changes: 55 additions & 0 deletions
55
ntc_templates/templates/cisco_ftd_show_vpn-sessiondb_anyconnect.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,55 @@ | ||
Value Filldown,Required SESSION_TYPE (\S+) | ||
Value USERNAME (\S+) | ||
Value Required INDEX (\d+) | ||
Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) | ||
Value PUBLIC_IP (\S+) | ||
Value ASSIGNED_IPV6 (\S+) | ||
Value PROTOCOL (.+?) | ||
Value LICENSE (.+?) | ||
Value ENCRYPTION (.+?) | ||
Value HASHING (.+?) | ||
Value BYTES_TX (\d+) | ||
Value BYTES_RX (\d+) | ||
Value GROUP_POLICY (\S+) | ||
Value TUNNEL_GROUP (\S+) | ||
Value LOGIN_TIME (\d+:\d+:\d+) | ||
Value LOGIN_TIME_ZONE (\S+) | ||
Value LOGIN_WEEKDAY (\w+) | ||
Value LOGIN_MONTH (\w+) | ||
Value LOGIN_DAY (\d+) | ||
Value LOGIN_YEAR (\d+) | ||
Value DURATION (.+?) | ||
Value INACTIVITY (.+?) | ||
Value VLAN_MAPPING (\S+) | ||
Value VLAN_ID (.+?) | ||
Value AUDT_SESS_ID (.+?) | ||
Value SECURITY_GRP (\S+) | ||
Value TUNNEL_ZONE (\d+) | ||
|
||
Start | ||
^Session\s+Type:\s+${SESSION_TYPE}$$ -> Connection | ||
|
||
Connection | ||
^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ | ||
^\s*Username\s*:\s+${USERNAME}$$ | ||
^\s*Index\s*:\s+${INDEX}$$ | ||
^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ | ||
^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ | ||
^\s*Assigned\s+IPv6\s*:\s+${ASSIGNED_IPV6}$$ | ||
^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ | ||
^\s*Protocol\s+:\s+${PROTOCOL}$$ | ||
^\s*License\s+:\s*${LICENSE}$$ | ||
^\s*Encryption\s+:\s*${ENCRYPTION}$$ | ||
^\s*Hashing\s+:\s*${HASHING}$$ | ||
^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ | ||
^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ | ||
^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}$$ | ||
^\s*Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ | ||
^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ | ||
^\s*Duration\s+:\s+${DURATION}$$ | ||
^\s*Inactivity\s+:\s+${INACTIVITY}$$ | ||
^\s*VLAN\s+Mapping\s+:\s+${VLAN_MAPPING}\s+VLAN\s+:\s+${VLAN_ID}$$ | ||
^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ | ||
^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s+Tunnel\s+Zone\s+:\s+${TUNNEL_ZONE}$$ -> Record | ||
^\s*$$ | ||
^. -> Error |
13 changes: 13 additions & 0 deletions
13
ntc_templates/templates/cisco_ios_show_ap_cdp_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,13 @@ | ||
Value AP_NAME (\S+) | ||
Value AP_IP ([a-fA-F0-9:\.]+) | ||
Value NEIGHBOR_NAME (\S+) | ||
Value NEIGHBOR_IP ([a-fA-F0-9:\.]+) | ||
Value NEIGHBOR_PORT ([a-zA-Z0-9\/\.]+) | ||
|
||
Start | ||
^[a-zA-Z]+\s[a-z]+\s[a-zA-z]+:\s\d+$$ | ||
^AP\sName\s+AP\sIP\s+Neighbor\sName\s+Neighbor\sIP\s+Neighbor\sPort\s*$$ | ||
^-+\s*$$ | ||
^${AP_NAME}\s+${AP_IP}\s+${NEIGHBOR_NAME}\s+${NEIGHBOR_IP}\s+${NEIGHBOR_PORT}\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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,119 @@ | ||
--- | ||
parsed_sample: | ||
- as_path: "" | ||
local_as: "103" | ||
local_pref: "0" | ||
metric: "1" | ||
network: "10.103.1.0/24" | ||
next_hop: "-" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: ">" | ||
status: "*" | ||
vrf: "default" | ||
weight: "-" | ||
- as_path: "" | ||
local_as: "103" | ||
local_pref: "0" | ||
metric: "1" | ||
network: "10.103.2.0/24" | ||
next_hop: "-" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: ">" | ||
status: "*" | ||
vrf: "default" | ||
weight: "-" | ||
- as_path: "" | ||
local_as: "103" | ||
local_pref: "0" | ||
metric: "1" | ||
network: "10.103.3.0/24" | ||
next_hop: "-" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: ">" | ||
status: "*" | ||
vrf: "default" | ||
weight: "-" | ||
- as_path: "" | ||
local_as: "103" | ||
local_pref: "0" | ||
metric: "1" | ||
network: "10.103.4.0/24" | ||
next_hop: "-" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: ">" | ||
status: "*" | ||
vrf: "default" | ||
weight: "-" | ||
- as_path: "104" | ||
local_as: "103" | ||
local_pref: "100" | ||
metric: "0" | ||
network: "10.104.1.0/24" | ||
next_hop: "10.10.10.20" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: "#" | ||
status: "*" | ||
vrf: "default" | ||
weight: "0" | ||
- as_path: "104" | ||
local_as: "103" | ||
local_pref: "100" | ||
metric: "0" | ||
network: "10.104.2.0/24" | ||
next_hop: "10.10.10.20" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: "#" | ||
status: "*" | ||
vrf: "default" | ||
weight: "0" | ||
- as_path: "104" | ||
local_as: "103" | ||
local_pref: "100" | ||
metric: "0" | ||
network: "10.104.3.0/24" | ||
next_hop: "10.10.10.20" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: "#" | ||
status: "*" | ||
vrf: "default" | ||
weight: "0" | ||
- as_path: "104" | ||
local_as: "103" | ||
local_pref: "100" | ||
metric: "0" | ||
network: "10.104.4.0/24" | ||
next_hop: "10.10.10.20" | ||
origin: "i" | ||
path_selection: " " | ||
router_id: "10.103.1.1" | ||
route_source: "#" | ||
status: "*" | ||
vrf: "default" | ||
weight: "0" | ||
- as_path: "62222.4002" | ||
local_as: "62222.4003" | ||
local_pref: "5000" | ||
metric: "0" | ||
network: "10.9.41.96/29" | ||
next_hop: "172.26.159.6" | ||
origin: "?" | ||
path_selection: " " | ||
router_id: "172.26.159.40" | ||
route_source: ">" | ||
status: "*" | ||
vrf: "INTERNET" | ||
weight: "0" |
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.