1 ##############################################################################
2 ## Copyright (c) 2018 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 ###############################################################################
10 # Sample benchmark task config file
11 # measure network latency using ping
12 # This test case sample uses existing network to be public network,
13 # and also create the private network by heat like normal ping.
15 schema: "yardstick:task:0.1"
17 {% set public_net = public_net or 'public' %}
18 {% set public_subnet = public_subnet or 'public_subnet' %}
19 {% set provider = provider or none %}
20 {% set physical_network = physical_network or 'physnet1' %}
21 {% set segmentation_id = segmentation_id or none %}
42 image: yardstick-image
43 flavor: yardstick-flavor
53 {% if provider == "vlan" %}
54 provider: {{provider}}
55 physical_network: {{physical_network}}
56 {% if segmentation_id %}
57 segmentation_id: {{segmentation_id}}
65 subnet: {{ public_subnet }}