Merge "Add test case description and modify task file for TC042"
[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_type: "openstack-cmd"
17       command_name: "nova image-list"
18       monitor_time: 10
19       sla:
20         max_outage_time: 5
21     - monitor_type: "process"
22       process_name: "nova-api"
23       host: node1
24       monitor_time: 10
25       sla:
26         max_recover_time: 5
27
28   nodes:
29     node1: node1.LF
30
31   runner:
32     type: Duration
33     duration: 1
34   sla:
35     outage_time: 5
36     action: monitor
37
38
39 context:
40   type: Node
41   name: LF
42   file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml