summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-17 21:17:15 +0000
committerGerrit Code Review <review@openstack.org>2013-01-17 21:17:15 +0000
commit933aac8c3d0ed728eb1ac5cdaa9574ca4eccc3fa (patch)
tree2b7dcdca0eb8803eae815922364d03c120ff0200 /nova/exception.py
parentd6e71e49bf4f2dc6b9b9fd470a57c6ddae2cf25e (diff)
parent05f445c1dc7f701e65001432537cc343b46d683b (diff)
downloadnova-933aac8c3d0ed728eb1ac5cdaa9574ca4eccc3fa.tar.gz
nova-933aac8c3d0ed728eb1ac5cdaa9574ca4eccc3fa.tar.xz
nova-933aac8c3d0ed728eb1ac5cdaa9574ca4eccc3fa.zip
Merge "Create ports in quantum matching hypervisor MAC addresses."
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 1af92cd08..c15fc1e43 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -530,6 +530,10 @@ class PortNotUsable(NovaException):
message = _("Port %(port_id)s not usable for instance %(instance)s.")
+class PortNotFree(NovaException):
+ message = _("No free port available for instance %(instance)s.")
+
+
class FixedIpNotFound(NotFound):
message = _("No fixed IP associated with id %(id)s.")