increase monitor number in cases.
[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_number: 3
30     - monitor_type: "openstack-cmd"
31       command_name: "openstack router list"
32       monitor_time: 10
33       monitor_number: 3
34     - monitor_type: "openstack-cmd"
35       command_name: "openstack stack list"
36       monitor_time: 10
37       monitor_number: 3
38     - monitor_type: "openstack-cmd"
39       command_name: "openstack volume list"
40       monitor_time: 10
41       monitor_number: 3
42
43   nodes:
44     node1: node1.LF
45
46   runner:
47     type: Iteration
48     iterations: 1
49
50   sla:
51     outage_time: 5
52     action: monitor
53
54
55 context:
56   type: Node
57   name: LF
58   file: {{file}}