summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authormatt.dietz@rackspace.com <>2011-07-21 11:55:46 -0500
committermatt.dietz@rackspace.com <>2011-07-21 11:55:46 -0500
commit905599d6a447ec66ddb33aaf75d18aa8e51a724e (patch)
tree645d791742cd087639063e9bb8751053f4daa7bc /nova/exception.py
parente2eff68dbe78d8639d4cb212ab48240ebf045f73 (diff)
parent94a22ae4575a60e6b8096c1baeda8828feb30f3e (diff)
downloadnova-905599d6a447ec66ddb33aaf75d18aa8e51a724e.tar.gz
nova-905599d6a447ec66ddb33aaf75d18aa8e51a724e.tar.xz
nova-905599d6a447ec66ddb33aaf75d18aa8e51a724e.zip
Merge from trunk and moved the migration again
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index eff322ea0..38e705417 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -408,6 +408,11 @@ class FixedIpNotFoundForInstance(FixedIpNotFound):
message = _("Instance %(instance_id)s has zero fixed ips.")
+class FixedIpNotFoundForNetworkHost(FixedIpNotFound):
+ message = _("Network host %(host)s has zero fixed ips "
+ "in network %(network_id)s.")
+
+
class FixedIpNotFoundForSpecificInstance(FixedIpNotFound):
message = _("Instance %(instance_id)s doesn't have fixed ip '%(ip)s'.")