1 ##############################################################################
2 # Copyright (c) 2017 14_ykl@tongji.edu.cn and others.
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 ##############################################################################
11 schema: "yardstick:task:0.1"
13 Yardstick TC090 config file;
14 HA test case: Control node Openstack service down - database instance.
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or "node1" %}
18 {% set attack_process = attack_process or "mysql" %}
19 {% set monitor_time = monitor_time or 30 %}
26 - fault_type: "kill-process"
27 process_name: "{{ attack_process }}"
31 - monitor_type: "openstack-cmd"
32 command_name: "openstack image list"
33 monitor_time: {{monitor_time}}
37 - monitor_type: "openstack-cmd"
38 command_name: "openstack router list"
39 monitor_time: {{monitor_time}}
43 - monitor_type: "openstack-cmd"
44 command_name: "openstack stack list"
45 monitor_time: {{monitor_time}}
49 - monitor_type: "openstack-cmd"
50 command_name: "openstack volume list"
51 monitor_time: {{monitor_time}}
55 - monitor_type: "process"
56 process_name: "{{ attack_process }}"
58 monitor_time: {{monitor_time}}
64 {{attack_host}}: {{attack_host}}.LF