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 recovery_script: ha_tools/ipmi_power.bash
29 inject_script: ha_tools/stop_service.bash
30 recovery_script: ha_tools/start_service.bash
33 inject_script: ha_tools/network/close_interface.bash
34 recovery_script: ha_tools/network/open_interface.bash
37 inject_script: ha_tools/node/stress_cpu.bash
38 recovery_script: ha_tools/node/release_cpu.bash
41 inject_script: ha_tools/disk/block_io.bash
42 recovery_script: ha_tools/disk/recovery_disk_io.bash