Skip to content

Commit

Permalink
New Template: WLC - show 802.11 cleanair config (networktocode#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcgill298 authored and thomasblass committed Oct 25, 2020
1 parent d73280b commit 3dd862a
Show file tree
Hide file tree
Showing 9 changed files with 341 additions and 1 deletion.
129 changes: 129 additions & 0 deletions templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
Value CLEANAIR (.+?)
Value AIR_QUALITY_REPORT (\w+)
Value AIR_QUALITY_PERIOD (\d+)
Value AIR_QUALITY_ALARM (.+?)
Value AQ_ALARM_THRESH (\d+)
Value AQ_UNCLASSIFIED_INTER (.+?)
Value AQ_UNCLASSIFIED_THRESH (\d+)
Value INTERFERE_DEVICE_REPORT (\w+)
Value BLUETOOTH_LINK (\w+)
Value MICROWAVE (\w+)
Value DOT11_FH (\w+)
Value BLUETOOTH_DISCOVERY (\w+)
Value TDD_TRANSMIT (\w+)
Value JAMMER (\w+)
Value CONTINUOUS_TRANSMIT (\w+)
Value DECT_LIKE_PHONE (\w+)
Value VIDEO_CAMERA (\w+)
Value DOT15_4 (\w+)
Value WIFI_INVERTED (\w+)
Value WIFI_INVALID_CHANNEL (\w+)
Value SUPERAG (\w+)
Value CANOPY (\w+)
Value MICROSOFT_DEVICE (\w+)
Value WIMAX_MOBILE (\w+)
Value WIMAX_FIXED (\w+)
Value BLE_BEACON (\w+)
Value INT_DEVICE_ALARM (\w+)
Value BLUETOOTH_LINK_ALARM (\w+)
Value MICROWAVE_ALARM (\w+)
Value DOT11_FH_ALARM (\w+)
Value BLUETOOTH_DISCOVERY_ALARM (\w+)
Value TDD_TRANSMIT_ALARM (\w+)
Value JAMMER_ALARM (\w+)
Value CONTINUOUS_TRANSMIT_ALARM (\w+)
Value DECT_LIKE_PHONE_ALARM (\w+)
Value VIDEO_CAMERA_ALARM (\w+)
Value DOT15_4_ALARM (\w+)
Value WIFI_INVERTED_ALARM (\w+)
Value WIFI_INVALID_CHANNEL_ALARM (\w+)
Value SUPERAG_ALARM (\w+)
Value CANOPY_ALARM (\w+)
Value MICROSOFT_DEVICE_ALARM (\w+)
Value WIMAX_MOBILE_ALARM (\w+)
Value WIMAX_FIXED_ALARM (\w+)
Value BLE_BEACON_ALARM (\w+)
Value ED_RRM_STATE (\w+)
Value ED_RRM_SENSITIVITY (\w+)
Value ED_RRM_THRESH (\d+)
Value ROGUE_CONTRIBUTION (\w+)
Value ROGUE_DUTY_CYCLE_THRESH (\d+)
Value PERSISTANT_DEVICE_STATE (\w+)
Value PERSISTANT_DEVICE_PROPAGATION (\w+)


Start
^Clean\s+Air\s+Solution\.*\s${CLEANAIR}s*$$
^Air\s+Quality\s+Settings\: -> AirQuality
^\s+CleanAir\s+ED-RRM\s+State\.*\s${ED_RRM_STATE}s*$$
^\s+CleanAir\s+ED-RRM\s+Sensitivity\.*\s${ED_RRM_SENSITIVITY}s*$$
^\s+CleanAir\s+ED-RRM\s+Custom\s+Threshold\.*\s${ED_RRM_THRESH}s*$$
^\s+CleanAir\s+Rogue\s+Contribution\.*\s${ROGUE_CONTRIBUTION}s*$$
^\s+CleanAir\s+Rogue\s+Duty-Cycle\s+Threshold\.*\s${ROGUE_DUTY_CYCLE_THRESH}s*$$
^\s+CleanAir\s+Persistent\s+Devices\s+state\.*\s${PERSISTANT_DEVICE_STATE}s*$$
^\s+CleanAir\s+Persistent\s+Device\s+Propagation\.*\s${PERSISTANT_DEVICE_PROPAGATION}s*$$
^\s*$$
^. -> Error


AirQuality
^\s+Air\s+Quality\s+Reporting\.*\s${AIR_QUALITY_REPORT}s*$$
^\s+Air\s+Quality\s+Reporting\s+Period\s+\(min\)\.*\s${AIR_QUALITY_PERIOD}s*$$
^\s+Air\s+Quality\s+Alarms\.*\s${AIR_QUALITY_ALARM}s*$$
^\s+Air\s+Quality\s+Alarm\s+Threshold\.*\s${AQ_ALARM_THRESH}s*$$
^\s+Unclassified\s+Interference\.*\s${AQ_UNCLASSIFIED_INTER}s*$$
^\s+Unclassified\s+Severity\s+Threshold\.*\s${AQ_UNCLASSIFIED_THRESH}s*$$
^Interference\s+Device\s+Settings\: -> Interference
^\s*$$
^. -> Error

Interference
^\s+Interference\s+Device\s+Reporting\.*\s${INTERFERE_DEVICE_REPORT}S*$$
^\s+Interference\s+Device\s+Types\: -> Device_type
^\s*$$
^. -> Error

Device_type
^\s+Bluetooth\s+Link\.*\s${BLUETOOTH_LINK}
^\s+Microwave\s+Oven\.*\s${MICROWAVE}s*$$
^\s+802.11\s+FH\.*\s${DOT11_FH}s*$$
^\s+Bluetooth\s+Discovery\.*\s${BLUETOOTH_DISCOVERY}s*$$
^\s+TDD\s+Transmitter\.*\s${TDD_TRANSMIT}s*$$
^\s+Jammer\.*\s${JAMMER}s*$$
^\s+Continuous\s+Transmitter\.*\s${CONTINUOUS_TRANSMIT}s*$$
^\s+DECT-like\s+Phone\.*\s${DECT_LIKE_PHONE}s*$$
^\s+Video\s+Camera\.*\s${VIDEO_CAMERA}s*$$
^\s+802.15.4\.*\s${DOT15_4}s*$$
^\s+WiFi\s+Inverted\.*\s${WIFI_INVERTED}s*$$
^\s+WiFi\s+Invalid\s+Channel\.*\s${WIFI_INVALID_CHANNEL}s*$$
^\s+SuperAG\.*\s${SUPERAG}s*$$
^\s+Canopy\.*\s${CANOPY}s*$$
^\s+Microsoft\s+Device\.*\s${MICROSOFT_DEVICE}s*$$
^\s+WiMax\s+Mobile\.*\s${WIMAX_MOBILE}s*$$
^\s+WiMax\s+Fixed\.*\s${WIMAX_FIXED}s*$$
^\s+BLE\s+Beacon\.*\s${BLE_BEACON}s*$$
^\s+Interference\s+Device\s+Alarms\.*\s${INT_DEVICE_ALARM}s*$$
^\s+Interference\s+Device\s+Types\s+Triggering\s+Alarms\: -> Device_alarms
^\s*$$
^. -> Error

Device_alarms
^\s+Bluetooth\s+Link\.*\s${BLUETOOTH_LINK_ALARM}s*$$
^\s+Microwave\s+Oven\.*\s${MICROWAVE_ALARM}s*$$
^\s+802.11\s+FH\.*\s${DOT11_FH_ALARM}s*$$
^\s+Bluetooth\s+Discovery\.*\s${BLUETOOTH_DISCOVERY_ALARM}s*$$
^\s+TDD\s+Transmitter\.*\s${TDD_TRANSMIT_ALARM}s*$$
^\s+Jammer\.*\s${JAMMER_ALARM}s*$$
^\s+Continuous\s+Transmitter\.*\s${CONTINUOUS_TRANSMIT_ALARM}s*$$
^\s+DECT-like\s+Phone\.*\s${DECT_LIKE_PHONE_ALARM}s*$$
^\s+Video\s+Camera\.*\s${VIDEO_CAMERA_ALARM}s*$$
^\s+802.15.4\.*\s${DOT15_4_ALARM}s*$$
^\s+WiFi\s+Inverted\.*\s${WIFI_INVERTED_ALARM}s*$$
^\s+WiFi\s+Invalid\s+Channel\.*\s${WIFI_INVALID_CHANNEL_ALARM}s*$$
^\s+SuperAG\.*\s${SUPERAG_ALARM}s*$$
^\s+Canopy\.*\s${CANOPY_ALARM}s*$$
^\s+Microsoft\s+Device\.*\s${MICROSOFT_DEVICE_ALARM}s*$$
^\s+WiMax\s+Mobile\.*\s${WIMAX_MOBILE_ALARM}s*$$
^\s+WiMax\s+Fixed\.*\s${WIMAX_FIXED_ALARM}s*$$
^\s+BLE\s+Beacon\.*\s${BLE_BEACON_ALARM}s*$$
^Additional\s+Clean\s+Air\s+Settings\: -> Start
3 changes: 2 additions & 1 deletion templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,13 @@ 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_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[a|b] 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_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]]
cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]]
cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]]
cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]]
cisco_wlc_ssh_show_802.11ab.template, .*, cisco_wlc_ssh, show 802\.11a|b
cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[a|b]
cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]]

cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
parsed_sample:
- air_quality_alarm: Enabled
air_quality_period: '15'
air_quality_report: Enabled
aq_alarm_thresh: '35'
aq_unclassified_inter: Disabled
aq_unclassified_thresh: '20'
ble_beacon: ''
ble_beacon_alarm: ''
bluetooth_discovery: ''
bluetooth_discovery_alarm: ''
bluetooth_link: ''
bluetooth_link_alarm: ''
canopy: Enabled
canopy_alarm: Disabled
cleanair: Disabled
continuous_transmit: Enabled
continuous_transmit_alarm: Disabled
dect_like_phone: Enabled
dect_like_phone_alarm: Disabled
dot11_fh: ''
dot11_fh_alarm: ''
dot15_4: ''
dot15_4_alarm: ''
ed_rrm_sensitivity: Medium
ed_rrm_state: Disabled
ed_rrm_thresh: '50'
int_device_alarm: Enabled
interfere_device_report: Enabled
jammer: Enabled
jammer_alarm: Enabled
microsoft_device: ''
microsoft_device_alarm: ''
microwave: ''
microwave_alarm: ''
persistant_device_propagation: Disabled
persistant_device_state: Disabled
rogue_contribution: Disabled
rogue_duty_cycle_thresh: '80'
superag: Enabled
superag_alarm: Disabled
tdd_transmit: Enabled
tdd_transmit_alarm: Disabled
video_camera: Enabled
video_camera_alarm: Disabled
wifi_invalid_channel: Enabled
wifi_invalid_channel_alarm: Enabled
wifi_inverted: Enabled
wifi_inverted_alarm: Enabled
wimax_fixed: Enabled
wimax_fixed_alarm: Disabled
wimax_mobile: Enabled
wimax_mobile_alarm: Disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

