add support for suite to support constraints and task_args 47/17147/7
authorrexlee8776 <limingjiang@huawei.com>
Tue, 19 Jul 2016 14:19:55 +0000 (14:19 +0000)
committerrexlee8776 <limingjiang@huawei.com>
Wed, 20 Jul 2016 06:22:57 +0000 (06:22 +0000)
commit7e9b180b0d10e84450eb2990549c02c106b0302e
tree3a90bdbda0bcfc6b6003d17ba2c689f03901d1a9
parent1e6ca0bfaaeadff7ce8ac9b1693b03d122e58a79
add support for suite to support constraints and task_args

suite.yaml has constraint and task_args parameter, so
each task_case can be able to add constaints (currently
support pod_name and installer), also support parameters
to be replace for special test case like tc043.

JIRA: YARDSTICK-299

Change-Id: I2b2c8f9858893da03aaa8bcac20a474a2d434509
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-nofeature-ha_daily.yaml
tests/unit/cmd/commands/no_constraint_no_args_scenario_sample.yaml [new file with mode: 0644]
tests/unit/cmd/commands/no_constraint_with_args_scenario_sample.yaml [new file with mode: 0644]
tests/unit/cmd/commands/test_task.py
tests/unit/cmd/commands/with_constraint_no_args_scenario_sample.yaml [new file with mode: 0644]
tests/unit/cmd/commands/with_constraint_with_args_scenario_sample.yaml [new file with mode: 0644]
yardstick/cmd/commands/task.py