Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uggla/synergydemo

synergydemo a small demonstration using HPE Synergy hardware and unified API
https://github.com/uggla/synergydemo

docker onepage synergy

Last synced: 25 days ago
JSON representation

synergydemo a small demonstration using HPE Synergy hardware and unified API

Awesome Lists containing this project

README

        

# synergydemo

A small application to highlight HPE Synergy hardware and especially the Oneview unified API.

This is a home made application that allows user to reserve, deploy and run containers on the underlying hardware.

This application mainly uses python flask, flask-sockets, oneview and docker libraries.

A WSGI server is recommended to run the application. That's the reason why gunicorn is a dependencies.

# Screenshots
* Available servers.
![AvailableServers](screenshots/1.png)
* Reserve and deploy.
![ReserveAndDeploy](screenshots/2.png)
* Deployed servers.
![DeployedServers](screenshots/3.png)

# Prerequisites
* Configure isc-dhcpd using the configuration file provided in the conf directory.
* Configure tftp to boot iPXE.
* Configure a http server to provide the static repository files.
* Copy from DVD a Centos 7 repository.
* Add kickstart ks.txt provided in the conf directory within the Centos 7 repository.

# Installation
* Install git, virtualenv and virtualenvwrapper.
```
apt-get install git python-virtualenv virtualenvwrapper
```
* Clone the repository.
```
git clone https://github.com/uggla/synergydemo.git
```
* Create a virtual env.
```
mkvirtualenv synergy
```
* Install dependencies.
```
pip install -r requirements.txt
```
* Export OVLOGIN and OVPASSWD to supply credentials to your Oneview instance.
* Run the server.
```
./run_server.sh
```