summaryrefslogtreecommitdiffstats
path: root/tests/opnfv
diff options
context:
space:
mode:
authorwym_libra <yimin.wang@huawei.com>2015-12-10 15:09:59 +0800
committerqi liang <liangqi1@huawei.com>2016-01-12 14:12:09 +0000
commite1e4dfe361f62e7eec0eb7c8c6e44dea8a54440a (patch)
treee91daebb438c54ec14d7de24afe00eb0d9857806 /tests/opnfv
parent8bb02c59547badff1a7a2e2ab4a9f3622a0134d1 (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> (cherry picked from commit 32b39d0f576dc5c71678fd0b6b8feab6f2173939)
Diffstat (limited to 'tests/opnfv')
-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
211' href='#n211'>211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298