diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-02-21 00:30:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-21 00:30:45 +0000 |
commit | 65d315929d64fcf199271a21c62c4cd2649556fc (patch) | |
tree | efe233306ec863e0ec6c477a5b21b2a9f45efd38 /nova/exception.py | |
parent | 61290aa603f08a927f7c7a82f0b5d0319b7c67f8 (diff) | |
parent | ab9f8667c63d901f37d1662c5204fb2938be44fe (diff) | |
download | nova-65d315929d64fcf199271a21c62c4cd2649556fc.tar.gz nova-65d315929d64fcf199271a21c62c4cd2649556fc.tar.xz nova-65d315929d64fcf199271a21c62c4cd2649556fc.zip |
Merge "Identify baremetal nodes by UUID."
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 6d876f5b4..cad1c5c02 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1060,6 +1060,14 @@ class InstanceNotFound(NotFound): message = _("Instance %(instance_id)s could not be found.") +class NodeNotFound(NotFound): + message = _("Node %(node_id)s could not be found.") + + +class NodeNotFoundByUUID(NotFound): + message = _("Node with UUID %(node_uuid)s could not be found.") + + class MarkerNotFound(NotFound): message = _("Marker %(marker)s could not be found.") |