diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-07-05 11:51:46 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-07-05 11:51:46 -0700 |
| commit | 01b9d211e606ee0be221b27edae8aab1d35096ff (patch) | |
| tree | ff2f3ab250366025d093aeb51cc206608822f65e /nova/exception.py | |
| parent | 6843421be9cdef1fc12d3480889bdcfd96821e1b (diff) | |
First round of changes for ha-flatdhcp.
* added 'host' column to fixed_ips to allow associating with a host
* added 'multi_host' column to network for multi_host possibility
* moved extra db access from linux_net to manager
* added host parameter to network calls
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 a6776b64f..29a209c3e 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -377,6 +377,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 FixedIpNotFoundForVirtualInterface(FixedIpNotFound): message = _("Virtual interface %(vif_id)s has zero associated fixed ips.") |
