summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-07-05 11:51:46 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-07-05 11:51:46 -0700
commit01b9d211e606ee0be221b27edae8aab1d35096ff (patch)
treeff2f3ab250366025d093aeb51cc206608822f65e /bin
parent6843421be9cdef1fc12d3480889bdcfd96821e1b (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 'bin')
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 7dfe91698..71c99138f 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -494,7 +494,7 @@ class FixedIpCommands(object):
if host is None:
fixed_ips = db.fixed_ip_get_all(ctxt)
else:
- fixed_ips = db.fixed_ip_get_all_by_host(ctxt, host)
+ fixed_ips = db.fixed_ip_get_all_by_instance_host(ctxt, host)
except exception.NotFound as ex:
print "error: %s" % ex
sys.exit(2)