Open storperf testcase to huawei-pod2
[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 bare-metal-down:
20   check_script: ha_tools/check_host_ping.bash
21   recovery_script: ha_tools/ipmi_power.bash
22
23 stop-service:
24   inject_script: ha_tools/stop_service.bash
25   recovery_script: ha_tools/start_service.bash
26
27 close-interface:
28  inject_script: ha_tools/network/close_interface.bash
29  recovery_script: ha_tools/network/open_interface.bash
30
31 stress-cpu:
32  inject_script: ha_tools/node/stress_cpu.bash
33  recovery_script: ha_tools/node/release_cpu.bash
34
35 block-io:
36   inject_script: ha_tools/disk/block_io.bash
37   recovery_script: ha_tools/disk/recovery_disk_io.bash