Fix SDWAN peer wise integration testing issues
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
1 [\r
2     {\r
3         "id": "f782e37.109032",\r
4         "type": "block",\r
5         "name": "block : atomic",\r
6         "xml": "<block atomic=\"true\">\n",\r
7         "atomic": "false",\r
8         "comments": "",\r
9         "outputs": 1,\r
10         "x": 583,\r
11         "y": 401.1628177165985,\r
12         "z": "5ddf8caa.1b92e4",\r
13         "wires": [\r
14             [\r
15                 "3a0d40d2.1b88f",\r
16                 "fdf59618.623758",\r
17                 "d535f520.a2b4c8",\r
18                 "5957a088.cf332",\r
19                 "9afb8db9.2b0d5",\r
20                 "1b22ffce.90ac5",\r
21                 "9c073f69.f288d",\r
22                 "8cc9cbda.e9db18",\r
23                 "1db1621b.e18c6e",\r
24                 "33fd1f45.d7ff5",\r
25                 "2ebef402.b67dec",\r
26                 "a78628f7.4e9428",\r
27                 "9f1428de.0587b8",\r
28                 "69722b7c.abba54",\r
29                 "86d99a3f.07f208"\r
30             ]\r
31         ]\r
32     },\r
33     {\r
34         "id": "3a0d40d2.1b88f",\r
35         "type": "for",\r
36         "name": "for loop idx - VF input parameters",\r
37         "xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
38         "comments": "",\r
39         "outputs": 1,\r
40         "x": 929.2501602172852,\r
41         "y": 383.82948660850525,\r
42         "z": "5ddf8caa.1b92e4",\r
43         "wires": [\r
44             [\r
45                 "edd147b1.5a9678"\r
46             ]\r
47         ]\r
48     },\r
49     {\r
50         "id": "edd147b1.5a9678",\r
51         "type": "block",\r
52         "name": "block",\r
53         "xml": "<block>\n",\r
54         "atomic": "false",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 1144.0285034179688,\r
58         "y": 381.38507056236267,\r
59         "z": "5ddf8caa.1b92e4",\r
60         "wires": [\r
61             [\r
62                 "239191e9.78691e",\r
63                 "1a76d1a9.524ade"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "239191e9.78691e",\r
69         "type": "execute",\r
70         "name": "execute split parameterName",\r
71         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",\r
72         "comments": "",\r
73         "outputs": 1,\r
74         "x": 1340.2847061157227,\r
75         "y": 359.13320899009705,\r
76         "z": "5ddf8caa.1b92e4",\r
77         "wires": [\r
78             []\r
79         ]\r
80     },\r
81     {\r
82         "id": "1a76d1a9.524ade",\r
83         "type": "set",\r
84         "name": "set parameterName",\r
85         "xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",\r
86         "comments": "",\r
87         "x": 1309.729133605957,\r
88         "y": 396.13332533836365,\r
89         "z": "5ddf8caa.1b92e4",\r
90         "wires": []\r
91     },\r
92     {\r
93         "id": "24f00d92.239812",\r
94         "type": "comment",\r
95         "name": "Take the parameter names by removing prefix",\r
96         "info": "",\r
97         "comments": "",\r
98         "x": 967.2503623962402,\r
99         "y": 340.4961540699005,\r
100         "z": "5ddf8caa.1b92e4",\r
101         "wires": []\r
102     },\r
103     {\r
104         "id": "d535f520.a2b4c8",\r
105         "type": "set",\r
106         "name": "set new vf-module_length",\r
107         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",\r
108         "comments": "",\r
109         "x": 908.1867752075195,\r
110         "y": 542.3257596492767,\r
111         "z": "5ddf8caa.1b92e4",\r
112         "wires": []\r
113     },\r
114     {\r
115         "id": "fdf59618.623758",\r
116         "type": "set",\r
117         "name": "set vf-module-request-input.",\r
118         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
119         "comments": "",\r
120         "x": 915.1863632202148,\r
121         "y": 437.3170254230499,\r
122         "z": "5ddf8caa.1b92e4",\r
123         "wires": []\r
124     },\r
125     {\r
126         "id": "9c073f69.f288d",\r
127         "type": "set",\r
128         "name": "copy input data to service data",\r
129         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n",\r
130         "comments": "",\r
131         "x": 920.3531188964844,\r
132         "y": 650.4963715076447,\r
133         "z": "5ddf8caa.1b92e4",\r
134         "wires": []\r
135     },\r
136     {\r
137         "id": "8cc9cbda.e9db18",\r
138         "type": "set",\r
139         "name": "set vf-module-object-path",\r
140         "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vf-id`'/> \n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
141         "comments": "",\r
142         "x": 908.5000438690186,\r
143         "y": 702.0002176761627,\r
144         "z": "5ddf8caa.1b92e4",\r
145         "wires": []\r
146     },\r
147     {\r
148         "id": "1db1621b.e18c6e",\r
149         "type": "save",\r
150         "name": "save sdwan lan-port-config resource in AAI",\r
151         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='lan-port-config.lan-port-config-id = $prop.vf-id' >\n<parameter name=\"lan-port-config-id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"device-id\" value='`$prop.lan.deviceName`' />\n<parameter name=\"port-switch\" value='`$prop.lan.portSwitch`' />\n<parameter name=\"port-type\" value='`$prop.lan.portType`' />\n<parameter name=\"port-number\" value='`$prop.lan.portnumber`' />\n<parameter name=\"ipv4-address\" value='`$prop.lan.ipAddress`' />\n<parameter name='vlan-tag' value='`$prop.lan.vlanId`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",\r
152         "comments": "",\r
153         "outputs": 1,\r
154         "x": 963.5000228881836,\r
155         "y": 794.5002000331879,\r
156         "z": "5ddf8caa.1b92e4",\r
157         "wires": [\r
158             []\r
159         ]\r
160     },\r
161     {\r
162         "id": "33fd1f45.d7ff5",\r
163         "type": "save",\r
164         "name": "save service relationship in AAI",\r
165         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n      key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"lan-port-config\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/lan-port-configs/lan-port-config/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"lan-port-config-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />\n",\r
166         "comments": "",\r
167         "outputs": 1,\r
168         "x": 923.4999389648438,\r
169         "y": 841.5001881122589,\r
170         "z": "5ddf8caa.1b92e4",\r
171         "wires": [\r
172             []\r
173         ]\r
174     },\r
175     {\r
176         "id": "2ebef402.b67dec",\r
177         "type": "returnSuccess",\r
178         "name": "return success",\r
179         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
180         "comments": "",\r
181         "x": 874.222484588623,\r
182         "y": 888.6740472316742,\r
183         "z": "5ddf8caa.1b92e4",\r
184         "wires": []\r
185     },\r
186     {\r
187         "id": "5957a088.cf332",\r
188         "type": "switchNode",\r
189         "name": "switch vnf_length",\r
190         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
191         "comments": "",\r
192         "outputs": 1,\r
193         "x": 884.4205684661865,\r
194         "y": 90.66670227050781,\r
195         "z": "5ddf8caa.1b92e4",\r
196         "wires": [\r
197             [\r
198                 "26211aa4.6aca76"\r
199             ]\r
200         ]\r
201     },\r
202     {\r
203         "id": "26211aa4.6aca76",\r
204         "type": "other",\r
205         "name": "NULL",\r
206         "xml": "<outcome value=''>\n",\r
207         "comments": "",\r
208         "outputs": 1,\r
209         "x": 1071.0872478485107,\r
210         "y": 90,\r
211         "z": "5ddf8caa.1b92e4",\r
212         "wires": [\r
213             [\r
214                 "60b9b040.3db19"\r
215             ]\r
216         ]\r
217     },\r
218     {\r
219         "id": "60b9b040.3db19",\r
220         "type": "returnFailure",\r
221         "name": "return failure",\r
222         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",\r
223         "comments": "",\r
224         "x": 1252.7538738250732,\r
225         "y": 90,\r
226         "z": "5ddf8caa.1b92e4",\r
227         "wires": []\r
228     },\r
229     {\r
230         "id": "9afb8db9.2b0d5",\r
231         "type": "switchNode",\r
232         "name": "switch vf-modules.vf-module_length",\r
233         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
234         "comments": "",\r
235         "outputs": 1,\r
236         "x": 922.6705904006958,\r
237         "y": 267.66669631004333,\r
238         "z": "5ddf8caa.1b92e4",\r
239         "wires": [\r
240             [\r
241                 "925220d0.8e6e8",\r
242                 "8d034f0b.c8c8d"\r
243             ]\r
244         ]\r
245     },\r
246     {\r
247         "id": "925220d0.8e6e8",\r
248         "type": "other",\r
249         "name": "Null",\r
250         "xml": "<outcome value=''>\n",\r
251         "comments": "",\r
252         "outputs": 1,\r
253         "x": 1153.6706008911133,\r
254         "y": 243.66669344902039,\r
255         "z": "5ddf8caa.1b92e4",\r
256         "wires": [\r
257             [\r
258                 "f6929bd3.916468"\r
259             ]\r
260         ]\r
261     },\r
262     {\r
263         "id": "8d034f0b.c8c8d",\r
264         "type": "other",\r
265         "name": "other",\r
266         "xml": "<outcome value='Other'>\n",\r
267         "comments": "",\r
268         "outputs": 1,\r
269         "x": 1153.6706008911133,\r
270         "y": 283.6666934490204,\r
271         "z": "5ddf8caa.1b92e4",\r
272         "wires": [\r
273             [\r
274                 "28516ca8.58b9a4"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "f6929bd3.916468",\r
280         "type": "set",\r
281         "name": "set vf-index",\r
282         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
283         "comments": "",\r
284         "x": 1296.1706008911133,\r
285         "y": 243.66669344902039,\r
286         "z": "5ddf8caa.1b92e4",\r
287         "wires": []\r
288     },\r
289     {\r
290         "id": "28516ca8.58b9a4",\r
291         "type": "block",\r
292         "name": "block",\r
293         "xml": "<block>\n",\r
294         "atomic": "false",\r
295         "comments": "",\r
296         "outputs": 1,\r
297         "x": 1298.027645111084,\r
298         "y": 283.6032054424286,\r
299         "z": "5ddf8caa.1b92e4",\r
300         "wires": [\r
301             [\r
302                 "fe45ce64.2ccb7",\r
303                 "e4014c75.a1a78"\r
304             ]\r
305         ]\r
306     },\r
307     {\r
308         "id": "e4014c75.a1a78",\r
309         "type": "set",\r
310         "name": "set vf-index",\r
311         "xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
312         "comments": "",\r
313         "x": 1450.7261199951172,\r
314         "y": 253.22230413509533,\r
315         "z": "5ddf8caa.1b92e4",\r
316         "wires": []\r
317     },\r
318     {\r
319         "id": "fe45ce64.2ccb7",\r
320         "type": "for",\r
321         "name": "for each existing vf-index",\r
322         "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
323         "comments": "",\r
324         "outputs": 1,\r
325         "x": 1507.1546249389648,\r
326         "y": 306.444433927536,\r
327         "z": "5ddf8caa.1b92e4",\r
328         "wires": [\r
329             [\r
330                 "c9dd9d48.363c4"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "93986914.2633c8",\r
336         "type": "comment",\r
337         "name": "make sure this network doesn't exist already",\r
338         "info": "",\r
339         "comments": "",\r
340         "x": 1730.8053550720215,\r
341         "y": 264.69849133491516,\r
342         "z": "5ddf8caa.1b92e4",\r
343         "wires": []\r
344     },\r
345     {\r
346         "id": "c9dd9d48.363c4",\r
347         "type": "switchNode",\r
348         "name": "switch vf-module-id found",\r
349         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
350         "comments": "",\r
351         "outputs": 1,\r
352         "x": 1782.4403457641602,\r
353         "y": 306.0159366130829,\r
354         "z": "5ddf8caa.1b92e4",\r
355         "wires": [\r
356             [\r
357                 "3a28d2c1.9fee3e"\r
358             ]\r
359         ]\r
360     },\r
361     {\r
362         "id": "3a28d2c1.9fee3e",\r
363         "type": "outcomeTrue",\r
364         "name": "true",\r
365         "xml": "<outcome value='true'>\n",\r
366         "comments": "",\r
367         "outputs": 1,\r
368         "x": 1683.1705436706543,\r
369         "y": 364.58736777305603,\r
370         "z": "5ddf8caa.1b92e4",\r
371         "wires": [\r
372             [\r
373                 "c7dfb468.8d2468"\r
374             ]\r
375         ]\r
376     },\r
377     {\r
378         "id": "c7dfb468.8d2468",\r
379         "type": "returnFailure",\r
380         "name": "return failure",\r
381         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",\r
382         "comments": "",\r
383         "x": 1830.9206466674805,\r
384         "y": 364.44455984188244,\r
385         "z": "5ddf8caa.1b92e4",\r
386         "wires": []\r
387     },\r
388     {\r
389         "id": "1b22ffce.90ac5",\r
390         "type": "call",\r
391         "name": "call sdwan-get-vf-module-lanport-param",\r
392         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",\r
393         "comments": "",\r
394         "outputs": 1,\r
395         "x": 954.0000381469727,\r
396         "y": 490.1628510951996,\r
397         "z": "5ddf8caa.1b92e4",\r
398         "wires": [\r
399             []\r
400         ]\r
401     },\r
402     {\r
403         "id": "a78628f7.4e9428",\r
404         "type": "set",\r
405         "name": "set vf-module-level-oper-status",\r
406         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status'  value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
407         "comments": "",\r
408         "x": 925.0000076293945,\r
409         "y": 744.1667354106903,\r
410         "z": "5ddf8caa.1b92e4",\r
411         "wires": []\r
412     },\r
413     {\r
414         "id": "ceaeb6e4.45d088",\r
415         "type": "dgstart",\r
416         "name": "DGSTART",\r
417         "outputs": 1,\r
418         "x": 252.00000762939453,\r
419         "y": 117.16673541069031,\r
420         "z": "5ddf8caa.1b92e4",\r
421         "wires": [\r
422             [\r
423                 "b9aae3a1.4ae74"\r
424             ]\r
425         ]\r
426     },\r
427     {\r
428         "id": "b9aae3a1.4ae74",\r
429         "type": "service-logic",\r
430         "name": "GENERIC-RESOURCE-API ${project.version}",\r
431         "module": "GENERIC-RESOURCE-API",\r
432         "version": "${project.version}",\r
433         "comments": "",\r
434         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
435         "outputs": 1,\r
436         "x": 366.5000057220459,\r
437         "y": 224.16672682762146,\r
438         "z": "5ddf8caa.1b92e4",\r
439         "wires": [\r
440             [\r
441                 "486cfe7f.88b42"\r
442             ]\r
443         ]\r
444     },\r
445     {\r
446         "id": "486cfe7f.88b42",\r
447         "type": "method",\r
448         "name": "sdwan-vf-operation-lanport-create",\r
449         "xml": "<method rpc='sdwan-vf-operation-lanport-create' mode='sync'>\n",\r
450         "comments": "",\r
451         "outputs": 1,\r
452         "x": 365.5000057220459,\r
453         "y": 324.16672682762146,\r
454         "z": "5ddf8caa.1b92e4",\r
455         "wires": [\r
456             [\r
457                 "f782e37.109032"\r
458             ]\r
459         ]\r
460     },\r
461     {\r
462         "id": "9f1428de.0587b8",\r
463         "type": "execute",\r
464         "name": "execute generate-vf-id",\r
465         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vf-id\"/>\n",\r
466         "comments": "",\r
467         "outputs": 1,\r
468         "x": 907.0000534057617,\r
469         "y": 598.6667287349701,\r
470         "z": "5ddf8caa.1b92e4",\r
471         "wires": [\r
472             []\r
473         ]\r
474     },\r
475     {\r
476         "id": "69722b7c.abba54",\r
477         "type": "for",\r
478         "name": "for each vnf",\r
479         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
480         "comments": "",\r
481         "outputs": 1,\r
482         "x": 873.9999885559082,\r
483         "y": 145.16673731803894,\r
484         "z": "5ddf8caa.1b92e4",\r
485         "wires": [\r
486             [\r
487                 "c4314464.ea4888"\r
488             ]\r
489         ]\r
490     },\r
491     {\r
492         "id": "c4314464.ea4888",\r
493         "type": "switchNode",\r
494         "name": "switch this vnf-id == input vnf-id",\r
495         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
496         "comments": "",\r
497         "outputs": 1,\r
498         "x": 1125.0000839233398,\r
499         "y": 140.83335781097412,\r
500         "z": "5ddf8caa.1b92e4",\r
501         "wires": [\r
502             [\r
503                 "7e2619a7.4c1a38"\r
504             ]\r
505         ]\r
506     },\r
507     {\r
508         "id": "7e2619a7.4c1a38",\r
509         "type": "outcomeTrue",\r
510         "name": "true",\r
511         "xml": "<outcome value='true'>\n",\r
512         "comments": "",\r
513         "outputs": 1,\r
514         "x": 1343.3334007263184,\r
515         "y": 142.8333396911621,\r
516         "z": "5ddf8caa.1b92e4",\r
517         "wires": [\r
518             [\r
519                 "e7b8aabb.779c28"\r
520             ]\r
521         ]\r
522     },\r
523     {\r
524         "id": "e7b8aabb.779c28",\r
525         "type": "set",\r
526         "name": "set vnf-index",\r
527         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
528         "comments": "",\r
529         "x": 1496.6665725708008,\r
530         "y": 142.83336067199707,\r
531         "z": "5ddf8caa.1b92e4",\r
532         "wires": []\r
533     },\r
534     {\r
535         "id": "86d99a3f.07f208",\r
536         "type": "switchNode",\r
537         "name": "switch vnf-index",\r
538         "xml": "<switch test='`$vnf-index`'>\n",\r
539         "comments": "",\r
540         "outputs": 1,\r
541         "x": 888.0000076293945,\r
542         "y": 206.1667354106903,\r
543         "z": "5ddf8caa.1b92e4",\r
544         "wires": [\r
545             [\r
546                 "885839d2.ea1b48"\r
547             ]\r
548         ]\r
549     },\r
550     {\r
551         "id": "885839d2.ea1b48",\r
552         "type": "other",\r
553         "name": "Null",\r
554         "xml": "<outcome value=''>\n",\r
555         "comments": "",\r
556         "outputs": 1,\r
557         "x": 1050.0000534057617,\r
558         "y": 205.166734457016,\r
559         "z": "5ddf8caa.1b92e4",\r
560         "wires": [\r
561             [\r
562                 "1a2b1c2a.3b4624"\r
563             ]\r
564         ]\r
565     },\r
566     {\r
567         "id": "1a2b1c2a.3b4624",\r
568         "type": "returnFailure",\r
569         "name": "return failure",\r
570         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf id not found in service-data\" />\n",\r
571         "comments": "",\r
572         "x": 1199.250144958496,\r
573         "y": 202.94461226463318,\r
574         "z": "5ddf8caa.1b92e4",\r
575         "wires": []\r
576     }\r
577 ]