Change new input task format specification

We have issue with current format there are 2 things called "task",
"task" is file with bunch of "task" that are run.

I would prefer to split these 2 things:

  task - is file that is run by "rally task" command

  subtasks - is actually single test case described in task file

Change-Id: Ib1a2f39bb91cfb5b0ba0b3d15be53d3a3241bfc7
This commit is contained in:
Boris Pavlovic 2015-06-04 19:15:12 +03:00
parent 40ed750a6e
commit c3e08084aa

View File

@ -48,7 +48,7 @@ Make a new format that address all issues.
Old format JSON schema:
.. code-block:: none
.. code-block:: python
{
"type": "object",
@ -85,7 +85,7 @@ Old format JSON schema:
Old format sample:
.. code-block:: none
.. code-block:: yaml
---
<ScenarioName>:
@ -111,7 +111,7 @@ Old format sample:
New format JSON schema:
.. code-block:: none
.. code-block:: python
{
"type": "object",
@ -182,7 +182,7 @@ New format JSON schema:
New format sample:
.. code-block:: none
.. code-block:: yaml
---
@ -203,7 +203,7 @@ New format sample:
# Explicit usage "rally task start --tag" --tag attribute
tags: ["periodic", "nova", "cinder", "ha"]
tasks:
subtasks:
# Note every task is executed serially (one by one)
#
# Using list for describing what benchmarks (tasks) to run is much