summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2012-02-07 00:37:40 -0600
committerJason Kölker <jason@koelker.net>2012-02-07 00:37:40 -0600
commitde23221007cc687533c86f0de217c7d0b6fb523f (patch)
tree55e64b79cd624cbf06afe9fce18182f3360d023b
parent88eb8b772890915550638720f59eed991789dcdc (diff)
downloadnova-de23221007cc687533c86f0de217c7d0b6fb523f.tar.gz
nova-de23221007cc687533c86f0de217c7d0b6fb523f.tar.xz
nova-de23221007cc687533c86f0de217c7d0b6fb523f.zip
Store the correct tenant_id/project_id
Melange stores the networks in the nova table so quantum manager can use it, this makes it store the correct value so deallocation will work. Change-Id: Icafacca559570c6de679fbb126700519a19b77ee
-rw-r--r--nova/network/quantum/melange_ipam_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/network/quantum/melange_ipam_lib.py b/nova/network/quantum/melange_ipam_lib.py
index c8ec5ab24..735107d98 100644
--- a/nova/network/quantum/melange_ipam_lib.py
+++ b/nova/network/quantum/melange_ipam_lib.py
@@ -67,7 +67,7 @@ class QuantumMelangeIPAMLib(object):
dns1=dns1, dns2=dns2)
net = {"uuid": quantum_net_id,
- "project_id": project_id,
+ "project_id": tenant_id,
"priority": priority,
"label": label}
if FLAGS.quantum_use_dhcp: