aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-07-26 07:06:26 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-26 07:06:26 +0000
commit3efdee16739e3660c28c6f6b48d331e350ae4a0d (patch)
tree542106fcbe730008ab7f57726d0dd10418b1f7d9 /tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
parentcde1aeb9fcb6b4227f15c667e4da5ac459870a45 (diff)
parent4cf7af22bee2eda98cc518b399d6d394cf05848c (diff)
Merge "[Yardstick-233] Add tc_42 yaml file"
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
new file mode 100644
index 000000000..a47f71a8b
--- /dev/null
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
@@ -0,0 +1,51 @@
+---
+# Yardstick TC042 config file
+# Measure network latency using testpmd and pktgen-dpdk
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: PktgenDPDKLatency
+ options:
+ packetsize: 64
+ rate: 100
+ duration: 20
+
+ host: demeter.yardstick
+ target: poseidon.yardstick
+
+ runner:
+ type: Iteration
+ iterations: 2
+ interval: 1
+
+ sla:
+ max_rtt: 1000
+ action: monitor
+
+context:
+ name: yardstick
+ image: yardstick-image-pktgen-ready
+ flavor: yardstick-pktgen-dpdk.flavor
+ user: ubuntu
+
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+
+ servers:
+ demeter:
+ floating_ip: true
+ placement: "pgrp1"
+ poseidon:
+ floating_ip: true
+ placement: "pgrp1"
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
+ test2:
+ cidr: '10.0.2.0/24'
+ test3:
+ cidr: '10.0.3.0/24'