Set flag in Tempest enabling Ironic scenario tests

When Ironic has been configured as the backing compute driver,
set the corresponding flag in Tempest that will cause a corresponding
scenario test to run.

Change-Id: I2bb6009c338cb301bd332e640a845fc1f6cb9336
This commit is contained in:
Adam Gandelman 2014-04-03 11:13:13 -07:00
parent 995e10cbf7
commit 43bd667be6

View File

@ -360,6 +360,11 @@ function configure_tempest {
# Networking
iniset $TEMPEST_CONFIG network-feature-enabled api_extensions "${NETWORK_API_EXTENSIONS:-all}"
# Baremetal
if [ "$VIRT_DRIVER" = "ironic" ] ; then
iniset $TEMPEST_CONFIG baremetal driver_enabled True
fi
# service_available
for service in ${TEMPEST_SERVICES//,/ }; do
if is_service_enabled $service ; then