Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cisco ACI Cookbook

You're reading from   Cisco ACI Cookbook A Practical Guide to Maximize Automated Solutions and Policy-Drive Application Profiles

Arrow left icon
Product type Paperback
Published in May 2017
Publisher
ISBN-13 9781787129214
Length 424 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Stuart Fordham Stuart Fordham
Author Profile Icon Stuart Fordham
Stuart Fordham
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Understanding Components and the ACI Fabric FREE CHAPTER 2. Configuring Policies and Tenants 3. Hypervisor Integration (and Other Third Parties) 4. Routing in ACI 5. ACI Security 6. Implementing Quality of Service in ACI 7. Network Programmability with ACI 8. Monitoring ACI 9. Troubleshooting ACI 10. An End-to-End Example Using the NX-OS CLI

Using the Python SDK


Python is a great language and you can do so much with it. While not every network engineer wants to know a programming language, knowing the basics of Python will make life easier, especially as the current trend of opening up API access to physical hardware progresses.

Getting ready

We have a couple of requirements:

  • Python 2.7
  • easy_install
  • pip

 

 

How to do it...

  1. Once we have these installed, we start by installing the SDK. We need two egg files, which can be downloaded from https://<APIC address>/cobra/_downloads/.
  2. Download the two egg files (acicobra-1.1_1j-py2.7.egg and acimodel-1.1_1j-py2.7.egg).
  3. Install the two files:
      easy_install -Z /path/to/acicobra-1.1_1j-py2.7.egg
      easy_install -Z /path/to/acimodel-1.1_1j-py2.7.egg
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime