Optimize tenants and their resources in context.
Implement tenant related resources tree with tenant
as root.
Change-Id: I974f3a02eeade3de6f6208642fa593832f7c62d9
* Add more info about basic entities in rally, add samples
* Fix wrong multiline :param: handling
* Fix "rally info BenchmarkScenarios" output so that it contains
no base classes with no scenarios
* Sort entity tables (BenchmarkScenarios/DeployEngines/...) by names
* Enable search for SLA by config option name (not only by class name)
and print this config option name in "rally info SLA"
* Fix SLA desciption in the basic "rally info" call
* Rename "rally info DeployEngines" -> "rally info DeploymentEngines",
but leave an alias (so that "DeployEngines" still works)
* Handle unicode bugs
* Modify the cliutils code so that it does not print traces in case of
excessive CLI arguments
* Other cosmetic improvements
Change-Id: I2ca2b5e7f00b503a1b60d2103596ab1dfa64ac46
Closes-Bug: #1392895
Rules:
N311 - Validate that debug level logs are not translated
N320 - Ensure that ``assertTrue(isinstance(A, B))`` is not used
N321 - Ensure that ``assertEqual(type(A), B)`` is not used
N322 - Ensure that ``assertEqual(A, None)`` and ``assertEqual(None, A)``
are not used
N323 - Ensure that ``assertTrue/assertFalse(A in/not in B)`` are not
used with collection contents
Also, small bug related to logging in verification was fixed.
Change-Id: Ieabe1b23d0c02cc13bb6cad106ab855507359ddc
Provide plugins loading for runners and contexts, improve samples.
Plugins now can be loaded from ~/.rally/plugins and /opt/rally/plugins
and any it's subdirectories.
Closes-Bug: #1320942
Change-Id: I213086e7eae17e297c398c301f5ed8d2331d951e
Module gettextutils from oslo-incubator was graduated to separate
library (oslo.i18n) and removed from repository, so we should use
new library.
Change-Id: I9bfe95c7995c47715151386c602ef954499bb2ea
Before:
$ rally info find ExistingServert
Failed to find any docs for query: 'ExistinfServert'
After:
$ rally info find ExistinfServert
Failed to find any docs for query: 'ExistinfServert'
Did you mean one of these?
ExistingServers
Two types of misspellings supported as of now:
1. Queries with typos ('ExistinfServert' -> 'ExistingServers')
2. Truncated queries ('Nova' -> 'NovaServers')
We also improve the base.Scenario.get_scenario_by_name() method to ensure
that only scenarios can be returned from it. We simplify the code by adding
the is_scenario() method there.
Change-Id: I093ddef154daeb7cbcd757e35d0e853f70401bee