From e9c9a23333ba91f14657805fff031d860db5c0e1 Mon Sep 17 00:00:00 2001 From: Tong Liu Date: Thu, 12 Nov 2015 03:27:48 +0000 Subject: [PATCH] Add NSX_L2GW_DRIVER for NSX-v plugin NSXv plugin also supports L2 gateway, but the param nsx_l2gw_driver is missing. This fix is to support $NSX_L2GW_DRIVER to be specified in the localrc. Change-Id: Ibd9053c90404f62bb44239c077ff1606278a2607 --- devstack/lib/vmware_nsx_v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devstack/lib/vmware_nsx_v b/devstack/lib/vmware_nsx_v index 3f56dc23f6..bed6a93f22 100644 --- a/devstack/lib/vmware_nsx_v +++ b/devstack/lib/vmware_nsx_v @@ -82,6 +82,9 @@ function _nsxv_ini_set { } function neutron_plugin_configure_service { + if [[ "$NSX_L2GW_DRIVER" != "" ]]; then + iniset /$Q_PLUGIN_CONF_FILE DEFAULT nsx_l2gw_driver $NSX_L2GW_DRIVER + fi _nsxv_ini_set password "$NSXV_PASSWORD" _nsxv_ini_set user "$NSXV_USER" _nsxv_ini_set vdn_scope_id "$NSXV_VDN_SCOPE_ID"