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 Test case for TC054 :OpenStack VIP Master Node abnormally shutdown High Availability;
14 This test case is written by new scenario-based HA testing framework.
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set vip_management = vip_management or '192.168.0.2' %}
18 {% set vip_public = vip_public or '172.16.0.3' %}
19 {% set vip_router_management = vip_router_management or '192.168.0.1' %}
20 {% set vip_router_public = vip_router_public or '172.16.0.2' %}
28 fault_type: "bare-metal-down"
30 key: "bare-metal-down"
34 monitor_type: "openstack-cmd"
36 command_name: "openstack image list"
43 monitor_type: "general-monitor"
44 monitor_key: "ip-status"
45 key: "vip-mgmt-status"
52 ip_address: {{vip_management}}
55 monitor_type: "general-monitor"
56 monitor_key: "ip-status"
57 key: "vip-routerp-status"
64 ip_address: {{vip_router_public}}
67 monitor_type: "general-monitor"
68 monitor_key: "ip-status"
69 key: "vip-router-status"
76 ip_address: {{vip_router_management}}
79 monitor_type: "general-monitor"
80 monitor_key: "ip-status"
88 ip_address: {{vip_public}}
93 actionKey: "bare-metal-down"
94 actionType: "attacker"
97 actionKey: "list-images"
102 actionKey: "vip-mgmt-status"
103 actionType: "monitor"
107 actionKey: "vip-routerp-status"
108 actionType: "monitor"
112 actionKey: "vip-router-status"
113 actionType: "monitor"
118 actionType: "monitor"