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

Adv 802dot11 channel #526

Merged
merged 8 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from 7 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
50 changes: 50 additions & 0 deletions templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
Value ASSIGN_MODE (\w+)
Value UPDATE_TIME (\d+ \w+)
Value ANCHOR_TIME (\d+)
Value NOISE (\w+)
Value INTERFER (\w+)
Value LOAD (\w+)
Value DEVICE_AWARE (\w+)
Value CLEANAIR_DRIVEN (\w+)
Value LEADER (\w+)
Value DCA_SENSITIVITY (\w+ \(\d+ dB\))
Value DCA_WIDTH (\d+ \w+)
Value DCA_MIN (-\d+ dBm)
Value List DCA_CHANNELS ((\d+,?)*?)

Start
^\s*Leader\sAutomatic\sChannel\sAssignments*$$
^\s+Channel\sAssignment\sMode\.*\s${ASSIGN_MODE}s*$$
^\s+Channel\sUpdate\sInterval\.*\s${UPDATE_TIME}s*$$
^\s+Anchor\stime\s\(Hour\sof\sthe day\)\.*\s+${ANCHOR_TIME}\s+s*$$
^\s+Update\sContributions*$$
^\s+Noise\.*\s${NOISE}s*$$
^\s+Interference\.*\s${INTERFER}s*$$
^\s+Load\.*\s${LOAD}s*$$
^\s+Device\sAware\.*\s${DEVICE_AWARE}s*$$
^\s+CleanAir\sEvent-driven\sRRM option\.*\s${CLEANAIR_DRIVEN}s*$$
^\s+Channel\sAssignment\sLeader\.*\s+${LEADER}\s+\(([\d1-9]+\.?){4}\)\s+\(\:\:\)s*$$
^\s+Last\s+Run\.*\s+\d+\s+seconds\s+agos*$$
^\s+Last\s+Run\s+Time\.*\s+\d+\s+secondss*$$
^\s+DCA\sSensitivity\sLevel\:?\s?\.*\s${DCA_SENSITIVITY}s*$$
^\s+DCA\s\S+\sChannel\sWidth\.*\s${DCA_WIDTH}s*$$
^\s+DCA\sMinimum\sEnergy\sLimit\.*\s${DCA_MIN}s*$$
^\s+Channel\sEnergy\sLevels
^\s+Minimum
^\s+Average
^\s+Maximum
^\s+Channel\sDwell\sTimes
^\s+802\.11a\s5\sGHz\sAuto\-RF Channel Lists*$$
^.*Allowed\sChannel\sList\.*\s${DCA_CHANNELS}s*$$ -> Channels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This attempts to capture allowed channels on both 5 and 4.9Ghz.

I would say that we'd want to capture those in separate variables and then post process them in needed.

This would be to do state transitions on L37 instead of L38 and separate variables.

^\s+802.11a\s4.9\sGHz\sAuto-RF Channel Lists*$$
^\s+Unused\sChannel\sList
^\s+\d+,?
^\s+DCA\sOutdoor\sAP\soption
^\s*$$
^. -> Error

Channels
^\s+${DCA_CHANNELS}s*$$
^\s+Unused Channel List.* -> Start


1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex
cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc
cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf

cisco_wlc_ssh_show_advanced_802.11a_channel.template, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]]
cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]]
cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]]
cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
parsed_sample:
- anchor_time: '6'
assign_mode: AUTO
cleanair_driven: Disabled
dca_channels:
- 36,40,44,48,52,56,60,64,100,
- 104,108,112,116,120,124,128,
- 132,136,140,144,149,153,157,
- '161'
- ''
dca_min: -95 dBm
dca_sensitivity: MEDIUM (15 dB)
dca_width: 20 MHz
device_aware: Enable
interfer: Enable
leader: RTPNDWH01
load: Disable
noise: Enable
update_time: 6 Hours
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Leader Automatic Channel Assignment
Channel Assignment Mode........................ AUTO
Channel Update Interval........................ 6 Hours
Anchor time (Hour of the day).................. 6
Update Contribution
Noise........................................ Enable
Interference................................. Enable
Load......................................... Disable
Device Aware................................. Enable
CleanAir Event-driven RRM option............... Disabled
Channel Assignment Leader...................... RTPNDWH01 (10.16.194.60) (::)
Last Run....................................... 16558 seconds ago
Last Run Time.................................. 1 seconds
DCA Sensitivity Level.......................... MEDIUM (15 dB)
DCA 802.11n/ac Channel Width................... 20 MHz
DCA Minimum Energy Limit....................... -95 dBm
Channel Energy Levels
Minimum...................................... -86 dBm
Average...................................... -84 dBm
Maximum...................................... -68 dBm
Channel Dwell Times
Minimum...................................... 2 days, 04 h 10 m 07 s
Average...................................... 203 days, 18 h 10 m 50 s
Maximum...................................... 316 days, 17 h 42 m 54 s
802.11a 5 GHz Auto-RF Channel List
Allowed Channel List......................... 36,40,44,48,52,56,60,64,100,
104,108,112,116,120,124,128,
132,136,140,144,149,153,157,
161
Unused Channel List.......................... 165
802.11a 4.9 GHz Auto-RF Channel List
Allowed Channel List.........................
Unused Channel List.......................... 1,2,3,4,5,6,7,8,9,10,11,12,
13,14,15,16,17,18,19,20,21,
22,23,24,25,26
DCA Outdoor AP option.......................... Disabled