Remove deprecated rpc_backend param

Remove the deprecated rpc_backend param which has been deprecated for
two years. The default_transport_url has been present for a while
now and should be used.

Change-Id: Iecc7b1a1d3f01b8b2f6435f850240ec06992f3cb
This commit is contained in:
ZhongShengping 2018-05-24 11:03:35 +08:00
parent a887994258
commit 0be13a6082
2 changed files with 5 additions and 15 deletions

View File

@ -174,15 +174,6 @@
# in the octavia config.
# Defaults to false.
#
# DEPRECATED PARAMETERS
#
# [*rpc_backend*]
# (optional) The rpc backend implementation to use, can be:
# amqp (for AMQP 1.0 protocol)
# rabbit (for rabbitmq)
# zmq (for zeromq)
# Defaults to 'rabbit'
#
class octavia (
$package_ensure = 'present',
$default_transport_url = $::os_service_default,
@ -221,17 +212,11 @@ class octavia (
$notification_topics = $::os_service_default,
$topic = 'octavia-rpc',
$purge_config = false,
# DEPRECATED PARAMETERS
$rpc_backend = 'rabbit',
) inherits octavia::params {
include ::octavia::deps
include ::octavia::logging
if $rpc_backend {
warning('The rpc_backend parameter has been deprecated, please use default_transport_url instead.')
}
package { 'octavia':
ensure => $package_ensure,
name => $::octavia::params::common_package_name,

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated octavia::rpc_backend is now removed. Please use
octavia::default_transport_url instead.