Remove deprecated parameters of neutron::quota
... because these three parameters were deprecated during the Xena cycle. Change-Id: I37ee7ce506539d9361febebb0a0d7ad973513c6f
This commit is contained in:
parent
c081d81d7f
commit
d68de64dd7
@ -47,21 +47,6 @@
|
|||||||
# A negative value means unlimited.
|
# A negative value means unlimited.
|
||||||
# Defaults to $::os_service_default.
|
# 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 (
|
class neutron::quota (
|
||||||
$default_quota = $::os_service_default,
|
$default_quota = $::os_service_default,
|
||||||
$quota_network = $::os_service_default,
|
$quota_network = $::os_service_default,
|
||||||
@ -76,29 +61,10 @@ class neutron::quota (
|
|||||||
$quota_driver = $::os_service_default,
|
$quota_driver = $::os_service_default,
|
||||||
# rbac extension
|
# rbac extension
|
||||||
$quota_rbac_policy = $::os_service_default,
|
$quota_rbac_policy = $::os_service_default,
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$quota_packet_filter = undef,
|
|
||||||
$quota_vip = undef,
|
|
||||||
$quota_network_gateway = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include neutron::deps
|
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 {
|
neutron_config {
|
||||||
'quotas/default_quota': value => $default_quota;
|
'quotas/default_quota': value => $default_quota;
|
||||||
'quotas/quota_network': value => $quota_network;
|
'quotas/quota_network': value => $quota_network;
|
||||||
|
8
releasenotes/notes/quota-cleanup-d83d8c60871302e2.yaml
Normal file
8
releasenotes/notes/quota-cleanup-d83d8c60871302e2.yaml
Normal 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``
|
Loading…
x
Reference in New Issue
Block a user