Merge "Move requirement.txt from tests/ci/ to project root path"
[yardstick.git] / samples / netperf_bottlenecks.yaml
1 ---
2 # measure network latency and throughput using netperf
3 # This test case is suite for bottlenecks project.
4 # This test case is from TC073
5 # we have did some parameters support
6
7 schema: "yardstick:task:0.1"
8
9 {% set host = host or "node1.LF" %}
10 {% set target = target or "node2.LF" %}
11 {% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_virtual/pod.yaml" %}
12 {% set tx_msg_size = tx_msg_size or "65536" %}
13 {% set rx_msg_size = rx_msg_size or "87380" %}
14 {% set test_time = test_time or "20" %}
15 {% set out_opt = out_opt or "THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_TRANSPORT_RETRANS" %}
16
17 scenarios:
18 -
19   type: NetperfNode
20   options:
21     testname: 'TCP_STREAM'
22     send_msg_size: {{tx_msg_size}}
23     recv_msg_size: {{rx_msg_size}}
24     duration: {{test_time}}
25     output_opt: {{out_opt}}
26
27   host: {{host}}
28   target: {{target}}
29
30   runner:
31     type: Iteration
32     iterations: 1
33     interval: 1
34     run_step: 'setup,run'
35
36   sla:
37     mean_latency: 100
38     action: monitor
39
40 context:
41   type: Node
42   name: LF
43   file: {{pod_info}}