Merge "heat: minor fixes, don't use len > 0 and use next instead of [0]"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc008.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Yardstick TC008 config file;
6     Measure network throughput and packet loss using Pktgen;
7     Different amount of flows, from 2 up to 1001000, in combination
8     with different packet sizes are run in each test.
9     Each combination of packet size and flow amount is run 10 times.
10     First 10 times with the smallest packet size, starting with the
11     least amount of ports/flows, then next amount of ports with same
12     packet size, and so on. The test sequence continues with the next
13     packet size, with same ports/flows sequence as before.
14
15 scenarios:
16 {% for pkt_size in [64, 128, 256, 512, 1024, 1280, 1518] %}
17   {% for num_ports in [1, 10, 50, 100, 500, 1000] %}
18 -
19   type: Pktgen
20   options:
21     packetsize: {{pkt_size}}
22     number_of_ports: {{num_ports}}
23     duration: 20
24
25   host: demeter.yardstick-TC008
26   target: poseidon.yardstick-TC008
27
28   runner:
29     type: Iteration
30     iterations: 10
31     interval: 1
32
33   sla:
34     max_ppm: 1000
35     action: monitor
36   {% endfor %}
37 {% endfor %}
38
39 context:
40   name: yardstick-TC008
41   image: yardstick-image
42   flavor: yardstick-flavor
43   user: ubuntu
44
45   placement_groups:
46     pgrp1:
47       policy: "availability"
48
49   servers:
50     demeter:
51       floating_ip: true
52       placement: "pgrp1"
53     poseidon:
54       floating_ip: true
55       placement: "pgrp1"
56
57   networks:
58     test:
59       cidr: '10.0.1.0/24'