This is a temporary, MVP backend for VirtKick. VirtKick webapp is using it as a JSON API to libvirt.
The backend has been built on top of WebVirtMgr, a simple backend for KVM through libvirt. It will soon be replaced with our own backend based on Fog.io.
- Python 2.7
- Linux
- Packages:
- libvirt 1.2.x with Python bindings
- QEMU 2.x
sudo pip install -r requirements.txt
./manage.py syncdb
./manage.py collectstatic
./manage.py runserver
./console/webvirtmgr-novnc
xdg-open http://0.0.0.0:8000/ # open a browser
These steps will be automatically performed by virtkick-webapp. You have to do it yourself if you intend to play with virtkick-backend without virtkick-webapp.
- Add a new connection.
- Create a storage pool named
virtkick-iso
where ISOs will be located. - Create a storage pool named
virtkick-hdd
where all disks will be located. - Create a NAT network
192.168.123.0/24
namedvirtkick-nat
with IP pool for DHCP:192.168.123.2-254
.
./manage.py run_gunicorn -c conf/gunicorn.conf.py
Since the authentication module is disabled, make sure the server listens on 127.0.0.1.
WebVirtMgr Copyright (C) 2012-2014 Anatoliy Guskov and other contributors
VirtKick WebVirtMgr Backend Copyright (C) 2014 StratusHost Damian Nowak
The code is licensed under the Apache Licence, Version 2.0.