Creates and Updates Meraki Dashboard Network Policy Objects
- Clone repo to your working directory with
git clone https://github.com/Francisco-1088/merakiNetworkObjectProfiler.git
- Edit
config.py
- Add your API Key under
api_key
in line 2 - Add your Organization ID under
org_id
in line 3. This will be the Organization ID for the target organization where the objects will be configured, and it can be obtained by scrolling all the way down in your Meraki Dashboard and making note of the organization ID value at the bottom.
- Run
pip install -r requirements.txt
to install required libraries - Edit the sample
objects_sample.csv
file with the actual objects you're looking to provision and rename it to justobjects.csv
. At this point, the group column does nothing but in the future it will also provision groups and associate objects with groups. - After this, run the
main.py
file by executingpython main.py
. This will proceed to configure all ports in your network according to the CSV file provided.
- For CIDR and Host objects, only IPv4 objects are supported
- This will verify existing objects in your organization by name, and if there are matches in your CSV file, the script will update these objects to the values specified in your CSV