From a38a7f127d7fde74ab5b6a661d5922c34e97f817 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Wed, 21 Mar 2018 09:02:21 +0200 Subject: [PATCH] TVD allow devstack init without V3 transport zone devstack should succedd for TVD plugin even if the V3 transport zone is not configured, sonce it can work with v/dvs plugins. Change-Id: I889a9cdfd2a79c26be4c5ab0f880b33fa6b2a384 --- devstack/lib/nsx_common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devstack/lib/nsx_common b/devstack/lib/nsx_common index a5242acf42..ac63dd9ba9 100644 --- a/devstack/lib/nsx_common +++ b/devstack/lib/nsx_common @@ -92,7 +92,11 @@ function _nsxv3_ini_set { } function nsxv3_configure_service { - _nsxv3_ini_set default_overlay_tz $DEFAULT_OVERLAY_TZ_UUID "The VMware NSX plugin won't work without a default transport zone." + if [[ $1 == "nsx_v3" ]]; then + _nsxv3_ini_set default_overlay_tz $DEFAULT_OVERLAY_TZ_UUID "The VMware NSX plugin won't work without a default transport zone." + else + _nsxv3_ini_set default_overlay_tz $DEFAULT_OVERLAY_TZ_UUID + fi _nsxv3_ini_set default_vlan_tz $DEFAULT_VLAN_TZ_UUID if [[ "$DEFAULT_TIER0_ROUTER_UUID" != "" ]]; then _nsxv3_ini_set default_tier0_router $DEFAULT_TIER0_ROUTER_UUID