Merge "BugFix: update to paramiko 1.18.0 to fix TypeError"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc019.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 controller node Openstack service.
14
15 scenarios:
16 -
17   type: ServiceHA
18   options:
19     attackers:
20     - fault_type: "kill-process"
21       process_name: "nova-api"
22       host: node1
23
24     wait_time: 10
25     monitors:
26     - monitor_type: "openstack-cmd"
27       command_name: "openstack image list"
28       monitor_time: 10
29       sla:
30         max_outage_time: 5
31     - monitor_type: "process"
32       process_name: "nova-api"
33       host: node1
34       monitor_time: 20
35       sla:
36         max_recover_time: 20
37
38   nodes:
39     node1: node1.LF
40
41   runner:
42     type: Iteration
43     iterations: 1
44
45   sla:
46     outage_time: 5
47     action: monitor
48
49
50 context:
51   type: Node
52   name: LF
53   file: etc/yardstick/nodes/fuel_virtual/pod.yaml