Sunday, March 1, 2020

Any gotchas when writing python script for Cisco devices?

I'm trying to write a simple python script to fetch some data from multiple devices. For e.g, "show ver". Not using ansible or anything, just plain old script.

I'm pretty noob when it comes to programming. What are the things that I should consider? Like exceptions when the password is wrong, prevent too much data from being parsed? Not logging out after collecting data? Any issues you faced in your own environment?



No comments:

Post a Comment