Monday, October 29, 2018

Netmiko - handle different brand

Hi, I'm trying to get my way of having Netmiko handeling in a single script multiple network brand ( Cisco / HP / Brocade ) so far I have 3 differents scripts to handle the above, the current script will ssh to the switch and do a show version, based on the result - this will load a specific file, I'd like to keep the same way howerver I cannot get my way out of the issue, while netmiko ssh the switch, if it's not the right model, netmiko will be stuck - any suggestion on how to run it in a singel file?

my current working script for IOS for example below:

https://pastebin.com/xGe5gnGf

looking forward to read from the community

thanks,



No comments:

Post a Comment