From 2d2298accfcf7f9f636348a389a0b74515f8cba8 Mon Sep 17 00:00:00 2001
From: Dmitry Tantsur <divius.inside@gmail.com>
Date: Thu, 26 Apr 2018 16:14:48 +0200
Subject: [PATCH] Switch to the fake-hardware hardware type for API tests

Change-Id: I7a9d563c8cc7d493f55f984664f8fe80ead177a2
Depends-On: I6540bca3e19ec1d09d6f71c0d3fc987439bc8138
---
 devstack/lib/ironic | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 5960500be9..953334e958 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -2505,6 +2505,8 @@ function ironic_configure_tempest {
     iniset $TEMPEST_CONFIG baremetal enabled_hardware_types $IRONIC_ENABLED_HARDWARE_TYPES
     iniset $TEMPEST_CONFIG baremetal enabled_deploy_interfaces $IRONIC_ENABLED_DEPLOY_INTERFACES
     iniset $TEMPEST_CONFIG baremetal enabled_rescue_interfaces $IRONIC_ENABLED_RESCUE_INTERFACES
+    # Driver for API tests
+    iniset $TEMPEST_CONFIG baremetal driver fake-hardware
 
     local adjusted_root_disk_size_gb
     if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then