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 # Bottlenecks long duration test need Yardstick to create VM pairs and use netperf sending messages
11 # This yaml file for the above operations based on Netperf mode similiar as netperf.yaml
12 # UDP_STREAM is used and out_opt is customized
14 schema: "yardstick:task:0.1"
16 {% set tx_msg_size = tx_msg_size or "8K" %}
17 {% set rx_msg_size = rx_msg_size or "8K" %}
18 {% set test_time = test_time or "10" %}
19 {% set out_opt = out_opt or "THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD" %}
20 {% set image_name = image_name or "yardstick-image" %}
21 {% set cpu_num = cpu_num or 1 %}
22 {% set ram_num = ram_num or 512 %}
23 {% set disk_num = disk_num or 7 %}
29 testname: 'UDP_STREAM'
30 send_msg_size: {{tx_msg_size}}
31 recv_msg_size: {{rx_msg_size}}
32 duration: {{test_time}}
33 output_opt: {{out_opt}}
35 host: netperf-host.demo
36 target: netperf-target.demo
59 policy: "availability"