Skip to content

Issue with manage_devices.py and manage_network.py  #52

@miqdaadp

Description

@miqdaadp
  • We are facing issues when we are running manage_network.py script. The script is getting completed without any issues but no network is migrated to the new org specified in config.yaml.
    Logs from Network script.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions