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 TC089 config file;
14 HA test case: Control node Openstack service down - nova conductor
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or "node1" %}
18 {% set attack_process = attack_process or "nova-conductor" %}
19 {% set inst_param = inst_param or "tc089 yardstick-image yardstick-flavor internal-network" %}
20 {% set inst_name = inst_name or "tc089" %}
28 fault_type: "kill-process"
31 process_name: "{{ attack_process }}"
35 monitor_type: "process"
37 process_name: "{{ attack_process }}"
44 operation_type: "general-operation"
45 key: "nova-create-instance"
46 operation_key: "nova-create-instance"
48 serverconfig: {{inst_param}}
50 serverconfig: {{inst_name}}
54 actionKey: "kill-process"
55 actionType: "attacker"
58 actionKey: "service-status"
62 actionKey: "nova-create-instance"
63 actionType: "operation"
67 {{attack_host}}: {{attack_host}}.LF