]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Add transport_url parameters for oslo.messaging
authorAndrew Smith <ansmith@redhat.com>
Mon, 30 May 2016 16:09:59 +0000 (12:09 -0400)
committerAndrew Smith <ansmith@redhat.com>
Mon, 30 May 2016 16:09:59 +0000 (12:09 -0400)
commit39076721e14af645c4d7f1b6590498ef3bedee79
tree2edae8398679c9a2c177a103b9616a87458930be
parent066d1f33b3494e7245ba6a190bfb909a8160201a
Add transport_url parameters for oslo.messaging

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: Iaaae758ffc6866e94c63251d2c9bd4af086f32cc
manifests/init.pp
releasenotes/notes/add_transport_url_parameters-8c4c520e5cce0edc.yaml [new file with mode: 0644]
spec/classes/ceilometer_init_spec.rb