Before I get to the main topic, I want to discuss the Switch Template/Configuration hierarchy. Mist Wired Assurance configuration hierarchy is as follows: Org: Switch Template: As the name suggest, these templates get created at an Organization level and can be applied to all the sites. Site: Switch Template: Site: Switch Template, can inherit all…
Category: Python
Mist – Audit/View SSIDs using Python
I have a bunch of WLAN Templates in my test lab that I use from time to time. Some times it is for my own testing and research and some times for the customers. Here are some of the reasons I need to audit/view these SSIDs: Why Not Just Disable Them ? Yes, that is…
MAC Format – Part 2 (Menu)
Previously I wrote a quick post on formatting MAC Addresses using Python and a csv file. In this post, I used Pandas and MS Excel (since this data ends up in Excel most of the time). In my previous post, I used the “join” function; but Keith Miller suggested I should look into the “macaddress”…
MAC Format – Part 1 (Basic)
I was bored Sunday night and had a recent Twitter thread going through my head regarding formatting Access Point MAC addresses, so I figured let me see if I can figure it out. Task – Convert AP MACs from A1B2C3D4E5F6 to a1:b2:c3:d:4:e5:f6 There are few ways to accomplish this. You can use MS Excel and…
Aruba Central – Automate API Key Refresh
In one of the previous blog posts, I wrote about my initial thoughts on Aruba Central APIs; I discussed the initial setup to generate the keys and used a script to refresh the keys since the API Token for Aruba Central expires after 7200 seconds (2 hours). It is easy to refresh a token using…
Mist AI – Ask Siri To Enable/Disable SSID
My last post was about creating a Guest SSID in Mist Dashboard with some BYOD self register and self sponsor features. I mentioned few requirements in there; one of them was to enable and disable the SSID. Let me elaborate a bit more on that. I can log into my laptop, Mist Dashboard and disable…
Mist Switch Operator in docker
First of all, I have to thank Yedu Siddalingappa from Mist and then Thomas Munzer who created the Mist Switch Operator UI. I was working on a script to accomplish the following goals: Individual port level changes on the Juniper switches using the APIs View the changes Allow users to only view and make changes…
Python: Bulk rename Juniper switches
Juniper/Mist devices can be easily claimed via the web UI and/or the Mist AI app on the mobile device. It has been a while since Juniper also added support to claim switches and I just finally had a chance to test it out. For some reason my phone was not able to scan the QR…
Ruckus vSZ API’s
API’s and Python are fun. Since I started learning Python and working with Juniper/Mist API’s I am absolutely addicted. There are so many people I am thankful to, who have helped me every time I was stuck and they still do. Recently I dove a little bit into Ruckus APIs. Initially, I almost gave up,…
Python: Adding description to Multiple Juniper Switch Ports
Adding descriptions to switch port is beneficial, I have always done it and it always helps when trying to troubleshoot, as long as those descriptions are up to date of course. I am new to programming and python and I think it is safe to say after seeing it in action and creating few of…