Merge "Adding tempest prefix option in tempest.conf"
This commit is contained in:
commit
a12feaca2f
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
A new config option in the default section, resource_name_prefix,
|
||||||
|
is added to allow users to customize the name (specifically the prefix)
|
||||||
|
of the resources created by Tempest during a test run. By default it is
|
||||||
|
set to tempest.
|
||||||
|
Tempest cleanup CLI will then use this config option to cleanup only the
|
||||||
|
resources that match the prefix. Make sure this prefix does not match with
|
||||||
|
the resource name you do not want Tempest cleanup CLI to delete.
|
@ -1350,6 +1350,13 @@ A test can be run as follows:
|
|||||||
$ stestr run --pdb TEST_ID
|
$ stestr run --pdb TEST_ID
|
||||||
or
|
or
|
||||||
$ python -m testtools.run TEST_ID"""),
|
$ python -m testtools.run TEST_ID"""),
|
||||||
|
cfg.StrOpt('resource_name_prefix',
|
||||||
|
default='tempest',
|
||||||
|
help="Define the prefix name for the resources created by "
|
||||||
|
"tempest. Tempest cleanup CLI will use this config option "
|
||||||
|
"to cleanup only the resources that match the prefix. "
|
||||||
|
"Make sure this prefix does not match with the resource "
|
||||||
|
"name you do not want Tempest cleanup CLI to delete."),
|
||||||
]
|
]
|
||||||
|
|
||||||
_opts = [
|
_opts = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user