forked from cisco-en-programmability/catalystcenter-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccesspoint_workflow_manager.py
More file actions
4678 lines (4322 loc) · 237 KB
/
Copy pathaccesspoint_workflow_manager.py
File metadata and controls
4678 lines (4322 loc) · 237 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2024, Cisco Systems
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
__author__ = ("A Mohamed Rafeek, Megha Kandari, Sonali Deepthi Kesali, Natarajan, Madhan Sankaranarayanan, Abhishek Maheshwari")
DOCUMENTATION = r"""
---
module: accesspoint_workflow_manager
short_description: Manage Cisco Catalyst Center access points
description:
- Manage access point configurations in Cisco Catalyst Center.
- Configure individual AP settings including radio interfaces, controller assignments, and location parameters.
- Perform bulk configuration updates across multiple access points of the same series.
- Execute lifecycle operations including AP reboot and factory reset for up to 100 devices.
- Provision access points to sites and assign RF profiles (HIGH, LOW, TYPICAL, or custom).
- Support advanced radio configurations for 2.4GHz, 5GHz, 6GHz, XOR, and TRI radio interfaces.
- Compare current configurations with desired state to apply only necessary changes.
- Identify access points using MAC address, hostname, or management IP address.
version_added: "6.17.0"
extends_documentation_fragment:
- cisco.catalystcenter.workflow_manager_params
author:
- A Mohamed Rafeek (@mabdulk2)
- Sonali Deepthi Kesali (@skesali)
- Megha Kandari (@mekandar)
- Natarajan (@natarajan)
- Madhan Sankaranarayanan (@madhansansel)
- Abhishek Maheshwari (@abmahesh)
options:
config_verify:
description: >
Indicates whether configuration verification is enabled.
This flag is always set to false. As a result, some field changes
may not exhibit idempotent behavior due to Access Point reboots.
type: bool
default: false
state:
description: The desired state of the device replacement workflow.
type: str
choices: ["merged", "deleted"]
default: merged
catalystcenter_api_task_timeout:
description: The number of times to retry resynchronization.
type: int
default: 1200
catalystcenter_task_poll_interval:
description: The interval, in seconds, for polling Cisco Catalyst Center.
type: int
default: 2
next_task_after_interval:
description: Time in seconds between Provision and AP updated execution
type: int
default: 5
config:
description: List of details of AP being managed.
type: list
elements: dict
required: true
suboptions:
mac_address:
description: |
The MAC address used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
hostname:
description: |
The Host Name used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
management_ip_address:
description: |
The Management IP Address used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
rf_profile:
description: |
Specifies the Radio Frequency (RF) profile name for the Access Point. It can be one of the standard profiles
"HIGH", "LOW", "TYPICAL", or a custom profile that has been created. For example, "HIGH".
type: str
required: false
site:
description: Current site details where the Access Point is located.
type: dict
suboptions:
floor:
description: Floor details of the current site.
type: dict
required: false
suboptions:
name:
description: Name of the floor. For example, "FLOOR1".
type: str
required: false
parent_name:
description: Parent name of the floor in the site hierarchy. For example,
"Global/USA/New York/BLDNYC".
type: str
required: false
ap_name:
description: Current AP name that needs to be changed along with the new AP
name. For example, "Test2".
type: str
required: false
admin_status:
description: Status of the AP configuration. Accepts "Enabled" or "Disabled".
For example, "Enabled".
type: str
required: false
led_status:
description: >
Specifies led status for the access point accepts "Enabled" or "Disabled".
When a led brightness level is provided, the led status defaults to "Enabled".
For example, "Enabled".
type: str
required: false
led_brightness_level:
description: Brightness level of the AP's LED. Accepts values from 1 to 8.
For example, 3.
type: int
required: false
ap_mode:
description: |
Defines the operational mode of the Access Point (AP), which determines its primary function.
- C(Local): The default mode where the AP serves wireless clients by tunneling
all client traffic to the controller. Radio parameters (For example, C(2.4ghz_radio),
C(5ghz_radio)) can only be modified when the AP is in this mode.
- C(Monitor): The AP does not serve clients but actively monitors the RF environment
for rogue devices, interference, and supports features like Radio Resource Management (RRM)
and Intrusion Detection System (IDS).
- C(Sniffer): The AP is dedicated to capturing all 802.11 packets on a specific channel
and forwarding them to a remote machine for analysis with tools like Wireshark.
- C(Bridge): The AP acts as a dedicated point-to-point or point-to-multipoint bridge to
connect different network segments wirelessly. Clients cannot connect to the AP in this mode.
Note: Changing the AP mode may cause the AP to reboot. Not all AP models support all modes.
type: str
required: false
location:
description: Location name of the AP. Provide this data if a change is required.
For example, "Bangalore".
type: str
required: false
is_assigned_site_as_location:
description: |
- Determines whether the access point's location is automatically set to its assigned site.
- When set to C(Enabled), the assigned site is used as the location and no manual location configuration is needed.
- When set to C(Disabled), the location must be specified manually.
- Accepted values are C(Enabled) and C(Disabled).
- Note: Idempotent behavior is not supported for this field; repeated runs may not guarantee consistent results.
type: str
choices: ["Enabled", "Disabled"]
required: false
failover_priority:
description: Priority order for failover in AP configuration. Accepts "Low",
"Medium", "High", or "Critical".
type: str
required: false
clean_air_si_2.4ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 2.4GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
clean_air_si_5ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 5GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
clean_air_si_6ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 6GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
primary_controller_name:
description: |
Name or identifier of the primary wireless LAN controller (WLC) managing the Access Point (AP).
For example, "SJ-EWLC-1".
type: str
required: false
primary_ip_address:
description: IP address of the primary wireless LAN controller (WLC) managing
the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller. For example,
"10.0.0.3".
type: str
required: true
secondary_controller_name:
description: |
Name or identifier of the secondary wireless LAN controller (WLC) managing the Access Point (AP).
To modify only the primary controller, set the secondary and tertiary controller names
to "Inherit from site / Clear".
type: str
required: false
secondary_ip_address:
description: IP address of the secondary wireless LAN controller (WLC) managing
the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller. For example,
"10.0.0.3".
type: str
required: true
tertiary_controller_name:
description: |
Name or identifier of the tertiary wireless LAN controller (WLC) managing the Access Point (AP).
To modify only the primary controller, set the secondary and tertiary controller names
to "Inherit from site / Clear".
type: str
required: false
tertiary_ip_address:
description: IP address of the tertiary wireless LAN controller (WLC) managing
the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller. For example,
"10.0.0.2".
type: str
required: true
2.4ghz_radio:
description: |
Configuration options for the 2.4GHz radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the 2.4GHz radio interface. For
example, "Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the 2.4GHz radio interface.
For example, "other".
type: str
required: false
antenna_gain:
description: |
Specifies the antenna gain value in decibels (dB) for the 2.4GHz radio interface,
and antenna gain must be greater than cable loss.
Valid values range from 0 to 20. For example, 10.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the 2.4GHz radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the 2.4GHz radio interface. Valid values are from 0 to 20.
This value must be less than the antenna gain. For example, 2.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the 2.4GHz radio interface.
For example, "other".
type: str
required: false
channel_assignment_mode:
description: >
Specifies the channel assignment for the 2.4GHz radio interface.
If the channel assignment is set to "Global", the channel_number is not required.
When a channel_number is provided, the channel assignment defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
channel_number:
description: >
Defines the custom channel number for the 2.4GHz radio interface.
When a channel number is provided, the channel assignment defaults to "Custom".
Valid values range from 1 to 14. For example: 3.
type: int
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the 2.4GHz radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
power_level:
description: >
Defines the custom power level for the 2.4GHz radio interface.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Valid values range from 1 to 8. For example: 3.
type: int
required: false
5ghz_radio:
description: >
Configuration options for the 5GHz radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the 5GHz radio interface. For example,
"Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the 5GHz radio interface.
For example, "other".
type: str
required: false
antenna_gain:
description: |
Antenna gain value in decibels (dB) for the 5GHz radio interface,
and antenna gain must be greater than cable loss.
Valid values range from 0 to 20. For example, 5.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the 5GHz radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the 5GHz radio interface. Valid values are from 0 to 20.
This value must be less than the antenna gain. For example, 3.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the 5GHz radio interface.
For example, "other".
type: str
required: false
channel_assignment_mode:
description: >
Specifies the channel assignment for the 5GHz radio interface.
If the channel assignment is set to "Global", the channel_number is not required.
When a channel_number is provided, the channel assignment defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
channel_number:
description: >
Defines the custom channel number for the 5GHz radio interface.
When a channel number is provided, the channel assignment defaults to "Custom".
Valid values range from 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120,
124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165, 169, 173.
For example: 36.
type: int
required: false
channel_width:
description: |
Width of the channel configured for the 5GHz radio interface. Accepts values
"20 MHz", "40 MHz", "80 MHz" or "160 MHz". For example, 20 MHz.
type: str
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the 5 GHz radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
power_level:
description: >
Defines the custom power level for the 5 GHz radio interface.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Valid values range from 1 to 8. For example: 3.
type: int
required: false
6ghz_radio:
description: |
Configuration options for the 6GHz radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the 6GHz radio interface. For example,
"Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the 6GHz radio interface.
For example, "other".
type: str
required: false
antenna_gain:
description: |
Antenna gain value in decibels (dB) for the 6GHz radio interface,
and antenna gain must be greater than cable loss. Valid values range
from 0 to 40. For example, 10.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the 6GHz radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the 6GHz radio interface. Valid values are from 0 to 40.
This value must be less than the antenna gain. For example, 10.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the 6GHz radio interface.
For example, "other".
type: str
required: false
channel_assignment_mode:
description: >
Specifies the channel assignment for the 6GHz radio interface.
If the channel assignment is set to "Global", the channel_number is not required.
When a channel_number is provided, the channel assignment defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
channel_number:
description: >
Defines the custom channel number for the 6GHz radio interface.
When a channel number is provided, the channel assignment defaults to "Custom".
Valid values range from 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53,
57, 61, 65, 69, 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 113, 117, 121,
125, 129, 133, 137, 141, 145, 149, 153, 157, 161, 165, 169, 173, 177, 181,
185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 233.
For example: 53.
type: int
required: false
channel_width:
description: |
Width of the channel configured for the 6GHz radio interface. Accepts values
"20 MHz", "40 MHz", "80 MHz", "160 MHz" or "320 MHz". For example, 20 MHz.
type: str
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the 6GHz radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
power_level:
description: >
Defines the custom power level for the 6GHz radio interface.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Valid values range from 1 to 8. For example: 3.
type: int
required: false
xor_radio:
description: |
Configuration options for the XOR radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the XOR radio interface. For example,
"Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the XOR radio interface.
For example, "other".
type: str
required: false
antenna_gain:
description: |
Antenna gain value in decibels (dB) for the XOR radio interface,
and antenna gain must be greater than cable loss. Valid values range
from 0 to 40. For example, 14.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the xor radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
If "radio_role_assignment" is set to "Client-serving" only the power level and channel number can be changed.
Additionally, if the 5 GHz band is selected in the radio band, the power level cannot be modified.
For example, "Auto".
type: str
required: false
radio_band:
description: |
Radio band should be enabled if the radio role assignment is set to "Client-serving" mode.
Accepts "2.4 GHz" or "5 GHz" or "6 GHz".
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the XOR radio interface. Valid values are from 0 to 40.
This value must be less than the antenna gain. For example, 5.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the XOR radio interface.
For example, "other".
type: str
required: false
channel_assignment_mode:
description: |
If the channel assignment mode is set to "Global", the channel number is not required.
When a channel number is provided, the channel assignment mode defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
- For "Custom" mode and a radio band of "2.4 GHz", valid values are from 1 to 14.
- For "Custom" mode and a radio band of "5 GHz", valid values are
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108,
112, 116, 120, 124, 128, 132, 136, 140, 144,
149, 153, 157, 161, 165, 169, 173.
- For "Custom" mode and a radio band of "6 GHz", valid values are
1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49,
53, 57, 61, 65, 69, 73, 77, 81, 85, 89, 93, 97,
101, 105, 109, 113, 117, 121, 125, 129, 133, 137,
141, 145, 149, 153, 157, 161, 165, 169, 173, 177,
181, 185, 189, 193, 197, 201, 205, 209, 213, 217,
221, 225, 229, 233.
For example, "Custom".
type: str
required: false
channel_number:
description: Custom channel number configured for the XOR radio interface.
- For "Custom" mode and a radio band of "2.4 GHz", valid values are from 1 to 14.
- For "Custom" mode and a radio band of "5 GHz", valid values are
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108,
112, 116, 120, 124, 128, 132, 136, 140, 144,
149, 153, 157, 161, 165, 169, 173.
- For "Custom" mode and a radio band of "6 GHz", valid values are
1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49,
53, 57, 61, 65, 69, 73, 77, 81, 85, 89, 93, 97,
101, 105, 109, 113, 117, 121, 125, 129, 133, 137,
141, 145, 149, 153, 157, 161, 165, 169, 173, 177,
181, 185, 189, 193, 197, 201, 205, 209, 213, 217,
221, 225, 229, 233.
For example, 6.
type: int
required: false
channel_width:
description: |
Width of the channel configured for the XOR radio interface. Accepts values
"20 MHz", "40 MHz", "80 MHz", "160 MHz" or "320 MHz". For example, 20 MHz.
type: str
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the XOR radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
power_level:
description: >
Defines the custom power level for the XOR radio interface.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Valid values range from 1 to 8. For example: 3.
type: int
required: false
tri_radio:
description: |
Configuration options for the TRI radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the TRI radio interface. For example,
"Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the TRI radio interface.
For example, "other".
type: str
required: false
antenna_gain:
description: |
Antenna gain value in decibels (dB) for the TRI radio interface,
and antenna gain must be greater than cable loss. Valid values range
from 0 to 40. For example, 16.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the TRI radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the TRI radio interface. Valid values are from 0 to 40.
This value must be less than the antenna gain. For example, 6.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the TRI radio interface.
For example, "other".
type: str
required: false
channel_assignment_mode:
description: |
Specifies the channel assignment mode for the TRI radio interface.
If the channel assignment mode is set to "Global", the channel number is not required.
When a channel number is provided, the channel assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
For Custom, it accepts values like 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128,
132, 136, 140, 144, 149, 153, 157, 161, 165, 169, 173. (eg. Custom)
type: str
required: false
channel_number:
description: Custom channel number configured for the TRI radio interface.
For Custom, it accepts values like 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128,
132, 136, 140, 144, 149, 153, 157, 161, 165, 169, 173. (eg. Custom)
For example, 36.
type: int
required: false
channel_width:
description: |
Width of the channel configured for the TRI radio interface. Accepts values
"20 MHz", "40 MHz", "80 MHz", "160 MHz", or "320 MHz". For example, 20 MHz.
type: str
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the TRI radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
power_level:
description: >
Defines the custom power level for the TRI radio interface.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Valid values range from 1 to 8. For example: 3.
type: int
required: false
dual_radio_mode:
description: |
Mode of operation configured for the TRI radio interface. Specifies how the
access point (AP) manages its dual radio functionality. For example, Auto.
type: str
required: false
ap_selected_fields:
description: When enabling the verify flag "config_verify" to see only the filter
field of the AP details in the output. (eg.
"id,hostname,family,type,mac_address,management_ip_address,ap_ethernet_mac_address")
type: str
required: false
ap_config_selected_fields:
description: |
When enabling the verify flag "config_verify" to see only the filter field of the AP configuration in the output.
(eg. "mac_address,eth_mac,ap_name,led_brightness_level,led_status,location,radioDTOs")
type: str
required: false
reboot_aps:
description: |
Reboot one or more access points (APs) identified by their MAC addresses, hostnames, or management IP addresses.
At least one of the following parameters is required:
- mac_addresses
- hostnames
- management_ip_addresses
type: dict
required: false
suboptions:
mac_addresses:
description: A list of MAC addresses used to identify the access points
for rebooting.
type: list
elements: str
required: false
hostnames:
description: |
A list of hostnames used to identify the access points for rebooting.
type: list
elements: str
required: false
management_ip_addresses:
description: |
A list of management IP addresses used to identify the access points for rebooting.
type: list
elements: str
required: false
factory_reset_aps:
description: |
Factory reset one or more access points (APs) identified by their MAC addresses, hostnames, or management IP addresses.
At least one of the following parameters is required:
- mac_addresses
- hostnames
- management_ip_addresses
type: dict
required: false
suboptions:
mac_addresses:
description: A list of MAC addresses used to identify the access points
for factory reset.
type: list
elements: str
required: false
hostnames:
description: |
A list of hostnames used to identify the access points for factory reset.
type: list
elements: str
required: false
management_ip_addresses:
description: |
A list of management IP addresses used to identify the access points for factory reset.
type: list
elements: str
required: false
bulk_update_aps:
description: |
Perform a bulk update on multiple access points (APs) of the same series,
identified by one or more of the following parameters:
- mac_address
- hostname
- management_ip_address
At least one of these parameters must be specified to identify the APs for updating.
type: dict
required: false
suboptions:
ap_identifier:
description: |
AP identifier is a list of dict which contains MAC address, hostname, or management IP address
which is used to identify the access points for bulk updated with AP Name to update the access point.
type: list
elements: str
required: true
suboptions:
mac_address:
description: |
The MAC address used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
hostname:
description: |
The Host Name used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
management_ip_address:
description: |
The Management IP Address used to identify the device. If provided, it cannot be modified.
To identify the specific access point, at least one of the following parameters is required.
- mac_address
- hostname
- management_ip_address
type: str
required: true
ap_name:
description: Current AP name that needs to be changed along with the
new AP name. For example, "Test2".
type: str
required: false
common_fields_to_change:
description: |
Common fields to change AP is a dict which contains below data which is needed to update all listed access points.
type: dict
required: true
suboptions:
admin_status:
description: Status of the AP configuration. Accepts "Enabled" or
"Disabled". For example, "Enabled".
type: str
required: false
led_status:
description: >
Specifies led status for the access point accepts "Enabled" or "Disabled".
When a led brightness level is provided, the led status defaults to "Enabled".
For example, "Enabled".
type: str
required: false
led_brightness_level:
description: Brightness level of the AP's LED. Accepts values from
1 to 8. For example, 3.
type: int
required: false
ap_mode:
description: |
Defines the mode of operation for the Access Point (AP). Possible values include "Local",
"Monitor", "Sniffer", or "Bridge". For example, "Local".
type: str
required: false
location:
description: Location name of the AP. Provide this data if a change
is required. For example, "Bangalore".
type: str
required: false
is_assigned_site_as_location:
description: |
Configures whether the access point location is automatically set to the site assigned to the access point.
Accepts "Enabled" or "Disabled". If set to "Enabled", no additional location configuration is required.
type: str
required: false
failover_priority:
description: Priority order for failover in AP configuration. Accepts
"Low", "Medium", "High", or "Critical".
type: str
required: false
clean_air_si_2.4ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 2.4GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
clean_air_si_5ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 5GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
clean_air_si_6ghz:
description: |
Clean Air Spectrum Intelligence (SI) feature status for the 6GHz band.
Indicates whether Clean Air Spectrum Intelligence is enabled or disabled.
For example, "Enabled".
type: str
required: false
primary_controller_name:
description: |
Name or identifier of the primary wireless LAN controller (WLC) managing the Access Point (AP).
For example, "SJ-EWLC-1".
type: str
required: false
primary_ip_address:
description: IP address of the primary wireless LAN controller (WLC)
managing the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller.
For example, "10.0.0.3".
type: str
required: false
secondary_controller_name:
description: |
Name or identifier of the secondary wireless LAN controller (WLC) managing the Access Point (AP).
To modify only the primary controller, set the secondary and tertiary controller names
to "Inherit from site / Clear".
type: str
required: false
secondary_ip_address:
description: IP address of the secondary wireless LAN controller (WLC)
managing the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller.
For example, "10.0.0.3".
type: str
required: false
tertiary_controller_name:
description: |
Name or identifier of the tertiary wireless LAN controller (WLC) managing the Access Point (AP).
To modify only the primary controller, set the secondary and tertiary controller names
to "Inherit from site / Clear".
type: str
required: false
tertiary_ip_address:
description: IP address of the tertiary wireless LAN controller (WLC)
managing the Access Point (AP).
type: dict
required: false
suboptions:
address:
description: IP address of the primary wireless LAN controller.
For example, "10.0.0.2".
type: str
required: false
2.4ghz_radio:
description: |
Configuration options for the 2.4GHz radio interface.
Note: Updating access point radio configuration varies based on each model.
Refer to the respective access point documentation before updating the radio configuration.
type: dict
required: false
suboptions:
admin_status:
description: Administrative status for the 2.4GHz radio interface.
For example, "Enabled".
type: str
required: false
antenna_name:
description: Name or type of antenna used for the 2.4GHz radio
interface. For example, "other".
type: str
required: false
antenna_gain:
description: |
Specifies the antenna gain value in decibels (dB) for the 2.4GHz radio interface,
and antenna gain must be greater than cable loss. Valid values range
from 0 to 20. For example, 10.
type: int
required: false
radio_role_assignment:
description: |
Defines the operational role for the 2.4GHz radio interface.
- C(Auto): The controller automatically manages the radio's role. This is the default behavior.
- C(Client-serving): The radio is dedicated to serving wireless clients.
- C(Monitor): The radio is dedicated to monitoring the RF environment and does not serve clients.
Note: This parameter, along with all other radio settings, can only be modified when
the access point's C(ap_mode) is set to C(Local).
type: str
required: false
cable_loss:
description: |
Cable loss in dB for the 2.4GHz radio interface. Valid values are from 0 to 20.
This value must be less than the antenna gain. For example, 2.
type: int
required: false
antenna_cable_name:
description: Name or type of antenna cable used for the 2.4GHz
radio interface. For example, "other".
type: str
required: false
channel_assignment_mode:
description: >
Specifies the channel assignment for the 2.4GHz radio interface.
If the channel assignment is set to "Global", the channel_number is not required.
When a channel_number is provided, the channel assignment defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false
channel_number:
description: >
Defines the custom channel number for the 2.4GHz radio interface.
When a channel number is provided, the channel assignment defaults to "Custom".
Valid values range from 1 to 14. For example: 3.
type: int
required: false
power_assignment_mode:
description: >
Specifies the power assignment mode for the 2.4GHz radio interface.
If the power assignment mode is set to "Global", the power level is not required.
When a power level is provided, the power assignment mode automatically defaults to "Custom".
Accepts "Global" or "Custom". For example: "Global".
type: str
required: false