summaryrefslogtreecommitdiffstats
path: root/nova/cmd
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-04-26 02:03:52 +0000
committerGerrit Code Review <review@openstack.org>2013-04-26 02:03:52 +0000
commit31cac9a9bae5ba4350677170bb397bcd81e43c23 (patch)
treeaa7bbbe5256d33d46a36ff068fabfb5d12af55bf /nova/cmd
parent13c085bc9605447c4ff39ed903e0ef5bffd965d0 (diff)
parent5cced7a31482d014fe31f815f38fd00e079cc491 (diff)
Merge "Allow listing fixed_ips for a given compute host."
Diffstat (limited to 'nova/cmd')
-rw-r--r--nova/cmd/manage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py
index f4a483c0d..ee3c123a9 100644
--- a/nova/cmd/manage.py
+++ b/nova/cmd/manage.py
@@ -285,7 +285,8 @@ class FixedIpCommands(object):
if host is None:
fixed_ips = db.fixed_ip_get_all(ctxt)
else:
- fixed_ips = db.fixed_ip_get_all_by_instance_host(ctxt, host)
+ fixed_ips = db.fixed_ip_get_by_host(ctxt, host)
+
except exception.NotFound as ex:
print _("error: %s") % ex
return(2)