Meraki MX HUB Priority change use to API(Python code)

Solved
abcdef12345
Comes here often

Meraki MX HUB Priority change use to API(Python code)

Hello, I work network engineer in South Korea.
Please understand that I post through a Papago translator because I am not good at English.
Currently, we are planning to change MX HUB priority using Meraki API.
The official document is limited to processing 10 requests per second and It seems normal only when the priority is changed by 10 per second.
I wrote the Python code in visual studio and config a test network of about five spoke.
However, unlike the official document, when the code was executed, it took 10 seconds to change the priority.
Is there a solution to this?

Thank you.

1 Accepted Solution
PhilipDAth
Kind of a big deal
Kind of a big deal

It is normal for the change to take some time to take effect.  10s is quite reasonable.

View solution in original post

4 Replies 4
alemabrahao
Kind of a big deal

I sent you a private message.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
BrandonD
Meraki Employee
Meraki Employee

Hi @abcdef12345,

 

Thanks for the post! I can confirm the APIv1 does support 10 API calls per second per organization, however this limitation is strictly related to the API Call processing and not necessarily the time it would take for an MX to update its configuration. 

Are you able to confirm when processing the API command to (1) single hub, that there is no delay experienced? Also if you could confirm the API endpoint you're referencing it would be greatly appreciated! 

If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it.
Alisdair85
Getting noticed

Hi @abcdef12345 

 

Is it the Hub / Concentrator priority you are looking to amend, i.e. the below area on the Dashboard UI? Only as we as a dev team were looking at this early last month for a few retail customers and there is very limited API coverage for MX Firewalls in VPN Concentrator / Passthrough mode, this one didn't have a support operation we found so made a feature request, it is also acknolegde by MX PM that there is limited API coverage for MX Firewalls in this mode. Be interesting to know which API endpoint you utilising like @BrandonD has mentioned 🙂

 

Alisdair85_0-1747085304140.png

 

 

PhilipDAth
Kind of a big deal
Kind of a big deal

It is normal for the change to take some time to take effect.  10s is quite reasonable.

Get notified when there are additional replies to this discussion.