B `|@sGdddeZdS)cseZdZfddZedddZedddZeddd Zedd d Zedd d Z edddZ edddZ edddZ edddZ edddZedddZedddZedddZeddd Zedd!d"Zedd#d$Zedd%d&Zedd'd(Zeed)d*d+Zdeed)d.d/Zeed)d0d1Zeed)d2d3Zedd4d5Zedd6d7Zedd8d9Zedd:d;Zeddd?Z edd@dAZ!deddBdCZ"eddDdEZ#eeedFdGdHZ$eedIdJdKZ%eedIdLdMZ&eedIdNdOZ'eddPdQZ(eddRdSZ)eddTdUZ*eddVdWZ+eedXdYdZZ,eedXd[d\Z-eedXd]d^Z.eedXd_d`Z/eedXdadbZ0eedXdcddZ1eedXdedfZ2eedXdgdhZ3eedXdidjZ4eedXdkdlZ5eedXdmdnZ6eeeedodpdqZ7eeedrdsdtZ8eeedrdudvZ9eeedrdwdxZ:eedXdydzZ;eedXd{d|ZeedXddZ?eedXddZ@eedXddZAeedXddZBedddZCZDS)Wirelesscstt|||_dS)N)superr__init___session)selfsession) __class__n/private/var/folders/7j/8686xlfs15q3tgljmghtvg0r0000gn/T/pip-target-isidps9b/lib/python/meraki/api/wireless.pyrszWireless.__init__)serialcCs,ddddgdd}d|d}|j||S) z **Return the bluetooth settings for a wireless device** https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-bluetooth-settings - serial (string): (required) wireless configure bluetoothsettings"getDeviceWirelessBluetoothSettings)tags operationz /devices/z/wireless/bluetooth/settings)rget)rr metadataresourcerrr rs  z+Wireless.getDeviceWirelessBluetoothSettingsc sZ|tddddgdd}d|d}d d d gfd d |D}|j|||S)a **Update the bluetooth settings for a wireless device** https://developer.cisco.com/meraki/api-v1/#!update-device-wireless-bluetooth-settings - serial (string): (required) - uuid (string): Desired UUID of the beacon. If the value is set to null it will reset to Dashboard's automatically generated value. - major (integer): Desired major value of the beacon. If the value is set to null it will reset to Dashboard's automatically generated value. - minor (integer): Desired minor value of the beacon. If the value is set to null it will reset to Dashboard's automatically generated value. r r r r%updateDeviceWirelessBluetoothSettings)rrz /devices/z/wireless/bluetooth/settingsuuidmajorminorcs&i|]\}}|kr||qSr)strip).0kv) body_paramsrr .szBWireless.updateDeviceWirelessBluetoothSettings..)updatelocalsitemsrput)rr kwargsrrpayloadr)rr rs    z.Wireless.updateDeviceWirelessBluetoothSettingsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d ddddddgfdd|D}|j|||S)a **Aggregated connectivity info for a given AP on this network** https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-connection-stats - serial (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag bandz2.45z"band" cannot be "z", & must be set to one of: r monitorconnectionStats getDeviceWirelessConnectionStats)rrz /devices/z/wireless/connectionStatst0t1timespanssidvlanapTagcs&i|]\}}|kr||qSr)r)rrr) query_paramsrr rPsz=Wireless.getDeviceWirelessConnectionStats..)rr AssertionErrorr!rr)rr r#optionsrrparamsr)r0r r)4s $ z)Wireless.getDeviceWirelessConnectionStatsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddgfdd|D}|j|||S)a **Aggregated latency info for a given AP on this network** https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-latency-stats - serial (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - fields (string): Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r' latencyStatsgetDeviceWirelessLatencyStats)rrz /devices/z/wireless/latencyStatsr*r+r,r-r.r/fieldscs&i|]\}}|kr||qSr)r)rrr)r0rr rssz:Wireless.getDeviceWirelessLatencyStats..)rr r1r!rr)rr r#r2rrr3r)r0r r5Vs $ z&Wireless.getDeviceWirelessLatencyStatscCs,ddddgdd}d|d}|j||S) z **Return the radio settings of a device** https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-radio-settings - serial (string): (required) r r radiorgetDeviceWirelessRadioSettings)rrz /devices/z/wireless/radio/settings)rr)rr rrrrr r8ys  z'Wireless.getDeviceWirelessRadioSettingsc sZ|tddddgdd}d|d}d d d gfd d |D}|j|||S)a **Update the radio settings of a device** https://developer.cisco.com/meraki/api-v1/#!update-device-wireless-radio-settings - serial (string): (required) - rfProfileId (integer): The ID of an RF profile to assign to the device. If the value of this parameter is null, the appropriate basic RF profile (indoor or outdoor) will be assigned to the device. Assigning an RF profile will clear ALL manually configured overrides on the device (channel width, channel, power). - twoFourGhzSettings (object): Manual radio settings for 2.4 GHz. - fiveGhzSettings (object): Manual radio settings for 5 GHz. r r r7r!updateDeviceWirelessRadioSettings)rrz /devices/z/wireless/radio/settings rfProfileIdtwoFourGhzSettingsfiveGhzSettingscs&i|]\}}|kr||qSr)r)rrr)rrr rsz>Wireless.updateDeviceWirelessRadioSettings..)rr r!rr")rr r#rrr$r)rr r9s    z*Wireless.updateDeviceWirelessRadioSettingscCs*dddgdd}d|d}|j||S)z **Return the SSID statuses of an access point** https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-status - serial (string): (required) r r'statusgetDeviceWirelessStatus)rrz /devices/z/wireless/status)rr)rr rrrrr r>s  z Wireless.getDeviceWirelessStatus) networkIdc sV|tdddgdd}d|d}dd gfd d |D}|j|||S) a **List Air Marshal scan results from a network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-air-marshal - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. r r'Z airMarshalgetNetworkWirelessAirMarshal)rrz /networks/z/wireless/airMarshalr*r,cs&i|]\}}|kr||qSr)r)rrr)r0rr rsz9Wireless.getNetworkWirelessAirMarshal..)rr r!rr)rr?r#rrr3r)r0r r@s  z%Wireless.getNetworkWirelessAirMarshalcCs*dddgdd}d|d}|j||S)z **Return alternate management interface and devices with IP assigned** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-alternate-management-interface - networkId (string): (required) r r alternateManagementInterface.getNetworkWirelessAlternateManagementInterface)rrz /networks/z&/wireless/alternateManagementInterface)rr)rr?rrrrr rBs  z7Wireless.getNetworkWirelessAlternateManagementInterfacec sZ|tdddgdd}d|d}dd d d gfd d |D}|j|||S)aY **Update alternate management interface and device static IP** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-alternate-management-interface - networkId (string): (required) - enabled (boolean): Boolean value to enable or disable alternate management interface - vlanId (integer): Alternate management interface VLAN, must be between 1 and 4094 - protocols (array): Can be one or more of the following values: 'radius', 'snmp', 'syslog' or 'ldap' - accessPoints (array): Array of access point serial number and IP assignment. Note: accessPoints IP assignment is not applicable for template networks, in other words, do not put 'accessPoints' in the body when updating template networks. Also, an empty 'accessPoints' array will remove all previous static IP assignments r r rA1updateNetworkWirelessAlternateManagementInterface)rrz /networks/z&/wireless/alternateManagementInterfaceenabledvlanIdZ protocolsZ accessPointscs&i|]\}}|kr||qSr)r)rrr)rrr rszNWireless.updateNetworkWirelessAlternateManagementInterface..)rr r!rr")rr?r#rrr$r)rr rCs   z:Wireless.updateNetworkWirelessAlternateManagementInterfacecCs*dddgdd}d|d}|j||S)z **Return the billing settings of this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-billing - networkId (string): (required) r r billinggetNetworkWirelessBilling)rrz /networks/z/wireless/billing)rr)rr?rrrrr rGs  z"Wireless.getNetworkWirelessBillingc sV|tdddgdd}d|d}dd gfd d |D}|j|||S) ac **Update the billing settings** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-billing - networkId (string): (required) - currency (string): The currency code of this node group's billing plans - plans (array): Array of billing plans in the node group. (Can configure a maximum of 5) r r rFupdateNetworkWirelessBilling)rrz /networks/z/wireless/billingcurrencyZplanscs&i|]\}}|kr||qSr)r)rrr)rrr r"sz9Wireless.updateNetworkWirelessBilling..)rr r!rr")rr?r#rrr$r)rr rHs  z%Wireless.updateNetworkWirelessBillingcCs,ddddgdd}d|d}|j||S) aR **Return the Bluetooth settings for a network. Bluetooth settings must be enabled on the network.** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-bluetooth-settings - networkId (string): (required) r r r r#getNetworkWirelessBluetoothSettings)rrz /networks/z/wireless/bluetooth/settings)rr)rr?rrrrr rJ(s  z,Wireless.getNetworkWirelessBluetoothSettingsc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d }ddddddgfdd|D}|j|||S)aH **Update the Bluetooth settings for a network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-bluetooth-settings - networkId (string): (required) - scanningEnabled (boolean): Whether APs will scan for Bluetooth enabled clients. (true, false) - advertisingEnabled (boolean): Whether APs will advertise beacons. (true, false) - uuid (string): The UUID to be used in the beacon identifier. - majorMinorAssignmentMode (string): The way major and minor number should be assigned to nodes in the network. ('Unique', 'Non-unique') - major (integer): The major number to be used in the beacon identifier. Only valid in 'Non-unique' mode. - minor (integer): The minor number to be used in the beacon identifier. Only valid in 'Non-unique' mode. ZmajorMinorAssignmentModeZUniquez Non-uniquez&"majorMinorAssignmentMode" cannot be "z", & must be set to one of: r r r r&updateNetworkWirelessBluetoothSettings)rrz /networks/z/wireless/bluetooth/settingsZscanningEnabledZadvertisingEnabledrrrcs&i|]\}}|kr||qSr)r)rrr)rrr rUszCWireless.updateNetworkWirelessBluetoothSettings..)rr r1r!rr")rr?r#r2rrr$r)rr rK:s $  z/Wireless.updateNetworkWirelessBluetoothSettingsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d ddddddddg fdd|D}|j|||S)a **Return AP channel utilization over time for a device or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-channel-utilization-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client to return per-device, per-band AP channel utilization metrics inner joined by the queried client's connection history. - deviceSerial (string): Filter results by device to return AP channel utilization metrics for the queried device; either :band or :clientId must be jointly specified. - apTag (string): Filter results by AP tag to return AP channel utilization metrics for devices labeled with the given tag; either :clientId or :deviceSerial must be jointly specified. - band (string): Filter results by band (either '2.4' or '5'). r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'ZchannelUtilizationHistory+getNetworkWirelessChannelUtilizationHistory)rrz /networks/z#/wireless/channelUtilizationHistoryr*r+r, resolutionautoResolutionclientId deviceSerialr/cs&i|]\}}|kr||qSr)r)rrr)r0rr ryszHWireless.getNetworkWirelessChannelUtilizationHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rL[s $ z4Wireless.getNetworkWirelessChannelUtilizationHistoryc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddddg fdd|D}|j|||S)a **Return wireless client counts over time for a network, device, or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-count-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history. - deviceSerial (string): Filter results by device. - apTag (string): Filter results by AP tag. - band (string): Filter results by band (either '2.4' or '5'). - ssid (integer): Filter results by SSID number. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'ZclientCountHistory$getNetworkWirelessClientCountHistory)rrz /networks/z/wireless/clientCountHistoryr*r+r,rMrNrOrPr/r-cs&i|]\}}|kr||qSr)r)rrr)r0rr rszAWireless.getNetworkWirelessClientCountHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rQs $ z-Wireless.getNetworkWirelessClientCountHistoryc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d }dddddddgfdd|D}|j|||S)a **Aggregated connectivity info for this network, grouped by clients** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-clients-connection-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'clientsr((getNetworkWirelessClientsConnectionStats)rrz /networks/z!/wireless/clients/connectionStatsr*r+r,r-r.r/cs&i|]\}}|kr||qSr)r)rrr)r0rr rszEWireless.getNetworkWirelessClientsConnectionStats..)rr r1r!rr)rr?r#r2rrr3r)r0r rSs $  z1Wireless.getNetworkWirelessClientsConnectionStatsc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d }ddddddddgfdd|D}|j|||S)a **Aggregated latency info for this network, grouped by clients** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-clients-latency-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - fields (string): Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'rRr4%getNetworkWirelessClientsLatencyStats)rrz /networks/z/wireless/clients/latencyStatsr*r+r,r-r.r/r6cs&i|]\}}|kr||qSr)r)rrr)r0rr rszBWireless.getNetworkWirelessClientsLatencyStats..)rr r1r!rr)rr?r#r2rrr3r)r0r rTs $  z.Wireless.getNetworkWirelessClientsLatencyStats)r?rOc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d |d}dddddddgfdd|D}|j|||S)a **Aggregated connectivity info for a given client on this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-connection-stats - networkId (string): (required) - clientId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'rRr('getNetworkWirelessClientConnectionStats)rrz /networks/z/wireless/clients/z/connectionStatsr*r+r,r-r.r/cs&i|]\}}|kr||qSr)r)rrr)r0rr rszDWireless.getNetworkWirelessClientConnectionStats..)rr r1r!rr)rr?rOr#r2rrr3r)r0r rUs $ z0Wireless.getNetworkWirelessClientConnectionStatsnextc  sF|td|kr@ddg}|d|ks@td|dd|d|krddd d d d d ddddddddg}|d|kstd|dd|ddddgdd}d|d|d}d d!d"d#d$d%d&d'ddd(g fd)d*|D} d&d'g} xF|D]:\} } | | kr|| | | d+<| | qW|j||| ||S),aB **List the wireless connectivity events for a client within a network in the timespan.** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-connectivity-events - networkId (string): (required) - clientId (string): (required) - total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages - direction (string): direction to paginate, either "next" (default) or "prev" page - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 1000. - startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. - types (array): A list of event types to include. If not specified, events of all types will be returned. Valid types are 'assoc', 'disassoc', 'auth', 'deauth', 'dns', 'dhcp', 'roam', 'connection' and/or 'sticky'. - includedSeverities (array): A list of severities to include. If not specified, events of all severities will be returned. Valid severities are 'good', 'info', 'warn' and/or 'bad'. - band (string): Filter results by band (either '2.4' or '5'). - ssidNumber (integer): An SSID number to include. If not specified, events for all SSIDs will be returned. - deviceSerial (string): Filter results by an AP's serial number. r%z2.4r&z"band" cannot be "z", & must be set to one of: Z ssidNumberrV z"ssidNumber" cannot be "r r'rRZconnectivityEvents*getNetworkWirelessClientConnectivityEvents)rrz /networks/z/wireless/clients/z/connectivityEventsperPage startingAfter endingBeforer*r+r,typesZincludedSeveritiesrPcs&i|]\}}|kr||qSr)r)rrr)r0rr r2szGWireless.getNetworkWirelessClientConnectivityEvents..z[])rr r1r!rpopr get_pages) rr?rO total_pages directionr#r2rrr3Z array_paramsrrr)r0r rf s$ $"$  z3Wireless.getNetworkWirelessClientConnectivityEventsc sb|tddddgdd}d|d|d }d d d d gfdd|D}|j|||S)aC **Return the latency history for a client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-latency-history - networkId (string): (required) - clientId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 791 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 791 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 1 day. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 86400. The default is 86400. r r'rRlatencyHistory&getNetworkWirelessClientLatencyHistory)rrz /networks/z/wireless/clients/z/latencyHistoryr*r+r,rMcs&i|]\}}|kr||qSr)r)rrr)r0rr rTszCWireless.getNetworkWirelessClientLatencyHistory..)rr r!rr)rr?rOr#rrr3r)r0r rp>s   z/Wireless.getNetworkWirelessClientLatencyHistoryc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d |d}ddddddddgfdd|D}|j|||S)a **Aggregated latency info for a given client on this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-latency-stats - networkId (string): (required) - clientId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - fields (string): Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'rRr4$getNetworkWirelessClientLatencyStats)rrz /networks/z/wireless/clients/z /latencyStatsr*r+r,r-r.r/r6cs&i|]\}}|kr||qSr)r)rrr)r0rr rxszAWireless.getNetworkWirelessClientLatencyStats..)rr r1r!rr)rr?rOr#r2rrr3r)r0r rqZs $ z-Wireless.getNetworkWirelessClientLatencyStatsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d ddddddgfdd|D}|j|||S)a **Aggregated connectivity info for this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-connection-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'r(!getNetworkWirelessConnectionStats)rrz /networks/z/wireless/connectionStatsr*r+r,r-r.r/cs&i|]\}}|kr||qSr)r)rrr)r0rr rsz>Wireless.getNetworkWirelessConnectionStats..)rr r1r!rr)rr?r#r2rrr3r)r0r rr~s $ z*Wireless.getNetworkWirelessConnectionStatsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddddg fdd|D}|j|||S)aH **Return PHY data rates over time for a network, device, or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-data-rate-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client. - deviceSerial (string): Filter results by device. - apTag (string): Filter results by AP tag. - band (string): Filter results by band (either '2.4' or '5'). - ssid (integer): Filter results by SSID number. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'ZdataRateHistory!getNetworkWirelessDataRateHistory)rrz /networks/z/wireless/dataRateHistoryr*r+r,rMrNrOrPr/r-cs&i|]\}}|kr||qSr)r)rrr)r0rr rsz>Wireless.getNetworkWirelessDataRateHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rss $ z*Wireless.getNetworkWirelessDataRateHistoryc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d }dddddddgfdd|D}|j|||S)a **Aggregated connectivity info for this network, grouped by node** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-devices-connection-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'devicesr((getNetworkWirelessDevicesConnectionStats)rrz /networks/z!/wireless/devices/connectionStatsr*r+r,r-r.r/cs&i|]\}}|kr||qSr)r)rrr)r0rr rszEWireless.getNetworkWirelessDevicesConnectionStats..)rr r1r!rr)rr?r#r2rrr3r)r0r rus $  z1Wireless.getNetworkWirelessDevicesConnectionStatsc s|td|kr@ddg}|d|ks@td|dd|dddd gd d }d |d }ddddddddgfdd|D}|j|||S)a **Aggregated latency info for this network, grouped by node** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-devices-latency-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - fields (string): Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'rtr4%getNetworkWirelessDevicesLatencyStats)rrz /networks/z/wireless/devices/latencyStatsr*r+r,r-r.r/r6cs&i|]\}}|kr||qSr)r)rrr)r0rr rszBWireless.getNetworkWirelessDevicesLatencyStats..)rr r1r!rr)rr?r#r2rrr3r)r0r rvs $  z.Wireless.getNetworkWirelessDevicesLatencyStatsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d ddddddddg fdd|D}|j|||S)a **List of all failed client connection events on this network in a given time range** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-failed-connections - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - serial (string): Filter by AP - clientId (string): Filter by client MAC r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'ZfailedConnections#getNetworkWirelessFailedConnections)rrz /networks/z/wireless/failedConnectionsr*r+r,r-r.r/r rOcs&i|]\}}|kr||qSr)r)rrr)r0rr r(sz@Wireless.getNetworkWirelessFailedConnections..)rr r1r!rr)rr?r#r2rrr3r)r0r rw s $ z,Wireless.getNetworkWirelessFailedConnectionsc s|td|kr@ddg}|d|ks@td|dd|d|krxddd d g}|d|ksxtd |dd|d d dgdd}d|d}dddddddddddg fdd|D}|j|||S)a **Return average wireless latency over time for a network, device, or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-latency-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client. - deviceSerial (string): Filter results by device. - apTag (string): Filter results by AP tag. - band (string): Filter results by band (either '2.4' or '5'). - ssid (integer): Filter results by SSID number. - accessCategory (string): Filter by access category. r%z2.4r&z"band" cannot be "z", & must be set to one of: ZaccessCategoryZbackgroundTrafficZbestEffortTrafficZ videoTrafficZ voiceTrafficz"accessCategory" cannot be "r r'ro getNetworkWirelessLatencyHistory)rrz /networks/z/wireless/latencyHistoryr*r+r,rMrNrOrPr/r-cs&i|]\}}|kr||qSr)r)rrr)r0rr rQsz=Wireless.getNetworkWirelessLatencyHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rx.s $ $ z)Wireless.getNetworkWirelessLatencyHistoryc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddgfdd|D}|j|||S)a~ **Aggregated latency info for this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-latency-stats - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 180 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 7 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. - band (string): Filter results by band (either '2.4' or '5'). Note that data prior to February 2020 will not have band information. - ssid (integer): Filter results by SSID - vlan (integer): Filter results by VLAN - apTag (string): Filter results by AP Tag - fields (string): Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'r4getNetworkWirelessLatencyStats)rrz /networks/z/wireless/latencyStatsr*r+r,r-r.r/r6cs&i|]\}}|kr||qSr)r)rrr)r0rr rtsz;Wireless.getNetworkWirelessLatencyStats..)rr r1r!rr)rr?r#r2rrr3r)r0r ryWs $ z'Wireless.getNetworkWirelessLatencyStatsc s\|tdddgdd}d|d}dd d gfd d |D}|j|||||S) a **List wireless mesh statuses for repeaters** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-mesh-statuses - networkId (string): (required) - total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages - direction (string): direction to paginate, either "next" (default) or "prev" page - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 500. Default is 50. - startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. r r'Z meshStatusesgetNetworkWirelessMeshStatuses)rrz /networks/z/wireless/meshStatusesrgrhrics&i|]\}}|kr||qSr)r)rrr)r0rr rsz;Wireless.getNetworkWirelessMeshStatuses..)rr r!rrl)rr?rmrnr#rrr3r)r0r rzzs   z'Wireless.getNetworkWirelessMeshStatusesc sT|tdddgdd}d|d}dgfd d |D}|j|||S) a **List the non-basic RF profiles for this network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-rf-profiles - networkId (string): (required) - includeTemplateProfiles (boolean): If the network is bound to a template, this parameter controls whether or not the non-basic RF profiles defined on the template should be included in the response alongside the non-basic profiles defined on the bound network. Defaults to false. r r rfProfilesgetNetworkWirelessRfProfiles)rrz /networks/z/wireless/rfProfilesZincludeTemplateProfilescs&i|]\}}|kr||qSr)r)rrr)r0rr rsz9Wireless.getNetworkWirelessRfProfiles..)rr r!rr)rr?r#rrr3r)r0r r|s  z%Wireless.getNetworkWirelessRfProfiles)r?namebandSelectionTypec  s|td|kr@ddg}|d|ks@td|dd|d|krtddg}|d|ksttd|dd|d d d gd d }d|d}dddddddgfdd|D}|j|||S)a **Creates new RF profile for this network** https://developer.cisco.com/meraki/api-v1/#!create-network-wireless-rf-profile - networkId (string): (required) - name (string): The name of the new profile. Must be unique. This param is required on creation. - bandSelectionType (string): Band selection can be set to either 'ssid' or 'ap'. This param is required on creation. - clientBalancingEnabled (boolean): Steers client to best available access point. Can be either true or false. Defaults to true. - minBitrateType (string): Minimum bitrate can be set to either 'band' or 'ssid'. Defaults to band. - apBandSettings (object): Settings that will be enabled if selectionType is set to 'ap'. - twoFourGhzSettings (object): Settings related to 2.4Ghz band - fiveGhzSettings (object): Settings related to 5Ghz band minBitrateTyper%r-z"minBitrateType" cannot be "z", & must be set to one of: r~apz"bandSelectionType" cannot be "r r r{createNetworkWirelessRfProfile)rrz /networks/z/wireless/rfProfilesr}clientBalancingEnabledapBandSettingsr;r<cs&i|]\}}|kr||qSr)r)rrr)rrr rsz;Wireless.createNetworkWirelessRfProfile..)rr r1r!rpost) rr?r}r~r#r2rrr$r)rr rs $$ z'Wireless.createNetworkWirelessRfProfile)r?r:c s|td|kr@ddg}|d|ks@td|dd|d|krtddg}|d|ksttd|dd|d d d gd d }d|d|}dddddddgfdd|D}|j|||S)aK **Updates specified RF profile for this network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-rf-profile - networkId (string): (required) - rfProfileId (string): (required) - name (string): The name of the new profile. Must be unique. - clientBalancingEnabled (boolean): Steers client to best available access point. Can be either true or false. - minBitrateType (string): Minimum bitrate can be set to either 'band' or 'ssid'. - bandSelectionType (string): Band selection can be set to either 'ssid' or 'ap'. - apBandSettings (object): Settings that will be enabled if selectionType is set to 'ap'. - twoFourGhzSettings (object): Settings related to 2.4Ghz band - fiveGhzSettings (object): Settings related to 5Ghz band rr%r-z"minBitrateType" cannot be "z", & must be set to one of: r~rz"bandSelectionType" cannot be "r r r{updateNetworkWirelessRfProfile)rrz /networks/z/wireless/rfProfiles/r}rrr;r<cs&i|]\}}|kr||qSr)r)rrr)rrr rsz;Wireless.updateNetworkWirelessRfProfile..)rr r1r!rr")rr?r:r#r2rrr$r)rr rs $$z'Wireless.updateNetworkWirelessRfProfilecCs.dddgdd}d|d|}|j||S)z **Delete a RF Profile** https://developer.cisco.com/meraki/api-v1/#!delete-network-wireless-rf-profile - networkId (string): (required) - rfProfileId (string): (required) r r r{deleteNetworkWirelessRfProfile)rrz /networks/z/wireless/rfProfiles/)rdelete)rr?r:rrrrr rs z'Wireless.deleteNetworkWirelessRfProfilecCs.dddgdd}d|d|}|j||S)z **Return a RF profile** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-rf-profile - networkId (string): (required) - rfProfileId (string): (required) r r r{getNetworkWirelessRfProfile)rrz /networks/z/wireless/rfProfiles/)rr)rr?r:rrrrr r s z$Wireless.getNetworkWirelessRfProfilecCs*dddgdd}d|d}|j||S)z **Return the wireless settings for a network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-settings - networkId (string): (required) r r rgetNetworkWirelessSettings)rrz /networks/z/wireless/settings)rr)rr?rrrrr rs  z#Wireless.getNetworkWirelessSettingsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d ddddgfdd|D}|j|||S)as **Update the wireless settings for a network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-settings - networkId (string): (required) - meshingEnabled (boolean): Toggle for enabling or disabling meshing in a network - ipv6BridgeEnabled (boolean): Toggle for enabling or disabling IPv6 bridging in a network (Note: if enabled, SSIDs must also be configured to use bridge mode) - locationAnalyticsEnabled (boolean): Toggle for enabling or disabling location analytics for your network - upgradeStrategy (string): The upgrade strategy to apply to the network. Must be one of 'minimizeUpgradeTime' or 'minimizeClientDowntime'. Requires firmware version MR 26.8 or higher' - ledLightsOn (boolean): Toggle for enabling or disabling LED lights on all APs in the network (making them run dark) ZupgradeStrategyZminimizeUpgradeTimeZminimizeClientDowntimez"upgradeStrategy" cannot be "z", & must be set to one of: r r rupdateNetworkWirelessSettings)rrz /networks/z/wireless/settingsZmeshingEnabledZipv6BridgeEnabledZlocationAnalyticsEnabledZ ledLightsOncs&i|]\}}|kr||qSr)r)rrr)rrr rKsz:Wireless.updateNetworkWirelessSettings..)rr r1r!rr")rr?r#r2rrr$r)rr r1s $ z&Wireless.updateNetworkWirelessSettingsc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddddg fdd|D}|j|||S)a **Return signal quality (SNR/RSSI) over time for a device or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-signal-quality-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client. - deviceSerial (string): Filter results by device. - apTag (string): Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified. - band (string): Filter results by band (either '2.4' or '5'). - ssid (integer): Filter results by SSID number. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'ZsignalQualityHistory&getNetworkWirelessSignalQualityHistory)rrz /networks/z/wireless/signalQualityHistoryr*r+r,rMrNrOrPr/r-cs&i|]\}}|kr||qSr)r)rrr)r0rr rpszCWireless.getNetworkWirelessSignalQualityHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rQs $ z/Wireless.getNetworkWirelessSignalQualityHistorycCs*dddgdd}d|d}|j||S)z **List the MR SSIDs in a network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssids - networkId (string): (required) r r ssidsgetNetworkWirelessSsids)rrz /networks/z/wireless/ssids)rr)rr?rrrrr rvs  z Wireless.getNetworkWirelessSsids)r?numbercCs.dddgdd}d|d|}|j||S)z **Return a single MR SSID** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid - networkId (string): (required) - number (string): (required) r r rgetNetworkWirelessSsid)rrz /networks/z/wireless/ssids/)rr)rr?rrrrrr rs zWireless.getNetworkWirelessSsidc6 s|td|krNdddddddd d g }|d|ksNtd |dd |d |krddg}|d |kstd|d d |d|krddg}|d|kstd|dd |d|krdddddg}|d|kstd|dd |d|kr@dddd d!d"d#d$d%d&d'd(d)d*g}|d|ks@td+|dd |d,|krxd-d.g}|d,|ksxtd/|d,d |d0|krd1d2g}|d0|kstd3|d0d |d4|krd5d6d7d8g}|d4|kstd9|d4d |d:d;d}d?|d@|}dAdBdd ddddCdDddEdFdGdHdIdJdKdLdMdNdOdPdQdRd,d0dSdTdUd4dVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmg6fdndo|D}|j|||S)pa# **Update the attributes of an MR SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid - networkId (string): (required) - number (string): (required) - 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', '8021x-google', '8021x-localradius', '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') - dot11w (object): The current setting for Protected Management Frames (802.11w). - dot11r (object): The current setting for 802.11r - 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', 'Sponsored guest', 'Cisco ISE' or 'Google Apps domain'). This attribute is not supported for template children. - splashGuestSponsorDomains (array): Array of valid sponsor email domains for sponsored guest splash type. - oauth (object): The OAuth settings of this SSID. Only valid if splashPage is 'Google OAuth'. - localRadius (object): The current setting for Local Authentication, a built-in RADIUS server on the access point. Only valid if authMode is '8021x-localradius'. - ldap (object): The current setting for LDAP. Only valid if splashPage is 'Password-protected with LDAP'. - activeDirectory (object): The current setting for Active Directory. Only valid if splashPage is 'Password-protected with Active Directory' - 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' - radiusProxyEnabled (boolean): If true, Meraki devices will proxy RADIUS messages through the Meraki cloud to the configured RADIUS auth and accounting servers. - radiusTestingEnabled (boolean): If true, Meraki devices will periodically send Access-Request messages to configured RADIUS servers using identity 'meraki_8021x_test' to ensure that the RADIUS servers are reachable. - radiusCalledStationId (string): The template of the called station identifier to be used for RADIUS (ex. $NODE_MAC$:$VAP_NUM$). - radiusAuthenticationNasId (string): The template of the NAS identifier to be used for RADIUS authentication (ex. $NODE_MAC$:$VAP_NUM$). - radiusServerTimeout (integer): The amount of time for which a RADIUS client waits for a reply from the RADIUS server (must be between 1-10 seconds). - radiusServerAttemptsLimit (integer): The maximum number of transmit attempts after which a RADIUS server is failed over (must be between 1-5). - radiusFallbackEnabled (boolean): Whether or not higher priority RADIUS servers should be retried after 60 seconds. - 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' - radiusAccountingInterimInterval (integer): The interval (in seconds) in which accounting information is updated and sent to the RADIUS accounting server. - 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 (array): Specify your walled garden by entering an array of 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'. - radiusGuestVlanEnabled (boolean): Whether or not RADIUS Guest VLAN is enabled. This param is only valid if the authMode is 'open-with-radius' and addressing mode is not set to 'isolated' or 'nat' mode - radiusGuestVlanId (integer): VLAN ID of the RADIUS Guest VLAN. This param is only valid if the authMode is 'open-with-radius' and addressing mode is not set to 'isolated' or '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.) - perSsidBandwidthLimitUp (integer): The total upload bandwidth limit in Kbps. (0 represents no limit.) - perSsidBandwidthLimitDown (integer): The total 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. - mandatoryDhcpEnabled (boolean): If true, Mandatory DHCP will enforce that clients connecting to this SSID must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. - adultContentFilteringEnabled (boolean): Boolean indicating whether or not adult content will be blocked - dnsRewrite (object): DNS servers rewrite settings ZauthModeopenZpskzopen-with-radiusz 8021x-merakiz 8021x-radiusz 8021x-googlez8021x-localradiuszipsk-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 Cisco ISEzGoogle Apps domainz"splashPage" cannot be "ZradiusFailoverPolicyz Deny accessz Allow accessz""radiusFailoverPolicy" cannot be "ZradiusLoadBalancingPolicyzStrict priority orderz Round robinz'"radiusLoadBalancingPolicy" cannot be "ZradiusAttributeForGroupPoliciesz Filter-Idz Reply-MessagezAirespace-ACL-NamezAruba-User-Rolez-"radiusAttributeForGroupPolicies" cannot be "r r rupdateNetworkWirelessSsid)rrz /networks/z/wireless/ssids/r}rDZdot11wZdot11rZsplashGuestSponsorDomainsZoauthZ localRadiusZldapZactiveDirectoryZ radiusServersZradiusProxyEnabledZradiusTestingEnabledZradiusCalledStationIdZradiusAuthenticationNasIdZradiusServerTimeoutZradiusServerAttemptsLimitZradiusFallbackEnabledZradiusCoaEnabledZradiusAccountingEnabledZradiusAccountingServersZradiusAccountingInterimIntervalZipAssignmentModeZuseVlanTaggingZconcentratorNetworkIdrEZ defaultVlanIdZapTagsAndVlanIdsZwalledGardenEnabledZwalledGardenRangesZradiusOverrideZradiusGuestVlanEnabledZradiusGuestVlanIdZ minBitrateZ bandSelectionZperClientBandwidthLimitUpZperClientBandwidthLimitDownZperSsidBandwidthLimitUpZperSsidBandwidthLimitDownZlanIsolationEnabledZvisibleZavailableOnAllApsZavailabilityTagsZmandatoryDhcpEnabledZadultContentFilteringEnabledZ dnsRewritecs&i|]\}}|kr||qSr)r)rrr)rrr rsz6Wireless.updateNetworkWirelessSsid..)rr r1r!rr")rr?rr#r2rrr$r)rr rs>? $$$$  & & &  &pz"Wireless.updateNetworkWirelessSsidcCs2ddddgdd}d|d|d }|j||S) a **List the Bonjour forwarding setting and rules for the SSID** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-bonjour-forwarding - networkId (string): (required) - number (string): (required) r r rbonjourForwarding'getNetworkWirelessSsidBonjourForwarding)rrz /networks/z/wireless/ssids/z/bonjourForwarding)rr)rr?rrrrrr rs z0Wireless.getNetworkWirelessSsidBonjourForwardingc s^|tddddgdd}d|d|d }d d gfd d |D}|j|||S)a **Update the bonjour forwarding setting and rules for the SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-bonjour-forwarding - networkId (string): (required) - number (string): (required) - enabled (boolean): If true, Bonjour forwarding is enabled on this SSID. - rules (array): List of bonjour forwarding rules. r r rr*updateNetworkWirelessSsidBonjourForwarding)rrz /networks/z/wireless/ssids/z/bonjourForwardingrDrulescs&i|]\}}|kr||qSr)r)rrr)rrr r)szGWireless.updateNetworkWirelessSsidBonjourForwarding..)rr r!rr")rr?rr#rrr$r)rr rs  z3Wireless.updateNetworkWirelessSsidBonjourForwardingcCs2ddddgdd}d|d|d }|j||S) z **List the device type group policies for the SSID** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-device-type-group-policies - networkId (string): (required) - number (string): (required) r r rdeviceTypeGroupPolicies-getNetworkWirelessSsidDeviceTypeGroupPolicies)rrz /networks/z/wireless/ssids/z/deviceTypeGroupPolicies)rr)rr?rrrrrr r/s z6Wireless.getNetworkWirelessSsidDeviceTypeGroupPoliciesc s^|tddddgdd}d|d|d }d d gfd d |D}|j|||S)a **Update the device type group policies for the SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-device-type-group-policies - networkId (string): (required) - number (string): (required) - enabled (boolean): If true, the SSID device type group policies are enabled. - deviceTypePolicies (array): List of device type policies. r r rr0updateNetworkWirelessSsidDeviceTypeGroupPolicies)rrz /networks/z/wireless/ssids/z/deviceTypeGroupPoliciesrDZdeviceTypePoliciescs&i|]\}}|kr||qSr)r)rrr)rrr rVszMWireless.updateNetworkWirelessSsidDeviceTypeGroupPolicies..)rr r!rr")rr?rr#rrr$r)rr rBs  z9Wireless.updateNetworkWirelessSsidDeviceTypeGroupPoliciescCs4dddddgdd}d|d |d }|j||S) a  **Return the L3 firewall rules for an SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-firewall-l-3-firewall-rules - networkId (string): (required) - number (string): (required) r r rfirewalll3FirewallRules-getNetworkWirelessSsidFirewallL3FirewallRules)rrz /networks/z/wireless/ssids/z/firewall/l3FirewallRules)rr)rr?rrrrrr r\s z6Wireless.getNetworkWirelessSsidFirewallL3FirewallRulesc s`|tdddddgdd}d|d |d }d d gfd d|D}|j|||S)a- **Update the L3 firewall rules of an SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-firewall-l-3-firewall-rules - networkId (string): (required) - number (string): (required) - rules (array): An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule) - allowLanAccess (boolean): Allow wireless client access to local LAN (boolean value - true allows access and false denies access) (optional) r r rrr0updateNetworkWirelessSsidFirewallL3FirewallRules)rrz /networks/z/wireless/ssids/z/firewall/l3FirewallRulesrZallowLanAccesscs&i|]\}}|kr||qSr)r)rrr)rrr rszMWireless.updateNetworkWirelessSsidFirewallL3FirewallRules..)rr r!rr")rr?rr#rrr$r)rr ros  z9Wireless.updateNetworkWirelessSsidFirewallL3FirewallRulescCs4dddddgdd}d|d |d }|j||S) a  **Return the L7 firewall rules for an SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-firewall-l-7-firewall-rules - networkId (string): (required) - number (string): (required) r r rrl7FirewallRules-getNetworkWirelessSsidFirewallL7FirewallRules)rrz /networks/z/wireless/ssids/z/firewall/l7FirewallRules)rr)rr?rrrrrr rs z6Wireless.getNetworkWirelessSsidFirewallL7FirewallRulesc s^|tdddddgdd}d|d |d }d gfd d |D}|j|||S)a **Update the L7 firewall rules of an SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-firewall-l-7-firewall-rules - networkId (string): (required) - number (string): (required) - rules (array): An array of L7 firewall rules for this SSID. Rules will get applied in the same order user has specified in request. Empty array will clear the L7 firewall rule configuration. r r rrr0updateNetworkWirelessSsidFirewallL7FirewallRules)rrz /networks/z/wireless/ssids/z/firewall/l7FirewallRulesrcs&i|]\}}|kr||qSr)r)rrr)rrr rszMWireless.updateNetworkWirelessSsidFirewallL7FirewallRules..)rr r!rr")rr?rr#rrr$r)rr rs  z9Wireless.updateNetworkWirelessSsidFirewallL7FirewallRulescCs2ddddgdd}d|d|d }|j||S) z **List all Identity PSKs in a wireless network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-identity-psks - networkId (string): (required) - number (string): (required) r r r identityPsks"getNetworkWirelessSsidIdentityPsks)rrz /networks/z/wireless/ssids/z /identityPsks)rr)rr?rrrrrr rs z+Wireless.getNetworkWirelessSsidIdentityPsks)r?rr} groupPolicyIdc  s`|tddddgdd}d|d|d }d d d gfd d|D}|j|||S)a **Create an Identity PSK** https://developer.cisco.com/meraki/api-v1/#!create-network-wireless-ssid-identity-psk - networkId (string): (required) - number (string): (required) - name (string): The name of the Identity PSK - groupPolicyId (string): The group policy to be applied to clients - passphrase (string): The passphrase for client authentication. If left blank, one will be auto-generated. r r rr$createNetworkWirelessSsidIdentityPsk)rrz /networks/z/wireless/ssids/z /identityPsksr} passphrasercs&i|]\}}|kr||qSr)r)rrr)rrr rszAWireless.createNetworkWirelessSsidIdentityPsk..)rr r!rr) rr?rr}rr#rrr$r)rr rs   z-Wireless.createNetworkWirelessSsidIdentityPsk)r?r identityPskIdcCs6ddddgdd}d|d|d |}|j||S) a **Return an Identity PSK** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-identity-psk - networkId (string): (required) - number (string): (required) - identityPskId (string): (required) r r rr!getNetworkWirelessSsidIdentityPsk)rrz /networks/z/wireless/ssids/z/identityPsks/)rr)rr?rrrrrrr rs z*Wireless.getNetworkWirelessSsidIdentityPskc sd|tddddgdd}d|d|d |}d d d gfd d|D}|j|||S)a **Update an Identity PSK** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-identity-psk - networkId (string): (required) - number (string): (required) - identityPskId (string): (required) - name (string): The name of the Identity PSK - passphrase (string): The passphrase for client authentication - groupPolicyId (string): The group policy to be applied to clients r r rr$updateNetworkWirelessSsidIdentityPsk)rrz /networks/z/wireless/ssids/z/identityPsks/r}rrcs&i|]\}}|kr||qSr)r)rrr)rrr r szAWireless.updateNetworkWirelessSsidIdentityPsk..)rr r!rr")rr?rrr#rrr$r)rr rs   z-Wireless.updateNetworkWirelessSsidIdentityPskcCs6ddddgdd}d|d|d |}|j||S) a **Delete an Identity PSK** https://developer.cisco.com/meraki/api-v1/#!delete-network-wireless-ssid-identity-psk - networkId (string): (required) - number (string): (required) - identityPskId (string): (required) r r rr$deleteNetworkWirelessSsidIdentityPsk)rrz /networks/z/wireless/ssids/z/identityPsks/)rr)rr?rrrrrrr rs z-Wireless.deleteNetworkWirelessSsidIdentityPskcCs2ddddgdd}d|d|d }|j||S) z **List the outage schedule for the SSID** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-schedules - networkId (string): (required) - number (string): (required) r r r schedulesgetNetworkWirelessSsidSchedules)rrz /networks/z/wireless/ssids/z /schedules)rr)rr?rrrrrr r's z(Wireless.getNetworkWirelessSsidSchedulesc s`|tddddgdd}d|d|d }d d d gfd d|D}|j|||S)a **Update the outage schedule for the SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-schedules - networkId (string): (required) - number (string): (required) - enabled (boolean): If true, the SSID outage schedule is enabled. - ranges (array): List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence. - rangesInSeconds (array): List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence. r r rr"updateNetworkWirelessSsidSchedules)rrz /networks/z/wireless/ssids/z /schedulesrDrangesZrangesInSecondscs&i|]\}}|kr||qSr)r)rrr)rrr rOsz?Wireless.updateNetworkWirelessSsidSchedules..)rr r!rr")rr?rr#rrr$r)rr r:s   z+Wireless.updateNetworkWirelessSsidSchedulescCs4dddddgdd}d|d |d }|j||S) z **Display the splash page settings for the given SSID** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-splash-settings - networkId (string): (required) - number (string): (required) r r rsplashr$getNetworkWirelessSsidSplashSettings)rrz /networks/z/wireless/ssids/z/splash/settings)rr)rr?rrrrrr rUs z-Wireless.getNetworkWirelessSsidSplashSettingsc s|td|krBdddg}|d|ksBtd|dd|ddd d d gd d }d|d|d}ddddddddddddddgfdd|D}|j|||S) a **Modify the splash page settings for the given SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-splash-settings - networkId (string): (required) - number (string): (required) - splashUrl (string): [optional] The custom splash URL of the click-through splash page. Note that the URL can be configured without necessarily being used. In order to enable the custom URL, see 'useSplashUrl' - useSplashUrl (boolean): [optional] Boolean indicating whether the users will be redirected to the custom splash url. A custom splash URL must be set if this is true. Note that depending on your SSID's access control settings, it may not be possible to use the custom splash URL. - splashTimeout (integer): Splash timeout in minutes. This will determine how often users will see the splash page. - redirectUrl (string): The custom redirect URL where the users will go after the splash page. - useRedirectUrl (boolean): The Boolean indicating whether the the user will be redirected to the custom redirect URL after the splash page. A custom redirect URL must be set if this is true. - welcomeMessage (string): The welcome message for the users on the splash page. - splashLogo (object): The logo used in the splash page. - splashImage (object): The image used in the splash page. - splashPrepaidFront (object): The prepaid front image used in the splash page. - blockAllTrafficBeforeSignOn (boolean): How restricted allowing traffic should be. If true, all traffic types are blocked until the splash page is acknowledged. If false, all non-HTTP traffic is allowed before the splash page is acknowledged. - controllerDisconnectionBehavior (string): How login attempts should be handled when the controller is unreachable. Can be either 'open', 'restricted', or 'default'. - allowSimultaneousLogins (boolean): Whether or not to allow simultaneous logins from different devices. - guestSponsorship (object): Details associated with guest sponsored splash. - billing (object): Details associated with billing splash. ZcontrollerDisconnectionBehaviorrZ restricteddefaultz-"controllerDisconnectionBehavior" cannot be "z", & must be set to one of: r r rrr'updateNetworkWirelessSsidSplashSettings)rrz /networks/z/wireless/ssids/z/splash/settingsZ splashUrlZ useSplashUrlZ splashTimeoutZ redirectUrlZuseRedirectUrlZwelcomeMessageZ splashLogoZ splashImageZsplashPrepaidFrontZblockAllTrafficBeforeSignOnZallowSimultaneousLoginsZguestSponsorshiprFcs&i|]\}}|kr||qSr)r)rrr)rrr rszDWireless.updateNetworkWirelessSsidSplashSettings..)rr r1r!rr")rr?rr#r2rrr$r)rr rhs  $  z0Wireless.updateNetworkWirelessSsidSplashSettingsc sb|tdddddgdd}d|d |d }d d dgfd d|D}|j|||S)a^ **Update the traffic shaping settings for an SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-traffic-shaping-rules - networkId (string): (required) - number (string): (required) - trafficShapingEnabled (boolean): Whether traffic shaping rules are applied to clients on your SSID. - defaultRulesEnabled (boolean): Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8. - rules (array): An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules. r r rtrafficShapingr,updateNetworkWirelessSsidTrafficShapingRules)rrz /networks/z/wireless/ssids/z/trafficShaping/rulesZtrafficShapingEnabledZdefaultRulesEnabledcs&i|]\}}|kr||qSr)r)rrr)rrr rszIWireless.updateNetworkWirelessSsidTrafficShapingRules..)rr r!rr")rr?rr#rrr$r)rr rs   z5Wireless.updateNetworkWirelessSsidTrafficShapingRulescCs4dddddgdd}d|d |d }|j||S) a  **Display the traffic shaping settings for a SSID on an MR network** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-traffic-shaping-rules - networkId (string): (required) - number (string): (required) r r rrr)getNetworkWirelessSsidTrafficShapingRules)rrz /networks/z/wireless/ssids/z/trafficShaping/rules)rr)rr?rrrrrr rs z2Wireless.getNetworkWirelessSsidTrafficShapingRulescCs2ddddgdd}d|d|d }|j||S) z **List the VPN settings for the SSID.** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-vpn - networkId (string): (required) - number (string): (required) r r rvpngetNetworkWirelessSsidVpn)rrz /networks/z/wireless/ssids/z/vpn)rr)rr?rrrrrr rs z"Wireless.getNetworkWirelessSsidVpnc s\|tddddgdd}d|d|d }d gfd d |D}|j|||S) a, **Update the VPN settings for the SSID** https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid-vpn - networkId (string): (required) - number (string): (required) - splitTunnel (object): The VPN split tunnel settings for this SSID. r r rrupdateNetworkWirelessSsidVpn)rrz /networks/z/wireless/ssids/z/vpnZ splitTunnelcs&i|]\}}|kr||qSr)r)rrr)rrr rsz9Wireless.updateNetworkWirelessSsidVpn..)rr r!rr")rr?rr#rrr$r)rr rs  z%Wireless.updateNetworkWirelessSsidVpnc s|td|kr@ddg}|d|ks@td|dd|dddgd d }d |d }d dddddddddg fdd|D}|j|||S)a **Return AP usage over time for a device or network client** https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-usage-history - networkId (string): (required) - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 31 days after t0. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days. - resolution (integer): The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400. - autoResolution (boolean): Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false. - clientId (string): Filter results by network client to return per-device AP usage over time inner joined by the queried client's connection history. - deviceSerial (string): Filter results by device. Requires :band. - apTag (string): Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified. - band (string): Filter results by band (either '2.4' or '5'). - ssid (integer): Filter results by SSID number. r%z2.4r&z"band" cannot be "z", & must be set to one of: r r'Z usageHistorygetNetworkWirelessUsageHistory)rrz /networks/z/wireless/usageHistoryr*r+r,rMrNrOrPr/r-cs&i|]\}}|kr||qSr)r)rrr)r0rr rsz;Wireless.getNetworkWirelessUsageHistory..)rr r1r!rr)rr?r#r2rrr3r)r0r rs $ z'Wireless.getNetworkWirelessUsageHistory)rVrW)rVrW)E__name__ __module__ __qualname__rstrrrr)r5r8r9r>r@rBrCrGrHrJrKrLrQrSrTrUrfrprqrrrsrurvrwrxryrzr|rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr __classcell__rr)rr rs "#!$%"##2$"%"#$)#%& %g*rN)objectrrrrr