i have written several python3 based packages. the first python program i wrote was based on a need to turn interactive ssh sessions into non-interactive sessions. the program uses a package called pexpect. the main purpose behind the program was to solve a problem of bulk device changes using multiprocessing (the python program first started its life as a TCL/Expect script). i was able to make configuration changes to 346 wan routers in minutes.

then i got to thinking. i wrote a python package. I named the package ciscopy; thus extending the first python program. the package contains modules for networking objects (router, switch, switch stack, reachability, ip addresses, etc.), snmp objects, configuration objects, interface objects, etc. this package is now indispensable for me. in fact, i just keep developing it as needed. the use case for it. automate the production of a CMDB file of CIs that may then be used to populate a CMDB so that the network devices may then be added into a network management system.

as a network engineer i cannot be without python now, and wonder how had i got through in the past without python.

the latest package/program i wrote was to solve a problem with backing up Cisco CMX and then used cron to schedule the program. the program has off-box transfer of backup file using scp, backup file transfer validation, and email notifications if something went wrong along the way included. wrote the program once, tested, and deployed to the Cisco CMX fleet of servers.

networking and python; way to go...