This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Action Batches Demo

Demo of Meraki Dashboard API action batches

The source code provided in this repository shows a full, interactive demo of action batches, a Meraki Dashboard API mechanism for submitting batched configuration requests in a single synchronous or asynchronous transaction. Using the files here, you'll be able to:

  • import sites & locations specified in inventory.csv, which is the only file that needs to be edited
  • create networks based on those location names
  • claim devices into each of those networks (using your own device serial numbers)
  • configure settings, such as device attributes, group policies, VLANs, switchports, & management IP addresses

These steps are performed via action batches, and sample JSON files are generated through the process.

Steps to get started

  • Clone or download this repo
  • Edit inventory.csv such that it includes information about your sites, locations, and devices
  • Start the demo by running python[3] demo.py

To see an example, watch the Action Batches Demo.mp4 video.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.