LTRDCN-3903
Automating NX-OS with NX-API and NetDevOps: Python, Ansible, & pyATS
The Cisco VXLAN EVPN programmable fabric is designed for everyone from small enterprise customers, to large service providers. One of the solution’s strengths is the availability of open, programmable APIs and automation DevOps tools for managing network configurations and deployments. In this session, you will start in a local development environment with your own programmable fabric exploring NX-OS NX-API. Using NX-API, you will develop a reusable Python command line tool driven by configuration data defined in YAML. With an understanding of NX-API and Python for interacting with programmable NX-OS, you will then transition into building reusable Ansible roles and playbooks based on best practices that will take your configuration intent in YAML as Infrastructure as Code, and implement that intent to deploy an end-to-end VXLAN EVPN fabric. With the automated capability to manage a VXLAN EVPN fabric completed, you will leverage Cisco pyATS Genie to implement operational tests using NX-API to validate your Infrastructure as Code intent. Concluding the lab, you will combine everything and implement a NetDevOps CI/CD pipeline leveraging GitLab, NX-API, Python, Ansible, and pyATS for Day 2 fabric operations and testing. This will be achieved by following a concise lab that is focused on details, references, and more. The concepts from this lab can be leveraged in your own scripts, playbooks, or applications for a programmable fabric production environment. Additionally, bonus content for NXOS Terraform and model driven programmability (MDP) with YANG, NETCONF, gNMI, and Ansible will be available.