Add intermediate variables for attacker,monitor,result_checker
[yardstick.git] / yardstick / benchmark / scenarios / availability / attacker_conf.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 config file for ha test
11 #
12 schema: "yardstick:task:0.1"
13
14 kill-process:
15   check_script: ha_tools/check_process_python.bash
16   inject_script: ha_tools/fault_process_kill.bash
17   recovery_script: ha_tools/start_service.bash
18
19 kill-lxc-process:
20   check_script: ha_tools/check_lxc_process_python.bash
21   inject_script: ha_tools/fault_lxc_process_kill.bash
22   recovery_script: ha_tools/start_lxc_service.bash
23
24 bare-metal-down:
25   check_script: ha_tools/check_host_ping.bash
26   inject_script: ha_tools/ipmi_power.bash
27   recovery_script: ha_tools/ipmi_power.bash
28
29 stop-service:
30   inject_script: ha_tools/stop_service.bash
31   recovery_script: ha_tools/start_service.bash
32
33 close-interface:
34  inject_script: ha_tools/network/close_interface.bash
35  recovery_script: ha_tools/network/open_interface.bash
36
37 stress-cpu:
38  inject_script: ha_tools/node/stress_cpu.bash
39  recovery_script: ha_tools/node/release_cpu.bash
40
41 block-io:
42   inject_script: ha_tools/disk/block_io.bash
43   recovery_script: ha_tools/disk/recovery_disk_io.bash
44
45 kill-corosync:
46   inject_script: ha_tools/fault_process_kill.bash
47   recovery_script: ha_tools/node/reboot_node.bash