Remove deprecated parameters of neutron::quota

... because these three parameters were deprecated during the Xena
cycle.

Change-Id: I37ee7ce506539d9361febebb0a0d7ad973513c6f
This commit is contained in:
Takashi Kajinami 2022-03-28 00:18:02 +09:00
parent c081d81d7f
commit d68de64dd7
2 changed files with 8 additions and 34 deletions

View File

@ -47,21 +47,6 @@
# A negative value means unlimited.
# Defaults to $::os_service_default.
#
# DEPRECATED PARAMETERS
#
# [*quota_packet_filter*]
# (optional) Number of packet_filters allowed per tenant, -1 for unlimited.
# Defaults to undef.
#
# [*quota_vip*]
# (optional) Number of vips allowed per tenant.
# A negative value means unlimited.
# Defaults to undef.
#
# [*quota_network_gateway*]
# (optional) Number of network gateways allowed per tenant, -1 for unlimited.
# Defaults to undef.
#
class neutron::quota (
$default_quota = $::os_service_default,
$quota_network = $::os_service_default,
@ -76,29 +61,10 @@ class neutron::quota (
$quota_driver = $::os_service_default,
# rbac extension
$quota_rbac_policy = $::os_service_default,
# DEPRECATED PARAMETERS
$quota_packet_filter = undef,
$quota_vip = undef,
$quota_network_gateway = undef,
) {
include neutron::deps
if $quota_packet_filter != undef {
warning('The neutron::quota::quota_packet_filter parameter is deprecated and has no effect')
}
if $quota_vip != undef {
warning('The neutron::quota::quota_vip parameter is deprecated and has no effect')
}
if $quota_network_gateway != undef {
warning('The neutron::quota::quota_network_gateway parameter is deprecated and has no effect')
}
neutron_config {
'quotas/quota_network_gateway': ensure => absent;
}
neutron_config {
'quotas/default_quota': value => $default_quota;
'quotas/quota_network': value => $quota_network;

View File

@ -0,0 +1,8 @@
---
upgrade:
- |
The following parameters of the ``neutron::quota`` class have been removed.
- ``quota_packet_filter``
- ``quota_vip``
- ``quota_network_gateway``