Merge "Generic helper function to provision and get path from config"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc046.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Test case for TC046 :Control node Openstack service down - keystone.
6
7 scenarios:
8 -
9   type: ServiceHA
10   options:
11     attackers:
12     - fault_type: "kill-process"
13       process_name: "keystone"
14       host: node1
15
16     monitors:
17     - monitor_type: "openstack-cmd"
18       command_name: "keystone user-list"
19       monitor_time: 10
20       sla:
21         max_outage_time: 5
22     - monitor_type: "process"
23       process_name: "keystone"
24       host: node1
25       monitor_time: 20
26       sla:
27         max_recover_time: 20
28
29   nodes:
30     node1: node1.LF
31
32   runner:
33     type: Duration
34     duration: 1
35   sla:
36     outage_time: 5
37     action: monitor
38
39
40 context:
41   type: Node
42   name: LF
43   file: etc/yardstick/nodes/fuel_virtual/pod.yaml