Fix floatingip response to include tenant ID

JIRA:NCP-1641
This commit is contained in:
Andy Hill
2015-08-06 16:02:56 -05:00
parent 002e1a21f2
commit 2b421a0178

View File

@@ -261,6 +261,6 @@ def _make_floating_ip_dict(flip):
"router_id": CONF.QUARK.floating_ip_router_id,
"fixed_ip_address": None if not fixed_ip else fixed_ip.formatted(),
"floating_ip_address": flip.formatted(),
"tenant_id": flip.get("tenant_id"),
"tenant_id": flip.get("used_by_tenant_id"),
"status": flip.get("status"),
"port_id": port_id}