From b7f0946bbd071bc76809eca440ab7d21a03eb1a3 Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Fri, 11 May 2012 15:30:14 -0500 Subject: Finish quota refactor. Finishes quota refactoring by making use of the new quota infrastructure. Partially implements blueprint quota-refactor (the final piece is to remove the old quota architecture). This change is fairly substantial. To make it easier to review, it has been broken up into 3 parts. This is the second part. Change-Id: I1c8b43198f0d44e9e13a45575361aa043fd0639e --- nova/exception.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index bcca2a6dc..1e1818e7d 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -998,6 +998,10 @@ class VolumeSizeTooLarge(QuotaError): message = _("Maximum volume size exceeded") +class FloatingIpLimitExceeded(QuotaError): + message = _("Maximum number of floating ips exceeded") + + class MetadataLimitExceeded(QuotaError): message = _("Maximum number of metadata items exceeds %(allowed)d") -- cgit