The cinder.message.api Module

Handles all requests related to user facing messages.

class API(db_driver=None)

Bases: cinder.db.base.Base

API for handling user messages.

cleanup_expired_messages(context)
create(context, action, resource_type=’VOLUME’, resource_uuid=None, exception=None, detail=None, level=’ERROR’)

Create a message with the specified information.

delete(context, id)

Delete message with the specified id.

get(context, id)

Return message with the specified id.

get_all(context, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None)

Return all messages for the given context.