bug fix : git clone yardstick repo failed
[yardstick.git] / samples / ha-baremetal.yaml
1 ---
2 # Sample test case for ha
3
4 schema: "yardstick:task:0.1"
5
6 scenarios:
7 -
8   type: ServiceHA
9   options:
10     attackers:
11     - fault_type: "bare-metal-down"
12       host: node1
13
14     monitors:
15     - monitor_type: "openstack-cmd"
16       command_name: "nova image-list"
17       monitor_time: 10
18       sla:
19         max_outage_time: 5
20     - monitor_type: "openstack-cmd"
21       command_name: "heat stack-list"
22       monitor_time: 10
23       sla:
24         max_outage_time: 5
25     - monitor_type: "openstack-cmd"
26       command_name: "neutron router-list"
27       monitor_time: 10
28       sla:
29         max_outage_time: 5
30
31   nodes:
32     node1: node1.LF
33
34   runner:
35     type: Duration
36     duration: 1
37   sla:
38     outage_time: 5
39     action: monitor
40
41
42 context:
43   type: Node
44   name: LF
45   file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml