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
This commit is contained in:
Adit Sarfaty 2018-03-21 09:02:21 +02:00
parent 9d99e2ffb6
commit a38a7f127d
1 changed files with 5 additions and 1 deletions

View File

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