1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd 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"
14 Yardstick TC019 config file;
15 HA test case: HA test case: Control node Openstack service down - nova-api.
17 {% set file = file or '/etc/yardstick/pod.yaml' %}
18 {% set attack_host = attack_host or "node1" %}
19 {% set attack_process = attack_process or "nova-api" %}
26 - fault_type: "kill-process"
27 process_name: "{{ attack_process }}"
32 - monitor_type: "openstack-cmd"
33 command_name: "openstack server list"
38 - monitor_type: "process"
39 process_name: "{{ attack_process }}"
47 {{attack_host}}: {{attack_host}}.LF