Update missing license headers
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc049.yaml
1 ##############################################################################
2 # Copyright (c) 2017 14_ykl@tongji.edu.cn 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     Test case for TC049 :Control node Openstack service down - swift proxy.
14
15 scenarios:
16 -
17   type: ServiceHA
18   options:
19     attackers:
20     - fault_type: "kill-process"
21       process_name: "swift-proxy"
22       host: node1
23
24     monitors:
25     - monitor_type: "openstack-cmd"
26       command_name: "swift stat"
27       monitor_time: 10
28       sla:
29         max_outage_time: 5
30     - monitor_type: "process"
31       process_name: "swift-proxy"
32       host: node1
33       monitor_time: 20
34       sla:
35         max_recover_time: 20
36
37   nodes:
38     node1: node1.LF
39
40   runner:
41     type: Duration
42     duration: 1
43   sla:
44     outage_time: 5
45     action: monitor
46
47
48 context:
49   type: Node
50   name: LF
51   file: etc/yardstick/nodes/fuel_virtual/pod.yaml