From 43bd667be6b299eba72011a501bdf332665a045d Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Thu, 3 Apr 2014 11:13:13 -0700 Subject: [PATCH] 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 --- lib/tempest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/tempest b/lib/tempest index a4558cedc1..3b2de7d291 100644 --- a/lib/tempest +++ b/lib/tempest @@ -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