Atom feed of this document
 

 Basic quota configuration

In Quantum default quota mechanism, all tenants have a same quota value, i.e., a number of resources that a tenant can create. This is enabled by default.

The value of quota is defined in the Quantum configuration file (quantum.conf). If you want to disable quota for a specific resource (e.g., network, subnet, port), remove a corresponding item from 'quota_items'. Each of the quota values in the example below is the default value.

[QUOTAS]
# resource name(s) that are supported in quota features
quota_items = network,subnet,port

# number of networks allowed per tenant, and minus means unlimited
quota_network = 10

# number of subnets allowed per tenant, and minus means unlimited
quota_subnet = 10

# number of ports allowed per tenant, and minus means unlimited
quota_port = 50

# default driver to use for quota checks
quota_driver = quantum.quota.ConfDriver

Quantum also supports quotas for L3 resources: router and floating IP. You can configure them by adding the following lines to 'QUOTAS' section in quantum.conf. (Note that 'quota_items' does not affect these quotas.)

[QUOTAS]
# number of routers allowed per tenant, and minus means unlimited
quota_router = 10

# number of floating IPs allowed per tenant, and minus means unlimited
quota_floatingip = 50


loading table of contents...