[Yardstick-233] Add tc_42 yaml file 11/17411/2
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Fri, 22 Jul 2016 11:39:41 +0000 (19:39 +0800)
committerwu.zhihui <wu.zhihui1@zte.com.cn>
Fri, 22 Jul 2016 11:46:54 +0000 (19:46 +0800)
JIRA: Yardstick-233

Change-Id: Ic5dc1e0fee143a35b342cc105da5bc54925a2ced
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml [new file with mode: 0644]

diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
new file mode 100644 (file)
index 0000000..a47f71a
--- /dev/null
@@ -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'