Merge "Allow using the fake-hardware hardware type for API tests"
diff --git a/ironic_tempest_plugin/config.py b/ironic_tempest_plugin/config.py
index dc99e03..8d10b00 100644
--- a/ironic_tempest_plugin/config.py
+++ b/ironic_tempest_plugin/config.py
@@ -52,9 +52,10 @@
cfg.StrOpt('catalog_type',
default='baremetal',
help="Catalog type of the baremetal provisioning service"),
+ # TODO(dtantsur): change to fake-hardware when Ocata is no longer supported
cfg.StrOpt('driver',
default='fake',
- help="Driver name which Ironic uses"),
+ help="Driver name to use for API tests"),
cfg.StrOpt('endpoint_type',
default='publicURL',
choices=['public', 'admin', 'internal',
diff --git a/ironic_tempest_plugin/tests/api/admin/base.py b/ironic_tempest_plugin/tests/api/admin/base.py
index 6bedae4..c589461 100644
--- a/ironic_tempest_plugin/tests/api/admin/base.py
+++ b/ironic_tempest_plugin/tests/api/admin/base.py
@@ -28,7 +28,7 @@
# will require passing driver-specific data to Tempest (addresses,
# credentials, etc). Until then, only support testing against the fake driver,
# which has no external dependencies.
-SUPPORTED_DRIVERS = ['fake']
+SUPPORTED_DRIVERS = ['fake', 'fake-hardware']
# NOTE(jroll): resources must be deleted in a specific order, this list
# defines the resource types to clean up, and the correct order.