Giter Site home page Giter Site logo

pepryan / openstack-resource Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.57 MB

A lightweight and minimal Python-based web application that simplifies OpenStack resource allocation information.

Python 38.28% Shell 5.55% JavaScript 22.33% CSS 0.31% HTML 33.54%

openstack-resource's Introduction

Openstack Resource Allocation Web

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.

Flow

  • 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

Feature

  • 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

Tech used

  • Javascript, HTML, CSS
  • python
  • flask
  • matplotlib
  • No Database required (just use txt, csv and json for get/storing data)

Development

Clone this repo to your machine

git clone (this repo)
cd openstack-resource
Create virtual environment
python3 -m venv venv
source venv/bin/activate
Install Dependencies
pip install -r requirements.txt
pip install matplotlib
Run app
python app.py
open browser localhost:[port]

Screenshot Openstack Resource

openstack-resource's People

Contributors

pepryan avatar

Stargazers

Damasukma Trihanandi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.