How To Netmiko - Full Speed (concurrency options)

In the previous post, we tried Netmiko from: the most basic command to one device, to the whole inventory, and as a bonus filtering devices to stay in a loop to keep throwing command, very useful for troubleshooting scenarios. The timing was already good in comparison to doing it completely manually. Between 6 and 10 seconds per device (in my lab), against long typing minutes. Now we are going to try different options for concurrency. In other words multiprocessing, multithreading (sync and async). ...

May 9, 2021 · 10 min · 2011 words · Adrian Giacometti

How to Netmiko - 5 minutes to all devices

Start using Netmiko is easier than you might think. Going from being a pure network guy to network automation with software development skills is NOT easy, and it is a long shot. Usually, people (like me) start with Ansible just because it is easier when you don’t know much about Python. Plus you can get some things done pretty fast. But at some point when you already acquired some Python skills you need to come back to review fundamentals to close the loop. In this case, I will start with Netmiko. Thanks Kirk for this awesome library! He also offers a free Python for network engineers training course <- This is a must! ...

May 6, 2021 · 9 min · 1762 words · Adrian Giacometti