summaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-07-19 14:19:55 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-07-20 06:22:57 +0000
commit7e9b180b0d10e84450eb2990549c02c106b0302e (patch)
tree3a90bdbda0bcfc6b6003d17ba2c689f03901d1a9 /tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
parent1e6ca0bfaaeadff7ce8ac9b1693b03d122e58a79 (diff)
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>
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
index 6f2952f97..d5754b966 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
@@ -3,14 +3,16 @@
# Measure latency between NFVI nodes using ping
schema: "yardstick:task:0.1"
-
+{% set host = host or "node1.LF" %}
+{% set target = target or "node2.LF" %}
+{% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
scenarios:
-
type: Ping
options:
packetsize: 100
- host: node4.LF
- target: node5.LF
+ host: {{host}}
+ target: {{target}}
runner:
type: Duration
@@ -25,5 +27,5 @@ scenarios:
context:
type: Node
name: LF
- file: etc/yardstick/nodes/compass_sclab_physical/pod.yaml
+ file: {{pod_info}}