Keystone: Enable notification topics to be configured

This enables the configuration of notification topics via the
KeystoneNotificationTopics parameter.

Change-Id: I224e730e41e1bcb703e5deebfab3ca74f08faa02
Related-Bug: #1729293
This commit is contained in:
Juan Antonio Osorio Robles 2017-11-01 12:44:23 +00:00
parent 4adb82d03d
commit 3de75ccea0
2 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,10 @@ parameters:
type: string
constraints:
- allowed_values: [ 'basic', 'cadf' ]
KeystoneNotificationTopics:
description: Keystone notification topics to enable
default: []
type: comma_delimited_list
KeystoneRegion:
type: string
default: 'regionOne'
@ -296,6 +300,7 @@ outputs:
keystone::rabbit_port: {get_param: RabbitClientPort}
keystone::notification_driver: {get_param: NotificationDriver}
keystone::notification_format: {get_param: KeystoneNotificationFormat}
tripleo::profile::base::keystone::extra_notification_topics: {get_param: KeystoneNotificationTopics}
keystone::roles::admin::email: {get_param: AdminEmail}
keystone::roles::admin::password: {get_param: AdminPassword}
keystone::endpoint::public_url: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix]}

View File

@ -0,0 +1,9 @@
---
features:
- |
The KeystoneNotificationTopics parameter was introduced. This takes a list
which will configure extra notification topics, which end up as queues in
the message broker. This is useful for when keystone notifications need to
be integrated with third party software. Note that enabling telemetry will
by default make keystone emit notifications to the 'notifications' topic, but
this parameter can enable extra topics still.