B `*@sGdddeZdS)csZeZdZfddZeedddZedddZeed d d Zeed d d ZZ S)SSIDscstt|||_dS)N)superr__init___session)selfsession) __class__n/private/var/folders/7j/8686xlfs15q3tgljmghtvg0r0000gn/T/pip-target-isidps9b/lib/python/meraki_v0/api/ssids.pyrszSSIDs.__init__) networkIdserialcCs,dgdd}d|d|d}|j||S)z **Return the SSID statuses of an access point** https://developer.cisco.com/meraki/api/#!get-network-device-wireless-status - networkId (string) - serial (string) rgetNetworkDeviceWirelessStatus)tags operationz /networks/z /devices/z/wireless/status)rget)rr r metadataresourcerrr r s z$SSIDs.getNetworkDeviceWirelessStatus)r cCs&dgdd}d|d}|j||S)a **List the SSIDs in a network. Supports networks with access points or wireless-enabled security appliances and teleworker gateways.** https://developer.cisco.com/meraki/api/#!get-network-ssids - networkId (string) rgetNetworkSsids)r rz /networks/z/ssids)rr)rr rrrrr rs  zSSIDs.getNetworkSsids)r numbercCs*dgdd}d|d|}|j||S)z **Return a single SSID** https://developer.cisco.com/meraki/api/#!get-network-ssid - networkId (string) - number (string) rgetNetworkSsid)r rz /networks/z/ssids/)rr)rr rrrrrr r's zSSIDs.getNetworkSsidc s.|td|krJdddddddg}|d|ksJtd |dd |d |kr~d d g}|d |ks~td|d d |d|krddg}|d|kstd|dd |d|krdddddg}|d|kstd|dd |d|kr8dddddd d!d"d#d$d%d&g }|d|ks8td'|dd |d(|krpd)d*g}|d(|ksptd+|d(d |d,|krd-d.g}|d,|kstd/|d,d |d0gd1d2}d3|d4|}d5d6dd ddddd7d8d(d,d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLg fdMdN|D}|j|||S)Oa **Update the attributes of an SSID** https://developer.cisco.com/meraki/api/#!update-network-ssid - networkId (string) - number (string) - name (string): The name of the SSID - enabled (boolean): Whether or not the SSID is enabled - authMode (string): The association control method for the SSID ('open', 'psk', 'open-with-radius', '8021x-meraki', '8021x-radius', 'ipsk-with-radius' or 'ipsk-without-radius') - enterpriseAdminAccess (string): Whether or not an SSID is accessible by 'enterprise' administrators ('access disabled' or 'access enabled') - encryptionMode (string): The psk encryption mode for the SSID ('wep' or 'wpa'). This param is only valid if the authMode is 'psk' - psk (string): The passkey for the SSID. This param is only valid if the authMode is 'psk' - wpaEncryptionMode (string): The types of WPA encryption. ('WPA1 only', 'WPA1 and WPA2', 'WPA2 only', 'WPA3 Transition Mode' or 'WPA3 only') - splashPage (string): The type of splash page for the SSID ('None', 'Click-through splash page', 'Billing', 'Password-protected with Meraki RADIUS', 'Password-protected with custom RADIUS', 'Password-protected with Active Directory', 'Password-protected with LDAP', 'SMS authentication', 'Systems Manager Sentry', 'Facebook Wi-Fi', 'Google OAuth' or 'Sponsored guest'). This attribute is not supported for template children. - radiusServers (array): The RADIUS 802.1X servers to be used for authentication. This param is only valid if the authMode is 'open-with-radius', '8021x-radius' or 'ipsk-with-radius' - radiusCoaEnabled (boolean): If true, Meraki devices will act as a RADIUS Dynamic Authorization Server and will respond to RADIUS Change-of-Authorization and Disconnect messages sent by the RADIUS server. - radiusFailoverPolicy (string): This policy determines how authentication requests should be handled in the event that all of the configured RADIUS servers are unreachable ('Deny access' or 'Allow access') - radiusLoadBalancingPolicy (string): This policy determines which RADIUS server will be contacted first in an authentication attempt and the ordering of any necessary retry attempts ('Strict priority order' or 'Round robin') - radiusAccountingEnabled (boolean): Whether or not RADIUS accounting is enabled. This param is only valid if the authMode is 'open-with-radius', '8021x-radius' or 'ipsk-with-radius' - radiusAccountingServers (array): The RADIUS accounting 802.1X servers to be used for authentication. This param is only valid if the authMode is 'open-with-radius', '8021x-radius' or 'ipsk-with-radius' and radiusAccountingEnabled is 'true' - radiusAttributeForGroupPolicies (string): Specify the RADIUS attribute used to look up group policies ('Filter-Id', 'Reply-Message', 'Airespace-ACL-Name' or 'Aruba-User-Role'). Access points must receive this attribute in the RADIUS Access-Accept message - ipAssignmentMode (string): The client IP assignment mode ('NAT mode', 'Bridge mode', 'Layer 3 roaming', 'Layer 3 roaming with a concentrator' or 'VPN') - useVlanTagging (boolean): Whether or not traffic should be directed to use specific VLANs. This param is only valid if the ipAssignmentMode is 'Bridge mode' or 'Layer 3 roaming' - concentratorNetworkId (string): The concentrator to use when the ipAssignmentMode is 'Layer 3 roaming with a concentrator' or 'VPN'. - vlanId (integer): The VLAN ID used for VLAN tagging. This param is only valid when the ipAssignmentMode is 'Layer 3 roaming with a concentrator' or 'VPN' - defaultVlanId (integer): The default VLAN ID used for 'all other APs'. This param is only valid when the ipAssignmentMode is 'Bridge mode' or 'Layer 3 roaming' - apTagsAndVlanIds (array): The list of tags and VLAN IDs used for VLAN tagging. This param is only valid when the ipAssignmentMode is 'Bridge mode' or 'Layer 3 roaming' - walledGardenEnabled (boolean): Allow access to a configurable list of IP ranges, which users may access prior to sign-on. - walledGardenRanges (string): Specify your walled garden by entering space-separated addresses, ranges using CIDR notation, domain names, and domain wildcards (e.g. 192.168.1.1/24 192.168.37.10/32 www.yahoo.com *.google.com). Meraki's splash page is automatically included in your walled garden. - radiusOverride (boolean): If true, the RADIUS response can override VLAN tag. This is not valid when ipAssignmentMode is 'NAT mode'. - minBitrate (number): The minimum bitrate in Mbps. ('1', '2', '5.5', '6', '9', '11', '12', '18', '24', '36', '48' or '54') - bandSelection (string): The client-serving radio frequencies. ('Dual band operation', '5 GHz band only' or 'Dual band operation with Band Steering') - perClientBandwidthLimitUp (integer): The upload bandwidth limit in Kbps. (0 represents no limit.) - perClientBandwidthLimitDown (integer): The download bandwidth limit in Kbps. (0 represents no limit.) - lanIsolationEnabled (boolean): Boolean indicating whether Layer 2 LAN isolation should be enabled or disabled. Only configurable when ipAssignmentMode is 'Bridge mode'. - visible (boolean): Boolean indicating whether APs should advertise or hide this SSID. APs will only broadcast this SSID if set to true - availableOnAllAps (boolean): Boolean indicating whether all APs should broadcast the SSID or if it should be restricted to APs matching any availability tags. Can only be false if the SSID has availability tags. - availabilityTags (array): Accepts a list of tags for this SSID. If availableOnAllAps is false, then the SSID will only be broadcast by APs with tags matching any of the tags in this list. ZauthModeopenZpskzopen-with-radiusz 8021x-merakiz 8021x-radiuszipsk-with-radiuszipsk-without-radiusz"authMode" cannot be "z", & must be set to one of: ZenterpriseAdminAccesszaccess disabledzaccess enabledz#"enterpriseAdminAccess" cannot be "ZencryptionModeZwepZwpaz"encryptionMode" cannot be "ZwpaEncryptionModez WPA1 onlyz WPA1 and WPA2z WPA2 onlyzWPA3 Transition Modez WPA3 onlyz"wpaEncryptionMode" cannot be "Z splashPageNonezClick-through splash pageZBillingz%Password-protected with Meraki RADIUSz%Password-protected with custom RADIUSz(Password-protected with Active DirectoryzPassword-protected with LDAPzSMS authenticationzSystems Manager SentryzFacebook Wi-Fiz Google OAuthzSponsored guestz"splashPage" cannot be "ZradiusFailoverPolicyz Deny accessz Allow accessz""radiusFailoverPolicy" cannot be "ZradiusLoadBalancingPolicyzStrict priority orderz Round robinz'"radiusLoadBalancingPolicy" cannot be "rupdateNetworkSsid)r rz /networks/z/ssids/nameZenabledZ radiusServersZradiusCoaEnabledZradiusAccountingEnabledZradiusAccountingServersZradiusAttributeForGroupPoliciesZipAssignmentModeZuseVlanTaggingZconcentratorNetworkIdZvlanIdZ defaultVlanIdZapTagsAndVlanIdsZwalledGardenEnabledZwalledGardenRangesZradiusOverrideZ minBitrateZ bandSelectionZperClientBandwidthLimitUpZperClientBandwidthLimitDownZlanIsolationEnabledZvisibleZavailableOnAllApsZavailabilityTagscs&i|]\}}|kr||qSr)strip).0kv) body_paramsrr sz+SSIDs.updateNetworkSsid..)updatelocalsAssertionErroritemsrput)rr rkwargsoptionsrrpayloadr)rr r8s8) $$$$ & & &DzSSIDs.updateNetworkSsid) __name__ __module__ __qualname__rstrr rrr __classcell__rr)rr rs  rN)objectrrrrr