Skip to content

CiscoDevNet/aci-learning-labs-code-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACI Learning Labs Code Samples

This repository holds the code samples for the DevNet Learning Labs for Application Centric Infrastructure. This includes the following modules:

Local Workstation Requirements

The code samples in these labs all leverage Python as the programming language. In order to run the exercises and code, you'll need to meet the following requirements.

Full details on how to setup are included in the Learning Lab Setup Steps.

  1. Python 3.7.5 or higher
  2. ACI Cobra SDK for Python
  3. ACI Toolkit for Python

It is highly recommended to install all Python requirements within a virtual environment, and not the default Python environment on your workstation.

Sandbox Lab Infrastructure Setup

Also included in this repository are scripts to prepare the DevNet Always On Sandbox for ACI/APIC. These scripts initialize the APIC Simulator and deploy the tenants and application policy leveraged in the Learning Labs. To run the baselining scripts:

Details also included within the Learning Labs themselves

# Clone down this code repository & enter the setup directory
git clone https://github.com/CiscoDevNet/aci-learning-labs-code-samples
cd aci-learning-labs-code-samples/apic_fabric_setup

# Run the baseline scripts
python baseline.py
# Expected Output
Baselining APIC Simulator for Learning Labs
Setting up Fabric Nodes
Configuring Fabric Policies
Setting up Common Tenant
Setting up Heroes Tenant
Setting up SnV Tenant