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.VersionnedNotificationEndpoint

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.VersionnedNotificationEndpoint

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.VersionnedNotificationEndpoint

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.UnversionnedNotificationEndpoint

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.UnversionnedNotificationEndpoint

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.UnversionnedNotificationEndpoint

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.UnversionnedNotificationEndpoint

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.VersionnedNotificationEndpoint

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

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

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

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