From f28c9c759599500db11960266b9c6f61f150f2f1 Mon Sep 17 00:00:00 2001 From: Jian Wen Date: Tue, 21 May 2013 14:16:56 +0800 Subject: [PATCH] use SERVICE_HOST intead of HOST_IP for quantum services The other services, like nova, glance and cinder, use SERVICE_HOST instead of HOST_IP to configure their server listening addresses. This is more friendly to multi-node quantum deployment. Change-Id: Ibee22ef59d532e8f7004d8e4582015d303d15404 --- lib/quantum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/quantum b/lib/quantum index dfd73e99f4..12702be52a 100644 --- a/lib/quantum +++ b/lib/quantum @@ -75,7 +75,7 @@ Q_PLUGIN=${Q_PLUGIN:-openvswitch} # Default Quantum Port Q_PORT=${Q_PORT:-9696} # Default Quantum Host -Q_HOST=${Q_HOST:-$HOST_IP} +Q_HOST=${Q_HOST:-$SERVICE_HOST} # Default admin username Q_ADMIN_USERNAME=${Q_ADMIN_USERNAME:-quantum} # Default auth strategy @@ -86,7 +86,7 @@ Q_USE_NAMESPACE=${Q_USE_NAMESPACE:-True} Q_OVS_USE_VETH=${Q_OVS_USE_VETH:-False} Q_USE_ROOTWRAP=${Q_USE_ROOTWRAP:-True} # Meta data IP -Q_META_DATA_IP=${Q_META_DATA_IP:-$HOST_IP} +Q_META_DATA_IP=${Q_META_DATA_IP:-$SERVICE_HOST} # Allow Overlapping IP among subnets Q_ALLOW_OVERLAPPING_IP=${Q_ALLOW_OVERLAPPING_IP:-True} # Use quantum-debug command