Tag: devops

Iterating through two lists at the same time – Python

If doing a show inventory on a Cisco device, the output looks as follows (hostnames and serials changed to protect the innocent) foo.bar1#sh inv NAME: “Chassis”, DESCR: “Cisco 7204VXR, 4-slot chassis” PID: CISCO7204VXR , VID: , SN: 35246813 NAME: “NPE-G2 0”, DESCR: “Cisco 7200 Series Network Processing Engine NPE-G2” PID: NPE-G2 , VID: V03 ,…

Read the full article

© 2009-2020 Darren O'Connor All Rights Reserved -- Copyright notice by Blog Copyright