Skip to content

an UML/QEMU/XEN image generator, runner and testing framework

License

Notifications You must be signed in to change notification settings

javiermon/Cassilda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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")
## Install an image
>>> c.build("apache_server")
(output from cassilda)
## Install all images
>>> c.build("mysql_server")
>>> c.build("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

Testing with pexpect

To be written yet

Extending Cassilda

Writing builders

To be written yet

Writing runners

To be written yet

Writing interfaces

About

an UML/QEMU/XEN image generator, runner and testing framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published