deb-glance/glance/store
Eoghan Glynn c83bce1ce6 Support new image copied from external storage.
Implements bp retrieve-image-from

Added support for a new header:

  x-glance-api-copy-from: URI

where URI is a HTTP, S3, or Swift location that's accessible to the
glance API service. Where present, the image content is copied from
the external store to the backend store currently configured for
the glance API service.

Impedence between the representation returned by Store.get() and
the implicit requirements of Store.add() required careful iterator/
filelike wrapping.

Also rationalized the S3 and Swift functional test setup logic and
added a new decorator-based mechanism to allow a functional testcase
require multiple backend stores to be available and configured.

Change-Id: If783a09c273832b8926aabc60b7eba8b3ab956d6
2012-02-22 18:03:48 +00:00
..
__init__.py Support new image copied from external storage. 2012-02-22 18:03:48 +00:00
base.py Set size metadata correctly for remote images. 2012-01-18 23:20:38 +00:00
filesystem.py Support new image copied from external storage. 2012-02-22 18:03:48 +00:00
http.py Support new image copied from external storage. 2012-02-22 18:03:48 +00:00
location.py Addresses glance/+spec/i18n 2011-08-20 17:38:54 -05:00
rbd.py Convert glance to use the new cfg module 2011-12-08 22:32:52 +00:00
s3.py Support new image copied from external storage. 2012-02-22 18:03:48 +00:00
scrubber.py Convert glance to use the new cfg module 2011-12-08 22:32:52 +00:00
swift.py Support new image copied from external storage. 2012-02-22 18:03:48 +00:00