Bump default quotas for ports, subnets, and networks

It's probably not very realistic to expect power users to be happy with
the default quotas (10 networks, 50 ports, 10 subnets). I believe that
larger defaults would be more realistic. This patch bumps existing
quotas for the aforementioned neutron resources x10 times.

DocImpact change default quotas in documentation if used in examples
          anywhere.
UpgradeImpact operators may need to revisit quotas they use.
Closes-Bug: #1674787
Change-Id: I04993934627d2d663a1bfccd7467ac4fbfbf1434
This commit is contained in:
Ihar Hrachyshka 2017-03-06 17:03:33 +00:00
parent 79639123bc
commit 95f621f717
3 changed files with 13 additions and 6 deletions

View File

@ -24,9 +24,9 @@ QUOTA_CONF_DRIVER = 'neutron.quota.ConfDriver'
QUOTAS_CFG_GROUP = 'QUOTAS'
DEFAULT_QUOTA = -1
DEFAULT_QUOTA_NETWORK = 10
DEFAULT_QUOTA_SUBNET = 10
DEFAULT_QUOTA_PORT = 50
DEFAULT_QUOTA_NETWORK = 100
DEFAULT_QUOTA_SUBNET = 100
DEFAULT_QUOTA_PORT = 500
DEFAULT_QUOTA_SG = 10
DEFAULT_QUOTA_SG_RULE = 100
DEFAULT_QUOTA_ROUTER = 10

View File

@ -2,9 +2,6 @@
[quotas]
# x10 of default quotas (at the time of writing)
quota_network=100
quota_subnet=100
quota_port=500
quota_router=100
quota_floatingip=500
quota_security_group=100

View File

@ -0,0 +1,10 @@
---
prelude: >
Default quotas for the following resources were increased: networks (from
10 to 100), subnets (from 10 to 100), ports (from 50 to 500).
upgrade:
- |
Default quotas were bumped for the following resources: networks (from 10
to 100), subnets (from 10 to 100), ports (from 50 to 500). If you want to
stick to old values, consider explicitly setting them in the
``neutron.conf`` file.