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:
parent
a887994258
commit
0be13a6082
|
@ -174,15 +174,6 @@
|
||||||
# in the octavia config.
|
# in the octavia config.
|
||||||
# Defaults to false.
|
# 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 (
|
class octavia (
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
$default_transport_url = $::os_service_default,
|
$default_transport_url = $::os_service_default,
|
||||||
|
@ -221,17 +212,11 @@ class octavia (
|
||||||
$notification_topics = $::os_service_default,
|
$notification_topics = $::os_service_default,
|
||||||
$topic = 'octavia-rpc',
|
$topic = 'octavia-rpc',
|
||||||
$purge_config = false,
|
$purge_config = false,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$rpc_backend = 'rabbit',
|
|
||||||
) inherits octavia::params {
|
) inherits octavia::params {
|
||||||
|
|
||||||
include ::octavia::deps
|
include ::octavia::deps
|
||||||
include ::octavia::logging
|
include ::octavia::logging
|
||||||
|
|
||||||
if $rpc_backend {
|
|
||||||
warning('The rpc_backend parameter has been deprecated, please use default_transport_url instead.')
|
|
||||||
}
|
|
||||||
|
|
||||||
package { 'octavia':
|
package { 'octavia':
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
name => $::octavia::params::common_package_name,
|
name => $::octavia::params::common_package_name,
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The deprecated octavia::rpc_backend is now removed. Please use
|
||||||
|
octavia::default_transport_url instead.
|
Loading…
Reference in New Issue