diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-07-21 03:22:29 +0000 |
---|---|---|
committer | Tarmac <> | 2011-07-21 03:22:29 +0000 |
commit | a559ca7e76195a8608a1cf884c7c8101544e1bda (patch) | |
tree | 8de36c1b979844c6fff055c042aab662e90851d3 /nova/exception.py | |
parent | d86af556f44ccc1043be0de4d699812f3be483a6 (diff) | |
parent | a01afcd449d7f1f6ffd74d9ca314edcdbb9b155d (diff) | |
download | nova-a559ca7e76195a8608a1cf884c7c8101544e1bda.tar.gz nova-a559ca7e76195a8608a1cf884c7c8101544e1bda.tar.xz nova-a559ca7e76195a8608a1cf884c7c8101544e1bda.zip |
Adds HA networking (multi_host) option to networks.
* Adds extra flag for network creation: multi_host.
* Multi hosts networks will send all network related commands to the host that the vm is on.
* Requires nova-network to be run on every compute host.
* Non multi_host networks work the same way.
* Moved extra db access out of linux_net (there is still a little in the dhcp leases part that should probably be moved)
* Fixed the logic on auto_assign which was messed up
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'.") |