summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-03-12 20:58:22 +0000
committerGerrit Code Review <review@openstack.org>2012-03-12 20:58:22 +0000
commitff1e2b6ccad4f5eafcd169a269746d05b860d5f1 (patch)
treeab179be808bdcffc50965ce166c8d2b123c54295 /nova/api
parentf4a3b2cc92b83459d3633c33fed7f680fe887b3c (diff)
parentc63c42146704fdf19f2f163ade62033313e27dc9 (diff)
Merge "Update floating auto assignment to use the model"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py
index 3fefa6718..719a74bb9 100644
--- a/nova/api/openstack/common.py
+++ b/nova/api/openstack/common.py
@@ -288,7 +288,7 @@ def dict_to_query_str(params):
def get_networks_for_instance_from_nw_info(nw_info):
networks = {}
-
+ LOG.debug(_('Converting nw_info: %s') % nw_info)
for vif in nw_info:
ips = vif.fixed_ips()
floaters = vif.floating_ips()
@@ -298,6 +298,7 @@ def get_networks_for_instance_from_nw_info(nw_info):
networks[label]['ips'].extend(ips)
networks[label]['floating_ips'].extend(floaters)
+ LOG.debug(_('Converted networks: %s') % networks)
return networks