Network automation has been around way longer than I’ve been tinkering with networks. I’ve known about network automation long enough that I can’t remember when I was first introduced. I looked at scripts to accomplish a task and think “Yeah, that’s powerful if you need to apply the same config to thousands of devices.” I also thought “I can either spend all day writing a script or spend all day pasting into the CLI. Either way, the task took me all day”. I looked at Ansible in a similar light, crafting a playbook to use it one time didn’t seem like the golden goose either. This was before the AI boom that can make script generation much faster.
I was introduced to Infrastructure as Code (IaaC) recently through practical examples and it changed my stance. I’d never considered the idea of modeling the entire (or most) of a device’s config in a high-level way and making incremental changes to those state files as needed. Idempotency allows running the same Ansible playbook repeatedly and only the ‘new’ changes are applied to the network. Once the up-front work is done to build the automation tooling and state files, incremental changes can (hopefully) be deployed much faster and with greater precision. Version control tools can be used to track, stage, and roll back changes.
I recently renewed my CCNP Enterprise Certification though CE credits. Now that my NP is locked in for 3 more years, I’m going to delve more into automation and IaaC. Stay tuned for posts about my automation journey and automaton labs.
Sorry for the AI generated image. I felt like it’s practically a requirement.
