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

This are codes for creating MO in APIC through CLI

Project Description

All the codes are in object oriented style. They are functional codes and at the some time they are sample codes. Programmer can simply write their customized script by inheriting the class createMo in “”.

#How to use:

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

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

2. yaml: configure a mo with a config file (yaml format). Usage: <br>python yaml createFilter.yaml <br>To get the help info: python 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 cli admin ins3965! tenantA filterA –e ip –i tcp <br>To get the help info: python cli –h

#What are those codes: the basic class/module. It also contains useful functions that help programmers for writing their customized scripts.

The other scripts are functional scripts. Each of them does a small work. For example, only creates an “empty” tenant without any other setup.

#How to delete a mo:

Using -d flag. Example if you want to delete a filter, you can call 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 admin ins3965! tenantA filterA

Release History

Release History

This version
History Node


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
apic_python-0.0.1.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Oct 9, 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