summaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases
diff options
context:
space:
mode:
authorwym_libra <yimin.wang@huawei.com>2015-12-10 15:09:59 +0800
committerwym_libra <yimin.wang@huawei.com>2016-01-05 03:50:14 +0000
commit32b39d0f576dc5c71678fd0b6b8feab6f2173939 (patch)
tree71c2c1665e1341c048c2df95cfe08e624d9e471c /tests/opnfv/test_cases
parent3805f034187af09acd728d2794a7b0f1b0303cc9 (diff)
Add test case description and task file for TC019
Add test case description for Control node-OpenStack service down (TC019) and test case .yaml task file. ** Please note that the SLA value has not yet been determined. ** JIRA: YARDSTICK-135 Change-Id: Id512159034929dc197d2c7fdf6cc672ecddfb996 Signed-off-by: wym_libra <yimin.wang@huawei.com>
Diffstat (limited to 'tests/opnfv/test_cases')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
new file mode 100644
index 000000000..181d7cd73
--- /dev/null
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
@@ -0,0 +1,38 @@
+---
+# Sample test case for the HA of controller node Openstack service
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: ServiceHA
+ options:
+ attackers:
+ - fault_type: "kill-process"
+ process_name: "nova-api"
+ host: node1
+
+ wait_time: 10
+ monitors:
+ - monitor_type: "openstack-cmd"
+ command_name: "nova image-list"
+ - monitor_type: "process"
+ process_name: "nova-api"
+ host: node1
+
+ nodes:
+ node1: node1.LF
+
+ runner:
+ type: Iteration
+ iterations: 1
+
+ sla:
+ outage_time: 5
+ action: monitor
+
+
+context:
+ type: Node
+ name: LF
+ file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml