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
diff --git a/lib/tempest b/lib/tempest
index a4558ce..3b2de7d 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -360,6 +360,11 @@
# 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