This is a repository for code and instructions to help you interact with and automate Cisco Data Center technologies, such as Data Center Switches, NX-OS, Application Centric Infrastructure (ACI), Unified Computing System (UCS), Instersight, and more.
The code in these directories was primarily tested against the free sandboxes from Cisco DevNet, as well as labs in Cisco Modeling Labs (CML). We've included sections here about setting up CML, as well as setting up ProxMox to host CML as a virtual machine.
-
Application Centric Infrastructure (ACI): ACI Data Center automation
-
Cisco Modeling Labs (CML) - How to install CML. Each section also contains info about how to using CML for the tools in that section.
-
Intersight: Automate Cisco Intersight
-
Proxmox Setup Guide: This guide will help you set up Proxmox on both a laptop and a MiniPC. We also cover steps for Mac, Windows, and Linux.
-
Nexus Dashboard Fabric Controller: Automate VXLAN/EVPN fabrics.
-
NX-OS: NX-OS Data Center Development.
Clone the main repo (if you haven't already done so).
git clone https://github.com/xanderstevenson/data-center-development.git
cd data-center-development
- Mac/Linux
python3 -m venv venv
source venv/bin/activate
- Windows
python3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
Each section will have specific instructions on how to run code. For example, in the nx-os/ansible_nx-os section, each playbook is listed in the README, along with a copy/pastable command for running it, e.g.
- Name:
backup_config.yaml
-
Purpose: Backup the current configuration of NX-OS devices
-
How to run:
ansible-playbook playbooks/backup_config.yaml
-
The infrastructure we automate in this repo ranges from the free Cisco DevNet sandboxes (both always on and reservable), to dCloud pods, and Cisco Modeling Labs. So even if you don’t have physical access to an expensive data center, you can still learn, practice with, and grok these technologies.
The core tools to automate / orchestrate each Cisco Data Center product are Ansible, Python, and Terraform.
However, some sections have additional tools shown for automation and orchestration of the product.