Add an option to enable notifications in keystone
By this option (disabled by default), user can enable notifications in keystone and configure their format (basic or CADF: Cloud Auditing Data Federation standard). Change-Id: I8dd5c2a24851d71db18399a709794d6c514e02b6
This commit is contained in:
parent
7e702f0675
commit
b816b9d22e
|
@ -21,6 +21,11 @@ configs:
|
||||||
fernet_key: "ZAabsQIXsSW7Ez52UZRqUXDz87y9+R+mbxVZ38gRmjg="
|
fernet_key: "ZAabsQIXsSW7Ez52UZRqUXDz87y9+R+mbxVZ38gRmjg="
|
||||||
credential_key: "2jjLrgOLvI-wj7g-8058SSCw0-ZnL4Ghg5cLuBirxL8="
|
credential_key: "2jjLrgOLvI-wj7g-8058SSCw0-ZnL4Ghg5cLuBirxL8="
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
enable: false
|
||||||
|
# format can be basic or cadf:
|
||||||
|
format: cadf
|
||||||
|
|
||||||
openstack:
|
openstack:
|
||||||
user_password: password
|
user_password: password
|
||||||
user_name: admin
|
user_name: admin
|
||||||
|
|
|
@ -3,6 +3,9 @@ debug = {{ keystone.debug }}
|
||||||
use_syslog = False
|
use_syslog = False
|
||||||
use_stderr = True
|
use_stderr = True
|
||||||
max_token_size = 255
|
max_token_size = 255
|
||||||
|
{% if keystone.notifications.enable %}
|
||||||
|
notification_format = {{ keystone.notifications.format }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ keystone.db.username }}:{{ keystone.db.password }}@{{ address(service.database) }}/{{ keystone.db.name }}
|
connection = mysql+pymysql://{{ keystone.db.username }}:{{ keystone.db.password }}@{{ address(service.database) }}/{{ keystone.db.name }}
|
||||||
|
@ -22,3 +25,10 @@ provider = fernet
|
||||||
|
|
||||||
[assignment]
|
[assignment]
|
||||||
driver = sql
|
driver = sql
|
||||||
|
|
||||||
|
{% if keystone.notifications.enable %}
|
||||||
|
{# This section should be updated after https://review.openstack.org/#/c/419995/ is merged #}
|
||||||
|
[oslo_messaging_notifications]
|
||||||
|
driver = messagingv2
|
||||||
|
transport_url = rabbit://{{ rabbitmq.user }}:{{ rabbitmq.password }}@{{ address('rabbitmq', rabbitmq.port) }}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue