add yardstick iruya 9.0.0 release notes
[yardstick.git] / samples / ha-baremetal.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 # Sample test case for ha
11
12 schema: "yardstick:task:0.1"
13
14 scenarios:
15 -
16   type: ServiceHA
17   options:
18     attackers:
19     - fault_type: "bare-metal-down"
20       host: node1
21
22     monitors:
23     - monitor_type: "openstack-cmd"
24       command_name: "nova image-list"
25       monitor_time: 10
26       sla:
27         max_outage_time: 5
28     - monitor_type: "openstack-cmd"
29       command_name: "heat stack-list"
30       monitor_time: 10
31       sla:
32         max_outage_time: 5
33     - monitor_type: "openstack-cmd"
34       command_name: "neutron router-list"
35       monitor_time: 10
36       sla:
37         max_outage_time: 5
38
39   nodes:
40     node1: node1.LF
41
42   runner:
43     type: Duration
44     duration: 1
45   sla:
46     outage_time: 5
47     action: monitor
48
49
50 context:
51   type: Node
52   name: LF
53   file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml