aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2017-09-14 08:51:28 +0000
committerrexlee8776 <limingjiang@huawei.com>2017-09-14 08:51:28 +0000
commita0beb235aaf0108b486d7df551d5281cb2a0f138 (patch)
tree54ffe72002774cd5279858e76ace8e1bf7806d2a /tests/opnfv/test_cases
parentdc4c82cda3362f1a1fa04340103846c4aa655ec5 (diff)
tc011: make parameters to be able to config
Change-Id: Ic8a85b762f5204a9b759bf57c3189df97aa52d0c Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests/opnfv/test_cases')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
index eef1a7a62..b2077d59e 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
@@ -13,6 +13,10 @@ description: >
Yardstick TC011 config file;
Measure packet delay variation (jitter) using iperf3.
+{% set udp = udp or "udp" %}
+{% set bandwidth = bandwidth or "20m" %}
+{% set length = length or "8K" %}
+{% set window = window or 29200 %}
{% set provider = provider or none %}
{% set physical_network = physical_network or 'physnet1' %}
{% set segmentation_id = segmentation_id or none %}
@@ -21,10 +25,10 @@ scenarios:
-
type: Iperf3
options:
- udp: udp
- bandwidth: 20m
- length: 8K
- window: 29200
+ udp: {{udp}}
+ bandwidth: {{bandwidth}}
+ length: {{length}}
+ window: {{window}}
host: zeus.demo
target: hera.demo