Merge "Add a new monitor type: MultiMonitor that can run any number of other monitors...
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc027.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 TC027 config file;
14     Measure IPV6 network latency using ping6.
15
16 {% set openrc = openrc or "/opt/admin-openrc.sh" %}
17 {% set external_network = external_network or "ext-net" %}
18 {% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
19 scenarios:
20 -
21   type: Ping6
22   options:
23     packetsize: 56
24     ping_count: 5
25     host: host1,host2,host3,host4,host5
26     openrc: {{openrc}}
27     external_network: {{external_network}}
28   nodes:
29     host1: node1.IPV6
30     host2: node2.IPV6
31     host3: node3.IPV6
32     host4: node4.IPV6
33     host5: node5.IPV6
34   runner:
35     type: Iteration
36     iterations: 1
37     interval: 1
38     run_step: 'setup,run,teardown'
39   sla:
40     max_rtt: 30
41     action: monitor
42
43
44 context:
45   type: Node
46   name: IPV6
47   file: {{pod_info}}
48