Loading...
right-arrow (6)Back
Blog

From Manual Configs to Full Automation: Nornir + OmniSwitch Demo

Sep 15, 2025

I’ve been spending a lot of time lately working with Nornir, an open-source Python automation framework, and I have to say—it’s a game changer for network engineers.

If you’ve ever used Ansible, you already know how powerful automation can be. Ansible’s YAML playbooks are fantastic for orchestrating tasks, but Nornir takes a different approach: it’s 100% Python.

That means more flexibility, more control, and often, more speed.

Instead of being locked into predefined structures, you can build logic directly into your automation workflows, making them as simple or as complex as your environment demands.

Why Nornir + OmniSwitch?

Network engineers spend a huge amount of time doing the same things over and over again—creating VLANs, configuring interfaces, enabling routing protocols. Traditionally, this means endless CLI sessions, copy-pasting commands, and double-checking configurations for consistency.

That’s where automation shines. By combining Nornir with the NAPALM-AOS driver, I was able to connect directly to an OmniSwitch and push clean, repeatable configurations in just a few steps. In this demo, I focused on three key tasks:

  • Create and configure VLANs
  • Set up Layer 3 interfaces
  • Enable SPB-ISIS backbone

Normally, these steps would involve multiple CLI entries per device, repeated across the network. With Nornir, it’s all executed programmatically—fast, accurate, and without the usual margin for human error.

From CLI to Automation

One of the biggest benefits I’ve seen is the elimination of repetitive manual work. Instead of typing the same commands ten times and worrying about small typos that could break a config, I can define the task once in Python and roll it out wherever I need.

This doesn’t replace the network engineer—it empowers us. By taking away the grind of low-level configuration, we free up time to focus on what really matters: design, optimization, troubleshooting, and innovation.

Automation is not about removing expertise; it’s about letting expertise scale.

Demo Takeaways

What struck me most during this demo is how quickly I was able to go from zero to fully configured. VLANs, Layer 3 interfaces, and backbone protocols—all up and running in minutes, not hours. And the best part? It was consistent. Every device received the exact same configuration structure, no copy-paste mistakes, no half-finished changes. Just clean, reliable automation.

For anyone tired of repetitive network configs, frameworks like Nornir offer a fresh approach. You stay in Python, you keep the flexibility, and you gain speed and precision.

Final Thoughts

Automation doesn’t mean networks run themselves—it means engineers get to spend their time solving interesting problems instead of typing commands.

Whether you’re building out VLANs, enabling routing, or managing large-scale fabric backbones, tools like Nornir + NAPALM-AOS can transform the way you manage OmniSwitch environments. No endless CLI. No repetitive tasks. Just faster, smarter, and cleaner automation.

Loading