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:
parent
e22067dac0
commit
0fef741b82
|
@ -248,14 +248,6 @@
|
||||||
#
|
#
|
||||||
# === DEPRECATED PARAMETERS
|
# === 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*]
|
# [*use_ssl*]
|
||||||
# (optional) DEPRECATED. Enable SSL on the API server
|
# (optional) DEPRECATED. Enable SSL on the API server
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
|
@ -365,8 +357,6 @@ class cinder (
|
||||||
$purge_config = false,
|
$purge_config = false,
|
||||||
$backend_host = $::os_service_default,
|
$backend_host = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
$enable_v1_api = undef,
|
|
||||||
$enable_v2_api = undef,
|
|
||||||
$use_ssl = undef,
|
$use_ssl = undef,
|
||||||
$ca_file = undef,
|
$ca_file = undef,
|
||||||
$cert_file = undef,
|
$cert_file = undef,
|
||||||
|
@ -385,14 +375,6 @@ class cinder (
|
||||||
include ::cinder::db
|
include ::cinder::db
|
||||||
include ::cinder::logging
|
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) {
|
if !is_service_default($host) {
|
||||||
warning('host is deprecated, has no effect and will be removed in a future release, use backend_host instead')
|
warning('host is deprecated, has no effect and will be removed in a future release, use backend_host instead')
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
other:
|
||||||
|
- Remove deprecated cinder::enable_v1_api option.
|
||||||
|
- Remove deprecated cinder::enable_v2_api option.
|
Loading…
Reference in New Issue