Remove deprecated enable_v1 and enable_v2 options

The enable_v1 and enable_v2 parameters are deprecated and have
no effect, so we can remove them.

Change-Id: Ibad528ad783355236c384d037fe3ffb7d484538f
Depends-On: Icb74bac3e56aa92288b4137e0f0f77da75c23f33
This commit is contained in:
ZhongShengping 2016-12-16 14:12:08 +08:00
parent 509e3a98d2
commit a0e35a5ea1
2 changed files with 4 additions and 19 deletions

View File

@ -37,18 +37,6 @@
# in the lbaas config.
# Defaults to false.
#
# DEPRECATED PARAMETERS
#
# [*enable_v1*]
# (optional) Whether to use lbaas v1 agent or not.
# Deprecated. Will be removed in Ocata.
# Defaults to undef
#
# [*enable_v2*]
# (optional) Whether to use lbaas v2 agent or not.
# Deprecated. Will be removed in Ocata.
# Defaults to undef
#
class neutron::agents::lbaas (
$package_ensure = present,
$enabled = true,
@ -59,18 +47,11 @@ class neutron::agents::lbaas (
$user_group = $::neutron::params::nobody_user_group,
$manage_haproxy_package = true,
$purge_config = false,
# DEPRECATED PARAMETERS
$enable_v1 = undef,
$enable_v2 = undef,
) {
include ::neutron::deps
include ::neutron::params
if $enable_v1 or $enable_v2 {
warning('enable_v1 and enable_v2 parameters are deprecated and will be removed in Ocata.')
}
case $device_driver {
/\.haproxy/: {
Package <| title == $::neutron::params::haproxy_package |> -> Package <| title == 'neutron-lbaasv2-agent' |>

View File

@ -0,0 +1,4 @@
---
other:
- Removed deprecated neutron::agent::lbaas::enable_v1
- Removed deprecated neutron::agent::lbaas::enable_v2