Refactor task config format

Registered by Marco Morais

(1) Rename the task config elements is one step in the process of making scenarios more pluggable.

Proposed schema.
{
   {
    "NovaServers.boot_and_delete_server": [
        {
            "args": {
                 "flavor_id": 1,
                 "image_id": "73257560-c59b-4275-a1ec-ab140e5b9979"
            },
            "runner": {
                "type": "continuous",
                "times": 10,
                “timeout”: 100,
                "active_users": 2
            }
            "context": {
                "users": {
                    "tenants": 3,
                    “users_per_tenant": 2
                }
            }
        }
    ]
}

(2) Support configuration in both yaml + json format.

(3) Use jsonschema to validate configuration.

More details in section 3.1 of Rally Benchmark Engine refactoring doc [1]

[1]: https://docs.google.com/a/yahoo-inc.com/document/d/1LYUAHkZQD8W7dtlj2I3PDA6x67TiD3AMnSWG6ljsups/edit#

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
High
Drafter:
Boris Pavlovic
Direction:
Approved
Assignee:
Boris Pavlovic
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Boris Pavlovic
Completed by
Boris Pavlovic

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/benchmark-new-task-config,n,z

Addressed by: https://review.openstack.org/80151
    WIP New task config + validation refactoring

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.