meraki / dashboard-api-python

Official Dashboard API library (SDK) for Python
MIT License
289 stars 151 forks source link

Added Functionality - Set IP Address on Access Points/Switches #166

Closed JoDawg17 closed 2 years ago

JoDawg17 commented 2 years ago

Not sure where else to post this request, so let me know if there's another location I can add this request.

The API is a great time saver when setting up new devices, especially naming, tagging, and setting the address when we do several hundred AP installs. It would be greatly beneficial to be able to set static IP addresses on the APs and maybe the management IP address on switches through the API as well. Many of our customers like having static IP addresses, and having to set them manually for over 15 devices is very time consuming and error prone.

Thank you for your consideration.

robegli commented 2 years ago

https://developer.cisco.com/meraki/api-v1/#!update-device-management-interface

I have used this in the past to update MX static IPs, will work the same for MS and AP devices as well.

TKIPisalegacycipher commented 2 years ago

@JoDawg17 hello! I can confirm @robegli is right, while it seems a little counter-intuitive, the 'wan1' key in the request body will correspond to the management interface of the device.