A simple Ruby/Sinatra web UI for libvirt.
This app is aimed at webdev houses to provide devs/ops a simple, self serve development/test environment for each customer.
Add in a mix of your favourite configuration management (I bootstrap Puppet from my kickstarts) to have the VM's built identical to a customer's production environment.
It is early stages yet and this is still considered to be alpha quality code.
All dev work is currently done with CentOS 5.5.
This app currently relies heavily on the host's environment being setup in a particular way.
I am workming towards either extracting this out to a config file or documenting the server environment's requirements.
Note: This is my first real attempt at writing something in ruby. Feel free to review my code and make suggestions to improve.
- ruby 1.8 ( not tested with ruby 1.9 yet)
- dm-core (datamapper)
git clone https://firstname.lastname@example.org/aussielunix/SinVirt.git SinVirt cd SinVirt bundle install ( to install all gem deps. ) bundle check ( optional ) rackup config.ru
- display all domains and their status
- some basic domain controls - boot/shutdown/power off
- learn more ruby
- ability to delete/archive domains
- domain provisioning from kickstart - See SinVirt wiki
- application auth - possibly ACLs
- lots of error checking
- action logging - audit trail
- libvirt authentication/authorization
- possibly move to libvirt-qpid
- add a HTML5 VNC viewer to gain console access to domains
GPLv3 - See COPYING