Adds an admin tool to Glance (bin/glance-admin) that allows

a user to administer the Glance server:

* add images
* update image metadata
* delete images and metadata
* delete all images (clear)
* show an image
* list public images
* show detailed info on public images

Adds documentation for the tool and cleans up a few issues
that came up in initial testing.
This commit is contained in:
jaypipes@gmail.com
2011-02-23 21:50:24 -05:00
parent 43c8e2a2b6
commit 5c03271048
10 changed files with 896 additions and 17 deletions

View File

@@ -90,7 +90,8 @@ def delete_from_backend(uri, **kwargs):
backend_class = get_backend_class(scheme)
return backend_class.delete(parsed_uri, **kwargs)
if hasattr(backend_class, 'delete'):
return backend_class.delete(parsed_uri, **kwargs)
def get_store_from_location(location):