Clean Air Solution............................... Disabled
Air Quality Settings:
Air Quality Reporting........................ Enabled
Air Quality Reporting Period (min)........... 15
Air Quality Alarms........................... Enabled
Air Quality Alarm Threshold................ 35
Unclassified Interference.................. Disabled
Unclassified Severity Threshold............ 20
Interference Device Settings:
Interference Device Reporting................ Enabled
Interference Device Types:
TDD Transmitter.......................... Enabled
Jammer................................... Enabled
Continuous Transmitter................... Enabled
DECT-like Phone.......................... Enabled
Video Camera............................. Enabled
WiFi Inverted............................ Enabled
WiFi Invalid Channel..................... Enabled
SuperAG.................................. Enabled
Canopy................................... Enabled
WiMax Mobile............................. Enabled
WiMax Fixed.............................. Enabled
Interference Device Alarms................... Enabled
Interference Device Types Triggering Alarms:
TDD Transmitter.......................... Disabled
Jammer................................... Enabled
Continuous Transmitter................... Disabled
DECT-like Phone.......................... Disabled
Video Camera............................. Disabled
WiFi Inverted............................ Enabled
WiFi Invalid Channel..................... Enabled
SuperAG.................................. Disabled
Canopy................................... Disabled
WiMax Mobile............................. Disabled
WiMax Fixed.............................. Disabled
Additional Clean Air Settings:
CleanAir ED-RRM State........................ Disabled
CleanAir ED-RRM Sensitivity.................. Medium
CleanAir ED-RRM Custom Threshold............. 50
CleanAir Rogue Contribution.................. Disabled
CleanAir Rogue Duty-Cycle Threshold.......... 80
CleanAir Persistent Devices state............ Disabled
CleanAir Persistent Device Propagation....... Disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
parsed_sample:
- air_quality_alarm: Enabled
air_quality_period: '15'
air_quality_report: Enabled
aq_alarm_thresh: '35'
aq_unclassified_inter: Disabled
aq_unclassified_thresh: '20'
ble_beacon: Enabled
ble_beacon_alarm: Disabled
bluetooth_discovery: Enabled
bluetooth_discovery_alarm: Disabled
bluetooth_link: Enabled
bluetooth_link_alarm: Disabled
canopy: Enabled
canopy_alarm: Disabled
cleanair: Disabled
continuous_transmit: Enabled
continuous_transmit_alarm: Disabled
dect_like_phone: Enabled
dect_like_phone_alarm: Disabled
dot11_fh: Enabled
dot11_fh_alarm: Disabled
dot15_4: Enabled
dot15_4_alarm: Disabled
ed_rrm_sensitivity: Medium
ed_rrm_state: Disabled
ed_rrm_thresh: '50'
int_device_alarm: Enabled
interfere_device_report: Enabled
jammer: Enabled
jammer_alarm: Enabled
microsoft_device: Enabled
microsoft_device_alarm: Disabled
microwave: Enabled
microwave_alarm: Disabled
persistant_device_propagation: Disabled
persistant_device_state: Disabled
rogue_contribution: Disabled
rogue_duty_cycle_thresh: '80'
superag: Enabled
superag_alarm: Disabled
tdd_transmit: Enabled
tdd_transmit_alarm: Disabled
video_camera: Enabled
video_camera_alarm: Disabled
wifi_invalid_channel: Enabled
wifi_invalid_channel_alarm: Enabled
wifi_inverted: Enabled
wifi_inverted_alarm: Enabled
wimax_fixed: Enabled
wimax_fixed_alarm: Disabled
wimax_mobile: Enabled
wimax_mobile_alarm: Disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

Clean Air Solution............................... Disabled
Air Quality Settings:
Air Quality Reporting........................ Enabled
Air Quality Reporting Period (min)........... 15
Air Quality Alarms........................... Enabled
Air Quality Alarm Threshold................ 35
Unclassified Interference.................. Disabled
Unclassified Severity Threshold............ 20
Interference Device Settings:
Interference Device Reporting................ Enabled
Interference Device Types:
Bluetooth Link........................... Enabled
Microwave Oven........................... Enabled
802.11 FH................................ Enabled
Bluetooth Discovery...................... Enabled
TDD Transmitter.......................... Enabled
Jammer................................... Enabled
Continuous Transmitter................... Enabled
DECT-like Phone.......................... Enabled
Video Camera............................. Enabled
802.15.4................................. Enabled
WiFi Inverted............................ Enabled
WiFi Invalid Channel..................... Enabled
SuperAG.................................. Enabled
Canopy................................... Enabled
Microsoft Device......................... Enabled
WiMax Mobile............................. Enabled
WiMax Fixed.............................. Enabled
BLE Beacon............................... Enabled
Interference Device Alarms................... Enabled
Interference Device Types Triggering Alarms:
Bluetooth Link........................... Disabled
Microwave Oven........................... Disabled
802.11 FH................................ Disabled
Bluetooth Discovery...................... Disabled
TDD Transmitter.......................... Disabled
Jammer................................... Enabled
Continuous Transmitter................... Disabled
DECT-like Phone.......................... Disabled
Video Camera............................. Disabled
802.15.4................................. Disabled
WiFi Inverted............................ Enabled
WiFi Invalid Channel..................... Enabled
SuperAG.................................. Disabled
Canopy................................... Disabled
Microsoft Device......................... Disabled
WiMax Mobile............................. Disabled
WiMax Fixed.............................. Disabled
BLE Beacon............................... Disabled
Additional Clean Air Settings:
CleanAir ED-RRM State........................ Disabled
CleanAir ED-RRM Sensitivity.................. Medium
CleanAir ED-RRM Custom Threshold............. 50
CleanAir Rogue Contribution.................. Disabled
CleanAir Rogue Duty-Cycle Threshold.......... 80
CleanAir Persistent Devices state............ Disabled
CleanAir Persistent Device Propagation....... Disabled

0 comments on commit 3dd862a

Please sign in to comment.