aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
diff options
context:
space:
mode:
authorAce Lee <liyin11@huawei.com>2017-09-15 06:14:19 +0000
committerJing Lu <lvjing5@huawei.com>2017-10-12 01:38:29 +0000
commit4608b2d7a467344cde6208eaa5d0db58d7d7d42f (patch)
tree79215d5b7b02142d4dd1abd23277a1b591dbc5df /tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
parentd6b148980fb78d99ed99985bf578ce285ead51d6 (diff)
Use "protocol" parameters in iperf3 yaml and task file
JIRA: YARDSTICK-755 There is a history problem that iperf use udp to set a net protocol. This code will change it to protocol. so you could use 'tcp','udp' and other protocol. Change-Id: I1a101013dfe58165a3ed08aa77f0aa2f73d57a12 Signed-off-by: Ace Lee <liyin11@huawei.com> (cherry picked from commit 10f85b332c4b1f55e651aeb9c45b328e1ebdc2af)
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
index b2077d59e..ee36c6c82 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
@@ -13,7 +13,7 @@ description: >
Yardstick TC011 config file;
Measure packet delay variation (jitter) using iperf3.
-{% set udp = udp or "udp" %}
+{% set protocol = protocol or "udp" %}
{% set bandwidth = bandwidth or "20m" %}
{% set length = length or "8K" %}
{% set window = window or 29200 %}
@@ -25,7 +25,7 @@ scenarios:
-
type: Iperf3
options:
- udp: {{udp}}
+ protocol: {{protocol}}
bandwidth: {{bandwidth}}
length: {{length}}
window: {{window}}