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!

This are codes for creating MO in APIC through Python API

Project Description

All the codes are in object oriented style.

Each of them does a small configuration on APIC – to create a MO. For example, createTenant.py would create a tenant.

Programmer can simply write their customized script by inheriting the class createMo in “createMo.py”.

#Scripts descriptions:

createMo.py: the basic class/module. It also contains useful functions that help programmers for writing their customized scripts.

The others are generic scripts. Each of them does a small configuration. For example, createContract.py would create a contract.

#Usage:

All the codes support three different input methods: wizard, yaml and cli.

1. wizard: configure a mo by following a wizard. Usage: <br>python createFilter.py wizard <br>To get the help info: python createFilter.py wizard –h

2. yaml: configure a mo with a config file (yaml format). Usage: <br>python createFilter.py yaml createFilter.yaml <br>To get the help info: python createFilter.py yaml –h

3. cli: configure a mo based on you python arguments. It contains key arguments and optional arguments. Flags are used in order to call the optional arguments. Usage: <br>python createFilter.py cli <ip-address> <user-name> <password> <tenant> <filter> [–e ip –i tcp] <br>To get the help info: python createFilter.py cli –h

#Delete a mo:

Using -d flag. Example if you want to delete a filter, you can call createFilter.py with a -d flag. The delete method is supported in all three input methods. For example:

<br>python createFilter -d yaml <br>python createFilter -d wizard <br>python createFilter -d cli <ip-address> <user-name> <password> <tenant> <filter>

Release History

Release History

This version
History Node

0.3.1

History Node

0.3.0

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

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
apicPython-0.3.1.tar.gz (47.5 kB) Copy SHA256 Checksum SHA256 Source Dec 23, 2014

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