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 TC092 config file;
14 SDN Controller resilience in HA configuration
16 {% set file = file or '/etc/yardstick/pod.yaml' %}
17 {% set attack_host = attack_host or 'node6' %}
25 - monitor_type: "general-monitor"
26 monitor_key: "ip-status"
33 destination_ip: "8.8.8.8"
35 - monitor_type: "general-monitor"
36 monitor_key: "ip-status"
43 destination_ip: "@private_ip"
46 - operation_type: "general-operation"
48 operation_key: "get-privateip"
56 - actionKey: "get-privateip"
57 actionType: "operation"
70 {{attack_host}}: {{attack_host}}.LF
83 fault_type: "kill-process"
84 process_name: "opendaylight"
89 - monitor_type: "process"
90 process_name: "opendaylight"
92 key: "monitor-recovery"
98 - monitor_type: "general-monitor"
99 monitor_key: "ip-status"
106 destination_ip: "8.8.8.8"
108 - monitor_type: "general-monitor"
109 monitor_key: "ip-status"
116 destination_ip: "@private_ip"
119 - operation_type: "general-operation"
121 host: {{attack_host}}
122 operation_key: "start-service"
124 service: "opendaylight"
126 service: "opendaylight"
128 - operation_type: "general-operation"
130 operation_key: "get-privateip"
140 - actionKey: "monitor-recovery"
141 actionType: "monitor"
144 - actionKey: "get-privateip"
145 actionType: "operation"
149 actionType: "monitor"
153 actionType: "monitor"
156 - actionKey: "kill-process"
157 actionType: "attacker"
160 - actionKey: "start-service"
161 actionType: "operation"
167 {{attack_host}}: {{attack_host}}.LF
168 athena: athena.ODLHA1
180 - monitor_type: "general-monitor"
181 monitor_key: "ip-status"
188 destination_ip: "@private_ip"
191 - operation_type: "general-operation"
193 operation_key: "get-privateip"
195 server_name: "hermes"
199 - operation_type: "general-operation"
200 key: "nova-create-instance"
201 operation_key: "nova-create-instance"
203 serverconfig: "hermes yardstick-image yardstick-flavor test_one"
205 serverconfig: "hermes"
207 - operation_type: "general-operation"
208 key: "add-server-to-secgroup"
209 operation_key: "add-server-to-secgroup"
211 serverconfig: "hermes ODLHA1"
213 serverconfig: "hermes ODLHA1"
217 - actionKey: "nova-create-instance"
218 actionType: "operation"
221 - actionKey: "add-server-to-secgroup"
222 actionType: "operation"
225 - actionKey: "get-privateip"
226 actionType: "operation"
230 actionType: "monitor"
234 {{attack_host}}: {{attack_host}}.LF
235 athena: athena.ODLHA1
250 image: yardstick-image
251 flavor: yardstick-flavor
256 policy: "availability"
275 router: 'test_router'