
Automate Cisco ACI using Terraform to enable DevOps workflows through infrastructure as code. Explore fabric access policies, EPGs, bridge domains, contracts, and filters with Terraform scripts.
Automate Cisco ACI provisioning with Python to script tenant configurations, VRFs, bridge domains, EPGs, and L3 out with OSPF/BGP, using APIC access, VS Code, and GitHub.
Learn how to adjust audio and video speed to tailor your lectures. Use the bottom-left speed button to change playback, and even slow the narration for clarity.
Explore automating Cisco ACI with Terraform and Python, focusing on IaaS deployment, infrastructure as code, and a practical Terraform and ACI theme.
Learn how to automate Cisco ACI using Terraform, leveraging pre written Terraform resources to manage the data center fabric via APIs and avoid writing custom scripts.
Explore Hashicorp Terraform, an open source infrastructure as code tool that codifies and automates multi-cloud infrastructure with a declarative language, enabling safe changes, state management, and software-defined networking.
Explore DevOps fundamentals, including automation, infrastructure as code, and continuous integration and deployment, and see how Terraform fits multi-cloud infrastructure management.
Explore how Terraform enables infrastructure as code, reducing deployment time by replacing GUI with configuration files. Learn how drift alerts, version control, and cross-product management improve collaboration and accountability.
Explore how Cisco ACI delivers application-centric, software-defined networking and automates policy enforcement and health monitoring across data centers with APIC, the multi-site orchestrator, App Center, and programmability.
Install Terraform from terraform.io for your operating system, download and unzip the file, set the PATH variable, then verify with a PowerShell command and start creating Terraform scripts.
Clone the Cisco DevNet Terraform learning labs code from GitHub into your working directory, using PowerShell if applicable, then open the intro module to review main.tf and variables.tf.
Master essential Terraform commands - init, plan, apply, and destroy - to initialize configurations, generate plans, apply changes, and safely remove Cisco infrastructure with provider plugins like Intersight.
Access the Cisco devnet sandbox API to develop and run code for automating Cisco ACI with Terraform and Python, using admin credentials at sandbox api dot cisco.com, with APIC accessible.
Learn to configure fabric access policies by creating VLAN pools and VLAN ranges with Terraform scripts, linking VLAN pool to ranges, and applying changes to the APIC in a sandbox.
Configure physical and L3 domains in Cisco ACI using Terraform scripts, plan and apply changes, and map the VLAN pool to the domain to automate domain creation and association.
Create an attachable access entity profile (ap) in the fabric, linking a vlan pool and interface policy for tenant use. Map a domain with terraform and verify in the apic.
Configure interface profiles, interface selectors, and their mapping to the interface policy group using Terraform, including leaf profiles, switch profiles, and port blocks.
Configure port channel and virtual port channel interfaces in Cisco ACI using Terraform to apply access policies, CDP and LDP policies, and VLAN settings.
Explore the tenant in Cisco ACI, an administrative domain housing bridge domains, a VRF, subnets, application profiles, and EPGs, and learn how these constructs map to contracts.
Learn to create a new tenant in Cisco ACI using Terraform by configuring the ac_tenant resource, initializing and planning Terraform, and applying changes to the APIC.
Configure a new VRF inside an existing ABC tenant using Terraform, validate with init, plan, and apply, and verify in APIC.
Create and manage an application profile and its EPGs under a tenant using Terraform, including plan and apply workflows and preparing bridge domains for proper EPG relationships.
Configure multiple epgs in Cisco ACI with Terraform by duplicating epg resources and naming them, plan and push to api, then verify three epgs under application profile in ABC tenant.
Configure a bridge domain in a tenant with Terraform, create and name the resource, push the changes via plan and apply, and review L2/L3 settings in APIC.
Map EPGs to the bridge domain and associate VRF to the bridge domain using a Terraform script, then plan, push the configuration, and verify the setup in the tenant's application profile.
Learn to configure a standard contract between epgs in a Cisco ACI tenant using GUI and terraform, including contract, subject, filters, and filter entries.
Explore Python as a versatile general-purpose language that is concise and easy to read, suitable for web development, machine learning, and data science.
Python enables data analysis and data visualization, machine learning, web development, automation, and scripting, helping non-programmers like accountants and scientists organize finances and tackle everyday tasks.
Install Python on Windows by selecting a version, downloading from python.org, running the 64-bit installer, selecting both checkboxes, then verify installation by opening PowerShell and typing Python to display version.
Explore the HCI toolkit Python lab for automation, install Python and pip with setuptools, and add the required API toolkit libraries to run the CI toolkit scripts.
Explore Visual Studio Code editor, a lightweight yet powerful tool that runs on Windows, Mac, and Linux, fully supports Python, and enables real-time collaboration.
Install Visual Studio Code from the internet on Windows, complete the setup, and open the editor. Open the terminal to verify the Python version 3.9.11 on your system.
Learn how pip, the Python package installer, downloads packages from the Python Package Index and other repositories, connecting to a repository of public packages; included with Python since 3.4.
Install and verify the version of pip, the package installer for Python, and manage packages using pip list, pip install, and pip install --upgrade pip.
Explore the Cisco ACI toolkit, a cli-like interface with custom Python scripts for daily configuration and administrative tasks. It aids beginners migrating to a programmatic approach familiar to networking commands.
Learn how to install the ACI toolkit library using pip, including checking existing libraries with pip list and confirming installation when the system reports 'requirement already satisfied'.
Learn to script ACI tenant configuration in Python using the ACA Toolkit, manage credentials, login via a session, and submit JSON topology to the API with error handling.
Run a Python script to create a new Epic tenant by supplying admin credentials and a URL, then verify the Azure Automation tenant appears in Epic.
Create a new aci vrf using a Python script in the Azure Automation tenant, map it to epic, and verify the vrf under the networking tab.
Create an ACI application profile under the automation tenant with the Python script, adding an app variable. Push the config to APIC and verify the new profile.
Configure a new bridge domain in ACI with a Python script by adding the BD_ACA_auto variable, running the script, and verifying the BD in the automation tenant networking tab.
Create a new EPG under the automation tenant and map it to a bridge domain, VR context, and application profile using a Python script, then verify the JSON in ACI.
Create multiple epgs under the application profile with a Python script, define epg_one to epg_three, attach to the existing bridge domain, run the script, and verify results.
Configure a bridge domain subnet with a script, attaching 1.1.1.1/24 to the BD auto and VRF in the ACI automation tenant, then verify via epic.
Create vlan five and bind it to interfaces one/36 on node 101 and 102, mapping to the existing EPG, and verify via the API tenant.
Demonstrates static binding of port channel interfaces by creating Pc1 and attaching it to interface 1. Maps Pc1 to the epg_auto and tags VLAN five on the port channel.
Create and apply an aca contract between two epgs with a python script, using a tcp/ip filter (ethertype ip, tcp), provider/consumer roles, then verify the setup.
Create two EPGs and a contract with four filters (ICMP, ARP, TCP, UDP), connect them via VLAN-encapsulated interfaces, log into the APIC, push the tenant config, and verify.
Learn to implement an inter-tenant contract between provider and consumer tenants using a Python script, exporting and attaching the consumer contract interface, with a defined filter and EPGs.
Configure l3out with a python script to connect a fabric to an external l3 network using ospf and vrf, including interface, svi, and contracts.
Learn to create an L3 out with BGP in Cisco HCI using a Python script. Configure the tenant, VRF, L3 out, SVI, BGP peer, and contracts to connect EPGs.
Discover how to use GitHub and the ACI toolkit to access Python scripts for tenant configuration, verification, and automation of Cisco ACI.
Locate endpoints with show endpoints to obtain a tenant-wide summary, and run a Python script to log into the APIC and print mac, ip, tenant, app profile, and epgs.
learn to use the show ip interface brief command to view a fabric-wide summary of router interfaces, including ip addresses, admin status, and interface status, by running a GitHub script.
Run the script to retrieve and display the contracts configured in an ACI tenant, showing the tenant name and the contracts present, with the script available on GitHub.
Learn to retrieve imported contract details in the Cisco ACI fabric using a script, showing the consumer tenant, consumed contract interface, and SQL contract with its EPG and application profile.
Learn to retrieve and verify Cisco ACI filter entries by running a Python script against the fabric, view default and created filters under a tenant's contract, and push changes.
Learn to extract subnet details configured under the ACI fabric using a Python script, including tenant, bridge domain, and the subnet 1.one.one/24.
Retrieve all tenant information from the fabric with a script, run it to show the output of tenants in the ACI, and access the script on GitHub.
Run the shown script to retrieve all VRF and fabric details in the ACA fabric, including tenant information and context. It outputs every VRF configured in the fabric.
Run a script to fetch all epg information in the Cisco ACI fabric, listing tenants, application profiles, and epg details from GitHub.
Run the script to output all fault codes in the aci fabric, enabling quick identification of controller failures or alarms for troubleshooting.
Demonstrate discovering neighboring devices on ac devices with cdp and lldp by running a Python script that reveals node id, local interface, neighbor device, and neighbor interface, with GitHub script.
Learn how to fetch domain details from the fabric using a GitHub script, and identify configured domains, including physical and L3 external domains.
Learn to retrieve the ACI fabric interface status with a Python script, showing interface name, port type, admin and operational status, speed, packets per second, and bytes per second.
There are two part covered like doing the aci automation using Infrastructure as a code (Terraform) and also python.
Through IaaS you can do the entire aci build so I have covered some of very important topics of Cisco ACI.
Key Skills:
Terraform
Cisco ACI
DevOps
How to Use Terraform
Install Terraform
What is DevOps
Python
Course: Learn DevOps: Automate Cisco ACI with Terraform
Topics:
Fabric Access Policy: Vlans, Domain, AAEP, Switch Profile and Interface Profile.
Tenant Overview and Its Configuration:
Create Tenant, VRF, Application Profile, EPGs, BD etc.
Contracts: Create Contract, Subject & Filters
L3Outs and L2Outs configuration
ACI Automation Using Python:
In this course, you will be going to learn about how to do the ACI Automation and this will help you
to automate provisioning of an ACI Fabric.
Here you will be going to use the programming language i.e Python which is available to run the automation tasks like Implementing logical Tenant Configuration Changes in the ACI Fabric.
The first part of this course will be more about covering the ACI Introduction and ACI Automation.
Second part of the course is about setting up the lab like installing Python and its libraries that is required to run the scripts.
You will also learn supporting tool like Visual studio Code for editing and running the script.
Also I will show you how to get the APIC access to perform ACI automation tasks.
Now third section of the course is about the scripting and performing the ACI Automation tasks with the help of Python Scripts.
In this section, I am covering how you can perform the changes like creating new tenant, VRF, Bridge Domain, App profile, EPGs, Contracts, Filters, Configuring VLANs, Domains, Static binding with individual interfaces and with the port-channel interfaces. Also, I am covering the very important part like configuring the L3out with OSPF and BGP.
Fourth section is about the Github and accessing repositories that you can use it for the ACI automation.
And last section is about troubleshooting commands like running the show commands to get the output of the
show interface status,
show vrf
show cdp/lldp neighbour,
show endpoints,
show contract and filters.
acitoolkit module helps to cover logical tenant related configuration and some troubleshooting commands.