Cisco Meraki - Bonjour Settings Updater

This repository contains sample code for bulk updating bonjour settings across multiple networks & SSIDs.

Contacts

Solution Components

  • Cisco Meraki

Installation/Configuration

Step 1 - Clone repo:

git clone <repo_url>

Step 2 - Install required dependancies:

pip install -r requirements.txt

Step 3 - Provide Cisco Meraki API Key (Optional)

You may choose to provide the Cisco Meraki API key via the MERAKI_DASHBOARD_API_KEY environment variable.

If the environment variable is not provided, then the script will prompt for the API key.

Step 4 - Prepare CSV file

A local CSV file must be provided in the following structure:

Network Name, SSID Name, Description, VLAN, Services
Network 01,Wifi01, Rule 01, 10, "iChat, iTunes, Samba"
Network 01,Wifi02, Some description, 200, "AFP,FTP,SSH"
Network 02,Another wifi, Lots of printers, 400, "Printers, scanners"

Usage

Running locally

Run the application with the following command:

python3 update_bonjour.py

The script will prompt for any additional information, then push the changes to Meraki.

Related Sandbox

Screenshots

Demo of script

/IMAGES/demo.gif

LICENSE

Provided under Cisco Sample Code License, for details see LICENSE

CODE_OF_CONDUCT

Our code of conduct is available here

CONTRIBUTING

See our contributing guidelines here

DISCLAIMER

Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use.
You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.

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.