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