Merge "ci in huawei-pod1 do not run test case after tc074"
[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 scenarios:
16 -
17   type: ServiceHA
18   options:
19     attackers:
20     - fault_type: "host-shutdown"
21       host: node1
22
23     monitors:
24     - monitor_type: "openstack-cmd"
25       command_name: "openstack image list"
26       monitor_time: 10
27     - monitor_type: "openstack-cmd"
28       command_name: "openstack router list"
29       monitor_time: 10
30     - monitor_type: "openstack-cmd"
31       command_name: "openstack stack list"
32       monitor_time: 10
33     - monitor_type: "openstack-cmd"
34       command_name: "openstack volume list"
35       monitor_time: 10
36
37   nodes:
38     node1: node1.LF
39
40   runner:
41     type: Iteration
42     iterations: 1
43
44   sla:
45     outage_time: 5
46     action: monitor
47
48
49 context:
50   type: Node
51   name: LF
52   file: etc/yardstick/nodes/fuel_virtual/pod.yaml