This patch is used to add grafana config to opnfv dashboard for
[yardstick.git] / samples / netperf_node.yaml
1 ---
2 # Sample benchmark task 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
12 scenarios:
13 -
14   type: NetperfNode
15   options:
16     testname: 'UDP_STREAM'
17     send_msg_size: 1024
18     duration: 20
19
20   host: node1.LF
21   target: node2.LF
22
23   runner:
24     type: Iteration
25     iterations: 1
26     interval: 1
27   sla:
28     mean_latency: 100
29     action: monitor
30 #-
31 #  type: NetperfNode
32 #  options:
33 #    testname: 'TCP_RR'
34 #    req_rsp_size: '32,1024'
35 #
36 #  host: node1.LF
37 #  target: node2.LF
38 #
39 #  runner:
40 #    type: Duration
41 #    duration: 20
42 #    interval: 1
43 #  sla:
44 #    mean_latency: 300
45 #    action: monitor
46
47 context:
48   type: Node
49   name: LF
50   file: etc/yardstick/nodes/compass_sclab_physical/pod.yaml
51