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