From 4cf7af22bee2eda98cc518b399d6d394cf05848c Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Fri, 22 Jul 2016 19:39:41 +0800 Subject: [Yardstick-233] Add tc_42 yaml file JIRA: Yardstick-233 Change-Id: Ic5dc1e0fee143a35b342cc105da5bc54925a2ced Signed-off-by: wu.zhihui --- tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml 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' -- cgit 1.2.3-korg