1 ##############################################################################
2 # Copyright (c) 2017 Ericsson AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 schema: "yardstick:task:0.1"
13 Yardstick TC038 config file;
14 Measure network throughput and packet loss using pktgen;
15 Different amounts of flows are tested with, from 2 up to 1001000;
16 All tests are run 10 times each. First 10 times with the least
17 amount of ports, then 10 times with the next amount of ports,
18 and so on until all packet sizes have been run with;
19 During the measurements system load and network latency are
20 recorded/measured using ping and mpstat, respectively;
22 {% set provider = provider or none %}
23 {% set physical_network = physical_network or 'physnet1' %}
24 {% set segmentation_id = segmentation_id or none %}
29 run_in_background: true
34 host: demeter.yardstick-TC038
37 run_in_background: true
42 host: poseidon.yardstick-TC038
45 run_in_background: true
50 host: demeter.yardstick-TC038
51 target: poseidon.yardstick-TC038
56 {% for num_ports in [1, 10, 50, 100, 300, 500, 750, 1000] %}
61 number_of_ports: {{num_ports}}
64 host: demeter.yardstick-TC038
65 target: poseidon.yardstick-TC038
79 image: yardstick-image
80 flavor: yardstick-flavor
85 policy: "availability"
98 {% if provider == "vlan" or provider == "sriov" %}
99 provider: {{provider}}
100 physical_network: {{physical_network}}
101 {% if segmentation_id %}
102 segmentation_id: {{segmentation_id}}