summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-07-13 03:16:17 +0000
committerTarmac <>2011-07-13 03:16:17 +0000
commit29ef49c205bf5d042e52a44dda8f16aca043b31c (patch)
tree058af98265224cb901dd2d7803678bcf5bf301ce /nova/exception.py
parent11611716e30f368df77816b40c4c77de0e0e047f (diff)
parent10a3b6c4e2ad1722ae4566f6ace997fe54769a36 (diff)
downloadnova-29ef49c205bf5d042e52a44dda8f16aca043b31c.tar.gz
nova-29ef49c205bf5d042e52a44dda8f16aca043b31c.tar.xz
nova-29ef49c205bf5d042e52a44dda8f16aca043b31c.zip
Starting part of multi-nic support in the guest. Adds the remove_fixed_ip code, but is incomplete as it needs the API extension that Vek is working on.
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 a6776b64f..988940d6a 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -377,6 +377,10 @@ class FixedIpNotFoundForInstance(FixedIpNotFound):
message = _("Instance %(instance_id)s has zero fixed ips.")
+class FixedIpNotFoundForSpecificInstance(FixedIpNotFound):
+ message = _("Instance %(instance_id)s doesn't have fixed ip '%(ip)s'.")
+
+
class FixedIpNotFoundForVirtualInterface(FixedIpNotFound):
message = _("Virtual interface %(vif_id)s has zero associated fixed ips.")