Merge "Allow setting default rbac_policy quota"

This commit is contained in:
Zuul 2021-02-24 20:25:35 +00:00 committed by Gerrit Code Review
commit 9180472ddf
3 changed files with 13 additions and 1 deletions

View File

@ -55,6 +55,11 @@
# A negative value means unlimited.
# Defaults to $::os_service_default.
#
# [*quota_rbac_policy*]
# (optional) Number of rbac policies allowed per tenant.
# A negative value means unlimited.
# Defaults to $::os_service_default.
#
# DEPRECATED PARAMETERS
#
# [*quota_loadbalancer*]
@ -104,6 +109,8 @@ class neutron::quota (
$quota_network_gateway = 5,
$quota_packet_filter = 100,
$quota_vip = $::os_service_default,
# rbac extension
$quota_rbac_policy = $::os_service_default,
# DEPRECATED PARAMETERS
$quota_loadbalancer = undef,
$quota_pool = undef,
@ -140,5 +147,6 @@ class neutron::quota (
'quotas/quota_network_gateway': value => $quota_network_gateway;
'quotas/quota_packet_filter': value => $quota_packet_filter;
'quotas/quota_vip': value => $quota_vip;
'quotas/quota_rbac_policy': value => $quota_rbac_policy;
}
}

View File

@ -0,0 +1,3 @@
---
features:
- Adds ability to set rbac_policy quota

View File

@ -41,7 +41,8 @@ describe 'neutron::quota' do
:quota_security_group_rule => 200,
:quota_network_gateway => 5,
:quota_packet_filter => 100,
:quota_vip => 10
:quota_vip => 10,
:quota_rbac_policy => 10
})
end