← All articles

Automating the VXLAN EVPN Fabric with Cisco NSO and Python

· VXLAN· EVPN· Cisco NSO· Python

Third in the series. Ansible gets you idempotent pushes, but not transactional guarantees across a whole fabric change. This article covers rebuilding the same leaf-spine EVPN-VXLAN fabric a third time, this time with Cisco NSO: a custom service package, YANG service model, and Python template logic that maps a single fabric-level intent to per-device configuration.

The key difference from the Ansible approach: NSO’s transaction manager means a failed change rolls the entire fabric back to its previous known-good state, rather than leaving some devices updated and others not.

Read the full walkthrough, with the service model and Python template code, on Medium:

Read on Medium →