Merge "the recovery action of "baremetal down" should be triggered mandatory"
[yardstick.git] / samples / netperf_bottlenecks.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
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 ##############################################################################
9 ---
10 # measure network latency and throughput using netperf
11 # This test case is suite for bottlenecks project.
12 # This test case is from TC073
13 # we have did some parameters support
14
15 schema: "yardstick:task:0.1"
16
17 {% set host = host or "node1.LF" %}
18 {% set target = target or "node2.LF" %}
19 {% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_virtual/pod.yaml" %}
20 {% set tx_msg_size = tx_msg_size or "65536" %}
21 {% set rx_msg_size = rx_msg_size or "87380" %}
22 {% set test_time = test_time or "20" %}
23 {% set out_opt = out_opt or "THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_TRANSPORT_RETRANS" %}
24
25 scenarios:
26 -
27   type: NetperfNode
28   options:
29     testname: 'TCP_STREAM'
30     send_msg_size: {{tx_msg_size}}
31     recv_msg_size: {{rx_msg_size}}
32     duration: {{test_time}}
33     output_opt: {{out_opt}}
34
35   host: {{host}}
36   target: {{target}}
37
38   runner:
39     type: Iteration
40     iterations: 1
41     interval: 1
42     run_step: 'setup,run'
43
44   sla:
45     mean_latency: 100
46     action: monitor
47
48 context:
49   type: Node
50   name: LF
51   file: {{pod_info}}