summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorqi liang <liangqi1@huawei.com>2015-11-17 02:37:57 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-17 02:37:57 +0000
commit9dd5d48efae06f6b87504c8f3fbfad0ab770a25e (patch)
tree009552e2ee5e939f16b40bf790e308a596dd2a6a /samples
parent9c0ecb5ba6043e3a48bc240a26bf5d63c3295b34 (diff)
parent6a5d8a6d58ab501184313eda84820294ff3597e7 (diff)
Merge "A initial HA test case"
Diffstat (limited to 'samples')
-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
+
+