Add support for [oslo_messaging_rabbit] rabbit_stream_fanout
Depends-on: https://review.opendev.org/928497 Change-Id: I831108b202998dc02658c4b1ec2ef6e300516627
This commit is contained in:
parent
96bd6ba987
commit
ba7a10c3cd
@ -110,6 +110,11 @@
|
||||
# (Optional) Process name used by queue manager.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*rabbit_stream_fanout*]
|
||||
# (Optional) Use stream queues in RabbitMQ (x-queue-type: stream) for
|
||||
# fanout queues.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*kombu_ssl_ca_certs*]
|
||||
# (optional) SSL certification authority file (valid only if SSL enabled).
|
||||
# Defaults to $facts['os_service_default']
|
||||
@ -191,6 +196,7 @@ class aodh (
|
||||
$use_queue_manager = $facts['os_service_default'],
|
||||
$hostname = $facts['os_service_default'],
|
||||
$processname = $facts['os_service_default'],
|
||||
$rabbit_stream_fanout = $facts['os_service_default'],
|
||||
$kombu_ssl_ca_certs = $facts['os_service_default'],
|
||||
$kombu_ssl_certfile = $facts['os_service_default'],
|
||||
$kombu_ssl_keyfile = $facts['os_service_default'],
|
||||
@ -241,6 +247,7 @@ class aodh (
|
||||
use_queue_manager => $use_queue_manager,
|
||||
hostname => $hostname,
|
||||
processname => $processname,
|
||||
rabbit_stream_fanout => $rabbit_stream_fanout,
|
||||
}
|
||||
|
||||
oslo::messaging::default { 'aodh_config':
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``aodh::rabbit_stream_fanout`` parameter has been added.
|
@ -51,6 +51,7 @@ describe 'aodh' do
|
||||
:use_queue_manager => '<SERVICE DEFAULT>',
|
||||
:hostname => '<SERVICE DEFAULT>',
|
||||
:processname => '<SERVICE DEFAULT>',
|
||||
:rabbit_stream_fanout => '<SERVICE DEFAULT>',
|
||||
)
|
||||
is_expected.to contain_oslo__messaging__notifications('aodh_config').with(
|
||||
:transport_url => '<SERVICE DEFAULT>',
|
||||
@ -101,6 +102,7 @@ describe 'aodh' do
|
||||
:use_queue_manager => false,
|
||||
:hostname => 'node1.example.com',
|
||||
:processname => 'procname',
|
||||
:rabbit_stream_fanout => false,
|
||||
:notification_transport_url => 'rabbit://rabbit_user:password@localhost:5673',
|
||||
:notification_driver => 'ceilometer.compute.aodh_notifier',
|
||||
:notification_topics => 'openstack',
|
||||
@ -139,6 +141,7 @@ describe 'aodh' do
|
||||
:use_queue_manager => false,
|
||||
:hostname => 'node1.example.com',
|
||||
:processname => 'procname',
|
||||
:rabbit_stream_fanout => false,
|
||||
)
|
||||
is_expected.to contain_oslo__messaging__notifications('aodh_config').with(
|
||||
:transport_url => 'rabbit://rabbit_user:password@localhost:5673',
|
||||
|
Loading…
x
Reference in New Issue
Block a user