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.
New Template: cisco_wlc_ssh_show_mobility_sum (networktocode#628)
- Loading branch information
1 parent
7166da0
commit 26c25b0
Showing
4 changed files
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Value MAC_ADDR (([\d1-9a-f]{2}\:?){6}) | ||
Value IP_ADDR (([\d1-9]+\.?){4}) | ||
Value GROUP_NAME (\S+) | ||
Value MULTICAST_IP (([\d1-9]+\.?){4}) | ||
Value STATUS (.+?) | ||
|
||
Start | ||
^Mobility\s+Protocol\s+Port | ||
^Default\s+Mobility\s+Domain | ||
^Multicast\s+Mode\s+ | ||
^Mobility\s+Domain\s+ID\s+for\s+802.11r | ||
^Mobility\s+Keepalive\s+Interval | ||
^Mobility\s+Keepalive\s+Count | ||
^Mobility\s+Group\s+Members\s+Configured | ||
^Mobility\s+Control\s+Message\s+DSCP\s+Value | ||
^Controllers\s+configured\s+in\s+the\s+Mobility\s+Group | ||
^\s+MAC\s+Address\s+IP\s+Address\s+Group\s+Name\s+Multicast\s+IP\s+Status -> Mobility_Controllers | ||
|
||
|
||
Mobility_Controllers | ||
^\s+${MAC_ADDR}\s+${IP_ADDR}\s+${GROUP_NAME}\s+${MULTICAST_IP}\s+${STATUS}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
14 changes: 14 additions & 0 deletions
14
tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.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,14 @@ | ||
|
||
Mobility Protocol Port........................... 16666 | ||
Default Mobility Domain.......................... data | ||
Multicast Mode .................................. Disabled | ||
Mobility Domain ID for 802.11r................... 0xb187 | ||
Mobility Keepalive Interval...................... 10 | ||
Mobility Keepalive Count......................... 3 | ||
Mobility Group Members Configured................ 2 | ||
Mobility Control Message DSCP Value.............. 0 | ||
|
||
Controllers configured in the Mobility Group | ||
MAC Address IP Address Group Name Multicast IP Status | ||
08:00:27:0a:04:25 192.168.1.12 data 0.0.0.0 Control and Data Path Down | ||
08:00:27:1d:a4:d4 192.168.1.11 data 0.0.0.0 Up |
12 changes: 12 additions & 0 deletions
12
tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.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,12 @@ | ||
--- | ||
parsed_sample: | ||
- mac_addr: "08:00:27:0a:04:25" | ||
ip_addr: "192.168.1.12" | ||
group_name: "data" | ||
multicast_ip: "0.0.0.0" | ||
status: "Control and Data Path Down" | ||
- mac_addr: "08:00:27:1d:a4:d4" | ||
ip_addr: "192.168.1.11" | ||
group_name: "data" | ||
multicast_ip: "0.0.0.0" | ||
status: "Up" |