diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-01-16 00:04:25 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-01-16 00:04:25 +0000 |
commit | 6c1eae946d4a479f0557c94850aab73951cd1c4f (patch) | |
tree | 645d79aa826fcb2b7c010e64723613e808f46424 /nova/exception.py | |
parent | dd974e3c9dcac8aa932c5fe7cd094c2aed8c7bbe (diff) | |
parent | a3eaf784ad2f9103a010646aa2a13db6f09f3679 (diff) | |
download | nova-6c1eae946d4a479f0557c94850aab73951cd1c4f.tar.gz nova-6c1eae946d4a479f0557c94850aab73951cd1c4f.tar.xz nova-6c1eae946d4a479f0557c94850aab73951cd1c4f.zip |
Merge "Reject user ports that have MACs the hypervisor cannot use."
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 c1005f866..dcd75bf4e 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -522,6 +522,10 @@ class PortNotFound(NotFound): message = _("Port %(port_id)s could not be found.") +class PortNotUsable(NovaException): + message = _("Port %(port_id)s not usable for instance %(instance)s.") + + class FixedIpNotFound(NotFound): message = _("No fixed IP associated with id %(id)s.") |