Automating Cumulus Linux with Ansible
Automating your network can seem like a daunting task. But the truth is that automating Cumulus Linux with Ansible can be easier than many of the things you’re probably already automating.
In this post, I’ll show you how to get started on your network automation journey using a simple, four-step process:
- Pick one small network task to automate
- Configure it manually on a small scale
- Mimic the manual configuration in Ansible
- Expand the automation to additional network devices
To illustrate, I’ll be using the following simple, bare-bones topology based on the Cumulus Reference topology. You can follow along by spinning up your own virtual data center for free using Cumulus in the Cloud.
Pick one network task to automate
The first step is to pick one thing to automate. Just one! The only caveat is that it needs to be something you understand and are comfortable with. Trying to automate a feature you’ve never used is sure to scare you away from automation forever, unless of course you have someone guiding you through the process.
Preferably, pick something that’s quick and simple when done manually. Configuring the OSPF routing protocol between two switches falls into this category. When done manually, Continue reading