aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2017-08-23 08:56:20 +0000
committerrexlee8776 <limingjiang@huawei.com>2017-08-23 08:56:20 +0000
commit0022e97b4fcb9b863f84dc704a9bb38c8021f6a9 (patch)
tree4e99efb10ec7b85c25171a0d6345cb5963cec878 /tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
parentb82340a4e3b63b38fe3b797070baacfb70a6df38 (diff)
improve tc002 to make packet size parameterize
JIRA: YARDSTICK-793 Change-Id: I95d014ad3d2e19dd2df1f5e72d994da2f44d4544 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
index 58f5b783a..7f8c22943 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
@@ -18,13 +18,14 @@ description: >
{% set provider = provider or none %}
{% set physical_network = physical_network or 'physnet1' %}
{% set segmentation_id = segmentation_id or none %}
+{% set packetsize = packetsize or 100 %}
scenarios:
{% for i in range(2) %}
-
type: Ping
options:
- packetsize: 100
+ packetsize: {{packetsize}}
host: athena.demo
target: ares.demo
@@ -64,4 +65,4 @@ context:
{% if segmentation_id %}
segmentation_id: {{segmentation_id}}
{% endif %}
- {% endif %} \ No newline at end of file
+ {% endif %}