From 628dfe74544b5ccfd67de621057c29ba1b89b0cd Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 19 Aug 2026 14:16:48 +0000 Subject: [PATCH] Auto-generated library v4.4.0b2 for API v1.73.0-beta.2. --- docs/generation-report.md | 6 ++ meraki/__init__.py | 2 +- meraki/_version.py | 2 +- meraki/aio/api/campusGateway.py | 66 ++++++------- meraki/aio/api/networks.py | 4 +- meraki/aio/api/organizations.py | 19 ++++ meraki/aio/api/switch.py | 14 +-- meraki/aio/api/wireless.py | 158 ------------------------------ meraki/api/batch/campusGateway.py | 6 +- meraki/api/batch/switch.py | 14 +-- meraki/api/campusGateway.py | 66 ++++++------- meraki/api/networks.py | 4 +- meraki/api/organizations.py | 19 ++++ meraki/api/switch.py | 14 +-- meraki/api/wireless.py | 158 ------------------------------ pyproject.toml | 2 +- uv.lock | 2 +- 17 files changed, 147 insertions(+), 409 deletions(-) diff --git a/docs/generation-report.md b/docs/generation-report.md index e9eaf33..828fb85 100644 --- a/docs/generation-report.md +++ b/docs/generation-report.md @@ -1,5 +1,11 @@ # Generation Report +## 2026-08-19 | Library v4.4.0b2 | API 1.73.0-beta.2 + + +No Python keyword parameter conflicts detected. + + ## 2026-08-12 | Library v4.4.0b1 | API 1.73.0-beta.1 diff --git a/meraki/__init__.py b/meraki/__init__.py index a4287c4..ed17c0f 100644 --- a/meraki/__init__.py +++ b/meraki/__init__.py @@ -52,7 +52,7 @@ from meraki.exceptions import APIError, APIKeyError, APIResponseError, AsyncAPIError from meraki.rest_session import RestSession -__api_version__ = "1.73.0-beta.1" +__api_version__ = "1.73.0-beta.2" __all__ = [ "APIError", diff --git a/meraki/_version.py b/meraki/_version.py index e8957a0..350a141 100644 --- a/meraki/_version.py +++ b/meraki/_version.py @@ -1 +1 @@ -__version__ = "4.4.0b1" +__version__ = "4.4.0b2" diff --git a/meraki/aio/api/campusGateway.py b/meraki/aio/api/campusGateway.py index eb83441..24a46f7 100644 --- a/meraki/aio/api/campusGateway.py +++ b/meraki/aio/api/campusGateway.py @@ -657,6 +657,39 @@ def getOrganizationCampusGatewayClustersTunnelable( return self._session.get_pages(metadata, resource, params, total_pages, direction) + def batchOrganizationCampusGatewayClustersTunnelingUpdate(self, organizationId: str, **kwargs): + """ + **Update MCG cluster-network tunnel settings for multiple networks** + https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-update + + - organizationId (string): Organization ID + - items (array): MCG cluster-network tunnel settings + """ + + kwargs.update(locals()) + + metadata = { + "tags": ["campusGateway", "configure", "clusters", "tunneling"], + "operation": "batchOrganizationCampusGatewayClustersTunnelingUpdate", + } + organizationId = urllib.parse.quote(str(organizationId), safe="") + resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/batchUpdate" + + body_params = [ + "items", + ] + payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} + + if self._session._validate_kwargs: + all_params = [] + body_params + invalid = [k for k in kwargs if k.strip() not in all_params and k != "self"] + if invalid and self._session._logger: + self._session._logger.warning( + f"batchOrganizationCampusGatewayClustersTunnelingUpdate: ignoring unrecognized kwargs: {invalid}" + ) + + return self._session.post(metadata, resource, payload) + def getOrganizationCampusGatewayClustersTunnelingByClusterByNetwork( self, organizationId: str, total_pages=1, direction="next", **kwargs ): @@ -713,39 +746,6 @@ def getOrganizationCampusGatewayClustersTunnelingByClusterByNetwork( return self._session.get_pages(metadata, resource, params, total_pages, direction) - def batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate(self, organizationId: str, **kwargs): - """ - **Update MCG cluster-network tunnel settings for multiple networks** - https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-by-cluster-by-network-update - - - organizationId (string): Organization ID - - items (array): MCG cluster-network tunnel settings - """ - - kwargs.update(locals()) - - metadata = { - "tags": ["campusGateway", "configure", "clusters", "tunneling", "byCluster", "byNetwork"], - "operation": "batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate", - } - organizationId = urllib.parse.quote(str(organizationId), safe="") - resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/byCluster/byNetwork/batchUpdate" - - body_params = [ - "items", - ] - payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} - - if self._session._validate_kwargs: - all_params = [] + body_params - invalid = [k for k in kwargs if k.strip() not in all_params and k != "self"] - if invalid and self._session._logger: - self._session._logger.warning( - f"batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate: ignoring unrecognized kwargs: {invalid}" - ) - - return self._session.post(metadata, resource, payload) - def getOrganizationCampusGatewayConnections(self, organizationId: str, total_pages=1, direction="next", **kwargs): """ **List the details of APs tunneling through the Campus Gateway clusters** diff --git a/meraki/aio/api/networks.py b/meraki/aio/api/networks.py index e9102e1..2fcb5e8 100644 --- a/meraki/aio/api/networks.py +++ b/meraki/aio/api/networks.py @@ -1212,9 +1212,10 @@ def updateNetworkFirmwareUpgradesStagedEvents(self, networkId: str, stages: list - networkId (string): Network ID - stages (array): All firmware upgrade stages in the network with their start time. + - products (object): Contains firmware upgrade settings """ - kwargs = locals() + kwargs.update(locals()) metadata = { "tags": ["networks", "configure", "firmwareUpgrades", "staged", "events"], @@ -1224,6 +1225,7 @@ def updateNetworkFirmwareUpgradesStagedEvents(self, networkId: str, stages: list resource = f"/networks/{networkId}/firmwareUpgrades/staged/events" body_params = [ + "products", "stages", ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} diff --git a/meraki/aio/api/organizations.py b/meraki/aio/api/organizations.py index 3e78397..9e7164b 100644 --- a/meraki/aio/api/organizations.py +++ b/meraki/aio/api/organizations.py @@ -3187,6 +3187,25 @@ def getOrganizationAssuranceProductAnnouncements(self, organizationId: str, **kw return self._session.get(metadata, resource, params) + def getOrganizationAssuranceRcaDefaultContent(self, organizationId: str, alertType: str): + """ + **Return default RCA content for an Assurance alert type** + https://developer.cisco.com/meraki/api-v1/#!get-organization-assurance-rca-default-content + + - organizationId (string): Organization ID + - alertType (string): Alert type + """ + + metadata = { + "tags": ["organizations", "monitor", "rca", "defaultContent"], + "operation": "getOrganizationAssuranceRcaDefaultContent", + } + organizationId = urllib.parse.quote(str(organizationId), safe="") + alertType = urllib.parse.quote(str(alertType), safe="") + resource = f"/organizations/{organizationId}/assurance/rca/defaultContent/{alertType}" + + return self._session.get(metadata, resource) + def getOrganizationAssuranceScores(self, organizationId: str, total_pages=1, direction="next", **kwargs): """ **Get network health scores for a list of networks.** diff --git a/meraki/aio/api/switch.py b/meraki/aio/api/switch.py index af22b57..49ea103 100644 --- a/meraki/aio/api/switch.py +++ b/meraki/aio/api/switch.py @@ -355,9 +355,9 @@ def createDeviceSwitchRoutingInterface(self, serial: str, name: str, **kwargs): - serial (string): Serial - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -452,7 +452,7 @@ def updateDeviceSwitchRoutingInterface(self, serial: str, interfaceId: str, **kw - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -1110,6 +1110,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar - networkId (string): Network ID - enabled (boolean): Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set + - useOobMgmt (boolean): Boolean value to use out-of-band management interface when configured - vlanId (integer): Alternate management VLAN, must be between 1 and 4094 - protocols (array): Can be one or more of the following values: 'radius', 'snmp' or 'syslog' - switches (array): Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments @@ -1126,6 +1127,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar body_params = [ "enabled", + "useOobMgmt", "vlanId", "protocols", "switches", @@ -2850,9 +2852,9 @@ def createNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - networkId (string): Network ID - switchStackId (string): Switch stack ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -2953,7 +2955,7 @@ def updateNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. diff --git a/meraki/aio/api/wireless.py b/meraki/aio/api/wireless.py index 55657fa..fc73b78 100644 --- a/meraki/aio/api/wireless.py +++ b/meraki/aio/api/wireless.py @@ -5579,7 +5579,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5590,12 +5589,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork", @@ -5608,7 +5601,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5653,7 +5645,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5664,12 +5655,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byBand"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand", @@ -5682,7 +5667,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5727,7 +5711,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5738,12 +5721,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClient"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClient", @@ -5756,7 +5733,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5801,7 +5777,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5812,12 +5787,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClientOs"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClientOs", @@ -5830,7 +5799,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5875,7 +5843,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5886,12 +5853,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClientType"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClientType", @@ -5904,7 +5865,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5949,7 +5909,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5960,12 +5919,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byDevice"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevice", @@ -5978,7 +5931,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6023,7 +5975,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 14 days. The default is 2 hours. If interval is provided, the timespan will be autocalculated. @@ -6035,12 +5986,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "monitor", "experience", "successfulConnects", "byNetwork", "byInterval"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInterval", @@ -6053,7 +5998,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6099,7 +6043,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6110,12 +6053,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byServer"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServer", @@ -6128,7 +6065,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6173,7 +6109,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6184,12 +6119,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "bySsid"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid", @@ -6202,7 +6131,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6250,7 +6178,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor - insights (string): Source used to compute insights. Defaults to dashboard. - contributor (string): Contributor for which to retrieve insights. If not specified, returns overall insights. - subContributor (string): Sub-contributor for which to retrieve insights. If not specified, returns all sub contributor insights. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6271,11 +6198,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor assert kwargs["contributor"] in options, ( f'''"contributor" cannot be "{kwargs["contributor"]}", & must be set to one of: {options}''' ) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "insights", "byNetwork"], @@ -6292,7 +6214,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor "insights", "contributor", "subContributor", - "variant", "t0", "t1", "timespan", @@ -6337,7 +6258,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6348,12 +6268,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork", @@ -6366,7 +6280,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6411,7 +6324,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6422,12 +6334,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byBand"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand", @@ -6440,7 +6346,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6485,7 +6390,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6496,12 +6400,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClient"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient", @@ -6514,7 +6412,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6559,7 +6456,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6570,12 +6466,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClientOs"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs", @@ -6588,7 +6478,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6633,7 +6522,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6644,12 +6532,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClientType"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType", @@ -6662,7 +6544,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6707,7 +6588,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6718,12 +6598,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byDevice"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice", @@ -6736,7 +6610,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6781,7 +6654,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 14 days. The default is 2 hours. If interval is provided, the timespan will be autocalculated. @@ -6793,12 +6665,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "monitor", "experience", "timeToConnect", "byNetwork", "byInterval"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval", @@ -6811,7 +6677,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6857,7 +6722,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6868,12 +6732,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byServer"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer", @@ -6886,7 +6744,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6931,7 +6788,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6942,12 +6798,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "bySsid"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid", @@ -6960,7 +6810,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -7008,7 +6857,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( - insights (string): Source used to compute insights. Defaults to dashboard. - contributor (string): Contributor for which to retrieve insights. If not specified, returns overall insights. - subContributor (string): Sub-contributor for which to retrieve insights. If not specified, returns all sub contributor insights. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -7029,11 +6877,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( assert kwargs["contributor"] in options, ( f'''"contributor" cannot be "{kwargs["contributor"]}", & must be set to one of: {options}''' ) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "insights", "byNetwork"], @@ -7050,7 +6893,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( "insights", "contributor", "subContributor", - "variant", "t0", "t1", "timespan", diff --git a/meraki/api/batch/campusGateway.py b/meraki/api/batch/campusGateway.py index 3dc853d..d1298d2 100644 --- a/meraki/api/batch/campusGateway.py +++ b/meraki/api/batch/campusGateway.py @@ -185,10 +185,10 @@ def provisionOrganizationCampusGatewayClusters( } return action - def batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate(self, organizationId: str, **kwargs): + def batchOrganizationCampusGatewayClustersTunnelingUpdate(self, organizationId: str, **kwargs): """ **Update MCG cluster-network tunnel settings for multiple networks** - https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-by-cluster-by-network-update + https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-update - organizationId (string): Organization ID - items (array): MCG cluster-network tunnel settings @@ -197,7 +197,7 @@ def batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate(self kwargs.update(locals()) organizationId = urllib.parse.quote(organizationId, safe="") - resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/byCluster/byNetwork/batchUpdate" + resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/batchUpdate" body_params = [ "items", diff --git a/meraki/api/batch/switch.py b/meraki/api/batch/switch.py index 92d7381..c039757 100644 --- a/meraki/api/batch/switch.py +++ b/meraki/api/batch/switch.py @@ -178,9 +178,9 @@ def createDeviceSwitchRoutingInterface(self, serial: str, name: str, **kwargs): - serial (string): Serial - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -250,7 +250,7 @@ def updateDeviceSwitchRoutingInterface(self, serial: str, interfaceId: str, **kw - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -689,6 +689,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar - networkId (string): Network ID - enabled (boolean): Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set + - useOobMgmt (boolean): Boolean value to use out-of-band management interface when configured - vlanId (integer): Alternate management VLAN, must be between 1 and 4094 - protocols (array): Can be one or more of the following values: 'radius', 'snmp' or 'syslog' - switches (array): Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments @@ -701,6 +702,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar body_params = [ "enabled", + "useOobMgmt", "vlanId", "protocols", "switches", @@ -1559,9 +1561,9 @@ def createNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - networkId (string): Network ID - switchStackId (string): Switch stack ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -1633,7 +1635,7 @@ def updateNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. diff --git a/meraki/api/campusGateway.py b/meraki/api/campusGateway.py index 466b7d1..60ef44f 100644 --- a/meraki/api/campusGateway.py +++ b/meraki/api/campusGateway.py @@ -657,6 +657,39 @@ def getOrganizationCampusGatewayClustersTunnelable( return self._session.get_pages(metadata, resource, params, total_pages, direction) + def batchOrganizationCampusGatewayClustersTunnelingUpdate(self, organizationId: str, **kwargs): + """ + **Update MCG cluster-network tunnel settings for multiple networks** + https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-update + + - organizationId (string): Organization ID + - items (array): MCG cluster-network tunnel settings + """ + + kwargs.update(locals()) + + metadata = { + "tags": ["campusGateway", "configure", "clusters", "tunneling"], + "operation": "batchOrganizationCampusGatewayClustersTunnelingUpdate", + } + organizationId = urllib.parse.quote(str(organizationId), safe="") + resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/batchUpdate" + + body_params = [ + "items", + ] + payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} + + if self._session._validate_kwargs: + all_params = [] + body_params + invalid = [k for k in kwargs if k.strip() not in all_params and k != "self"] + if invalid and self._session._logger: + self._session._logger.warning( + f"batchOrganizationCampusGatewayClustersTunnelingUpdate: ignoring unrecognized kwargs: {invalid}" + ) + + return self._session.post(metadata, resource, payload) + def getOrganizationCampusGatewayClustersTunnelingByClusterByNetwork( self, organizationId: str, total_pages=1, direction="next", **kwargs ): @@ -713,39 +746,6 @@ def getOrganizationCampusGatewayClustersTunnelingByClusterByNetwork( return self._session.get_pages(metadata, resource, params, total_pages, direction) - def batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate(self, organizationId: str, **kwargs): - """ - **Update MCG cluster-network tunnel settings for multiple networks** - https://developer.cisco.com/meraki/api-v1/#!batch-organization-campus-gateway-clusters-tunneling-by-cluster-by-network-update - - - organizationId (string): Organization ID - - items (array): MCG cluster-network tunnel settings - """ - - kwargs.update(locals()) - - metadata = { - "tags": ["campusGateway", "configure", "clusters", "tunneling", "byCluster", "byNetwork"], - "operation": "batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate", - } - organizationId = urllib.parse.quote(str(organizationId), safe="") - resource = f"/organizations/{organizationId}/campusGateway/clusters/tunneling/byCluster/byNetwork/batchUpdate" - - body_params = [ - "items", - ] - payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} - - if self._session._validate_kwargs: - all_params = [] + body_params - invalid = [k for k in kwargs if k.strip() not in all_params and k != "self"] - if invalid and self._session._logger: - self._session._logger.warning( - f"batchOrganizationCampusGatewayClustersTunnelingByClusterByNetworkUpdate: ignoring unrecognized kwargs: {invalid}" - ) - - return self._session.post(metadata, resource, payload) - def getOrganizationCampusGatewayConnections(self, organizationId: str, total_pages=1, direction="next", **kwargs): """ **List the details of APs tunneling through the Campus Gateway clusters** diff --git a/meraki/api/networks.py b/meraki/api/networks.py index 35cbd98..324bd40 100644 --- a/meraki/api/networks.py +++ b/meraki/api/networks.py @@ -1212,9 +1212,10 @@ def updateNetworkFirmwareUpgradesStagedEvents(self, networkId: str, stages: list - networkId (string): Network ID - stages (array): All firmware upgrade stages in the network with their start time. + - products (object): Contains firmware upgrade settings """ - kwargs = locals() + kwargs.update(locals()) metadata = { "tags": ["networks", "configure", "firmwareUpgrades", "staged", "events"], @@ -1224,6 +1225,7 @@ def updateNetworkFirmwareUpgradesStagedEvents(self, networkId: str, stages: list resource = f"/networks/{networkId}/firmwareUpgrades/staged/events" body_params = [ + "products", "stages", ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} diff --git a/meraki/api/organizations.py b/meraki/api/organizations.py index 30ae7c3..9ef64c2 100644 --- a/meraki/api/organizations.py +++ b/meraki/api/organizations.py @@ -3187,6 +3187,25 @@ def getOrganizationAssuranceProductAnnouncements(self, organizationId: str, **kw return self._session.get(metadata, resource, params) + def getOrganizationAssuranceRcaDefaultContent(self, organizationId: str, alertType: str): + """ + **Return default RCA content for an Assurance alert type** + https://developer.cisco.com/meraki/api-v1/#!get-organization-assurance-rca-default-content + + - organizationId (string): Organization ID + - alertType (string): Alert type + """ + + metadata = { + "tags": ["organizations", "monitor", "rca", "defaultContent"], + "operation": "getOrganizationAssuranceRcaDefaultContent", + } + organizationId = urllib.parse.quote(str(organizationId), safe="") + alertType = urllib.parse.quote(str(alertType), safe="") + resource = f"/organizations/{organizationId}/assurance/rca/defaultContent/{alertType}" + + return self._session.get(metadata, resource) + def getOrganizationAssuranceScores(self, organizationId: str, total_pages=1, direction="next", **kwargs): """ **Get network health scores for a list of networks.** diff --git a/meraki/api/switch.py b/meraki/api/switch.py index 35a0531..5e26b6a 100644 --- a/meraki/api/switch.py +++ b/meraki/api/switch.py @@ -355,9 +355,9 @@ def createDeviceSwitchRoutingInterface(self, serial: str, name: str, **kwargs): - serial (string): Serial - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -452,7 +452,7 @@ def updateDeviceSwitchRoutingInterface(self, serial: str, interfaceId: str, **kw - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -1110,6 +1110,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar - networkId (string): Network ID - enabled (boolean): Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set + - useOobMgmt (boolean): Boolean value to use out-of-band management interface when configured - vlanId (integer): Alternate management VLAN, must be between 1 and 4094 - protocols (array): Can be one or more of the following values: 'radius', 'snmp' or 'syslog' - switches (array): Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments @@ -1126,6 +1127,7 @@ def updateNetworkSwitchAlternateManagementInterface(self, networkId: str, **kwar body_params = [ "enabled", + "useOobMgmt", "vlanId", "protocols", "switches", @@ -2850,9 +2852,9 @@ def createNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - networkId (string): Network ID - switchStackId (string): Switch stack ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback'. Default is 'vlan'. CS 17.18 or higher is required for 'routed' mode. + - mode (string): L3 Interface mode, can be one of 'vlan', 'routed', 'loopback', or 'oob_management'. Default is 'vlan'. IOS XE firmware 17.18 or higher is required for 'routed' mode; IOS XE firmware 26.1.2 or higher is required for 'oob_management' mode. - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. @@ -2953,7 +2955,7 @@ def updateNetworkSwitchStackRoutingInterface(self, networkId: str, switchStackId - interfaceId (string): Interface ID - name (string): A friendly name or description for the interface or VLAN (max length 128 characters). - subnet (string): The network that this L3 interface is on, in CIDR notation (ex. 10.1.1.0/24). - - switchPortId (string): Switch Port ID when in Routed mode (CS 17.18 or higher required) + - switchPortId (string): Switch Port ID when in Routed mode (IOS XE firmware 17.18 or higher required) - interfaceIp (string): The IP address that will be used for Layer 3 routing on this VLAN or subnet. This cannot be the same as the device management IP. - mtu (integer): The interface MTU. Applies to native switch layer 3 interfaces, including VLAN and routed modes. - multicastRouting (string): Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. diff --git a/meraki/api/wireless.py b/meraki/api/wireless.py index 7f1d9b7..6f2d31f 100644 --- a/meraki/api/wireless.py +++ b/meraki/api/wireless.py @@ -5579,7 +5579,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5590,12 +5589,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork", @@ -5608,7 +5601,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetwork( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5653,7 +5645,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5664,12 +5655,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byBand"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand", @@ -5682,7 +5667,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByBand( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5727,7 +5711,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5738,12 +5721,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClient"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClient", @@ -5756,7 +5733,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5801,7 +5777,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5812,12 +5787,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClientOs"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClientOs", @@ -5830,7 +5799,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5875,7 +5843,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5886,12 +5853,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byClientType"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClientType", @@ -5904,7 +5865,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByClien "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -5949,7 +5909,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -5960,12 +5919,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byDevice"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevice", @@ -5978,7 +5931,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByDevic "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6023,7 +5975,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 14 days. The default is 2 hours. If interval is provided, the timespan will be autocalculated. @@ -6035,12 +5986,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "monitor", "experience", "successfulConnects", "byNetwork", "byInterval"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInterval", @@ -6053,7 +5998,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByInter "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6099,7 +6043,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6110,12 +6053,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "byServer"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServer", @@ -6128,7 +6065,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkByServe "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6173,7 +6109,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6184,12 +6119,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "byNetwork", "bySsid"], "operation": "getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid", @@ -6202,7 +6131,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsByNetworkBySsid( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6250,7 +6178,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor - insights (string): Source used to compute insights. Defaults to dashboard. - contributor (string): Contributor for which to retrieve insights. If not specified, returns overall insights. - subContributor (string): Sub-contributor for which to retrieve insights. If not specified, returns all sub contributor insights. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6271,11 +6198,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor assert kwargs["contributor"] in options, ( f'''"contributor" cannot be "{kwargs["contributor"]}", & must be set to one of: {options}''' ) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) metadata = { "tags": ["wireless", "configure", "experience", "successfulConnects", "insights", "byNetwork"], @@ -6292,7 +6214,6 @@ def getOrganizationAssuranceWirelessExperienceSuccessfulConnectsInsightsByNetwor "insights", "contributor", "subContributor", - "variant", "t0", "t1", "timespan", @@ -6337,7 +6258,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6348,12 +6268,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork", @@ -6366,7 +6280,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetwork( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6411,7 +6324,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6422,12 +6334,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byBand"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand", @@ -6440,7 +6346,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByBand( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6485,7 +6390,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6496,12 +6400,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClient"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient", @@ -6514,7 +6412,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClient( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6559,7 +6456,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6570,12 +6466,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClientOs"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs", @@ -6588,7 +6478,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientOs( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6633,7 +6522,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6644,12 +6532,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byClientType"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType", @@ -6662,7 +6544,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByClientType "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6707,7 +6588,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6718,12 +6598,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byDevice"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice", @@ -6736,7 +6610,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByDevice( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6781,7 +6654,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 14 days. The default is 2 hours. If interval is provided, the timespan will be autocalculated. @@ -6793,12 +6665,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "monitor", "experience", "timeToConnect", "byNetwork", "byInterval"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval", @@ -6811,7 +6677,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByInterval( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6857,7 +6722,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6868,12 +6732,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "byServer"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer", @@ -6886,7 +6744,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkByServer( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -6931,7 +6788,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( - serials (array): Filter results by device serial. - ssidNumbers (array): Filter results by SSID number. - bands (array): Filter results by band. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -6942,12 +6798,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( kwargs.update(locals()) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) - metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "byNetwork", "bySsid"], "operation": "getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid", @@ -6960,7 +6810,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectByNetworkBySsid( "serials", "ssidNumbers", "bands", - "variant", "t0", "t1", "timespan", @@ -7008,7 +6857,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( - insights (string): Source used to compute insights. Defaults to dashboard. - contributor (string): Contributor for which to retrieve insights. If not specified, returns overall insights. - subContributor (string): Sub-contributor for which to retrieve insights. If not specified, returns all sub contributor insights. - - variant (string): Wireless State Machine variant to use. - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 14 days from today. - t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 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 greater than or equal to 15 minutes and be less than or equal to 14 days. The default is 2 hours. @@ -7029,11 +6877,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( assert kwargs["contributor"] in options, ( f'''"contributor" cannot be "{kwargs["contributor"]}", & must be set to one of: {options}''' ) - if "variant" in kwargs: - options = ["A", "B"] - assert kwargs["variant"] in options, ( - f'''"variant" cannot be "{kwargs["variant"]}", & must be set to one of: {options}''' - ) metadata = { "tags": ["wireless", "configure", "experience", "timeToConnect", "insights", "byNetwork"], @@ -7050,7 +6893,6 @@ def getOrganizationAssuranceWirelessExperienceTimeToConnectInsightsByNetwork( "insights", "contributor", "subContributor", - "variant", "t0", "t1", "timespan", diff --git a/pyproject.toml b/pyproject.toml index 9fca8fc..7ed3393 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "meraki" -version = "4.4.0b1" +version = "4.4.0b2" description = "Cisco Meraki Dashboard API library" authors = [ {name = "Cisco Meraki", email = "api-feedback@meraki.net"} diff --git a/uv.lock b/uv.lock index cf2e931..4ed4df2 100644 --- a/uv.lock +++ b/uv.lock @@ -549,7 +549,7 @@ wheels = [ [[package]] name = "meraki" -version = "4.4.0b1" +version = "4.4.0b2" source = { editable = "." } dependencies = [ { name = "aiohttp" },