Skip to content

Latest commit

 

History

History
98 lines (56 loc) · 4 KB

README.md

File metadata and controls

98 lines (56 loc) · 4 KB

Data Center Development

Project Description

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.


Table of Directories


Installation

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

Create and activate a Python virtual environment

  • Mac/Linux
python3 -m venv venv
source venv/bin/activate
  • Windows
python3 -m venv venv
venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Usage

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

Infrastructure

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.


Tools

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.