Files
ironic-tempest-plugin/doc/source/usage.rst
T
Dmitry Tantsur 0c4a693bb4 Update the usage documentation with recent changes
Cover the "driver" option and more regular expressions. Also explain
which regular expressions are used in which jobs.

Change-Id: Ic5ccb91b603e0e0bdaa51501025b85383d42453b
2018-09-07 14:41:57 +02:00

1.6 KiB

Usage

Configuring

Update your Tempest configuration to enable support for ironic:

[service_enabled]
ironic = True

If introspection tests are needed, also enable support for ironic-inspector:

[service_enabled]
ironic_inspector = True

See the following example configurations for more details:

config/with-nova

Running

Run tests as described in the Tempest documentation. The following patterns can be used with --regex option to only run bare metal tests:

ironic

all bare metal tests

ironic_tempest_plugin.tests.api

only API tests using fake hardware, without other OpenStack services (these tests are run by jobs starting with tempest-dsvm-ironic-functional)

ironic_tempest_plugin.tests.scenario

all integration tests, excluding the API tests with fake hardware (these tests are run by most of the jobs)

ironic_standalone

standalone bare metal tests that do not use the Compute service (these tests are run by the job ironic-dsvm-standalone)

InspectorBasicTest

basic introspection tests (these tests are run by most of the jobs with ironic-inspector in their name)

InspectorDiscoveryTest

introspection auto-discovery tests (these tests are run by the job ironic-inspector-tempest-dsvm-discovery and require additional set up)