summaryrefslogtreecommitdiffstats
path: root/bin/nova-api-paste
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-08-25 17:52:52 +0000
committerTarmac <>2010-08-25 17:52:52 +0000
commit686ad09fe4416bb578661a42f6f083528d4a7ca9 (patch)
treeb879c74a111b500d112023e1610a9bd0b24bbb73 /bin/nova-api-paste
parent90ca9b373935f2e2bddedf1f33befb35f89aaab4 (diff)
parent428b3256ad7e47e9f389ac8ce0ff70cc3d720e9e (diff)
downloadnova-686ad09fe4416bb578661a42f6f083528d4a7ca9.tar.gz
nova-686ad09fe4416bb578661a42f6f083528d4a7ca9.tar.xz
nova-686ad09fe4416bb578661a42f6f083528d4a7ca9.zip
Initial support for Rackspace API /image requests. They will eventually be backed by Glance.
Because we don't expect Glance to support non-public images for the Austin release, all we support is index() and show(). The WSGI controller uses a service to interact with the image store (the "ImageService"). Eventually it will use a GlanceImageService, but since Glance isn't implemented yet it's hard coded to use a LocalImageService for testing. The ImageService maps URIs to image data (because Glance will be the canonical backend and that's how Glance does it), but the Rackspace API maps ids to image data. So the images.Controller stores a mapping in the global Redis service to convert from URIs to ids. Courtesy of whatthecommit.com: (\ /) (O.o) (> <) Bunny approves these changes.
Diffstat (limited to 'bin/nova-api-paste')
0 files changed, 0 insertions, 0 deletions