Welcome to OpenStack Resource Allocation Web, a lightweight and minimal Python-based web application that simplifies OpenStack resource allocation information. With just a few easy clicks, you can swiftly do a simulation move instances to meet your needs.
- Script
get-data-aio.sh
collect data from controller > scp the data files to instance reporting - Data will be updated every 2 hours, on crontab ubuntu controller-1, sync with
get-data-aio.sh
script
11 2-23/2 * * * /bin/bash /home/ubuntu/workdir/scripts/openstack-resource/get-data-aio.sh >> /home/ubuntu/workdir/scripts/openstack-resource/get-data-aio.log 2>&1
- Info vCPUs compute
- List instance on compute with vCPU
- Generate plot vCPUs allocation
- Data will be automated sync with script
- List all instance with necessary metadata, filtering feature, exporting feature
- Automatically calculate allocation data
- and many more
- Javascript, HTML, CSS
- python
- flask
- matplotlib
- No Database required (just use txt, csv and json for get/storing data)
Clone this repo to your machine
git clone (this repo)
cd openstack-resource
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install matplotlib
python app.py
open browser localhost:[port]