Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloneprovision has vlan bugs #15

Closed
cainh opened this issue Aug 5, 2020 · 5 comments
Closed

cloneprovision has vlan bugs #15

cainh opened this issue Aug 5, 2020 · 5 comments

Comments

@cainh
Copy link

cainh commented Aug 5, 2020

When creating multiple networks from a single existing network, the script does not cater correctly for multiple entries in the input.csv file. The vlans are spread across all networks that you create.

@mpapazog
Copy link
Contributor

mpapazog commented Aug 7, 2020

Could you provide an example of an input file you have issues with, so I can test? Please change serial numbers into something meaningless before you send it.

@cainh
Copy link
Author

cainh commented Aug 7, 2020

Hi,

I have attached a debug showing the problem. The vlans list is not unique to each instance of retVal so it just gets added to the list of vlans. That list is populated across all instances of retVal. See attached screenshot. CSV file renamed to TXT so that I can upload here.
netData.txt
meraki script debug

@mpapazog
Copy link
Contributor

Thank you for reporting this bug!

I found errors in class definitions, which were causing this issue. Could you please retest using the latest version of the script and let me know if it is now behaving as it should?

@cainh
Copy link
Author

cainh commented Aug 12, 2020

I've had a quick look at your code and it looks like it would sort the issues out. Unfortunately I will only be able to test this weekend. Will update you then.

@cainh
Copy link
Author

cainh commented Aug 13, 2020

All good now. Thanks for the quick fix.

@mpapazog mpapazog closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants