This is my python script repo for Cisco ACI.
There are many like it, but this one is mine.
My github repo is my best friend. It is my life.
I must master it as I must master my life.
My github repo, without me, is useless.
Table of Contents:
associateL3OUT.py | *Given list of vlans in vlans.list, associate L3OUT for each Bridge Domain*
associateContracts.py: | *Given list of vlans in vlans.list, associate provider and consumer contracts for each EPG*
associateEPGDomains.py | *Given list of vlans in vlans.list, associate Domains for each EPG*
associateStaticPortsVPC.py | *Given list of vlans in vlans.list and VPCs in vpcs.list, associate static ports for each VPC*
createBD.py | *Given list of vlans in vlans.list, create Bridge Domains for each EPG*
createEPG.py | *Given list of vlans in vlans.list, create EPGs for each vlan*
getPortStatus.py | *Given user input, display details of port*
intprofile.py | *Given user input range of ports, create port profile for each port in range set to "DISABLED" port profile*
listEPGs.py | *Given user input, list EPGs under Tenant / Application Profile*
login.py | *Definition of login function for each script*
setPort.py | *Given user input, set port to profile from static list of profiles*
vlans.list | *SAMPLE VLANS.LIST FILE*
vpcs.list | *SAMPLE VPCS.LIST FILE*
Notes from author:
I'm not responsible if you mess up your environment.
You probably already messed it up by buying ACI in the first place.
Safety not guaranteed.
These scripts are tuned for my naming conventions. It should be mostly trivial to adjust templates to meet your naming needs. These scripts are written in and meant for python 2.7
Don't like it any of the scripts in this repo or think they are trash? Please file a complaint with the complaint department.