aeolus-incubator/tim — pull request #70 by mtaylor (2012-12-11 15:50:53+00:00)
Title: Add Snapshot capability to Tim

You can test this manually in the console using the commands below. Be sure to have imagefactory running:

== Commands

```
template_xml = ""

template = Tim::Template.create(:xml => template_xml)

base_image = Tim::BaseImage.new(:name => "BaseImage")
base_image.template = template
base_image.save

image_version = Tim::ImageVersion.new
image_version.base_image = base_image
image_version.save

target_image = Tim::TargetImage.new(:target => "MockSphere", :build_method => "SNAPSHOT")
target_image.image_version = image_version
target_image.save

provider_image = Tim::ProviderImage.new(:provider => "MockSphere", :credentials => "")
provider_image.target_image = target_image
provider_image.save
```