Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Cisco ACI Developing Interface for PYthon

Project Description

acidipy

Cisco ACI Python API : ACI Developing Interface for PYthon

  1. Install

    1.1 From GIT

    $ python setup.py build $ python setup.py install

    1.2 From PIP

    $ pip install acidipy

  2. Example

    import acidipy

    controller = acidipy.Controller(‘xxx.xxx.xxx.xxx’, ‘admin’, ‘password’) # Get controller connection

    tenant = controller.Tenant.create(name=’example-tenant’) # Create tenant bd = tenant.BridgeDomain.create(name=’example-bd’) # Create bridge domain ap = tenant.AppProfile.create(name=’example-ap’) # Create application profile epg = ap.EPG.create(name=’example-epg’) # Create endpoint group

    epg.relate(bd) # Relate endpoint group to bridge domain

    print controller.Tenant.list() # Retrive list of tenant print tenant.AppProfile(‘example-ap’).EPG.list() # Retrive list of endpoint group about tenant created print ap.EPG(‘example-epg’) # Retrive endpoing group by name

    print ap.parent() # Retrive example-ap’s parent print ap.children() # Retrive example-ap’s children print ap.detail() # Retrive example-ap’s whole attributes

    epg.delete() # Delete endpoint group ap.delete() # Delete application profile bd.delete() # Delete bridge domain tenant.delete() # Delete tenant

    controller.close() # Close controller connection

Release History

Release History

This version
History Node

0.12.2

History Node

0.12.1

History Node

0.12.0

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.11

History Node

0.10.10

History Node

0.10.9

History Node

0.10.8

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
acidipy-0.12.2.tar.gz (11.7 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting