Automation

Scrapli and Flask – Part 5: Additional Device Details

In version2, I have made several changes to continue with this project Added device details page for each device Refresh database button for upto date device details Refresh button for each device Notification if the last refresh of device data is greater than 200 seconds Also added is a device base template cofig generator. More

Scrapli and Flask – Part 5: Additional Device Details Read More »

Scrapli Asyncio and Paramiko

Scrapli can use Asyncio instead of multi processing or multi threading. Briefly Asyncio is the ability of the script to continue running while waiting for some input/output. The reason you would prefer this over muti threading or processing is becasue Asyncio uses a single thread only reducing any resource issues. Async is not parrallelism like

Scrapli Asyncio and Paramiko Read More »

GNS3 Nexus v9 Boot Problems

I have 9000v in my GNS3 lab. These devices do no like to boot up when reloaded. They sit in a boot loader menu as no autoboot is found. As it’s only a lab this is ok. Just need to direct the switch to boot the correct image, which then boots the switch perfectly fine.

GNS3 Nexus v9 Boot Problems Read More »

Netmiko TextFSM

I have used TextFSM in my Netmiko TACACS script in order to parse the show version and show inventory outputs to determine the type of Cisco OS the device is. The templates maybe found https://github.com/networktocode/ntc-templates/tree/master/ntc_templates/templatesThey were already installed when I installed Netmiko Using TextFSM is very simple. Netmiko takes in one extra parameter to use

Netmiko TextFSM Read More »