Remove deprecated enable_v1/v2_api options

The enable_v1/v2_api options have been deprecated in Mitaka.
we can remove them.

Change-Id: I484a1766da2579e382551b78c848c2ea5d244f8a
This commit is contained in:
ZhongShengping 2018-02-07 15:02:51 +08:00
parent e22067dac0
commit 0fef741b82
2 changed files with 4 additions and 18 deletions

View File

@ -248,14 +248,6 @@
#
# === DEPRECATED PARAMETERS
#
# [*enable_v1_api*]
# (Optional) DEPRECATED. Whether to enable the v1 API (true/false).
# Defaults to undef.
#
# [*enable_v2_api*]
# (Optional) DEPRECATED. Whether to enable the v2 API (true/false).
# Defaults to undef.
#
# [*use_ssl*]
# (optional) DEPRECATED. Enable SSL on the API server
# Defaults to undef
@ -365,8 +357,6 @@ class cinder (
$purge_config = false,
$backend_host = $::os_service_default,
# DEPRECATED PARAMETERS
$enable_v1_api = undef,
$enable_v2_api = undef,
$use_ssl = undef,
$ca_file = undef,
$cert_file = undef,
@ -385,14 +375,6 @@ class cinder (
include ::cinder::db
include ::cinder::logging
if $enable_v1_api {
warning('enable_v1_api is deprecated, has no effect and will be removed in a future release')
}
if $enable_v2_api {
warning('enable_v2_api is deprecated, has no effect and will be removed in a future release')
}
if !is_service_default($host) {
warning('host is deprecated, has no effect and will be removed in a future release, use backend_host instead')
}

View File

@ -0,0 +1,4 @@
---
other:
- Remove deprecated cinder::enable_v1_api option.
- Remove deprecated cinder::enable_v2_api option.