Bases: object
Provides storage and retrieval of disk image objects within Glance.
Store the image data and return the new image object.
Parameters: |
|
---|---|
Returns: | dict – New created image metadata |
Delete the given image.
Parameters: | image_id – The opaque image identifier. |
---|---|
Raises: | ImageNotFound if the image does not exist. |
Raises: | NotAuthorized if the user is not an owner. |
Raises: | ImageNotAuthorized if the user is not authorized. |
Calls out to Glance for data and writes data.
Parameters: |
|
---|
Returns a dict with image data for the given opaque image id.
Parameters: | image_id – The opaque image identifier. |
---|---|
Returns: | A dict containing image metadata. |
Raises: | ImageNotFound |
Modify the given image with the new data.
Parameters: |
|
---|---|
Returns: | dict – New created image metadata |