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 TC054 config file;
14 HA test case: OpenStack VIP Master Node abnormally shutdown High Availability.
16 {% set jump_host = jump_host or 'node0' %}
17 {% set attack_host = attack_host or 'node1' %}
18 {% set check_host = check_host or 'node4' %}
19 {% set file = file or '/etc/yardstick/pod.yaml' %}
20 {% set vip_public = vip_public or '10.1.0.222' %}
21 {% set monitor_time = monitor_time or 30 %}
29 fault_type: "bare-metal-down"
31 key: "bare-metal-down"
32 jump_host: {{jump_host}}
36 monitor_type: "openstack-cmd"
38 command_name: "openstack image list"
39 monitor_time: {{monitor_time}}
45 monitor_type: "general-monitor"
46 monitor_key: "ip-status"
49 monitor_time: {{monitor_time}}
54 ip_address: {{vip_public}}
59 actionKey: "bare-metal-down"
60 actionType: "attacker"
63 actionKey: "list-images"
72 {{jump_host}}: {{jump_host}}.LF
73 {{attack_host}}: {{attack_host}}.LF
74 {{check_host}}: {{check_host}}.LF