As promised in the previous post, here's a quick sample Action Batches script.
I've actually got two for you. Both scripts create two new networks, and then create five VLANs inside those two networks. The script 'example1.py' creates all of this using individual API calls for each create action. The 'example2.py' script uses action batches instead of individual API calls.
For fun I'm also using timeit to compare how long each script takes to do the same thing.
Wednesday, June 19, 2019
Saturday, June 15, 2019
Action Batches in the Meraki Dashboard API
Just announced at Cisco Live '19 on this past Thursday is a new Meraki Dashboard API feature called Action Batches. This was announced during BRKRST-1733 on Thursday morning with Tony Carmichael and Shiyue (Shay) Cheng, two of Meraki's finest when it comes to their API. There's been some talk that this feature was coming, and I was very interested to see what the initial implementation was going to look like. Well, now that it's here we can take a look!
Subscribe to:
Posts (Atom)