Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/networks_wireless_ssids.py

raw
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Copyright (c) 2021, Cisco Systems
5 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 DOCUMENTATION = r"""
8 module: networks_wireless_ssids
9 short_description: Resource module for networks _wireless _ssids
10 description:
11 - Manage operation update of the resource networks _wireless _ssids.
12 - Update the attributes of an MR SSID.
13 version_added: '1.0.0'
14 extends_documentation_fragment:
15 - cisco.meraki.module
16 author: Francisco Munoz (@fmunoz)
17 options:
18 activeDirectory:
19 description: The current setting for Active Directory. Only valid if splashPage
20 is 'Password-protected with Active Directory'.
21 suboptions:
22 credentials:
23 description: (Optional) The credentials of the user account to be used by
24 the AP to bind to your Active Directory server. The Active Directory account
25 should have permissions on all your Active Directory servers. Only valid
26 if the splashPage is 'Password-protected with Active Directory'.
27 suboptions:
28 logonName:
29 description: The logon name of the Active Directory account.
30 type: str
31 password:
32 description: The password to the Active Directory user account.
33 type: str
34 type: dict
35 servers:
36 description: The Active Directory servers to be used for authentication.
37 elements: dict
38 suboptions:
39 host:
40 description: IP address (or FQDN) of your Active Directory server.
41 type: str
42 port:
43 description: (Optional) UDP port the Active Directory server listens on.
44 By default, uses port 3268.
45 type: int
46 type: list
47 type: dict
48 adaptivePolicyGroupId:
49 description: Adaptive policy group ID this SSID is assigned to.
50 type: str
51 adultContentFilteringEnabled:
52 description: Boolean indicating whether or not adult content will be blocked.
53 type: bool
54 apTagsAndVlanIds:
55 description: The list of tags and VLAN IDs used for VLAN tagging. This param is
56 only valid when the ipAssignmentMode is 'Bridge mode' or 'Layer 3 roaming'.
57 elements: dict
58 suboptions:
59 tags:
60 description: Array of AP tags.
61 elements: str
62 type: list
63 vlanId:
64 description: Numerical identifier that is assigned to the VLAN.
65 type: int
66 type: list
67 authMode:
68 description: The association control method for the SSID ('open', 'open-enhanced',
69 'psk', 'open-with-radius', 'open-with-nac', '8021x-meraki', '8021x-nac', '8021x-radius',
70 '8021x-google', '8021x-entra', '8021x-localradius', 'ipsk-with-radius', 'ipsk-without-radius',
71 'ipsk-with-nac' or 'ipsk-with-radius-easy-psk').
72 type: str
73 availabilityTags:
74 description: Accepts a list of tags for this SSID. If availableOnAllAps is false,
75 then the SSID will only be broadcast by APs with tags matching any of the tags
76 in this list.
77 elements: str
78 type: list
79 availableOnAllAps:
80 description: Boolean indicating whether all APs should broadcast the SSID or if
81 it should be restricted to APs matching any availability tags. Can only be false
82 if the SSID has availability tags.
83 type: bool
84 bandSelection:
85 description: The client-serving radio frequencies of this SSID in the default
86 indoor RF profile. ('Dual band operation', '5 GHz band only' or 'Dual band operation
87 with Band Steering').
88 type: str
89 concentratorNetworkId:
90 description: The concentrator to use when the ipAssignmentMode is 'Layer 3 roaming
91 with a concentrator' or 'VPN'.
92 type: str
93 defaultVlanId:
94 description: The default VLAN ID used for 'all other APs'. This param is only
95 valid when the ipAssignmentMode is 'Bridge mode' or 'Layer 3 roaming'.
96 type: int
97 disassociateClientsOnVpnFailover:
98 description: Disassociate clients when 'VPN' concentrator failover occurs in order
99 to trigger clients to re-associate and generate new DHCP requests. This param
100 is only valid if ipAssignmentMode is 'VPN'.
101 type: bool
102 dnsRewrite:
103 description: DNS servers rewrite settings.
104 suboptions:
105 dnsCustomNameservers:
106 description: User specified DNS servers (up to two servers).
107 elements: str
108 type: list
109 enabled:
110 description: Boolean indicating whether or not DNS server rewrite is enabled.
111 If disabled, upstream DNS will be used.
112 type: bool
113 type: dict
114 dot11r:
115 description: The current setting for 802.11r.
116 suboptions:
117 adaptive:
118 description: (Optional) Whether 802.11r is adaptive or not.
119 type: bool
120 enabled:
121 description: Whether 802.11r is enabled or not.
122 type: bool
123 type: dict
124 dot11w:
125 description: The current setting for Protected Management Frames (802.11w).
126 suboptions:
127 enabled:
128 description: Whether 802.11w is enabled or not.
129 type: bool
130 required:
131 description: (Optional) Whether 802.11w is required or not.
132 type: bool
133 type: dict
134 enabled:
135 description: Whether or not the SSID is enabled.
136 type: bool
137 encryptionMode:
138 description: The psk encryption mode for the SSID ('wep' or 'wpa'). This param
139 is only valid if the authMode is 'psk'.
140 type: str
141 enterpriseAdminAccess:
142 description: Whether or not an SSID is accessible by 'enterprise' administrators
143 ('access disabled' or 'access enabled').
144 type: str
145 gre:
146 description: Ethernet over GRE settings.
147 suboptions:
148 concentrator:
149 description: The EoGRE concentrator's settings.
150 suboptions:
151 host:
152 description: The EoGRE concentrator's IP or FQDN. This param is required
153 when ipAssignmentMode is 'Ethernet over GRE'.
154 type: str
155 type: dict
156 key:
157 description: Optional numerical identifier that will add the GRE key field
158 to the GRE header. Used to identify an individual traffic flow within a
159 tunnel.
160 type: int
161 type: dict
162 ipAssignmentMode:
163 description: The client IP assignment mode ('NAT mode', 'Bridge mode', 'Layer
164 3 roaming', 'Ethernet over GRE', 'Layer 3 roaming with a concentrator', 'VPN'
165 or 'Campus Gateway').
166 type: str
167 lanIsolationEnabled:
168 description: Boolean indicating whether Layer 2 LAN isolation should be enabled
169 or disabled. Only configurable when ipAssignmentMode is 'Bridge mode'.
170 type: bool
171 ldap:
172 description: The current setting for LDAP. Only valid if splashPage is 'Password-protected
173 with LDAP'.
174 suboptions:
175 baseDistinguishedName:
176 description: The base distinguished name of users on the LDAP server.
177 type: str
178 credentials:
179 description: (Optional) The credentials of the user account to be used by
180 the AP to bind to your LDAP server. The LDAP account should have permissions
181 on all your LDAP servers.
182 suboptions:
183 distinguishedName:
184 description: The distinguished name of the LDAP user account (example
185 cn=user,dc=meraki,dc=com).
186 type: str
187 password:
188 description: The password of the LDAP user account.
189 type: str
190 type: dict
191 serverCaCertificate:
192 description: The CA certificate used to sign the LDAP server's key.
193 suboptions:
194 contents:
195 description: The contents of the CA certificate. Must be in PEM or DER
196 format.
197 type: str
198 type: dict
199 servers:
200 description: The LDAP servers to be used for authentication.
201 elements: dict
202 suboptions:
203 host:
204 description: IP address (or FQDN) of your LDAP server.
205 type: str
206 port:
207 description: UDP port the LDAP server listens on.
208 type: int
209 type: list
210 type: dict
211 localAuthFallback:
212 description: The current configuration for Local Authentication Fallback. Enables
213 the Access Point (AP) to store client authentication data for a specified duration
214 that can be adjusted as needed.
215 suboptions:
216 cacheTimeout:
217 description: The duration (in seconds) for which auths are cached. The timeout
218 is measured from the user's most recent non-cached authentication to the
219 network. Between 3600 (1 hour) and 86400 (1 day).
220 type: int
221 enabled:
222 description: If true, MR devices will cache authentication credentials for
223 EAP-TLS or for MAC based authentication.
224 type: bool
225 serverCaCertificate:
226 description: The Server CA Certificate used to sign the client certificate.
227 suboptions:
228 contents:
229 description: The contents of the Server CA Certificate. Must be in PEM
230 or DER format.
231 type: str
232 type: dict
233 type: dict
234 localRadius:
235 description: The current setting for Local Authentication, a built-in RADIUS server
236 on the access point. Only valid if authMode is '8021x-localradius'.
237 suboptions:
238 cacheTimeout:
239 description: The duration (in seconds) for which LDAP and OCSP lookups are
240 cached.
241 type: int
242 certificateAuthentication:
243 description: The current setting for certificate verification.
244 suboptions:
245 clientRootCaCertificate:
246 description: The Client CA Certificate used to sign the client certificate.
247 suboptions:
248 contents:
249 description: The contents of the Client CA Certificate. Must be in
250 PEM or DER format.
251 type: str
252 type: dict
253 enabled:
254 description: Whether or not to use EAP-TLS certificate-based authentication
255 to validate wireless clients.
256 type: bool
257 ocspResponderUrl:
258 description: (Optional) The URL of the OCSP responder to verify client
259 certificate status.
260 type: str
261 useLdap:
262 description: Whether or not to verify the certificate with LDAP.
263 type: bool
264 useOcsp:
265 description: Whether or not to verify the certificate with OCSP.
266 type: bool
267 type: dict
268 passwordAuthentication:
269 description: The current setting for password-based authentication.
270 suboptions:
271 enabled:
272 description: Whether or not to use EAP-TTLS/PAP or PEAP-GTC password-based
273 authentication via LDAP lookup.
274 type: bool
275 type: dict
276 type: dict
277 mandatoryDhcpEnabled:
278 description: If true, Mandatory DHCP will enforce that clients connecting to this
279 SSID must use the IP address assigned by the DHCP server. Clients who use a
280 static IP address won't be able to associate.
281 type: bool
282 minBitrate:
283 description: The minimum bitrate in Mbps of this SSID in the default indoor RF
284 profile. ('1', '2', '5.5', '6', '9', '11', '12', '18', '24', '36', '48' or '54').
285 type: float
286 name:
287 description: The name of the SSID.
288 type: str
289 namedVlans:
290 description: Named VLAN settings.
291 suboptions:
292 radius:
293 description: RADIUS settings. This param is only valid when authMode is 'open-with-radius'
294 and ipAssignmentMode is not 'NAT mode'.
295 suboptions:
296 guestVlan:
297 description: Guest VLAN settings. Used to direct traffic to a guest VLAN
298 when none of the RADIUS servers are reachable or a client receives access-reject
299 from the RADIUS server.
300 suboptions:
301 enabled:
302 description: Whether or not RADIUS guest named VLAN is enabled.
303 type: bool
304 name:
305 description: RADIUS guest VLAN name.
306 type: str
307 type: dict
308 type: dict
309 tagging:
310 description: VLAN tagging settings. This param is only valid when ipAssignmentMode
311 is 'Bridge mode' or 'Layer 3 roaming'.
312 suboptions:
313 byApTags:
314 description: The list of AP tags and VLAN names used for named VLAN tagging.
315 If an AP has a tag matching one in the list, then traffic on this SSID
316 will be directed to use the VLAN name associated to the tag.
317 elements: dict
318 suboptions:
319 tags:
320 description: List of AP tags.
321 elements: str
322 type: list
323 vlanName:
324 description: VLAN name that will be used to tag traffic.
325 type: str
326 type: list
327 defaultVlanName:
328 description: The default VLAN name used to tag traffic in the absence
329 of a matching AP tag.
330 type: str
331 enabled:
332 description: Whether or not traffic should be directed to use specific
333 VLAN names.
334 type: bool
335 type: dict
336 type: dict
337 networkId:
338 description: NetworkId path parameter. Network ID.
339 type: str
340 number:
341 description: Number path parameter.
342 type: str
343 oauth:
344 description: The OAuth settings of this SSID. Only valid if splashPage is 'Google
345 OAuth'.
346 suboptions:
347 allowedDomains:
348 description: (Optional) The list of domains allowed access to the network.
349 elements: str
350 type: list
351 type: dict
352 perClientBandwidthLimitDown:
353 description: The download bandwidth limit in Kbps. (0 represents no limit.).
354 type: int
355 perClientBandwidthLimitUp:
356 description: The upload bandwidth limit in Kbps. (0 represents no limit.).
357 type: int
358 perSsidBandwidthLimitDown:
359 description: The total download bandwidth limit in Kbps. (0 represents no limit.).
360 type: int
361 perSsidBandwidthLimitUp:
362 description: The total upload bandwidth limit in Kbps. (0 represents no limit.).
363 type: int
364 psk:
365 description: The passkey for the SSID. This param is only valid if the authMode
366 is 'psk'.
367 type: str
368 radiusAccountingEnabled:
369 description: Whether or not RADIUS accounting is enabled. This param is only valid
370 if the authMode is 'open-with-radius', '8021x-radius' or 'ipsk-with-radius'.
371 type: bool
372 radiusAccountingInterimInterval:
373 description: The interval (in seconds) in which accounting information is updated
374 and sent to the RADIUS accounting server.
375 type: int
376 radiusAccountingServers:
377 description: The RADIUS accounting 802.1X servers to be used for authentication.
378 This param is only valid if the authMode is 'open-with-radius', '8021x-radius'
379 or 'ipsk-with-radius' and radiusAccountingEnabled is 'true'.
380 elements: dict
381 suboptions:
382 caCertificate:
383 description: Certificate used for authorization for the RADSEC Server.
384 type: str
385 host:
386 description: IP address (or FQDN) to which the APs will send RADIUS accounting
387 messages.
388 type: str
389 port:
390 description: Port on the RADIUS server that is listening for accounting messages.
391 type: int
392 radsecEnabled:
393 description: Use RADSEC (TLS over TCP) to connect to this RADIUS accounting
394 server. Requires radiusProxyEnabled.
395 type: bool
396 secret:
397 description: Shared key used to authenticate messages between the APs and
398 RADIUS server.
399 type: str
400 type: list
401 radiusAccountingStartDelay:
402 description: The delay (in seconds) before sending the first RADIUS accounting
403 start message. Must be between 0 and 60 seconds.
404 type: int
405 radiusAttributeForGroupPolicies:
406 description: Specify the RADIUS attribute used to look up group policies ('Filter-Id',
407 'Reply-Message', 'Airespace-ACL-Name' or 'Aruba-User-Role'). Access points must
408 receive this attribute in the RADIUS Access-Accept message.
409 type: str
410 radiusAuthenticationNasId:
411 description: The template of the NAS identifier to be used for RADIUS authentication
412 (ex. $NODE_MAC$ $VAP_NUM$).
413 type: str
414 radiusCalledStationId:
415 description: The template of the called station identifier to be used for RADIUS
416 (ex. $NODE_MAC$ $VAP_NUM$).
417 type: str
418 radiusCoaEnabled:
419 description: If true, Meraki devices will act as a RADIUS Dynamic Authorization
420 Server and will respond to RADIUS Change-of-Authorization and Disconnect messages
421 sent by the RADIUS server.
422 type: bool
423 radiusFailoverPolicy:
424 description: This policy determines how authentication requests should be handled
425 in the event that all of the configured RADIUS servers are unreachable ('Deny
426 access' or 'Allow access').
427 type: str
428 radiusFallbackEnabled:
429 description: Whether or not higher priority RADIUS servers should be retried after
430 60 seconds.
431 type: bool
432 radiusGuestVlanEnabled:
433 description: Whether or not RADIUS Guest VLAN is enabled. This param is only valid
434 if the authMode is 'open-with-radius' and addressing mode is not set to 'isolated'
435 or 'nat' mode.
436 type: bool
437 radiusGuestVlanId:
438 description: VLAN ID of the RADIUS Guest VLAN. This param is only valid if the
439 authMode is 'open-with-radius' and addressing mode is not set to 'isolated'
440 or 'nat' mode.
441 type: int
442 radiusLoadBalancingPolicy:
443 description: This policy determines which RADIUS server will be contacted first
444 in an authentication attempt and the ordering of any necessary retry attempts
445 ('Strict priority order' or 'Round robin').
446 type: str
447 radiusOverride:
448 description: If true, the RADIUS response can override VLAN tag. This is not valid
449 when ipAssignmentMode is 'NAT mode'.
450 type: bool
451 radiusProxyEnabled:
452 description: If true, Meraki devices will proxy RADIUS messages through the Meraki
453 cloud to the configured RADIUS auth and accounting servers.
454 type: bool
455 radiusRadsec:
456 description: The current settings for RADIUS RADSec.
457 suboptions:
458 tlsTunnel:
459 description: RADSec TLS tunnel settings.
460 suboptions:
461 timeout:
462 description: The interval (in seconds) to determines how long a TLS session
463 can remain idle for a RADSec server before it is automatically terminated.
464 type: int
465 type: dict
466 type: dict
467 radiusServerAttemptsLimit:
468 description: The maximum number of transmit attempts after which a RADIUS server
469 is failed over (must be between 1-5).
470 type: int
471 radiusServerTimeout:
472 description: The amount of time for which a RADIUS client waits for a reply from
473 the RADIUS server (must be between 1-10 seconds).
474 type: int
475 radiusServers:
476 description: The RADIUS 802.1X servers to be used for authentication. This param
477 is only valid if the authMode is 'open-with-radius', '8021x-radius' or 'ipsk-with-radius'.
478 elements: dict
479 suboptions:
480 caCertificate:
481 description: Certificate used for authorization for the RADSEC Server.
482 type: str
483 host:
484 description: IP address (or FQDN) of your RADIUS server.
485 type: str
486 openRoamingCertificateId:
487 description: The ID of the Openroaming Certificate attached to radius server.
488 type: int
489 port:
490 description: UDP port the RADIUS server listens on for Access-requests.
491 type: int
492 radsecEnabled:
493 description: Use RADSEC (TLS over TCP) to connect to this RADIUS server. Requires
494 radiusProxyEnabled.
495 type: bool
496 secret:
497 description: RADIUS client shared secret.
498 type: str
499 type: list
500 radiusTestingEnabled:
501 description: If true, Meraki devices will periodically send Access-Request messages
502 to configured RADIUS servers using identity 'meraki_8021x_test' to ensure that
503 the RADIUS servers are reachable.
504 type: bool
505 secondaryConcentratorNetworkId:
506 description: The secondary concentrator to use when the ipAssignmentMode is 'VPN'.
507 If configured, the APs will switch to using this concentrator if the primary
508 concentrator is unreachable. This param is optional. ('disabled' represents
509 no secondary concentrator.).
510 type: str
511 speedBurst:
512 description: The SpeedBurst setting for this SSID'.
513 suboptions:
514 enabled:
515 description: Boolean indicating whether or not to allow users to temporarily
516 exceed the bandwidth limit for short periods while still keeping them under
517 the bandwidth limit over time.
518 type: bool
519 type: dict
520 splashGuestSponsorDomains:
521 description: Array of valid sponsor email domains for sponsored guest splash type.
522 elements: str
523 type: list
524 splashPage:
525 description: The type of splash page for the SSID ('None', 'Click-through splash
526 page', 'Billing', 'Password-protected with Meraki RADIUS', 'Password-protected
527 with custom RADIUS', 'Password-protected with Active Directory', 'Password-protected
528 with LDAP', 'SMS authentication', 'Systems Manager Sentry', 'Facebook Wi-Fi',
529 'Google OAuth', 'Microsoft Entra ID', 'Sponsored guest', 'Cisco ISE' or 'Google
530 Apps domain').This attribute is not supported for template children.
531 type: str
532 useVlanTagging:
533 description: Whether or not traffic should be directed to use specific VLANs.
534 This param is only valid if the ipAssignmentMode is 'Bridge mode' or 'Layer
535 3 roaming'.
536 type: bool
537 visible:
538 description: Boolean indicating whether APs should advertise or hide this SSID.
539 APs will only broadcast this SSID if set to true.
540 type: bool
541 vlanId:
542 description: The VLAN ID used for VLAN tagging. This param is only valid when
543 the ipAssignmentMode is 'Layer 3 roaming with a concentrator' or 'VPN'.
544 type: int
545 walledGardenEnabled:
546 description: Allow access to a configurable list of IP ranges, which users may
547 access prior to sign-on.
548 type: bool
549 walledGardenRanges:
550 description: Specify your walled garden by entering an array of addresses, ranges
551 using CIDR notation, domain names, and domain wildcards (e.g. '192.168.1.1/24',
552 '192.168.37.10/32', 'www.yahoo.com', '*.google.com'). Meraki's splash page is
553 automatically included in your walled garden.
554 elements: str
555 type: list
556 wpaEncryptionMode:
557 description: The types of WPA encryption. ('WPA1 only', 'WPA1 and WPA2', 'WPA2
558 only', 'WPA3 Transition Mode', 'WPA3 only' or 'WPA3 192-bit Security').
559 type: str
560 requirements:
561 - meraki >= 2.4.9
562 - python >= 3.5
563 seealso:
564 - name: Cisco Meraki documentation for wireless updateNetworkWirelessSsid
565 description: Complete reference of the updateNetworkWirelessSsid API.
566 link: https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
567 notes:
568 - SDK Method used are
569 wireless.Wireless.update_network_wireless_ssid,
570 - Paths used are
571 put /networks/{networkId}/wireless/ssids/{number},
572 """
573
574 EXAMPLES = r"""
575 - name: Update by id
576 cisco.meraki.networks_wireless_ssids:
577 meraki_api_key: "{{ meraki_api_key }}"
578 meraki_base_url: "{{ meraki_base_url }}"
579 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
580 meraki_certificate_path: "{{ meraki_certificate_path }}"
581 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
582 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
583 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
584 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
585 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
586 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
587 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
588 meraki_output_log: "{{ meraki_output_log }}"
589 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
590 meraki_log_path: "{{ meraki_log_path }}"
591 meraki_print_console: "{{ meraki_print_console }}"
592 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
593 meraki_simulate: "{{ meraki_simulate }}"
594 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
595 meraki_caller: "{{ meraki_caller }}"
596 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
597 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
598 state: present
599 activeDirectory:
600 credentials:
601 logonName: user
602 password: password
603 servers:
604 - host: 127.0.0.1
605 port: 3268
606 adaptivePolicyGroupId: '1234'
607 adultContentFilteringEnabled: false
608 apTagsAndVlanIds:
609 - tags:
610 - tag1
611 - tag2
612 vlanId: 100
613 authMode: 8021x-radius
614 availabilityTags:
615 - tag1
616 - tag2
617 availableOnAllAps: false
618 bandSelection: 5 GHz band only
619 concentratorNetworkId: N_24329156
620 defaultVlanId: 1
621 disassociateClientsOnVpnFailover: false
622 dnsRewrite:
623 dnsCustomNameservers:
624 - 8.8.8.8
625 - 8.8.4.4
626 enabled: true
627 dot11r:
628 adaptive: true
629 enabled: true
630 dot11w:
631 enabled: true
632 required: false
633 enabled: true
634 encryptionMode: wpa
635 enterpriseAdminAccess: access enabled
636 gre:
637 concentrator:
638 host: 192.168.1.1
639 key: 5
640 ipAssignmentMode: NAT mode
641 lanIsolationEnabled: true
642 ldap:
643 baseDistinguishedName: dc=example,dc=com
644 credentials:
645 distinguishedName: cn=user,dc=example,dc=com
646 password: password
647 serverCaCertificate:
648 contents: '-----BEGIN CERTIFICATE----- MIIEKjCCAxKgAwIBAgIRANb+lsED3eb4+6YKLFFYqEkwDQYJKoZIhvcNAQELBQAw
649 gYcxCzAJBgNVBA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RKkOeZxAgF3VMxlsCuEl70s9oEfntwIpyQtSa jON/9yJHbwm/Az824bmk8Dc7AXIPhay+dftXb8j529gPuYB9AKoPNg0NctkyYCQh
658 a/3YQVdDWX7XgmEiXkL57M7G6+IdcPDONLArfjOcT9qHdkVVq1AIjlMSx3OQQmm/ uoLb/G9q/97QA2/l8shG/Na8HjVqGLcl5TNZdbNhs2w9ogxr/GNzqdvym6RQ8vT/
659 UR2n+uwH4n1MUxmHYYeyot5dnIV1IJ6hQ54JAncM9HvCLFk1WHz6RKshQUCuPBiJ wTw70BVktzJnb0VLeDg=
660 -----END CERTIFICATE-----'
661 servers:
662 - host: 127.0.0.1
663 port: 389
664 localAuthFallback:
665 cacheTimeout: 6500
666 enabled: true
667 serverCaCertificate:
668 contents: '-----BEGIN CERTIFICATE----- MIIEKjCCAxKgAwIBAgIRANb+lsED3eb4+6YKLFFYqEkwDQYJKoZIhvcNAQELBQAw
669 gYcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMREwDwYDVQQHDAhT YW4gSm9zZTEcMBoGA1UECgwTQ2lzY28gU3lzdGVtcywgSW5jLjESMBAGA1UECwwJ
670 RE5BU3BhY2VzMR4wHAYDVQQDDBVjaXNjby5vcGVucm9hbWluZy5vcmcwHhcNMjAx MTA1MjEzMzM1WhcNMjExMTA1MjIzMzM1WjCBpDEcMBoGCgmSJomT8ixkAQETDGRu
671 YXNwYWNlczpVUzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQ4wDAYDVQQKEwVD aXNjbzEcMBoGA1UECxMTV0JBOldSSVggRW5kLUVudGl0eTE8MDoGA1UEAxMzNjQ3
672 MDcwNDM4NDQ5NjQxMjAwMDAuMTg4MzQuaHMuY2lzY28ub3BlbnJvYW1pbmcub3Jn MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoqjP9QgRGyUO3p7SH9QK
673 uTq6UYK7nAyjImgS4yQxeBkyZ5f2EUkX8m/AOcewpPxxPBhjPKRwxGeX3S50ksiA ayFomUeslR0S0Z7RN9rzJa+CFyi9MwWIHMbLgXpB8tsSpgTAqwrzoTzOGq9fgC6u
674 pZhdZrBkg3FeJgD88goCi9mZDsY2YAoeGRLFJ2fR8iICqIVQy+Htq9pE22WBLpnS KjL3+mR9FArHNFtWlhKF2YHMUqyHHrnZnF/Ns7QNoMMF7/CK18iAKgnb+2wuGKM2
675 aEMddOeOTtz+i/rgjkp/RGMt011EdCsso0/cTo9qqX/bxOOCE4/Mne/ChMkQPnNU CwIDAQABo3IwcDAJBgNVHRMEAjAAMB8GA1UdIwQYMBaAFIG+4l5yiB01gP0sw4ML
676 USopqYcuMB0GA1UdDgQWBBSby1T9leYVOVVdOZXiHCSaDDEMiDAOBgNVHQ8BAf8E BAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAEyE
677 1mjSUyY6uNp6W4l20w7SskALSJDRKkOeZxAgF3VMxlsCuEl70s9oEfntwIpyQtSa jON/9yJHbwm/Az824bmk8Dc7AXIPhay+dftXb8j529gPuYB9AKoPNg0NctkyYCQh
678 a/3YQVdDWX7XgmEiXkL57M7G6+IdcPDONLArfjOcT9qHdkVVq1AIjlMSx3OQQmm/ uoLb/G9q/97QA2/l8shG/Na8HjVqGLcl5TNZdbNhs2w9ogxr/GNzqdvym6RQ8vT/
679 UR2n+uwH4n1MUxmHYYeyot5dnIV1IJ6hQ54JAncM9HvCLFk1WHz6RKshQUCuPBiJ wTw70BVktzJnb0VLeDg=
680 -----END CERTIFICATE-----'
681 localRadius:
682 cacheTimeout: 60
683 certificateAuthentication:
684 clientRootCaCertificate:
685 contents: '-----BEGIN CERTIFICATE----- MIIEKjCCAxKgAwIBAgIRANb+lsED3eb4+6YKLFFYqEkwDQYJKoZIhvcNAQELBQAw
686 gYcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMREwDwYDVQQHDAhT YW4gSm9zZTEcM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hay+dftXb8j529gPuYB9AKoPNg0NctkyYCQh
695 a/3YQVdDWX7XgmEiXkL57M7G6+IdcPDONLArfjOcT9qHdkVVq1AIjlMSx3OQQmm/ uoLb/G9q/97QA2/l8shG/Na8HjVqGLcl5TNZdbNhs2w9ogxr/GNzqdvym6RQ8vT/
696 UR2n+uwH4n1MUxmHYYeyot5dnIV1IJ6hQ54JAncM9HvCLFk1WHz6RKshQUCuPBiJ wTw70BVktzJnb0VLeDg=
697 -----END CERTIFICATE-----'
698 enabled: true
699 ocspResponderUrl: http://ocsp-server.example.com
700 useLdap: false
701 useOcsp: true
702 passwordAuthentication:
703 enabled: false
704 mandatoryDhcpEnabled: false
705 minBitrate: 5.5
706 name: My SSID
707 namedVlans:
708 radius:
709 guestVlan:
710 enabled: true
711 name: Guest VLAN
712 tagging:
713 byApTags:
714 - tags:
715 - tag1
716 - tag2
717 vlanName: My VLAN
718 defaultVlanName: My VLAN
719 enabled: true
720 networkId: string
721 number: string
722 oauth:
723 allowedDomains:
724 - example.com
725 perClientBandwidthLimitDown: 0
726 perClientBandwidthLimitUp: 0
727 perSsidBandwidthLimitDown: 0
728 perSsidBandwidthLimitUp: 0
729 psk: deadbeef
730 radiusAccountingEnabled: true
731 radiusAccountingInterimInterval: 5
732 radiusAccountingServers:
733 - caCertificate: '-----BEGIN CERTIFICATE----- MIIEKjCCAxKgAwIBAgIRANb+lsED3eb4+6YKLFFYqEkwDQYJKoZIhvcNAQELBQAw
734 gYcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMREwDwYDVQQHDAhT YW4gSm9zZTEcMBoGA1UECgwTQ2lzY28gU3lzdGVtcywgSW5jLjESMBAGA1UECwwJ
735 RE5BU3BhY2VzMR4wHAYDVQQDDBVjaXNjby5vcGVucm9hbWluZy5vcmcwHhcNMjAx MTA1MjEzMzM1WhcNMjExMTA1MjIzMzM1WjCBpDEcMBoGCgmSJomT8ixkAQETDGRu
736 YXNwYWNlczpVUzELMAkG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54JAncM9HvCLFk1WHz6RKshQUCuPBiJ wTw70BVktzJnb0VLeDg=
745 -----END CERTIFICATE-----'
746 host: 0.0.0.0
747 port: 3000
748 radsecEnabled: true
749 secret: secret-string
750 radiusAccountingStartDelay: 0
751 radiusAttributeForGroupPolicies: Filter-Id
752 radiusAuthenticationNasId: 00-11-22-33-44-55:AP1
753 radiusCalledStationId: 00-11-22-33-44-55:AP1
754 radiusCoaEnabled: true
755 radiusFailoverPolicy: Deny access
756 radiusFallbackEnabled: true
757 radiusGuestVlanEnabled: true
758 radiusGuestVlanId: 1
759 radiusLoadBalancingPolicy: Round robin
760 radiusOverride: false
761 radiusProxyEnabled: false
762 radiusRadsec:
763 tlsTunnel:
764 timeout: 600
765 radiusServerAttemptsLimit: 5
766 radiusServerTimeout: 5
767 radiusServers:
768 - caCertificate: '-----BEGIN CERTIFICATE----- MIIEKjCCAxKgAwIBAgIRANb+lsED3eb4+6YKLFFYqEkwDQYJKoZIhvcNAQELBQAw
769 gYcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMREwDwYDVQQHDAhT YW4gSm9zZTEcMBoGA1UECgwTQ2lzY28gU3lzdGVtcywgSW5jLjESMBAGA1UECwwJ
770 RE5BU3BhY2VzMR4wHAYDVQQDDBVjaXNjby5vcGVucm9hbWluZy5vcmcwHhcNMjAx MTA1MjEzMzM1WhcNMjExMTA1MjIzMzM1WjCBpDEcMBoGCgmSJomT8ixkAQETDGRu
771 YXNwYWNlczpVUzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQ4wDAYDVQQKEwVD aXNjbzEcMBoGA1UECxMTV0JBOldSSVggRW5kLUVudGl0eTE8MDoGA1UEAxMzNjQ3
772 MDcwNDM4NDQ5NjQxMjAwMDAuMTg4MzQuaHMuY2lzY28ub3BlbnJvYW1pbmcub3Jn MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoqjP9QgRGyUO3p7SH9QK
773 uTq6UYK7nAyjImgS4yQxeBkyZ5f2EUkX8m/AOcewpPxxPBhjPKRwxGeX3S50ksiA ayFomUeslR0S0Z7RN9rzJa+CFyi9MwWIHMbLgXpB8tsSpgTAqwrzoTzOGq9fgC6u
774 pZhdZrBkg3FeJgD88goCi9mZDsY2YAoeGRLFJ2fR8iICqIVQy+Htq9pE22WBLpnS KjL3+mR9FArHNFtWlhKF2YHMUqyHHrnZnF/Ns7QNoMMF7/CK18iAKgnb+2wuGKM2
775 aEMddOeOTtz+i/rgjkp/RGMt011EdCsso0/cTo9qqX/bxOOCE4/Mne/ChMkQPnNU CwIDAQABo3IwcDAJBgNVHRMEAjAAMB8GA1UdIwQYMBaAFIG+4l5yiB01gP0sw4ML
776 USopqYcuMB0GA1UdDgQWBBSby1T9leYVOVVdOZXiHCSaDDEMiDAOBgNVHQ8BAf8E BAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAEyE
777 1mjSUyY6uNp6W4l20w7SskALSJDRKkOeZxAgF3VMxlsCuEl70s9oEfntwIpyQtSa jON/9yJHbwm/Az824bmk8Dc7AXIPhay+dftXb8j529gPuYB9AKoPNg0NctkyYCQh
778 a/3YQVdDWX7XgmEiXkL57M7G6+IdcPDONLArfjOcT9qHdkVVq1AIjlMSx3OQQmm/ uoLb/G9q/97QA2/l8shG/Na8HjVqGLcl5TNZdbNhs2w9ogxr/GNzqdvym6RQ8vT/
779 UR2n+uwH4n1MUxmHYYeyot5dnIV1IJ6hQ54JAncM9HvCLFk1WHz6RKshQUCuPBiJ wTw70BVktzJnb0VLeDg=
780 -----END CERTIFICATE-----'
781 host: 0.0.0.0
782 openRoamingCertificateId: 2
783 port: 3000
784 radsecEnabled: true
785 secret: secret-string
786 radiusTestingEnabled: true
787 secondaryConcentratorNetworkId: disabled
788 speedBurst:
789 enabled: true
790 splashGuestSponsorDomains:
791 - example.com
792 splashPage: Click-through splash page
793 useVlanTagging: false
794 visible: true
795 vlanId: 10
796 walledGardenEnabled: true
797 walledGardenRanges:
798 - example.com
799 - 1.1.1.1/32
800 wpaEncryptionMode: WPA2 only
801 """
802 RETURN = r"""
803 meraki_response:
804 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
805 returned: always
806 type: dict
807 sample: >
808 {
809 "number": 0,
810 "name": "string",
811 "enabled": true,
812 "splashPage": "string",
813 "ssidAdminAccessible": true,
814 "localAuth": true,
815 "authMode": "string",
816 "encryptionMode": "string",
817 "wpaEncryptionMode": "string",
818 "radiusServers": [
819 {
820 "host": "string",
821 "port": 0,
822 "openRoamingCertificateId": 0,
823 "caCertificate": "string"
824 }
825 ],
826 "radiusAccountingServers": [
827 {
828 "host": "string",
829 "port": 0,
830 "openRoamingCertificateId": 0,
831 "caCertificate": "string"
832 }
833 ],
834 "radiusAccountingEnabled": true,
835 "radiusEnabled": true,
836 "radiusAttributeForGroupPolicies": "string",
837 "radiusFailoverPolicy": "string",
838 "radiusLoadBalancingPolicy": "string",
839 "ipAssignmentMode": "string",
840 "adminSplashUrl": "string",
841 "splashTimeout": "string",
842 "walledGardenEnabled": true,
843 "walledGardenRanges": [
844 "string"
845 ],
846 "minBitrate": 0,
847 "bandSelection": "string",
848 "perClientBandwidthLimitUp": 0,
849 "perClientBandwidthLimitDown": 0,
850 "visible": true,
851 "availableOnAllAps": true,
852 "availabilityTags": [
853 "string"
854 ],
855 "perSsidBandwidthLimitUp": 0,
856 "perSsidBandwidthLimitDown": 0,
857 "mandatoryDhcpEnabled": true
858 }
859 """