Aruba AP Status Comparator is a Python tool that compares the status of Aruba Access Points (APs) before and after maintenance. It fetches AP status data from the controller using the ArubaOS_8 class, stores the data in JSON format, and provides a comparative analysis highlighting any status changes.
- Fetches and stores AP status data from the Aruba controller in JSON format
- Compares AP status before and after maintenance
- Highlights status changes in a readable format with color coding
- Tracks and displays the time difference between data sets
This project uses Python 3.8 and higher. It is recommended to use a virtual environment for running this project. Here's how you can set it up:
-
Clone the repository:
git clone https://github.com/CyberneticCodeComposer/aruba-ap-comparator.git cd aruba-ap-status-comparator -
Create a new virtual environment:
python3 -m venv env
-
Activate the virtual environment:
- On macOS and Linux:
source env/bin/activate - On Windows:
.\env\Scripts\activate
- On macOS and Linux:
-
Install the required packages:
pip install -r requirements.txt
-
To get and store data before maintenance:
python ap_comparator.py --before
-
To get and store data after maintenance:
python ap_comparator.py --after
-
To compare the before and after data:
python ap_comparator.py --compare
For example:
This tool was developed by CyberneticCodeComposer, with assistance from OpenAI's ChatGPT.
This project is licensed under the terms of the MIT license.
