The watcher.decision_engine.model.notification.cinder Module

The watcher.decision_engine.model.notification.cinder Module

class watcher.decision_engine.model.notification.cinder.CapacityNotificationEndpoint(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.CinderNotification

info(ctxt, publisher_id, event_type, payload, metadata)[source]
class watcher.decision_engine.model.notification.cinder.CinderNotification(collector)[source]

Bases: watcher.decision_engine.model.notification.base.NotificationEndpoint

create_pool(pool_name)[source]

Create the storage pool by querying the Cinder API.

create_storage_node(name)[source]

Create the storage node by querying the Cinder API.

delete_volume(volume, pool)[source]
get_or_create_node(name)[source]

Get storage node by name, otherwise create storage node

get_or_create_pool(name)[source]
get_or_create_volume(volume_id, pool_name=None)[source]
update_pool(pool, data)[source]

Update the storage pool using the notification data.

update_pool_by_api(pool)[source]

Update the storage pool using the API data.

update_volume(volume, data)[source]

Update the volume using the notification data.

update_volume_mapping(volume, pool)[source]
class watcher.decision_engine.model.notification.cinder.VolumeAttachEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeUpdateEnd

class watcher.decision_engine.model.notification.cinder.VolumeCreateEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeNotificationEndpoint

info(ctxt, publisher_id, event_type, payload, metadata)[source]
class watcher.decision_engine.model.notification.cinder.VolumeDeleteEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeNotificationEndpoint

info(ctxt, publisher_id, event_type, payload, metadata)[source]
class watcher.decision_engine.model.notification.cinder.VolumeDetachEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeUpdateEnd

class watcher.decision_engine.model.notification.cinder.VolumeNotificationEndpoint(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.CinderNotification

class watcher.decision_engine.model.notification.cinder.VolumeResizeEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeUpdateEnd

class watcher.decision_engine.model.notification.cinder.VolumeUpdateEnd(collector)[source]

Bases: watcher.decision_engine.model.notification.cinder.VolumeNotificationEndpoint

info(ctxt, publisher_id, event_type, payload, metadata)[source]
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.