watcher.notifications.base module

watcher.notifications.base module

service None

Bases: watcher.notifications.base.NotificationObject

EventType.to_notification_event_type_field()

Serialize the object to the wire format.

service None

Bases: watcher.notifications.base.NotificationObject

Base class for versioned notifications.

Every subclass shall define a ‘payload’ field.

NotificationBase.emit(context)

Send the notification.

NotificationBase.obj_load_attr(attrname)
NotificationBase.save(context)
service None

Bases: watcher.objects.base.WatcherObject

Base class for every notification related versioned object.

NotificationObject.obj_load_attr(attrname)
NotificationObject.save(context)
service None

Bases: watcher.notifications.base.NotificationObject

Base class for the payload of versioned notifications.

NotificationPayloadBase.populate_schema(**kwargs)

Populate the object based on the SCHEMA and the source objects

Parameters:kwargs – A dict contains the source object at the key defined in the SCHEMA
service None

Bases: watcher.notifications.base.NotificationObject

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.