Class | ImageFactoryConsole |
In: |
lib/imagefactory/console.rb
|
Parent: | Qmf2::ConsoleHandler |
handler | [RW] | |
q | [RW] |
TODO: handle agent restart events (this will be more useful when restarted agent can recover an in-process build
TODO: handle schema updates. This will be more useful when/if we make this a more generic console to talk to different agents.
Call this method to initiate a build, and get back an array of BuildAdaptor objects.
Description of what to build. Can be xml, uuid, or url
Represents the names of the clouds to target (ec2, mock, rackspace, etc)
The UUID of an image previously built
The UUID of a previous build of the image
DEPRECATED: Please use build instead. Call this method to initiate a build, and get back an BuildAdaptor object.
This can be either xml or a url pointing to the xml
Represents the target provider type to build for (ec2, mock, etc)
Call this method to import an image array of BuildAdaptor objects.
The uuid of an existing image
the uuid of an existing build, or the empty string
the target specific image ID
an xml string description of the image
name of the cloud to target
the name of the cloud provider, often a region Returns => a map including UUIDs as strings for ‘target_image’, ‘build’, ‘image’, ‘provider_image‘
Call this method to push an image to a provider, and get back an array of BuildAdaptor objects.
Represents the target providers to build for (ec2-us-east, mock1, etc)
XML block to be used for registration, upload, etc
The UUID of an image previously built
The UUID of a previous build of the image
DEPRECATED: Please use push instead. Call this method to push an image to a provider, and get back an BuildAdaptor object.
Represents the target provider to build for (ec2-us-east, mock, etc)
XML block to be used for registration, upload, etc