From 6a38b650c001ec8e6da435856c37a28737401aaf Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Tue, 13 Mar 2012 17:13:02 -0500 Subject: Implement quota classes. Allows entire classes of quotas to be associated with projects, which makes it easier to set specific quotas across multiple projects. TODO: * (?) Adding a mapping between projects and quota classes Change-Id: I6b6477481187d16af225d33c1989430e4071d5a8 --- 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 eb0bf382c..75320c2be 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -692,6 +692,10 @@ class ProjectQuotaNotFound(QuotaNotFound): message = _("Quota for project %(project_id)s could not be found.") +class QuotaClassNotFound(QuotaNotFound): + message = _("Quota class %(class_name)s could not be found.") + + class SecurityGroupNotFound(NotFound): message = _("Security group %(security_group_id)s not found.") -- cgit