Skip to content

mrdavehill/Python--Cisco-ACI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python--Cisco-ACI

The 'Always On' sandbox has been down for a while but it's back but with cert issues - it's not the best.

On this page:

classes/version_411k - Cisco ACI objects as python classes for Version: 4.1(1k) <-- depreciated

classes/version_521g - Cisco ACI objects as python classes for Version: 5.2(1g)

.travis.yml - config file for Travis CI test automation (runs test_pytestDeploy.py on any repo changes)

requirements.txt - lists the required extra python libraries

test_pytestDeploy.py - pytest integration test that will install all the classes in classes/version_521g on a DevNet sandbox APIC in dependant order

Use Case Description

Creation and testing of Cisco ACI objects in python and CI/CD practices.

How to test the software

git clone https://github.com/mrdavehill/Python--Cisco-ACI.git

python3 -m pytest -s test_pytestDeploy.py

visit DevNet Sandbox and look for tenant "'python3--' + str(random.randint(0,999))"

DevNet Sandbox

Cisco has an 'always on' APIC here.

username = 'admin'

password = '!v3G@!4@Y'

Getting help

Hit me up if you have any issues.

Author

This project was written and is maintained by the following Daves: