1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
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 ##############################################################################
10 # sample config file for ha test
12 schema: "yardstick:task:0.1"
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
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
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
30 inject_script: ha_tools/stop_service.bash
31 recovery_script: ha_tools/start_service.bash
34 inject_script: ha_tools/network/close_interface.bash
35 recovery_script: ha_tools/network/open_interface.bash
38 inject_script: ha_tools/node/stress_cpu.bash
39 recovery_script: ha_tools/node/release_cpu.bash
42 inject_script: ha_tools/disk/block_io.bash
43 recovery_script: ha_tools/disk/recovery_disk_io.bash
46 inject_script: ha_tools/fault_process_kill.bash
47 recovery_script: ha_tools/node/reboot_node.bash