Remove deprecated parameters for RateLimitingMiddleware
These parameters were deprecated during Yoga cycle[1] and has no effect
now.
[1] 25651f25e2
Related-Bug: #1941855
Change-Id: Ic1479131983b790a38c9ae6002b5e83bfcded59d
This commit is contained in:
parent
befcc23b1d
commit
19034f8e9b
@ -159,16 +159,6 @@
|
|||||||
# metadata handling from api class.
|
# metadata handling from api class.
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
#
|
#
|
||||||
# [*ratelimits*]
|
|
||||||
# (optional) A string that is a semicolon-separated list of 5-tuples.
|
|
||||||
# See http://docs.openstack.org/trunk/config-reference/content/configuring-compute-API.html
|
|
||||||
# Example: '(POST, "*", .*, 10, MINUTE);(POST, "*/servers", ^/servers, 50, DAY);(PUT, "*", .*, 10, MINUTE)'
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*ratelimits_factory*]
|
|
||||||
# (optional) The rate limiting factory to use
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*validate*]
|
# [*validate*]
|
||||||
# (optional) Whether to validate the service is working after any service refreshes
|
# (optional) Whether to validate the service is working after any service refreshes
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
@ -221,8 +211,6 @@ class nova::api(
|
|||||||
$list_records_by_skipping_down_cells = $::os_service_default,
|
$list_records_by_skipping_down_cells = $::os_service_default,
|
||||||
# DEPRECATED PARAMETER
|
# DEPRECATED PARAMETER
|
||||||
$nova_metadata_wsgi_enabled = false,
|
$nova_metadata_wsgi_enabled = false,
|
||||||
$ratelimits = undef,
|
|
||||||
$ratelimits_factory = undef,
|
|
||||||
$validate = undef,
|
$validate = undef,
|
||||||
$validation_options = undef,
|
$validation_options = undef,
|
||||||
$use_forwarded_for = undef,
|
$use_forwarded_for = undef,
|
||||||
@ -239,10 +227,6 @@ class nova::api(
|
|||||||
warning('Running nova metadata api via evenlet is deprecated and will be removed in Stein release.')
|
warning('Running nova metadata api via evenlet is deprecated and will be removed in Stein release.')
|
||||||
}
|
}
|
||||||
|
|
||||||
if $ratelimits != undef {
|
|
||||||
warning('The nova::api::ratelimits parameter has been deprecated and has no effect')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $validate != undef {
|
if $validate != undef {
|
||||||
warning('The nova::api::validate parameter has been deprecated and has no effect')
|
warning('The nova::api::validate parameter has been deprecated and has no effect')
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The following parameters of the ``nova::api`` class have been removed.
|
||||||
|
|
||||||
|
- ``ratelimits``
|
||||||
|
- ``ratelimits_factory``
|
Loading…
Reference in New Issue
Block a user