The combination of automation/task delegation makes me happy

I have about 20 router configs to completlely rebuild, with varying numbers of vrfs. I sat down and figured out that is gonna take roughly…..too long. So I’m gonna write a python script to build them for me. I’ll have another engineer gather the info needed from existing routers (advertised subnets,etc) and pop it into a CSV. I have a base router build template and then there will a little python logic to dynamically modify the template for the number of vrfs, and it’ll read in the CSV, and build the router config pretty much instantaneously.

I haven’t written it yet, but I feel confident I can write it in less time than manually building config for 2 or 3 of those routers. And, since someone else is gathering the info and running the script – I can be working on other parts of the project. I’ll do QA on the finished config, but then….I’m free to work on other tasks, like the script to do the 10 partial router reconfigs I have to do.



One Comment

Comments are closed.