Merge "Fix log typos in benchmark/scenarios/availability"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc043.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
11 schema: "yardstick:task:0.1"
12 description: >
13     Yardstick TC043 config file;
14     Measure latency between NFVI nodes using ping.
15
16 {% set host = host or "node1" %}
17 {% set target = target or "node2" %}
18 {% set file = file or '/etc/yardstick/pod.yaml' %}
19 scenarios:
20 -
21   type: Ping
22   options:
23     packetsize: 100
24   host: {{host}}.LF
25   target: {{target}}.LF
26
27   runner:
28     type: Duration
29     duration: 60
30     interval: 1
31
32   sla:
33     max_rtt: 10
34     action: monitor
35
36
37 context:
38   type: Node
39   name: LF
40   file: {{file}}
41