Merge "Add grafana config for TC071_Network Latency, Throughput, Packet Loss and...
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc073.yaml
1 ---
2 # Yardstick TC073 config file
3 # measure network latency and throughput using netperf
4 # There are two sample scenarios: bulk test and request/response test
5 # In bulk test, UDP_STREAM and TCP_STREAM can be used
6 # send_msg_size and recv_msg_size are options of bulk test
7 # In req/rsp test, TCP_RR TCP_CRR UDP_RR can be used
8 # req_rsp_size is option of req/rsp test
9
10 schema: "yardstick:task:0.1"
11 {% set host = host or "node1.LF" %}
12 {% set target = target or "node2.LF" %}
13 {% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
14 scenarios:
15 -
16   type: NetperfNode
17   options:
18     testname: 'UDP_STREAM'
19     send_msg_size: 1024
20     duration: 20
21
22   host: {{host}}
23   target: {{target}}
24
25   runner:
26     type: Iteration
27     iterations: 1
28     interval: 1
29   sla:
30     mean_latency: 100
31     action: monitor
32
33 context:
34   type: Node
35   name: LF
36   file: {{pod_info}}
37