Keyshawn Tyler (keytyler@cisco.com), Vishwajeeth Mandalika (vmadalik@cisco.com)
The following information this project with gather will be the following:
- Current Date
- Release Version
- EPG count
- EP count
- Tenant count
- VRF count
- BDs count
- L3Outs
- Contracts
- Application Profile
- Leafs count
- Spines count
- APIC Count
- A credentials file (csv file)
Main script. Runs multiple APIs calls to APIC.
Script designed to create a chart from a existing excel file.
CSV file for APIC IP Address, Username, password, and fabric name. Fill out each section and save.
Excel that is created after running the chartcreate script. Excel file has a bar chart of trending data from the data that is pulled.
- Clone project (git clone)
- Run python script (ACC.py) using py -3 ACC.py or python3 ACC.py
- Enter path to the csv file with APIC credentials
- User will be prompted if an existing file with APIC information already exist. If yes, user will need to provide the path to the excel file. If no, script will continue to run.
- Tool will gather information from APIC with various APIC API calls.
- User will need to give file a name.
- File will be created in the directory the user is working in.
- Tool will ask if user wants to create another file. If yes, the tool will reset this process. If no, the tool will end.
- Run python script (chartcreate.py) using py -3 chartcreate.py or python3 chartcreate.py
- Enter path to the excel file you want a barchart with.
- New excel file will be named "ExcelData_Chart.xlsx"
- Update your excel file to your desired name
If you found an issue or would like to submit an improve to this project, please submit an issue using the issues tab above. If you would like to submit a PR (pull request) with a fix, reference the issue you created!