Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

vovanbo/vm-manager-proto

Repository files navigation

VM Manager

Asyncronous API prototype for managing virtual machines via libvirt

WARNING: It uses SQLite as main DB (in purposes of fast development)! SQLite has a one-threaded blocking engine. So use it carefully.

Requirements:

  • Python 3.5
  • libvirt-python==1.3.3
  • marshmallow==2.7.1
  • tornado==4.3

Run:

Note that virtual environment created via pyenv, so it must be installed in your system already.

$ cd vm-manager-proto
$ pyenv virtualenv 3.5.1 vm-manager-proto
$ pyenv local vm-manager-proto
$ pip install -r requirements.txt
$ PYTHONPATH=. python app.py

In the first time application must be run with create_nodes option:

$ PYTHONPATH=. python app.py --create_nodes=yes

It is create example nodes configurations for you in ./vm/nodes/ folder.

About

Asyncronous API prototype for managing virtual machines via libvirt (based on Tornado and SQLite3).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages