Nsx policy: Prevent tempest disable in devstack

Allow tempest and externally defined heat services for devstack
under nsx policy.

Change-Id: Ibde2de5fa294d5d56ea5c3614232343a0c911daa
This commit is contained in:
Anna Khmelnitsky 2017-08-08 12:41:00 -07:00
parent 0d2885bf64
commit cc2c933749

View File

@ -56,12 +56,15 @@ enable_service q-lbaasv2
enable_service q-meta
enable_service neutron
enable_service group-policy
if [[ $ENABLE_APIC_AIM_GATE = False ]]; then
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
disable_service tempest
else
# this may not be required
DISABLED_SERVICES+=,n-api,n-cpu,n-cond,n-sch,n-novnc,n-cauth,g-api,g-reg,c-sch,c-api,c-vol,horizon,heat,h-api,h-api-cfn,h-api-cw,h-eng,dstat,tempest
if [[ $ENABLE_NSX_POLICY = False ]]; then
if [[ $ENABLE_APIC_AIM_GATE = False ]]; then
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
disable_service tempest
else
# this may not be required
DISABLED_SERVICES+=,n-api,n-cpu,n-cond,n-sch,n-novnc,n-cauth,g-api,g-reg,c-sch,c-api,c-vol,horizon,heat,h-api,h-api-cfn,h-api-cw,h-eng,dstat,tempest
fi
fi
if [[ $ENABLE_NFP = True ]]; then
# NFP services