0% found this document useful (0 votes)
26 views17 pages

SDWAN-as-Code: Automating Cisco SD-WAN

This document discusses infrastructure as code and SDWAN-as-Code. It describes how infrastructure as code treats the network as code by using version control, automated testing, and continuous delivery. It then explains how SDWAN-as-Code uses infrastructure as code principles to manage and automate Cisco SD-WAN in a declarative way. The document also provides examples of declarative versus imperative configuration and demonstrates SDWAN-as-Code through a CI/CD pipeline and demo.

Uploaded by

Alexis
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views17 pages

SDWAN-as-Code: Automating Cisco SD-WAN

This document discusses infrastructure as code and SDWAN-as-Code. It describes how infrastructure as code treats the network as code by using version control, automated testing, and continuous delivery. It then explains how SDWAN-as-Code uses infrastructure as code principles to manage and automate Cisco SD-WAN in a declarative way. The document also provides examples of declarative versus imperative configuration and demonstrates SDWAN-as-Code through a CI/CD pipeline and demo.

Uploaded by

Alexis
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

SDWAN Infrastructure as code

How Cisco professional services can help you on your journey

Antonio Piepoli, Solution Architect

DEVNET-1106
What is Infrastructure as Code?

Set of tools and processes that enable the


network to be treated as it is code

DEVNET-1106 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
How is it treated code?
Key component Main benefit

Version control Collaboration

Automated testing Peace of mind

Continuous delivery Higher delivery speed

DEVNET-1106 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
SDWAN-as-Code
The goal of SDWAN-as-Code is to manage and automate a Cisco
SD-WAN overlay following Infrastructure as Code (IaC) principles

The SDWAN-as-Code project includes a set of plugins and roles to


support SD-WAN provisioning in a declarative fashion.

It can be easily integrated in a CI/CD workflow, and it can also be


used as a standalone tool. It is developed in a way that it can be
extended to support additional features/objects without the need to
rewrite the solution.
DEVNET-1106 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Declarative vs. Imperative
• Define what the target • Define how the infrastructure
configuration should be should be changed
• e.g., 1 site with 2 routers and 2 VPNs • e.g., Add router X and VPN Y
• Define the desired state • Automate a common use case
(e.g., add a VPN)
• Automation is responsible for the
desired state to be reflected in the • Automation defines steps
infrastructure (workflow) to end with the desired
conclusion

SDWAN-as-Code

DEVNET-1106 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
CI/CD Pipeline Test SD-WAN
Infrastructure

GIT push to Jenkins triggers Input validation Generate & Automated Webex Teams
feature branch pipeline and linting Deploy configs Testing notification

Operator
GIT merge to
master branch

Webex Teams Automated Deployment Input validation


Testing Jenkins triggers
notification
pipeline

Store Artifacts SD-WAN


Infrastructure
Demo
SDWAN-as-Code Service

CI/CD Integration

Cisco CX Pre-Change Validation


Brownfield Import Module
Customized (custom rules)

Automated Testing E-mail and ChatOps integration

Domain Data Model


Cisco CX
Data Model Adapter Data Model Adapter
Terraform Ansible/jinja

Infrastructure Infrastructure Input validation


Cisco CX / Adapter Adapter framework
Open Source Terraform Python (iac-validate)
SD-WAN Lab Tool for Cisco Modeling Lab (CML)
Virtual SD-WAN Fabric automatically created in 15 minutes
• No need to install CML – existing
dCloud CML Sandbox can be used
• SD-WAN Lab Tool is a python-based
script for Day 0 and Day 1 automation
• Currently Cisco-internal only
• Considering opening to public GitHub

Call to Action:
• Contact cml-sdwan-lab-tool@[Link] if you want to participate
as early adopter / contributor!

DEVNET-1106 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Thank you

You might also like