-
Notifications
You must be signed in to change notification settings - Fork 735
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
jmcgill298
merged 8 commits into
networktocode:master
from
timjsmith24:adv_802dot11_channel
Nov 8, 2019
Merged
Adv 802dot11 channel #526
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2dde06d
Cisco WLC show 802.11a command
3c8e33b
Cisco WLC show 802.11a command
17ada2d
reseting master
6505466
Merge pull request #6 from networktocode/master
timjsmith24 e7ca1e7
Merge branch 'master' of https://github.com/timjsmith24/ntc-templates
cd94431
show advanced 802.11[ab] channel template
5f94490
show advanced 802.11[ab] channel template
0fd0b86
Seperating out just 5GHz channels excluding 4.9GHz as those arent use…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template
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,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 | ||
^\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 | ||
|
||
|
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
20 changes: 20 additions & 0 deletions
20
..._wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed
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,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 |
37 changes: 37 additions & 0 deletions
37
...sco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.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,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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.