Book Image

Cisco ACI Cookbook

By : Stuart Fordham
Book Image

Cisco ACI Cookbook

By: Stuart Fordham

Overview of this book

Cisco Application Centric Infrastructure (ACI) is a tough architecture that automates IT tasks and accelerates data-center application deployments. This book focuses on practical recipes to help you quickly build, manage, and customize hybrid environment for your organization using Cisco ACI. You will begin by understanding the Cisco ACI architecture and its major components. You will then configure Cisco ACI policies and tenants. Next you will connect to hypervisors and other third-party devices. Moving on, you will configure routing to external networks and within ACI tenants and also learn to secure ACI through RBAC. Furthermore, you will understand how to set up quality of service and network programming with REST, XML, Python and so on. Finally you will learn to monitor and troubleshoot ACI in the event of any issues that arise. By the end of the book, you will gain have mastered automating your IT tasks and accelerating the deployment of your applications.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

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