From 9c78a42bb6cc9ba8a8f93c3b1f95f5ed5b9b1c97 Mon Sep 17 00:00:00 2001 From: Per Holmgren Date: Wed, 11 Nov 2015 17:11:53 +0100 Subject: [PATCH] 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 --- tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml | 52 +++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml 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' -- 2.16.6