summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-21 00:17:29 +0000
committerGerrit Code Review <review@openstack.org>2013-02-21 00:17:29 +0000
commit20422f46e8a506a751844c94f0f7b25bf8220e2b (patch)
treed09d2a3f6715760b75e0680ac9a17916c3e15722 /nova/exception.py
parent043f6c35538f146de3c30f175db6571ad35574a2 (diff)
parentc3ed3dfcf99e9162616960bad5c7b7a36d3b2453 (diff)
downloadnova-20422f46e8a506a751844c94f0f7b25bf8220e2b.tar.gz
nova-20422f46e8a506a751844c94f0f7b25bf8220e2b.tar.xz
nova-20422f46e8a506a751844c94f0f7b25bf8220e2b.zip
Merge "Add Nova quantum security group proxy"
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index fd0122835..13e007ecf 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -736,6 +736,16 @@ class SecurityGroupDefaultRuleNotFound(Invalid):
message = _("Security group default rule (%rule_id)s not found.")
+class SecurityGroupCannotBeApplied(Invalid):
+ message = _("Network requires port_security_enabled and subnet associated"
+ " in order to apply security groups.")
+
+
+class NoUniqueMatch(NovaException):
+ message = _("No Unique Match Found.")
+ code = 409
+
+
class MigrationNotFound(NotFound):
message = _("Migration %(migration_id)s could not be found.")