Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue in cisco_wlc_ssh_show_interface_summary template #810

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/cisco_wlc_ssh_show_interface_summary.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Value AP_MGR (\S+)
Value GUEST (\S+)

Start
^\s+Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$
^\s*Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$
^Interface\s+Name\s+Port\s+Vlan\s+Id\s+IP\s+Address\s+Type\s+Ap\s+Mgr\s+Guest -> Type_One
^\s*$$
^. -> Error
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@



Number of Interfaces.......................... 3

Interface Name Port Vlan Id IP Address Type Ap Mgr Guest
-------------------------------- ---- -------- --------------- ------- ------ -----
management 1 untagged 192.168.1.11 Static Yes N/A
service-port N/A N/A 11.1.1.1 Static No N/A
virtual N/A N/A 1.1.1.1 Static No N/A
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
parsed_sample:
- ap_mgr: "Yes"
guest: "N/A"
int_count: "3"
ip_addr: "192.168.1.11"
name: "management"
port: "1"
type: "Static"
vlan: "untagged"
- ap_mgr: "No"
guest: "N/A"
int_count: "3"
ip_addr: "11.1.1.1"
name: "service-port"
port: "N/A"
type: "Static"
vlan: "N/A"
- ap_mgr: "No"
guest: "N/A"
int_count: "3"
ip_addr: "1.1.1.1"
name: "virtual"
port: "N/A"
type: "Static"
vlan: "N/A"