Allow to specify resource name pattern via rally.conf

This patch as well refactors the interface of RandomNameMixin
instead of using cls variables we can now use as well method
which can dynamically return the pattern name value.

This is important because otherwise oslo.conf doesn't work =(

Change-Id: Ib6af0c9784590e29634995d57e2e465a7b2dde5e
This commit is contained in:
Boris Pavlovic 2017-10-05 23:53:07 -07:00 committed by Andrey Kurilin
parent dc98fa69c8
commit c016d0910e

View File

@ -574,6 +574,8 @@ def check_opts_import_path(logical_line, physical_line, filename):
"""
excluded_files = ["./rally/osclients.py",
"./rally/task/engine.py",
"./rally/task/context.py",
"./rally/task/scenario.py",
"./rally/common/opts.py"]
forbidden_methods = [".register_opts("]