diff options
author | Rick Harris <rick.harris@rackspace.com> | 2010-12-30 21:09:27 +0000 |
---|---|---|
committer | Tarmac <> | 2010-12-30 21:09:27 +0000 |
commit | ac6fd2290febed0238b67ac0cd83b220cdbd3efc (patch) | |
tree | 0b02680d340843d5d646ec7d800a672d51ed26b4 /run_tests.py | |
parent | 0880026253d0de67afd7c80415b332f72764457d (diff) | |
parent | 601b19291a7cf1bcda7bcd4ebf27e4eefe3e28fd (diff) | |
download | nova-ac6fd2290febed0238b67ac0cd83b220cdbd3efc.tar.gz nova-ac6fd2290febed0238b67ac0cd83b220cdbd3efc.tar.xz nova-ac6fd2290febed0238b67ac0cd83b220cdbd3efc.zip |
This patch is beginning of XenServer snapshots in nova. It adds:
1. A snapshot() method to the compute API
2. Snapshot to the compute drivers(), stubs for libvirt and fake, and an implementation for xenapi_conn.
3. A `glance` XenServer plugin (modeled after the current `objectstore` plugin).
To test functionally you will need to be running both the Glance API and the Glance Registry.
In order to use the cloudservers tool-chain (cloudservers command-line utility, openstack-api, etc), you will need create a project called 'openstack' or override FLAGS.default_project.
You can verify that snapshots work by using the cloudservers command-line utility to run:
cloudservers image-create <instance-id> <my snapshot name>
The utility itself will generate an exception since we're not returning the appropriate metadata yet (that will be a future commit); however, you can confirm that the snapshot worked by checking the compute-service logs, and verifying the snapshot resides in the glance fs-store directory.
Diffstat (limited to 'run_tests.py')
0 files changed, 0 insertions, 0 deletions