Merge "cachestat: use raw strings to escape \d"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc025.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10
11 schema: "yardstick:task:0.1"
12 description: >
13     Sample test case for the HA of OpenStack Controll Node abnormally shutdown.
14
15 {% set file = file or 'etc/yardstick/nodes/fuel_virtual/pod.yaml' %}
16
17 scenarios:
18 -
19   type: ServiceHA
20   options:
21     attackers:
22     - fault_type: "host-shutdown"
23       host: node1
24
25     monitors:
26     - monitor_type: "openstack-cmd"
27       command_name: "openstack image list"
28       monitor_time: 10
29     - monitor_type: "openstack-cmd"
30       command_name: "openstack router list"
31       monitor_time: 10
32     - monitor_type: "openstack-cmd"
33       command_name: "openstack stack list"
34       monitor_time: 10
35     - monitor_type: "openstack-cmd"
36       command_name: "openstack volume list"
37       monitor_time: 10
38
39   nodes:
40     node1: node1.LF
41
42   runner:
43     type: Iteration
44     iterations: 1
45
46   sla:
47     outage_time: 5
48     action: monitor
49
50
51 context:
52   type: Node
53   name: LF
54   file: {{file}}