Rewrite the HA test case (1)
[yardstick.git] / samples / serviceha.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: "kill-process"
12       process_name: "nova-api"
13       host: node1
14
15     monitors:
16     - monitor_cmd: "nova image-list"
17       monitor_time: 10
18   nodes:
19     node1: node1.LF
20
21   runner:
22     type: Duration
23     duration: 1
24   sla:
25     outage_time: 5
26     action: monitor
27
28
29 context:
30   type: Node
31   name: LF
32   file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml
33
34