E601 GitHub - keytyler/AMC: AMC (ACI Metric Collections)
[go: up one dir, main page]

Skip to content

keytyler/AMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMC (ACI Metric Collections)

Author and Credits

Keyshawn Tyler (keytyler@cisco.com), Vishwajeeth Mandalika (vmadalik@cisco.com)

A fully functional python script that gathers count information in your ACI fabric using REST APIs

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

Requirements - Items the tool will need to function

  1. A credentials file (csv file)

File Descriptions:

ACC.py

Main script. Runs multiple APIs calls to APIC.

chartcreate.py

Script designed to create a chart from a existing excel file.

credentials.csv

CSV file for APIC IP Address, Username, password, and fabric name. Fill out each section and save.

ExcelData_Chart.xlsx

Excel that is created after running the chartcreate script. Excel file has a bar chart of trending data from the data that is pulled.

Instructions

ACC.py

  1. Clone project (git clone)
  2. Run python script (ACC.py) using py -3 ACC.py or python3 ACC.py
  3. Enter path to the csv file with APIC credentials
  4. 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.
  5. Tool will gather information from APIC with various APIC API calls.
  6. User will need to give file a name.
  7. File will be created in the directory the user is working in.
  8. Tool will ask if user wants to create another file. If yes, the tool will reset this process. If no, the tool will end.

chartcreate.py

  1. Run python script (chartcreate.py) using py -3 chartcreate.py or python3 chartcreate.py
  2. Enter path to the excel file you want a barchart with.
  3. New excel file will be named "ExcelData_Chart.xlsx"
  4. Update your excel file to your desired name

Find a bug?

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!

About

AMC (ACI Metric Collections)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0