Cassilda
an UML/QEMU/XEN image generator, runner and testing framework
Installation and usage
Download
Get last version from github:.
git clone git://github.com/odkq/Cassilda.git
Requirements
- Python 2.6+ http://www.python.org
- netaddr 0.7.4+ https://github.com/drkjam/netaddr
- pexpect 2.3+ http://www.noah.org/wiki/pexpect
- uml-utilities 20070815+ http://user-mode-linux.sourceforge.net/downloads.html
- bridge-utils http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
- kvm http://www.linux-kvm.org/page/Main_Page
- debootstrap 1.0.26+ http://wiki.debian.org/Debootstrap
- apt-cacher-ng http://www.unix-ag.uni-kl.de/~bloch/acng/
- python-paramiko http://www.lag.net/paramiko/
To install all dependencies in Debian Wheezy (7.0), do:
apt-get install python python-netaddr python-pexpect \ uml-utilities bridge-utils debootstrap apt-cacher-ng qemu-kvm \ python-paramiko
Installation
Cassilda uses the regular distutils setup.py, install with:
sudo python ./setup.py install
It will put the cassilda python modules wherever your system-wide python installation needs it, and the documentation/examples in /usr/share/doc/Cassilda
Usage
Cassilda is a library, you use it's API to build your own tools. In lieu of documentation, you can see an example in examples/base.py
After installing cassilda, run it as root and a kvm debian image will be built and run.