'Delete the information about an image and mark the image bits for
deletion.
:param context: The `nova.context.Context` object for the request
:param id_or_uri: A UUID identifier or an image URI to look up image
information for.'

def delete(self, context, id_or_uri):

    (session, image_id) = self._get_session_and_image_id(context, id_or_uri)
    return session.delete(context, image_id)
