
This commit adds the transport_url parameters for oslo.messaging. The url is of the form: transport://user:pass@host1:port[,hostN:portN]/virtual_host Where the transport scheme specifies the rpc or notification backend as one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the host, port, and auth configuration options [1]. All drivers will get these options via the transport_url. This patch: * use oslo::messaging::default resource * use oslo::messaging::notifications resource * add parameters for transport_url(s) * update spec tests * add feature release note [1] https://review.openstack.org/#/c/317285/ Change-Id: If5f30ba1944d897d2dd63539f4bb8a80e6c46c5e
18 lines
464 B
Ruby
18 lines
464 B
Ruby
require 'spec_helper'
|
|
describe 'cinder::ceilometer' do
|
|
|
|
describe 'with default parameters' do
|
|
|
|
let :facts do
|
|
OSDefaults.get_facts({})
|
|
end
|
|
|
|
it 'contains default values' do
|
|
is_expected.to contain_cinder_config('oslo_messaging_notifications/transport_url').with(
|
|
:value => '<SERVICE DEFAULT>')
|
|
is_expected.to contain_cinder_config('oslo_messaging_notifications/driver').with(
|
|
:value => 'messagingv2')
|
|
end
|
|
end
|
|
end
|