diff --git a/meraki/sdk/python/createOrganizationAdaptivePolicyAcl.py b/meraki/sdk/python/createOrganizationAdaptivePolicyAcl.py index 90c6373..dbc4401 100644 --- a/meraki/sdk/python/createOrganizationAdaptivePolicyAcl.py +++ b/meraki/sdk/python/createOrganizationAdaptivePolicyAcl.py @@ -11,7 +11,7 @@ organization_id = '549236' name = 'Block sensitive web traffic' -rules = [{'policy': 'deny', 'protocol': 'tcp', 'srcPort': '1,33', 'dstPort': '22-30'}] +rules = [{'policy': 'deny', 'protocol': 'tcp', 'srcPort': '1,33', 'dstPort': '22-30', 'log': True, 'tcpEstablished': True}] ip_version = 'ipv6' response = dashboard.organizations.createOrganizationAdaptivePolicyAcl( diff --git a/meraki/sdk/python/createOrganizationDevicesControllerMigration.py b/meraki/sdk/python/createOrganizationDevicesControllerMigration.py new file mode 100644 index 0000000..424d0cf --- /dev/null +++ b/meraki/sdk/python/createOrganizationDevicesControllerMigration.py @@ -0,0 +1,20 @@ +import meraki + +# Defining your API key as a variable in source code is discouraged. +# This API key is for a read-only docs-specific environment. +# In your own code, use an environment variable as shown under the Usage section +# @ https://github.com/meraki/dashboard-api-python/ + +API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' + +dashboard = meraki.DashboardAPI(API_KEY) + +organization_id = '549236' +serials = ['QABC-DEFG-HIJK'] +target = 'wirelessController' + +response = dashboard.organizations.createOrganizationDevicesControllerMigration( + organization_id, serials, target +) + +print(response) \ No newline at end of file diff --git a/meraki/sdk/python/getOrganizationDevicesControllerMigrations.py b/meraki/sdk/python/getOrganizationDevicesControllerMigrations.py new file mode 100644 index 0000000..75e6a1d --- /dev/null +++ b/meraki/sdk/python/getOrganizationDevicesControllerMigrations.py @@ -0,0 +1,18 @@ +import meraki + +# Defining your API key as a variable in source code is discouraged. +# This API key is for a read-only docs-specific environment. +# In your own code, use an environment variable as shown under the Usage section +# @ https://github.com/meraki/dashboard-api-python/ + +API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' + +dashboard = meraki.DashboardAPI(API_KEY) + +organization_id = '549236' + +response = dashboard.organizations.getOrganizationDevicesControllerMigrations( + organization_id, total_pages='all' +) + +print(response) \ No newline at end of file diff --git a/meraki/sdk/python/getOrganizationSwitchPortsUsageHistoryByDeviceByInterval.py b/meraki/sdk/python/getOrganizationSwitchPortsUsageHistoryByDeviceByInterval.py new file mode 100644 index 0000000..70c2412 --- /dev/null +++ b/meraki/sdk/python/getOrganizationSwitchPortsUsageHistoryByDeviceByInterval.py @@ -0,0 +1,18 @@ +import meraki + +# Defining your API key as a variable in source code is discouraged. +# This API key is for a read-only docs-specific environment. +# In your own code, use an environment variable as shown under the Usage section +# @ https://github.com/meraki/dashboard-api-python/ + +API_KEY = '75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6' + +dashboard = meraki.DashboardAPI(API_KEY) + +organization_id = '549236' + +response = dashboard.switch.getOrganizationSwitchPortsUsageHistoryByDeviceByInterval( + organization_id, total_pages='all' +) + +print(response) \ No newline at end of file diff --git a/meraki/sdk/python/updateNetworkWirelessSsid.py b/meraki/sdk/python/updateNetworkWirelessSsid.py index 67721e8..4ecbb1c 100644 --- a/meraki/sdk/python/updateNetworkWirelessSsid.py +++ b/meraki/sdk/python/updateNetworkWirelessSsid.py @@ -37,6 +37,7 @@ radiusServerTimeout=5, radiusServerAttemptsLimit=5, radiusFallbackEnabled=True, + radiusRadsec={'tlsTunnel': {'timeout': 600}}, radiusCoaEnabled=True, radiusFailoverPolicy='Deny access', radiusLoadBalancingPolicy='Round robin', diff --git a/meraki/sdk/python/updateOrganizationAdaptivePolicyAcl.py b/meraki/sdk/python/updateOrganizationAdaptivePolicyAcl.py index ba2d69e..d9ecea7 100644 --- a/meraki/sdk/python/updateOrganizationAdaptivePolicyAcl.py +++ b/meraki/sdk/python/updateOrganizationAdaptivePolicyAcl.py @@ -16,7 +16,7 @@ organization_id, acl_id, name='Block sensitive web traffic', description='Blocks sensitive web traffic', - rules=[{'policy': 'deny', 'protocol': 'tcp', 'srcPort': '1,33', 'dstPort': '22-30'}], + rules=[{'policy': 'deny', 'protocol': 'tcp', 'srcPort': '1,33', 'dstPort': '22-30', 'log': True, 'tcpEstablished': True}], ipVersion='ipv6' )