Sync CDM among Decision Engines by using notification pool
This commit allows to consume notifications via notifications pools[1]. Listeners in notification pools recieves a copy of notification. It will let Watcher to sync Data Models of Decision Engines. [1]: https://docs.openstack.org/oslo.messaging/ocata/notification_listener.html Change-Id: Ie37528263181924f84510500fc1277b0237c1df8 Partially-Implements: blueprint support-watcher-ha-active-active-mode
This commit is contained in:
@@ -30,9 +30,12 @@ WATCHER_DECISION_ENGINE_OPTS = [
|
||||
'control events, this topic '
|
||||
'used for RPC calls'),
|
||||
cfg.ListOpt('notification_topics',
|
||||
default=['versioned_notifications', 'watcher_notifications'],
|
||||
help='The topic names from which notification events '
|
||||
'will be listened to'),
|
||||
default=['nova.versioned_notifications',
|
||||
'watcher.watcher_notifications'],
|
||||
help='The exchange and topic names from which '
|
||||
'notification events will be listened to. '
|
||||
'The exchange should be specified to get '
|
||||
'an ability to use pools.'),
|
||||
cfg.StrOpt('publisher_id',
|
||||
default='watcher.decision.api',
|
||||
help='The identifier used by the Watcher '
|
||||
|
||||
Reference in New Issue
Block a user