Merge "Adding generic traffic profiles for trex traffic generator"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc009.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Yardstick TC009 config file;
6     Measure network throughput and packet loss using pktgen;
7     Different amounts of flows are tested with, from 2 up to 1001000;
8     All tests are run 10 times each. First 10 times with the least
9     amount of ports, then 10 times with the next amount of ports,
10     and so on until all packet sizes have been run with;
11
12 scenarios:
13 {% for num_ports in [1, 10, 50, 100, 500, 1000] %}
14 -
15   type: Pktgen
16   options:
17     packetsize: 64
18     number_of_ports: {{num_ports}}
19     duration: 20
20
21   host: demeter.yardstick-TC009
22   target: poseidon.yardstick-TC009
23
24   runner:
25     type: Iteration
26     iterations: 10
27     interval: 1
28
29   sla:
30     max_ppm: 1000
31     action: monitor
32 {% endfor %}
33
34 context:
35   name: yardstick-TC009
36   image: yardstick-image
37   flavor: yardstick-flavor
38   user: ubuntu
39
40   placement_groups:
41     pgrp1:
42       policy: "availability"
43
44   servers:
45     demeter:
46       floating_ip: true
47       placement: "pgrp1"
48     poseidon:
49       floating_ip: true
50       placement: "pgrp1"
51
52   networks:
53     test:
54       cidr: '10.0.1.0/24'