Browse code

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

Adam Gandelman authored on 2014/04/04 03:13:13
Showing 1 changed files
... ...
@@ -360,6 +360,11 @@ function configure_tempest {
360 360
     # Networking
361 361
     iniset $TEMPEST_CONFIG network-feature-enabled api_extensions "${NETWORK_API_EXTENSIONS:-all}"
362 362
 
363
+    # Baremetal
364
+    if [ "$VIRT_DRIVER" = "ironic" ] ; then
365
+        iniset $TEMPEST_CONFIG baremetal driver_enabled True
366
+    fi
367
+
363 368
     # service_available
364 369
     for service in ${TEMPEST_SERVICES//,/ }; do
365 370
         if is_service_enabled $service ; then