The default value of quota_firewall_rule should not be -1
A bad tenant User can create unlimited firewall rules to "attack" the network node, so I modify the default value to 100. Change-Id: I485c24cb1a7ed77dee81356fe6d95276808a47d4 Closes-Bug: #1346372
This commit is contained in:
parent
ef379f7f97
commit
7a6b80fcf8
@ -293,7 +293,7 @@ firewall_quota_opts = [
|
||||
help=_('Number of firewall policies allowed per tenant. '
|
||||
'A negative value means unlimited.')),
|
||||
cfg.IntOpt('quota_firewall_rule',
|
||||
default=-1,
|
||||
default=100,
|
||||
help=_('Number of firewall rules allowed per tenant. '
|
||||
'A negative value means unlimited.')),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user