diff options
| author | Dan Wendlandt <dan@nicira.com> | 2011-07-21 18:56:34 -0700 |
|---|---|---|
| committer | Dan Wendlandt <dan@nicira.com> | 2011-07-21 18:56:34 -0700 |
| commit | 21df6fcc098435d520ff46fff8d4ffdcee3dd3b3 (patch) | |
| tree | 02da9d8efbba72b7bb9ec25cd4ad861e88a293b8 /nova/exception.py | |
| parent | c5c14a95355cef408e8dcfeb04b9d796be2af564 (diff) | |
| parent | 6e3c492ae878335ea7ef7e00cc9e9abc55b0a0b4 (diff) | |
merge ryu's branch
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'.") |
