1 ##############################################################################
2 ## Copyright (c) 2018 Intracom Telecom 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 TC087 config file;
14 SDN Controller resilience in non-HA configuration
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or 'node6' %}
26 - monitor_type: "general-monitor"
27 monitor_key: "ip-status"
34 destination_ip: "8.8.8.8"
36 - monitor_type: "general-monitor"
37 monitor_key: "ip-status"
44 destination_ip: "@private_ip"
47 - operation_type: "general-operation"
49 operation_key: "get-privateip"
57 - actionKey: "get-privateip"
58 actionType: "operation"
71 {{attack_host}}: {{attack_host}}.LF
72 athena: athena.ODLnoHA1
85 fault_type: "kill-process"
86 process_name: "opendaylight"
91 - monitor_type: "process"
92 process_name: "opendaylight"
94 key: "monitor-recovery"
100 - monitor_type: "general-monitor"
101 monitor_key: "ip-status"
108 destination_ip: "8.8.8.8"
110 - monitor_type: "general-monitor"
111 monitor_key: "ip-status"
118 destination_ip: "@private_ip"
121 - operation_type: "general-operation"
123 host: {{attack_host}}
124 operation_key: "start-service"
126 service: "opendaylight"
128 service: "opendaylight"
130 - operation_type: "general-operation"
132 operation_key: "get-privateip"
142 - actionKey: "monitor-recovery"
143 actionType: "monitor"
146 - actionKey: "get-privateip"
147 actionType: "operation"
151 actionType: "monitor"
155 actionType: "monitor"
158 - actionKey: "kill-process"
159 actionType: "attacker"
162 - actionKey: "start-service"
163 actionType: "operation"
169 {{attack_host}}: {{attack_host}}.LF
170 athena: athena.ODLnoHA1
182 - monitor_type: "general-monitor"
183 monitor_key: "ip-status"
190 destination_ip: "@private_ip"
193 - operation_type: "general-operation"
195 operation_key: "get-privateip"
197 server_name: "hermes"
201 - operation_type: "general-operation"
202 key: "nova-create-instance"
203 operation_key: "nova-create-instance"
205 serverconfig: "hermes yardstick-image yardstick-flavor test_one"
207 serverconfig: "hermes"
209 - operation_type: "general-operation"
210 key: "add-server-to-secgroup"
211 operation_key: "add-server-to-secgroup"
213 serverconfig: "hermes ODLnoHA1"
215 serverconfig: "hermes ODLnoHA1"
219 - actionKey: "nova-create-instance"
220 actionType: "operation"
223 - actionKey: "add-server-to-secgroup"
224 actionType: "operation"
227 - actionKey: "get-privateip"
228 actionType: "operation"
232 actionType: "monitor"
236 {{attack_host}}: {{attack_host}}.LF
237 athena: athena.ODLnoHA1
252 image: yardstick-image
253 flavor: yardstick-flavor
258 policy: "availability"
277 router: 'test_router'