diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-08-15 16:50:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-08-15 16:50:45 +0000 |
commit | 6f924bbeb0dd66f3c5ba2465099f23069d2cacf2 (patch) | |
tree | 0d103f3066904d97e9f6c307c10bfc2bfbcc38f9 /nova/exception.py | |
parent | 35c12feb8c9467b9b4a7eac7a3f3d63bd620a35b (diff) | |
parent | 51ad3d4ee9f28184510a2802867535284c0f1b8b (diff) | |
download | nova-6f924bbeb0dd66f3c5ba2465099f23069d2cacf2.tar.gz nova-6f924bbeb0dd66f3c5ba2465099f23069d2cacf2.tar.xz nova-6f924bbeb0dd66f3c5ba2465099f23069d2cacf2.zip |
Merge "Adding port attribute in network parameter of boot."
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 9beadd2df..86d3a59b2 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -588,10 +588,22 @@ class NetworkBusy(NovaException): message = _("Network %(network)s has active ports, cannot delete.") +class NetworkIsDuplicated(NovaException): + message = _("Network %(network)s is duplicated.") + + class DatastoreNotFound(NotFound): message = _("Could not find the datastore reference(s) which the VM uses.") +class PortInUse(NovaException): + message = _("Port %(port_id)s is still in use.") + + +class PortNotFound(NotFound): + message = _("Port %(port_id)s could not be found.") + + class FixedIpNotFound(NotFound): message = _("No fixed IP associated with id %(id)s.") |