Skip to content

Commit 76e17d9

Browse files
1.7.0 SDK release
Initial generation of SDK with new action batch features, and new features from the OpenAPI spec.
1 parent f58f4dc commit 76e17d9

17 files changed

Lines changed: 4383 additions & 11 deletions

meraki/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
SUPPRESS_LOGGING, SIMULATE_API_CALLS, BE_GEO_ID, MERAKI_PYTHON_SDK_CALLER
3535
)
3636

37-
__version__ = '1.6.3a'
37+
__version__ = '1.7.0'
3838

3939

4040
class DashboardAPI(object):

meraki/aio/api/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def getDeviceLldpCdp(self, serial: str):
114114

115115
def getDeviceLossAndLatencyHistory(self, serial: str, ip: str, **kwargs):
116116
"""
117-
**Get the uplink loss percentage and latency in milliseconds for a wired network device.**
117+
**Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.**
118118
https://developer.cisco.com/meraki/api-v1/#!get-device-loss-and-latency-history
119119
120120
- serial (string): (required)

meraki/aio/api/networks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def getNetworkDevices(self, networkId: str):
464464

465465
def claimNetworkDevices(self, networkId: str, serials: list):
466466
"""
467-
**Claim devices into a network**
467+
**Claim devices into a network. (Note: for recently claimed devices, it may take a few minutes for API requsts against that device to succeed)**
468468
https://developer.cisco.com/meraki/api-v1/#!claim-network-devices
469469
470470
- networkId (string): (required)
@@ -1100,7 +1100,7 @@ def getNetworkNetworkHealthChannelUtilization(self, networkId: str, total_pages=
11001100
kwargs.update(locals())
11011101

11021102
metadata = {
1103-
'tags': ['networks', 'configure', 'networkHealth', 'channelUtilization'],
1103+
'tags': ['networks', 'monitor', 'networkHealth', 'channelUtilization'],
11041104
'operation': 'getNetworkNetworkHealthChannelUtilization'
11051105
}
11061106
resource = f'/networks/{networkId}/networkHealth/channelUtilization'

meraki/aio/api/wireless.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,8 @@ def updateNetworkWirelessSsid(self, networkId: str, number: str, **kwargs):
11511151
- 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.
11521152
- 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.
11531153
- adaptivePolicyGroupId (string): Adaptive policy group ID this SSID is assigned to.
1154-
- 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.
1154+
- 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.
1155+
- adultContentFilteringEnabled (boolean): Boolean indicating whether or not adult content will be blocked
11551156
"""
11561157

11571158
kwargs.update(locals())
@@ -1187,7 +1188,7 @@ def updateNetworkWirelessSsid(self, networkId: str, number: str, **kwargs):
11871188
}
11881189
resource = f'/networks/{networkId}/wireless/ssids/{number}'
11891190

1190-
body_params = ['name', 'enabled', 'authMode', 'enterpriseAdminAccess', 'encryptionMode', 'psk', 'wpaEncryptionMode', 'dot11w', 'dot11r', 'splashPage', 'splashGuestSponsorDomains', 'ldap', 'activeDirectory', 'radiusServers', 'radiusProxyEnabled', 'radiusTestingEnabled', 'radiusCalledStationId', 'radiusAuthenticationNasId', 'radiusServerTimeout', 'radiusServerAttemptsLimit', 'radiusFallbackEnabled', 'radiusCoaEnabled', 'radiusFailoverPolicy', 'radiusLoadBalancingPolicy', 'radiusAccountingEnabled', 'radiusAccountingServers', 'radiusAccountingInterimInterval', 'radiusAttributeForGroupPolicies', 'ipAssignmentMode', 'useVlanTagging', 'concentratorNetworkId', 'vlanId', 'defaultVlanId', 'apTagsAndVlanIds', 'walledGardenEnabled', 'walledGardenRanges', 'radiusOverride', 'radiusGuestVlanEnabled', 'radiusGuestVlanId', 'minBitrate', 'bandSelection', 'perClientBandwidthLimitUp', 'perClientBandwidthLimitDown', 'perSsidBandwidthLimitUp', 'perSsidBandwidthLimitDown', 'lanIsolationEnabled', 'visible', 'availableOnAllAps', 'availabilityTags', 'adaptivePolicyGroupId', 'mandatoryDhcpEnabled', ]
1191+
body_params = ['name', 'enabled', 'authMode', 'enterpriseAdminAccess', 'encryptionMode', 'psk', 'wpaEncryptionMode', 'dot11w', 'dot11r', 'splashPage', 'splashGuestSponsorDomains', 'ldap', 'activeDirectory', 'radiusServers', 'radiusProxyEnabled', 'radiusTestingEnabled', 'radiusCalledStationId', 'radiusAuthenticationNasId', 'radiusServerTimeout', 'radiusServerAttemptsLimit', 'radiusFallbackEnabled', 'radiusCoaEnabled', 'radiusFailoverPolicy', 'radiusLoadBalancingPolicy', 'radiusAccountingEnabled', 'radiusAccountingServers', 'radiusAccountingInterimInterval', 'radiusAttributeForGroupPolicies', 'ipAssignmentMode', 'useVlanTagging', 'concentratorNetworkId', 'vlanId', 'defaultVlanId', 'apTagsAndVlanIds', 'walledGardenEnabled', 'walledGardenRanges', 'radiusOverride', 'radiusGuestVlanEnabled', 'radiusGuestVlanId', 'minBitrate', 'bandSelection', 'perClientBandwidthLimitUp', 'perClientBandwidthLimitDown', 'perSsidBandwidthLimitUp', 'perSsidBandwidthLimitDown', 'lanIsolationEnabled', 'visible', 'availableOnAllAps', 'availabilityTags', 'adaptivePolicyGroupId', 'mandatoryDhcpEnabled', 'adultContentFilteringEnabled', ]
11911192
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
11921193

11931194
return self._session.put(metadata, resource, payload)

0 commit comments

Comments
 (0)