1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd 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 TC070 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 2 times each. First 2 times with the least
17 amount of ports, then 2 times with the next amount of ports,
18 and so on until all packet sizes have been run with;
19 During the measurements memory usage statistics and network latency are
20 recorded/measured using free and ping, 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
35 host: demeter.yardstick-TC070
38 run_in_background: true
44 host: poseidon.yardstick-TC070
47 run_in_background: true
52 host: demeter.yardstick-TC070
53 target: poseidon.yardstick-TC070
58 {% for num_ports in [1, 10, 50, 100, 300, 500, 750, 1000] %}
63 number_of_ports: {{num_ports}}
66 host: demeter.yardstick-TC070
67 target: poseidon.yardstick-TC070
81 image: yardstick-image
82 flavor: yardstick-flavor
87 policy: "availability"
100 {% if provider == "vlan" or provider == "sriov" %}
101 provider: {{provider}}
102 physical_network: {{physical_network}}
103 {% if segmentation_id %}
104 segmentation_id: {{segmentation_id}}