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 TC051 config file;
14 HA test case: OpenStack Controller Node CPU Overload High Availability.
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or "node1" %}
25 fault_type: "general-attacker"
28 attack_key: "stress-cpu"
32 monitor_type: "openstack-cmd"
33 key: "nova-image-list"
34 command_name: "openstack image list"
41 monitor_type: "openstack-cmd"
42 key: "neutron-router-list"
43 command_name: "openstack router list"
50 monitor_type: "openstack-cmd"
51 key: "heat-stack-list"
52 command_name: "openstack stack list"
59 monitor_type: "openstack-cmd"
61 command_name: "openstack volume list"
70 actionKey: "stress-cpu"
71 actionType: "attacker"
75 actionKey: "nova-image-list"
80 actionKey: "neutron-router-list"
85 actionKey: "heat-stack-list"
90 actionKey: "cinder-list"
96 {{attack_host}}: {{attack_host}}.LF