configuration-python
Description
These scripts allow the users to perform an APIC configuration in a local terminal and thus provide a convenient and fast way for users to do APIC configuration.
Contents
- generic_code
- scripts in this folder are generic. Each of them does a small function, creating a particular MO. For the installation and usage of this code, see the README in the generic_code folder.
- lab
- scripts in this folder are implementation scripts. They implement the functionality that utilize the code in the generic_code folder to make configuration changes on the APIC.
- template.py
- This is not a valid script, rather it is a good template for a programmer to start from, if they want to write a customized script. All the programmers need to redefine the functions in template.py.
Installation
Environment
Linux system is preferred.
For windows users, strongly recommend to install cygwin.
Required
Downloading
Option A: Install the scripts to your python library form using the following pip install command:
pip install apicPython
Option B: If you have git installed, clone the repository using the following command:
git clone https://github.com/datacenter/ACI.git
Run the following command:
cd ACI/configuration-python/generic_code/ python setup.py install
License
Copyright 2014-2015 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You can obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Reference
Nexus 9000 ACI Boot Camp Lab Guide (version 1.19) (Yet to be provided but is available internal to Cisco and easy to find with a CEC search).
For more information, see APIC Management Information Model Reference.