Hi
So I am new to scripting and trying to change the ssid name in a template but can't seem to get it to work at all.
Is it even possible?
Every time I get this error:
line 22, in <module>
ssids = dashboard.config_templates.getOrganizationConfigTemplateSsids(organization_id, template_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DashboardAPI' object has no attribute 'config_templates'
It's driving me nuts and I have to change more than 100 templates next week 😄
sooo...help me :)) please
BR
Adrian
Solved! Go to solution.
It does seem logical that it should allow updating a template network.
If the call does not fail because the network ID is a template, then it should report fail if it did not update the SSID.
But if it says it completed successfully, that is incorrect because the SSID was not changed, there is a contradiction here.
I had a look at overall documentation, but it doesn't say if a template network is treated the same as a network when making updates.
It won't get you out of our current situation, but you could open a support case to report that it doesn't work.
Either it's a bug or the documentation needs to clarify things, but it should not be necessary to guess!
@adde_x, the attribute looks incorrect. But to be honest, I think it will be faster to configure via dashboard than via script if you are not proficient.
But I believe the correct attribute is configTemplates
https://developer.cisco.com/meraki/api/get-organization-config-templates/
Hi
Please use English.
Also google translate does not always translate correctly.
And yes I have seen the link, still does not work when changing ssid name.
What does BR mean? For me it's Brazil, that's why I wrote in Portuguese.
BR = Best Regards
Oh, I don't speak Portuguese sorry.
Swedish, english or romanian 😄
I could use google translate but often gets it wrong.
So yeah, I used the link, used stuff in there but still can't change the ssid in the template. From what I understand this cannot be done?
Seems pretty bad since templates are a huge deal with meraki and I have a huge org with almost 1000 templates 😞
I think that you can use the template network id and the ssid API https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
That was the first thing i tested, script worked but when I went in to see the change, nothing was changed.
I'm almost 100% sure that there is no API to change the SSID name via template, only via Network.
@sungod , do you have any information?
yeah, I suggested It before, but I don't have time to test it.
Yeah, think so too.
I will still try but so far it doesn't work.
It does seem logical that it should allow updating a template network.
If the call does not fail because the network ID is a template, then it should report fail if it did not update the SSID.
But if it says it completed successfully, that is incorrect because the SSID was not changed, there is a contradiction here.
I had a look at overall documentation, but it doesn't say if a template network is treated the same as a network when making updates.
It won't get you out of our current situation, but you could open a support case to report that it doesn't work.
Either it's a bug or the documentation needs to clarify things, but it should not be necessary to guess!
I did open a case but no good answer just that they get e OK in response.
Support said the same to use the network ssid api to change but that does not change the template and it is not a risk i am willing to take changing more than 100 networks and leaving the template as is.
I can't test it right now , I think you can use : https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
And provide the networkID of the template. Currently the 'Get' is working , haven't test the Put.
So after several tests, this does not seem to work.
Only thing that worked was getting the template id store it in a file then use that to change the "network ssid" but not changing the template ssid. Totally unreliable leaving the template ssid as the "old" ssid and just changing the network ssid.
I will not use the script and manually change them in dashboard.....it will take lots of time 😞
Thanks all for your input
On the other hand, did some changes to the ssid in the template but not changing the name, seems that the network name does not change even if it's not the same as the template.
Still unreliable according to me.