The watcher.decision_engine.model.notification.nova Module

The watcher.decision_engine.model.notification.nova Module

class watcher.decision_engine.model.notification.nova.InstanceCreated(collector)[source]

Bases: watcher.decision_engine.model.notification.nova.VersionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.VersionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.VersionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.UnversionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.UnversionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.UnversionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.UnversionedNotificationEndpoint

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

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

create_compute_node(node_hostname)[source]

Update the compute node by querying the Nova API.

delete_instance(instance, node)[source]
get_or_create_instance(instance_uuid, node_uuid=None)[source]
get_or_create_node(uuid)[source]
legacy_update_instance(instance, data)[source]
update_compute_node(node, data)[source]

Update the compute node using the notification data.

update_instance(instance, data)[source]
update_instance_mapping(instance, node)[source]
class watcher.decision_engine.model.notification.nova.ServiceUpdated(collector)[source]

Bases: watcher.decision_engine.model.notification.nova.VersionedNotificationEndpoint

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

Bases: watcher.decision_engine.model.notification.nova.NovaNotification

class watcher.decision_engine.model.notification.nova.VersionedNotificationEndpoint(collector)[source]

Bases: watcher.decision_engine.model.notification.nova.NovaNotification

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.