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
This commit is contained in:
Tong Liu 2015-11-12 03:27:48 +00:00
parent bca69ea4e3
commit e9c9a23333
1 changed files with 3 additions and 0 deletions

View File

@ -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"