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:
Takashi Kajinami 2022-07-27 16:33:14 +09:00
parent befcc23b1d
commit 19034f8e9b
2 changed files with 7 additions and 16 deletions

View File

@ -159,16 +159,6 @@
# metadata handling from api class.
# 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*]
# (optional) Whether to validate the service is working after any service refreshes
# Defaults to undef
@ -221,8 +211,6 @@ class nova::api(
$list_records_by_skipping_down_cells = $::os_service_default,
# DEPRECATED PARAMETER
$nova_metadata_wsgi_enabled = false,
$ratelimits = undef,
$ratelimits_factory = undef,
$validate = undef,
$validation_options = 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.')
}
if $ratelimits != undef {
warning('The nova::api::ratelimits parameter has been deprecated and has no effect')
}
if $validate != undef {
warning('The nova::api::validate parameter has been deprecated and has no effect')
}

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
The following parameters of the ``nova::api`` class have been removed.
- ``ratelimits``
- ``ratelimits_factory``