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 TC056 :OpenStack Controller Messaging Queue Service High
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or 'node1' %}
18 {% set monitor_time = monitor_time or 10 %}
19 {% set monitor_number = monitor_number or 3 %}
26 - fault_type: "kill-process"
27 process_name: "rabbitmq-server"
31 - monitor_type: "openstack-cmd"
32 command_name: "openstack image list"
33 monitor_time: {{monitor_time}}
34 monitor_number: {{monitor_number}}
38 - monitor_type: "openstack-cmd"
39 command_name: "openstack network list"
40 monitor_time: {{monitor_time}}
41 monitor_number: {{monitor_number}}
45 - monitor_type: "openstack-cmd"
46 command_name: "openstack volume list"
47 monitor_time: {{monitor_time}}
48 monitor_number: {{monitor_number}}
52 - monitor_type: "openstack-cmd"
53 command_name: "openstack stack list"
54 monitor_time: {{monitor_time}}
55 monitor_number: {{monitor_number}}
59 - monitor_type: "process"
60 process_name: "rabbitmq-server"
67 {{attack_host}}: {{attack_host}}.LF