summaryrefslogtreecommitdiffstats
path: root/samples/serviceha.yaml
diff options
context:
space:
mode:
authorqi liang <liangqi1@huawei.com>2015-12-21 01:57:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-21 01:57:03 +0000
commitb74bb6b8557c6340daf1ff5a2966df830a6cc53d (patch)
treea5930cf39fa89bd01dfe25250262cb6dbbe7aadf /samples/serviceha.yaml
parentb8876c76394202d78eb76bc8a5a864cd633a4896 (diff)
parent53a96f499680587dc2f6172a964af35f9ce1c74b (diff)
Merge "Rewrite the HA test case (1)"
Diffstat (limited to 'samples/serviceha.yaml')
-rwxr-xr-xsamples/serviceha.yaml15
1 files changed, 10 insertions, 5 deletions
diff --git a/samples/serviceha.yaml b/samples/serviceha.yaml
index 424732189..ce4fefa23 100755
--- a/samples/serviceha.yaml
+++ b/samples/serviceha.yaml
@@ -7,15 +7,20 @@ scenarios:
-
type: ServiceHA
options:
- component: "nova-api"
- fault_type: "stop-service"
- fault_time: 5
+ attackers:
+ - fault_type: "kill-process"
+ process_name: "nova-api"
+ host: node1
- host: node1.LF
+ monitors:
+ - monitor_cmd: "nova image-list"
+ monitor_time: 10
+ nodes:
+ node1: node1.LF
runner:
type: Duration
- duration: 6
+ duration: 1
sla:
outage_time: 5
action: monitor