Skip to main content

An UML/QEMU/XEN image generator, runner and testingframework

Project description

Installation and usage

Download

Get last version from github:.

git clone git://github.com/odkq/Cassilda.git

Requirements

To generate debian images:

Optional: to speed up reinstalling images, have an apt-proxy such as apt-cacher-ng installed

To install all dependencies in debian squeeze, do:

apt-get install python python-yaml python-netaddr python-pexpect \
uml-utilities debootstrap apt-cacher-ng

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

Example session:

Launch the python (or ipython or bpython) interpreter as root
in a directory with sufficient space to store the generated
images:

# cd /tmp
# ipython

>>> import cassilda
## Load settings from a YAML cassilda profile
>>> c = cassilda.Cassilda(
    "/usr/share/doc/Cassilda/examples/apache_mysql.cas",
    ['/usr/share/doc/Cassilda/examples/'])
## Install an image
>>> c.install_and_configure("apache_server")
(output from cassilda)
## Install all images
>>> c.install_and_configure("mysql_server")
>>> c.install_and_configure("web_client")
## Run an image
>>> c.run("apache_server")
## Interact (with the console) of a running image
>>> c.interact('apache_server')
## Press the regular telnet escape char ^] to return

Cassilda Profile description

To be written yet

Images

To be written yet

Installers

To be written yet

Extending Cassilda

Writing builders

To be written yet

Writing runners

To be written yet

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page