meraki / automation-scripts

MIT License
391 stars 198 forks source link

Issue with manage_devices.py and manage_network.py #52

Open miqdaadp opened 1 year ago

miqdaadp commented 1 year ago

2023-08-24 14:48:37 -- Using configuration file "./config.yaml" GET https://api.meraki.com/api/v1/organizations 200 2023-08-24 14:48:38 -- Source organization id 434227 2023-08-24 14:48:38 -- Destination organization id 434227 GET https://api.meraki.com/api/v1/organizations/434227/networks 200 GET https://api.meraki.com/api/v1/organizations/434227/networks 200 GET https://api.meraki.com/api/v1/organizations/434227/policyObjects 200 GET https://api.meraki.com/api/v1/organizations/434227/policyObjects/groups 200 GET https://api.meraki.com/api/v1/organizations/434227/policyObjects 200 GET https://api.meraki.com/api/v1/organizations/434227/policyObjects/groups 200 2023-08-24 14:48:39 -- Copying policy objects and groups... 2023-08-24 14:48:39 -- Copying VPN firewall rules... GET https://api.meraki.com/api/v1/organizations/434227/appliance/vpn/vpnFirewallRules 200 PUT https://api.meraki.com/api/v1/organizations/434227/appliance/vpn/vpnFirewallRules 200 2023-08-24 14:48:41 -- Creating networks... 2023-08-24 14:48:41 -- Refreshing time zone settings... 2023-08-24 14:48:41 -- Copying MX routing mode settings... 2023-08-24 14:48:41 -- Copying MX VLANs... 2023-08-24 14:48:41 -- Copying MX static routes... 2023-08-24 14:48:41 -- Copying MX L3 firewall rules... 2023-08-24 14:48:41 -- Copying MX traffic shaping settings... 2023-08-24 14:48:41 -- Copying MR SSIDs... 2023-08-24 14:48:41 -- Copying MR Firewall rules... 2023-08-24 14:48:41 -- Copying MR traffic shaping rules... 2023-08-24 14:48:41 -- Copying alerts... 2023-08-24 14:48:41 -- Copying Site-to-site VPN configration...


Second in manage_devices.py : When we are trying to export the using manage_devices.py we are not getting any details in json

Its empty.

python manage_devices.py -k (myapikey) -o "Lab NTT Nederland BV" -m export -t test_AP : tagged the device already.

The two scripts are not working as expected and not throwing any errors.

Please fix them or update us if any changes are needed in the approach.