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.
Bugfix: cisco_wlc_ssh_show_interface_summary - Allow space or no spac…
…e on Number of Interfaces line (networktocode#810)
- Loading branch information
1 parent
ca27096
commit 36cb876
Showing
3 changed files
with
37 additions
and
1 deletion.
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
10 changes: 10 additions & 0 deletions
10
tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw
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,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 |
26 changes: 26 additions & 0 deletions
26
tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml
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,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" |