From 1aa436813566081c24f0223b2ac48c2389c244ce Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 21 Jul 2016 19:37:04 +0900 Subject: [PATCH] Move Q_ROUTER_NAME to where it belongs The motivation is to make it more friendly with lib/neutron. ie. independent from lib/neutron-legacy Change-Id: I19821b009cbf1bc715a6c7b2854e4c77d2041ec4 --- lib/neutron-legacy | 2 -- lib/neutron_plugins/services/l3 | 3 +++ lib/tempest | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index 123ba4238f..9e926a000f 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -125,8 +125,6 @@ Q_USE_ROOTWRAP_DAEMON=$(trueorfalse True Q_USE_ROOTWRAP_DAEMON) Q_META_DATA_IP=${Q_META_DATA_IP:-$SERVICE_HOST} # Allow Overlapping IP among subnets Q_ALLOW_OVERLAPPING_IP=${Q_ALLOW_OVERLAPPING_IP:-True} -# The name of the default q-l3 router -Q_ROUTER_NAME=${Q_ROUTER_NAME:-router1} Q_NOTIFY_NOVA_PORT_STATUS_CHANGES=${Q_NOTIFY_NOVA_PORT_STATUS_CHANGES:-True} Q_NOTIFY_NOVA_PORT_DATA_CHANGES=${Q_NOTIFY_NOVA_PORT_DATA_CHANGES:-True} VIF_PLUGGING_IS_FATAL=${VIF_PLUGGING_IS_FATAL:-True} diff --git a/lib/neutron_plugins/services/l3 b/lib/neutron_plugins/services/l3 index 408b322702..54dae2b4c7 100644 --- a/lib/neutron_plugins/services/l3 +++ b/lib/neutron_plugins/services/l3 @@ -22,6 +22,9 @@ PUBLIC_BRIDGE_MTU=${PUBLIC_BRIDGE_MTU:-1500} # used. Q_ASSIGN_GATEWAY_TO_PUBLIC_BRIDGE=${Q_ASSIGN_GATEWAY_TO_PUBLIC_BRIDGE:-True} +# The name of the default router +Q_ROUTER_NAME=${Q_ROUTER_NAME:-router1} + # If Q_USE_PUBLIC_VETH=True, create and use a veth pair instead of # PUBLIC_BRIDGE. This is intended to be used with # Q_USE_PROVIDERNET_FOR_PUBLIC=True. diff --git a/lib/tempest b/lib/tempest index b491bf82ef..0845ad0afa 100644 --- a/lib/tempest +++ b/lib/tempest @@ -15,7 +15,6 @@ # - ``SERVICE_HOST`` # - ``BASE_SQL_CONN`` ``lib/database`` declares # - ``PUBLIC_NETWORK_NAME`` -# - ``Q_ROUTER_NAME`` # - ``VIRT_DRIVER`` # - ``LIBVIRT_TYPE`` # - ``KEYSTONE_SERVICE_PROTOCOL``, ``KEYSTONE_SERVICE_HOST`` from lib/keystone