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