Bugfix: Support HA test cases in TripleO
[yardstick.git] / yardstick / benchmark / scenarios / availability / attacker_conf.yaml
index 3f6c2aa..b8c34ad 100644 (file)
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 ---
 # sample config file for ha test
 #
@@ -11,3 +19,19 @@ kill-process:
 bare-metal-down:
   check_script: ha_tools/check_host_ping.bash
   recovery_script: ha_tools/ipmi_power.bash
+
+stop-service:
+  inject_script: ha_tools/stop_service.bash
+  recovery_script: ha_tools/start_service.bash
+
+close-interface:
+ inject_script: ha_tools/network/close_interface.bash
+ recovery_script: ha_tools/network/open_interface.bash
+
+stress-cpu:
+ inject_script: ha_tools/node/stress_cpu.bash
+ recovery_script: ha_tools/node/release_cpu.bash
+
+block-io:
+  inject_script: ha_tools/disk/block_io.bash
+  recovery_script: ha_tools/disk/recovery_disk_io.bash
\ No newline at end of file