Bases: object
Upload an image.
image_meta: image metadata as a dictionary image_data: image data as a object with a read() method
Returns: a tuple of (http response headers, http response body)
Update image metadata.
image_meta: image metadata as a dictionary
Returns: a tuple of (http response headers, http response body)
Fetch image data from glance.
image_uuid: the id of an image
a http.client Response object where the body is the image.
Get a copy of the image service.
This is done like this to make it easier to mock out ImageService.
Lookup a command.
command_name: the command name
Returns: a method which implements that command
Print help specific to a command.
options: the parsed command line options args: the command line
%(prog)s compare <fromserver:port> <toserver:port>
Compare the contents of fromserver with those of toserver.
fromserver:port: the location of the source glance instance. toserver:port: the location of the target glance instance.
%(prog)s dump <server:port> <path>
Dump the contents of a glance instance to local disk.
server:port: the location of the glance instance. path: a directory on disk to contain the data.
%(prog)s livecopy <fromserver:port> <toserver:port>
Load the contents of one glance instance into another.
fromserver:port: the location of the source glance instance. toserver:port: the location of the target glance instance.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.