diff options
author | Michael Still <mikal@stillhq.com> | 2013-03-05 05:53:43 +1100 |
---|---|---|
committer | Michael Still <mikal@stillhq.com> | 2013-03-15 03:42:48 +1100 |
commit | 99429214d4ddb5bdc7de185693b8a53ad50df3c6 (patch) | |
tree | f56596c39ac3353d4c41bd8838a38658de82a6b1 /nova/exception.py | |
parent | 9df61c0b06dd81f34d97fbc02030f92928e21a78 (diff) | |
download | nova-99429214d4ddb5bdc7de185693b8a53ad50df3c6.tar.gz nova-99429214d4ddb5bdc7de185693b8a53ad50df3c6.tar.xz nova-99429214d4ddb5bdc7de185693b8a53ad50df3c6.zip |
Add quotas for fixed ips.
DocImpact: there is now a default quota of 10 fixed ips per tenant.
This will need to be adjusted by deployers if that number does not
meet their needs.
Resolves bug 1125468.
Change-Id: Iffa19583340f80cb2a13ba5fce31f7ff724a52d6
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 046df24c9..eb2b3b3c1 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1008,6 +1008,10 @@ class FloatingIpLimitExceeded(QuotaError): message = _("Maximum number of floating ips exceeded") +class FixedIpLimitExceeded(QuotaError): + message = _("Maximum number of fixed ips exceeded") + + class MetadataLimitExceeded(QuotaError): message = _("Maximum number of metadata items exceeds %(allowed)d") |