aboutsummaryrefslogtreecommitdiffstats
path: root/samples/serviceha.yaml
diff options
context:
space:
mode:
authorwym_libra <yimin.wang@huawei.com>2015-10-26 07:54:31 +0000
committerwym_libra <yimin.wang@huawei.com>2015-11-13 06:59:51 +0000
commit6a5d8a6d58ab501184313eda84820294ff3597e7 (patch)
tree2fa59c5f95776db6c9461816ba293547c247eed7 /samples/serviceha.yaml
parenteb8320b2e924e22c20af49a0d37bee12417ede95 (diff)
A initial HA test case
1)stop an openstack service 2)then monitor the corresponding api and check the availability of it 3)recovery the openstack service JIRA: YARDSTICK-149 Change-Id: Id7b77d2f5c71844729c04f37442c8cfaa270ab12 Signed-off-by: wym_libra <yimin.wang@huawei.com>
Diffstat (limited to 'samples/serviceha.yaml')
-rwxr-xr-xsamples/serviceha.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/samples/serviceha.yaml b/samples/serviceha.yaml
new file mode 100755
index 000000000..424732189
--- /dev/null
+++ b/samples/serviceha.yaml
@@ -0,0 +1,29 @@
+---
+# Sample test case for ha
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: ServiceHA
+ options:
+ component: "nova-api"
+ fault_type: "stop-service"
+ fault_time: 5
+
+ host: node1.LF
+
+ runner:
+ type: Duration
+ duration: 6
+ sla:
+ outage_time: 5
+ action: monitor
+
+
+context:
+ type: Node
+ name: LF
+ file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml
+
+