Skip to content

Commit 5f5e552

Browse files
Update Python SDK to v1.6.0
1 parent d1605a9 commit 5f5e552

13 files changed

Lines changed: 383 additions & 173 deletions

meraki/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
SUPPRESS_LOGGING, SIMULATE_API_CALLS, BE_GEO_ID, MERAKI_PYTHON_SDK_CALLER
2121
)
2222

23-
__version__ = '1.4.3'
23+
__version__ = '1.6.0'
2424

2525
class DashboardAPI(object):
2626
"""

meraki/aio/api/appliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ def updateOrganizationApplianceSecurityIntrusion(self, organizationId: str, allo
14791479
https://developer.cisco.com/meraki/api-v1/#!update-organization-appliance-security-intrusion
14801480
14811481
- organizationId (string): (required)
1482-
- allowedRules (array): Sets a list of specific SNORT(r) signatures to allow
1482+
- allowedRules (array): Sets a list of specific SNORT® signatures to allow
14831483
"""
14841484

14851485
kwargs = locals()

meraki/aio/api/camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def updateDeviceCameraQualityAndRetention(self, serial: str, **kwargs):
167167
168168
- serial (string): (required)
169169
- profileId (string): The ID of a quality and retention profile to assign to the camera. The profile's settings will override all of the per-camera quality and retention settings. If the value of this parameter is null, any existing profile will be unassigned from the camera.
170-
- motionBasedRetentionEnabled (boolean): Boolean indicating if motion-based retention is enabled(true) or disabled(false) on the camera
170+
- motionBasedRetentionEnabled (boolean): Boolean indicating if motion-based retention is enabled(true) or disabled(false) on the camera.
171171
- audioRecordingEnabled (boolean): Boolean indicating if audio recording is enabled(true) or disabled(false) on the camera
172172
- restrictedBandwidthModeEnabled (boolean): Boolean indicating if restricted bandwidth is enabled(true) or disabled(false) on the camera
173173
- quality (string): Quality of the camera. Can be one of 'Standard', 'High' or 'Enhanced'. Not all qualities are supported by every camera model.

meraki/aio/api/networks.py

Lines changed: 77 additions & 75 deletions
Large diffs are not rendered by default.

meraki/aio/api/organizations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ def createOrganizationNetwork(self, organizationId: str, name: str, productTypes
10921092
- tags (array): A list of tags to be applied to the network
10931093
- timeZone (string): The timezone of the network. For a list of allowed timezones, please see the 'TZ' column in the table in <a target='_blank' href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>this article.</a>
10941094
- copyFromNetworkId (string): The ID of the network to copy configuration from. Other provided parameters will override the copied configuration, except type which must match this network's type exactly.
1095+
- notes (string): Add any notes or additional information about this network here.
10951096
"""
10961097

10971098
kwargs.update(locals())
@@ -1102,7 +1103,7 @@ def createOrganizationNetwork(self, organizationId: str, name: str, productTypes
11021103
}
11031104
resource = f'/organizations/{organizationId}/networks'
11041105

1105-
body_params = ['name', 'productTypes', 'tags', 'timeZone', 'copyFromNetworkId', ]
1106+
body_params = ['name', 'productTypes', 'tags', 'timeZone', 'copyFromNetworkId', 'notes', ]
11061107
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
11071108

11081109
return self._session.post(metadata, resource, payload)

meraki/aio/api/switch.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ def createNetworkSwitchAccessPolicy(self, networkId: str, name: str, radiusServe
544544
- hostMode (string): Choose the Host Mode for the access policy.
545545
- urlRedirectWalledGardenEnabled (boolean): Enable to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
546546
- radiusAccountingServers (array): List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
547+
- radiusGroupAttribute (string): Acceptable values are `""` for None, or `"11"` for Group Policies ACL
547548
- accessPolicyType (string): Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
548549
- increaseAccessSpeed (boolean): Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
549550
- guestVlanId (integer): ID for the guest VLAN allow unauthorized devices access to limited network resources
@@ -566,7 +567,7 @@ def createNetworkSwitchAccessPolicy(self, networkId: str, name: str, radiusServe
566567
}
567568
resource = f'/networks/{networkId}/switch/accessPolicies'
568569

569-
body_params = ['name', 'radiusServers', 'radiusTestingEnabled', 'radiusCoaSupportEnabled', 'radiusAccountingEnabled', 'radiusAccountingServers', 'hostMode', 'accessPolicyType', 'increaseAccessSpeed', 'guestVlanId', 'voiceVlanClients', 'urlRedirectWalledGardenEnabled', 'urlRedirectWalledGardenRanges', ]
570+
body_params = ['name', 'radiusServers', 'radiusTestingEnabled', 'radiusCoaSupportEnabled', 'radiusAccountingEnabled', 'radiusAccountingServers', 'radiusGroupAttribute', 'hostMode', 'accessPolicyType', 'increaseAccessSpeed', 'guestVlanId', 'voiceVlanClients', 'urlRedirectWalledGardenEnabled', 'urlRedirectWalledGardenRanges', ]
570571
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
571572

572573
return self._session.post(metadata, resource, payload)
@@ -601,6 +602,7 @@ def updateNetworkSwitchAccessPolicy(self, networkId: str, accessPolicyNumber: st
601602
- radiusCoaSupportEnabled (boolean): Change of authentication for RADIUS re-authentication and disconnection
602603
- radiusAccountingEnabled (boolean): Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
603604
- radiusAccountingServers (array): List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
605+
- radiusGroupAttribute (string): Can be either `""`, which means `None` on Dashboard, or `"11"`, which means `Filter-Id` on Dashboard and will use Group Policy ACLs when supported (firmware 14+)
604606
- hostMode (string): Choose the Host Mode for the access policy.
605607
- accessPolicyType (string): Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
606608
- increaseAccessSpeed (boolean): Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
@@ -625,7 +627,7 @@ def updateNetworkSwitchAccessPolicy(self, networkId: str, accessPolicyNumber: st
625627
}
626628
resource = f'/networks/{networkId}/switch/accessPolicies/{accessPolicyNumber}'
627629

628-
body_params = ['name', 'radiusServers', 'radiusTestingEnabled', 'radiusCoaSupportEnabled', 'radiusAccountingEnabled', 'radiusAccountingServers', 'hostMode', 'accessPolicyType', 'increaseAccessSpeed', 'guestVlanId', 'voiceVlanClients', 'urlRedirectWalledGardenEnabled', 'urlRedirectWalledGardenRanges', ]
630+
body_params = ['name', 'radiusServers', 'radiusTestingEnabled', 'radiusCoaSupportEnabled', 'radiusAccountingEnabled', 'radiusAccountingServers', 'radiusGroupAttribute', 'hostMode', 'accessPolicyType', 'increaseAccessSpeed', 'guestVlanId', 'voiceVlanClients', 'urlRedirectWalledGardenEnabled', 'urlRedirectWalledGardenRanges', ]
629631
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
630632

631633
return self._session.put(metadata, resource, payload)
@@ -1148,7 +1150,7 @@ def createNetworkSwitchRoutingMulticastRendezvousPoint(self, networkId: str, int
11481150
https://developer.cisco.com/meraki/api-v1/#!create-network-switch-routing-multicast-rendezvous-point
11491151
11501152
- networkId (string): (required)
1151-
- interfaceIp (string): The IP address of the interface where the RP needs to be created.
1153+
- interfaceIp (string): The IP address of the interface where the RP needs to be created.
11521154
- multicastGroup (string): 'Any', or the IP address of a multicast group
11531155
"""
11541156

0 commit comments

Comments
 (0)