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 # measure memory read latency and memory bandwidth using lmbench
12 # can be used both on Openstack and Kubernetes with "context_type"
14 {% set context_type = context_type or "Heat" %}
15 {% set separator = separator or "." %}
16 {% if context_type == "Kubernetes" %}
17 {% set separator = "-" %}
20 schema: "yardstick:task:0.1"
29 host: demeter{{ separator }}demo
46 test_type: "bandwidth"
49 host: demeter{{ separator }}demo
65 type: {{ context_type }}
67 {% if context_type == "Kubernetes" %}
70 image: opnfv/yardstick-image-k8s
79 args: ['-c', 'mkdir /root/.ssh; cp /tmp/.ssh/authorized_keys ~/.ssh/.;
80 chmod 700 ~/.ssh; chmod 600 ~/.ssh/*; service ssh restart;
81 while true ; do sleep 10000; done']
83 image: yardstick-image
84 flavor: yardstick-flavor
89 policy: "availability"