diff options
author | matt.dietz@rackspace.com <> | 2011-07-21 11:38:15 -0500 |
---|---|---|
committer | matt.dietz@rackspace.com <> | 2011-07-21 11:38:15 -0500 |
commit | 5fbe60d4b51017732740535f147f6d48764b2006 (patch) | |
tree | c61f57d9990301e8bb62283ef48a1c836179bd9d /nova/exception.py | |
parent | 45bdf5cc27c9389255d32ad189a561b967b8f89e (diff) | |
parent | 94a22ae4575a60e6b8096c1baeda8828feb30f3e (diff) | |
download | nova-5fbe60d4b51017732740535f147f6d48764b2006.tar.gz nova-5fbe60d4b51017732740535f147f6d48764b2006.tar.xz nova-5fbe60d4b51017732740535f147f6d48764b2006.zip |
Merge from trunk
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index ad6c005f8..cb015e694 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'.") |