TVD: Fix devstack cleanup

Change-Id: I4758b747f1181cc5fdd4004e0ebed42c928727dd
This commit is contained in:
Adit Sarfaty 2017-12-26 10:49:47 +02:00
parent 64b80b1b3f
commit 4574b141f4

View File

@ -77,7 +77,7 @@ elif [[ $Q_PLUGIN == 'vmware_nsx_tvd' ]]; then
init_vmware_nsx_tvd
elif [[ "$1" == "unstack" ]]; then
db_connection=$(iniget $NEUTRON_CONF database connection)
stop_vmware_nsx_v3
stop_vmware_nsx_tvd
# only clean up when q-svc (legacy support) or neutron-api is enabled
if is_service_enabled q-svc || is_service_enabled neutron-api; then
NSX_MANAGER=${NSX_MANAGERS:-$NSX_MANAGER}