aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml
diff options
context:
space:
mode:
authorPer Holmgren <per.q.holmgren@ericsson.com>2015-11-11 17:11:53 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-12-15 16:01:11 +0000
commit9c78a42bb6cc9ba8a8f93c3b1f95f5ed5b9b1c97 (patch)
treea5be0f8b7cdb30c3070682fe62d58487984058c7 /tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml
parent35a5e039bf87708e9febafba6f0f3149639f3aea (diff)
Adds new test case 001 for network performance
This commit contains almost all of Jira #79. Misses still to collect all results in one single .json file, now everything is written to /tmp/yardstick.out. However, this may not be needed at all once the database for test result collection is in place. Change-Id: I210a477c3b5a110e97a6220e68d3ddc31ccce93a JIRA: YARDSTICK-79
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml
new file mode 100644
index 000000000..9e29ec2b1
--- /dev/null
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml
@@ -0,0 +1,52 @@
+---
+# Yardstick TC001 config file
+# Measure network throughput using pktgen
+# Different amounts of flows are tested with, from 2 up to 1001000
+# All tests are run twice. First twice with the least amount of
+#ports and further on.
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+{% for num_ports in [1, 10, 50, 100, 500, 1000] %}
+-
+ type: Pktgen
+ options:
+ packetsize: 64
+ number_of_ports: {{num_ports}}
+ duration: 20
+
+ host: demeter.yardstick
+ target: poseidon.yardstick
+
+ runner:
+ type: Iteration
+ iterations: 2
+ interval: 1
+
+ sla:
+ max_ppm: 1000
+ action: monitor
+{% endfor %}
+
+context:
+ name: yardstick
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ec2-user
+
+ 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'