From 6a5d8a6d58ab501184313eda84820294ff3597e7 Mon Sep 17 00:00:00 2001 From: wym_libra Date: Mon, 26 Oct 2015 07:54:31 +0000 Subject: 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 --- samples/serviceha.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 samples/serviceha.yaml (limited to 'samples') 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 + + -- cgit 1.2.3-korg