Automating Cisco ACI With Python Day 1
Automating Cisco ACI With Python Day 1
Automating Cisco ACI With Python Day 1
with Python
Bootcamp Overview
Matias Caputti
Data Scientist
mcaputti@ine.com
@yosoymatias
linkedin.com/in/matias-caputti-b8a5195b
Bootcamp Overview
+ Class schedule
+ Start at 8am PST / 11am EST daily
+ Class runs about 3 hours per day
+ Class runs 3 days
+ Day 1
+ Python Fundamentals
+ Python Modules
+ Reading external data with Python
+ Day 2
+ Automation options with ACI
+ Postman and ACI
+ Installing the ACI Toolkit
+ Logging into the APIC through Python
+ Creating a ACI Objects with Python Scripts
+ Day 3
+ Advanced ACI automation with Python Scripts
+ Provisioning an Entire ACI Fabric with Python
+ Q&A
+ Closing Remarks & Recommendations
Automating Cisco ACI
with Python
Python environment installation
Why learn to program?
+ Operational Efficiency
+ Getting more work done in the same amount of time, or less time
+ Automation increases operational efficiency
+ Time saved = money saved
+ People make mistakes
+ Automation decreases the margin for error
+ You career
+ Time saved = money saved
+ Presenting this to your manager via code you’ve written will translate well
into promotion feedback
+ Automating the boring stuff frees up time to do the cooler stuff
Fear
+ Have the opposite attitude: replace all the stuff you don’t want to do with
a script!
+ $ python
+ >>> print(“Hi INE”)
+ >>> exit()
+ $
Virtual environments
+ Virtualenvwrapper
+ Poetry
+ Anaconda virtual environments
Online Python interpreters
If you want to try out a Python example code without having to set it up
locally, then there are several websites which allows you to run Python code
online:
+ Python.org Online Console
+ Repl.it
+ Python Anywhere
+ Trinket
+ ...
Integrated Development Environments - IDEs
+ PyCharm
+ Visual Studio Code
+ Spyder
+ SublimeText
+ Atom
+ Jupyter Notebook / Lab
+ Vim
+ Google Colaboratory
+ Anaconda
+ ...
Automating Cisco ACI
with Python
Python Object types, Variables and Operators
Go to Lesson
Python Object types, Variables and Operators
Automating Cisco ACI
with Python
Python Collections: Lists, Tuples, Sets and Dictionaries
Go to Lesson
Python Collections: Lists, Tuples, Sets and Dictionaries
Automating Cisco ACI
with Python
Python Control Flow
Exercises
Python Control Flow
Automating Cisco ACI
with Python
Python Functions
Exercises
Python Functions
Automating Cisco ACI
with Python
Python Modules
Exercises
Python Modules
Automating Cisco ACI
with Python
Reading external data with Python
Exercises
Reading external data with Python
Where to go next?