i tried that and was not successful. Thank you for your recommendation, i wound up going in a different direction. this has worked well for me so far: import csv import meraki import os import time def create_vlan_with_retries(dashboard, network_id, vlan_id, vlan_name, subnet, appliance_ip, ipv6_enabled, mandatory_dhcp_enabled, max_retries, retry_delay😞 attempt = 0 while attempt < max_retries: try: dashboard.appliance.createNetworkApplianceVlan( network_id, vlan_id, name=vlan_name, subnet=subnet, applianceIp=appliance_ip, ipv6={'enabled': ipv6_enabled}, mandatoryDhcp={'enabled': mandatory_dhcp_enabled} ) print(f"VLAN {vlan_id} ('{vlan_name}') created successfully for network {network_id}.") return except Exception as e: print(f"Attempt {attempt + 1} for VLAN {vlan_id} ('{vlan_name}') failed with error: {e}") time.sleep(retry_delay) attempt += 1 print(f"Max retries reached for VLAN {vlan_id} ('{vlan_name}').") # Replace this with your Meraki API key API_KEY = os.environ.get('X-Cisco-Meraki-API-Key') dashboard = meraki.DashboardAPI(API_KEY,caller='UserAgentTAG') # Get the organization ID org_id = 'OrgID' max_retries = 5 retry_delay = 5 # Get the networks in the organization networks = dashboard.organizations.getOrganizationNetworks(org_id, tags='Unique_ID_TAG') #loop through networks for network in networks: network_id = network['id'] # copy the desired configuration from the *PUT Tab* Consolidated VLAN Config.xlsx file and past in line 46 below # Create VLAN with ID '21' create_vlan_with_retries( dashboard, network_id, '21', 'Access Control', subnet='10.10.30.0/26', appliance_ip='10.10.30.1', ipv6_enabled=False, mandatory_dhcp_enabled=False, max_retries=max_retries, retry_delay=retry_delay )
... View more