Merge "Allow using the fake-hardware hardware type for API tests"

This commit is contained in:
Zuul 2018-05-03 14:02:19 +00:00 committed by Gerrit Code Review
commit 68859e8c31
2 changed files with 3 additions and 2 deletions

View File

@ -52,9 +52,10 @@ BaremetalGroup = [
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',

View File

@ -28,7 +28,7 @@ CONF = config.CONF
# 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.