From: Per Holmgren Date: Wed, 11 Nov 2015 16:11:53 +0000 (+0100) Subject: Adds new test case 001 for network performance X-Git-Tag: brahmaputra.1.0~129 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F3703%2F2;p=yardstick.git 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 --- 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'