Hi everyone !
Big user of Meraki for a few month, my organization started to become to big to only use the Web Interface.
So after my first API requests with postman, I am trying to add a lot of VLANS with one click ! It will be helpfull as all my new networks have the same IP addresses logic but I change one number as they are interconnected with a site-to-site VPN.
So the idea is to be able to create 100+ Vlans with one command.
I successfully managed to create one. It's quite simple but no way to create more in one shot.
Am I forced to script it ?
Here is my last idea, based on the format of the result from the GET vlans :
[
{
"id":54,
"networkId": "L_xxx",
"name": "testA",
"applianceIp": "10.4.54.254",
"subnet": "10.4.54.0/24",
"dnsNameservers": "upstream_dns"
},
{
"id":55,
"networkId": "L_xxx",
"name": "testB",
"applianceIp": "10.4.55.254",
"subnet": "10.4.55.0/24",
"dnsNameservers": "upstream_dns"
}
]
If anyone could help me or just tell me that there is no way and that I have to make a script, it will be very nice !
Have a nice day,