1 ##############################################################################
2 # Copyright (c) 2017 kristian.hunt@gmail.com 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 ##############################################################################
10 # Sample benchmark task config file
11 # use perf to perform Linux performance measurements
12 # this sample demonstrates measurements of various software perf events
14 schema: "yardstick:task:0.1"
16 Yardstick TC082 config file;
17 Measure various software perf events by perf.
19 {% set provider = provider or none %}
20 {% set physical_network = physical_network or 'physnet1' %}
21 {% set segmentation_id = segmentation_id or none %}
41 metric: context-switches
42 smaller_than_expected: true
48 image: yardstick-image
49 flavor: yardstick-flavor
58 {% if provider == "vlan" or provider == "sriov" %}
59 provider: {{provider}}
60 physical_network: {{physical_network}}
61 {% if segmentation_id %}
62 segmentation_id: {{segmentation_id}}