Update underlay DG for delete flow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation-delete.json
1 [
2   {
3     "id": "ba06c89a.024e98",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 113.03125,
8     "y": 95.03125,
9     "z": "b1a89180.b5141",
10     "wires": [
11       [
12         "35e8925f.3178be"
13       ]
14     ]
15   },
16   {
17     "id": "35e8925f.3178be",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "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}'>",
24     "outputs": 1,
25     "x": 325.03125381469727,
26     "y": 167.0312671661377,
27     "z": "b1a89180.b5141",
28     "wires": [
29       [
30         "f972abf0.8e2ed8"
31       ]
32     ]
33   },
34   {
35     "id": "f972abf0.8e2ed8",
36     "type": "method",
37     "name": "method network-topology-operation-delete",
38     "xml": "<method rpc='network-topology-operation-delete' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 313.0313720703125,
42     "y": 255.03125,
43     "z": "b1a89180.b5141",
44     "wires": [
45       [
46         "61264142.433c9"
47       ]
48     ]
49   },
50   {
51     "id": "61264142.433c9",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 589.0312805175781,
59     "y": 263.03126335144043,
60     "z": "b1a89180.b5141",
61     "wires": [
62       [
63         "6c17c5f9.a1c91c",
64         "17a845f7.81ad5a",
65         "1c470b8.4988df5",
66         "ae6fca7d.b3be38",
67         "30cf8a2a.4aa6d6",
68         "3287501.60ecab",
69         "19bbbbde.0c4ee4",
70         "99fa60a9.97d56",
71         "c820d47.424eda8",
72         "68e3068e.972fd8",
73         "6c64d01.a0fff3"
74       ]
75     ]
76   },
77   {
78     "id": "6c17c5f9.a1c91c",
79     "type": "call",
80     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
81     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
82     "comments": "",
83     "outputs": 1,
84     "x": 910.03125,
85     "y": 46.03125,
86     "z": "b1a89180.b5141",
87     "wires": [
88       []
89     ]
90   },
91   {
92     "id": "17a845f7.81ad5a",
93     "type": "get-resource",
94     "name": "get-resource esr-thirdparty-sdnc",
95     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
96     "comments": "",
97     "outputs": 1,
98     "x": 854.03125,
99     "y": 491.0312194824219,
100     "z": "b1a89180.b5141",
101     "wires": [
102       [
103         "f27f6e92.d1699",
104         "2cd26321.b8d7fc",
105         "207daa4b.421516"
106       ]
107     ]
108   },
109   {
110     "id": "f27f6e92.d1699",
111     "type": "success",
112     "name": "success",
113     "xml": "<outcome value='success'>\n",
114     "comments": "",
115     "outputs": 1,
116     "x": 1092.03125,
117     "y": 447.03125,
118     "z": "b1a89180.b5141",
119     "wires": [
120       [
121         "4f5e00fc.7741e"
122       ]
123     ]
124   },
125   {
126     "id": "2cd26321.b8d7fc",
127     "type": "not-found",
128     "name": "not-found",
129     "xml": "<outcome value='not-found'>\n",
130     "comments": "",
131     "outputs": 1,
132     "x": 1096.522216796875,
133     "y": 488.6053161621094,
134     "z": "b1a89180.b5141",
135     "wires": [
136       [
137         "2d398a89.807716"
138       ]
139     ]
140   },
141   {
142     "id": "207daa4b.421516",
143     "type": "other",
144     "name": "other",
145     "xml": "<outcome value='Other'>\n",
146     "comments": "",
147     "outputs": 1,
148     "x": 1089.855224609375,
149     "y": 539.9385681152344,
150     "z": "b1a89180.b5141",
151     "wires": [
152       [
153         "8e9c4cf9.162de"
154       ]
155     ]
156   },
157   {
158     "id": "2d398a89.807716",
159     "type": "returnFailure",
160     "name": "return failure",
161     "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=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
162     "comments": "",
163     "x": 1272.0936279296875,
164     "y": 486.8910217285156,
165     "z": "b1a89180.b5141",
166     "wires": []
167   },
168   {
169     "id": "8e9c4cf9.162de",
170     "type": "returnFailure",
171     "name": "return failure",
172     "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=\"Unexpected error retrieving vpn binding\" />\n\n",
173     "comments": "",
174     "x": 1250.6278076171875,
175     "y": 538.3777770996094,
176     "z": "b1a89180.b5141",
177     "wires": []
178   },
179   {
180     "id": "1c470b8.4988df5",
181     "type": "for",
182     "name": "for each network-input-parameters",
183     "xml": "<for index='idx' start='0' end='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
184     "comments": "",
185     "outputs": 1,
186     "x": 872.03125,
187     "y": 224.03125,
188     "z": "b1a89180.b5141",
189     "wires": [
190       [
191         "c4d07fe0.ade9b"
192       ]
193     ]
194   },
195   {
196     "id": "c4d07fe0.ade9b",
197     "type": "block",
198     "name": "block",
199     "xml": "<block>\n",
200     "atomic": "false",
201     "comments": "",
202     "outputs": 1,
203     "x": 1153.8646240234375,
204     "y": 202.36459350585938,
205     "z": "b1a89180.b5141",
206     "wires": [
207       [
208         "c0182537.1ffaf8",
209         "ce9d1ad8.d1f0c8",
210         "ae7fca3e.07e458",
211         "e1b9eee0.2059b8",
212         "f7a24587.ec9238",
213         "a35f5ef6.a6cd28"
214       ]
215     ]
216   },
217   {
218     "id": "c0182537.1ffaf8",
219     "type": "switchNode",
220     "name": "switch name",
221     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
222     "comments": "",
223     "outputs": 1,
224     "x": 1362.03125,
225     "y": 163.03125,
226     "z": "b1a89180.b5141",
227     "wires": [
228       [
229         "c674745c.2d98c8"
230       ]
231     ]
232   },
233   {
234     "id": "c674745c.2d98c8",
235     "type": "outcomeTrue",
236     "name": "true",
237     "xml": "<outcome value='true'>\n",
238     "comments": "",
239     "outputs": 1,
240     "x": 1549.03125,
241     "y": 163.03125,
242     "z": "b1a89180.b5141",
243     "wires": [
244       [
245         "ff72bcee.d766c"
246       ]
247     ]
248   },
249   {
250     "id": "ff72bcee.d766c",
251     "type": "set",
252     "name": "set name",
253     "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
254     "comments": "",
255     "x": 1717.03125,
256     "y": 163.63125610351562,
257     "z": "b1a89180.b5141",
258     "wires": []
259   },
260   {
261     "id": "ce9d1ad8.d1f0c8",
262     "type": "switchNode",
263     "name": "switch service-type",
264     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`\">\n",
265     "comments": "",
266     "outputs": 1,
267     "x": 1367.03125,
268     "y": 217.6312255859375,
269     "z": "b1a89180.b5141",
270     "wires": [
271       [
272         "7439fd72.4e49b4"
273       ]
274     ]
275   },
276   {
277     "id": "7439fd72.4e49b4",
278     "type": "outcomeTrue",
279     "name": "true",
280     "xml": "<outcome value='true'>\n",
281     "comments": "",
282     "outputs": 1,
283     "x": 1551.0311889648438,
284     "y": 222.6312255859375,
285     "z": "b1a89180.b5141",
286     "wires": [
287       [
288         "4c0474c2.96c4ac"
289       ]
290     ]
291   },
292   {
293     "id": "4c0474c2.96c4ac",
294     "type": "set",
295     "name": "set service-type",
296     "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
297     "comments": "",
298     "x": 1720.0311889648438,
299     "y": 220.6312255859375,
300     "z": "b1a89180.b5141",
301     "wires": []
302   },
303   {
304     "id": "4f5e00fc.7741e",
305     "type": "set",
306     "name": "set controller data",
307     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].serviceUrl`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
308     "comments": "",
309     "x": 1278.03125,
310     "y": 444.0312194824219,
311     "z": "b1a89180.b5141",
312     "wires": []
313   },
314   {
315     "id": "d58d3bad.af4188",
316     "type": "execute",
317     "name": "execute REST DELETE VPN",
318     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services/vpnservice=' + $prop.l3vpn.name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
319     "comments": "",
320     "outputs": 1,
321     "x": 1604.03125,
322     "y": 925.03125,
323     "z": "b1a89180.b5141",
324     "wires": [
325       [
326         "a48f9d80.400a6",
327         "17b55d13.d0f583"
328       ]
329     ]
330   },
331   {
332     "id": "6c64d01.a0fff3",
333     "type": "switchNode",
334     "name": "switch service-type",
335     "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
336     "comments": "",
337     "outputs": 1,
338     "x": 813.03125,
339     "y": 595.03125,
340     "z": "b1a89180.b5141",
341     "wires": [
342       [
343         "f5f24c7e.c89f9"
344       ]
345     ]
346   },
347   {
348     "id": "f5f24c7e.c89f9",
349     "type": "outcomeTrue",
350     "name": "l3vpn-ipwan",
351     "xml": "<outcome value='l3vpn-ipwan'>\n",
352     "comments": "",
353     "outputs": 1,
354     "x": 1070.03125,
355     "y": 596.0312271118164,
356     "z": "b1a89180.b5141",
357     "wires": [
358       [
359         "730f31fc.13307"
360       ]
361     ]
362   },
363   {
364     "id": "ae6fca7d.b3be38",
365     "type": "switchNode",
366     "name": "switch service-data.networks.network_length",
367     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
368     "comments": "",
369     "outputs": 1,
370     "x": 852.03125,
371     "y": 119.03125,
372     "z": "b1a89180.b5141",
373     "wires": [
374       [
375         "520c693e.a9d358",
376         "655f0893.61f278",
377         "4cb232f8.ebf31c"
378       ]
379     ]
380   },
381   {
382     "id": "520c693e.a9d358",
383     "type": "other",
384     "name": "Null",
385     "xml": "<outcome value=''>\n",
386     "comments": "",
387     "outputs": 1,
388     "x": 1269.03125,
389     "y": 56.03131103515625,
390     "z": "b1a89180.b5141",
391     "wires": [
392       [
393         "55192e25.8885f"
394       ]
395     ]
396   },
397   {
398     "id": "55192e25.8885f",
399     "type": "returnFailure",
400     "name": "return failure",
401     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
402     "comments": "",
403     "x": 1487.8087158203125,
404     "y": 31.920257568359375,
405     "z": "b1a89180.b5141",
406     "wires": []
407   },
408   {
409     "id": "655f0893.61f278",
410     "type": "other",
411     "name": "other",
412     "xml": "<outcome value='Other'>\n",
413     "comments": "",
414     "outputs": 1,
415     "x": 1181.0316162109375,
416     "y": 110.03132629394531,
417     "z": "b1a89180.b5141",
418     "wires": [
419       [
420         "f1d97fd4.8fa63"
421       ]
422     ]
423   },
424   {
425     "id": "f1d97fd4.8fa63",
426     "type": "block",
427     "name": "block : atomic",
428     "xml": "<block atomic=\"true\">",
429     "atomic": "true",
430     "outputs": 1,
431     "x": 1352.3011474609375,
432     "y": 93.58586120605469,
433     "z": "b1a89180.b5141",
434     "wires": [
435       [
436         "e876eb36.5c4d68",
437         "34cad983.d68aa6"
438       ]
439     ]
440   },
441   {
442     "id": "e876eb36.5c4d68",
443     "type": "for",
444     "name": "for nidx..service-data.networks.network[]",
445     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
446     "comments": "",
447     "outputs": 1,
448     "x": 1650.317138671875,
449     "y": 74.45986938476562,
450     "z": "b1a89180.b5141",
451     "wires": [
452       [
453         "5659c979.043e78"
454       ]
455     ]
456   },
457   {
458     "id": "34cad983.d68aa6",
459     "type": "switchNode",
460     "name": "switch tmp.nidx ",
461     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
462     "comments": "",
463     "outputs": 1,
464     "x": 1571.6185302734375,
465     "y": 117.44305419921875,
466     "z": "b1a89180.b5141",
467     "wires": [
468       [
469         "42b4cc11.e782c4"
470       ]
471     ]
472   },
473   {
474     "id": "42b4cc11.e782c4",
475     "type": "outcome",
476     "name": "NULL",
477     "xml": "<outcome value=''>\n",
478     "comments": "",
479     "outputs": 1,
480     "x": 1772.047119140625,
481     "y": 123.01446533203125,
482     "z": "b1a89180.b5141",
483     "wires": [
484       [
485         "fffba6d3.fe8418"
486       ]
487     ]
488   },
489   {
490     "id": "5659c979.043e78",
491     "type": "switchNode",
492     "name": "switch networkid found",
493     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
494     "comments": "",
495     "outputs": 1,
496     "x": 1960.7457275390625,
497     "y": 72.7099609375,
498     "z": "b1a89180.b5141",
499     "wires": [
500       [
501         "c95e7fc4.b303b"
502       ]
503     ]
504   },
505   {
506     "id": "fffba6d3.fe8418",
507     "type": "returnFailure",
508     "name": "return failure",
509     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
510     "comments": "",
511     "x": 1943.4755859375,
512     "y": 123.15731811523438,
513     "z": "b1a89180.b5141",
514     "wires": []
515   },
516   {
517     "id": "c95e7fc4.b303b",
518     "type": "outcomeTrue",
519     "name": "true",
520     "xml": "<outcome value='true'>\n",
521     "comments": "",
522     "outputs": 1,
523     "x": 2166.697998046875,
524     "y": 71.60269165039062,
525     "z": "b1a89180.b5141",
526     "wires": [
527       [
528         "6b863b90.836d94"
529       ]
530     ]
531   },
532   {
533     "id": "6b863b90.836d94",
534     "type": "set",
535     "name": "set tmp.nidx and ctx.network-data",
536     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
537     "comments": "",
538     "x": 2405.229736328125,
539     "y": 67.35269165039062,
540     "z": "b1a89180.b5141",
541     "wires": []
542   },
543   {
544     "id": "30cf8a2a.4aa6d6",
545     "type": "returnSuccess",
546     "name": "return success",
547     "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",
548     "comments": "",
549     "x": 789.6978149414062,
550     "y": 1201.364501953125,
551     "z": "b1a89180.b5141",
552     "wires": []
553   },
554   {
555     "id": "3287501.60ecab",
556     "type": "get-resource",
557     "name": "get-resource pnf",
558     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n",
559     "comments": "",
560     "outputs": 1,
561     "x": 810.03125,
562     "y": 368.9202575683594,
563     "z": "b1a89180.b5141",
564     "wires": [
565       [
566         "c2bd93d4.a50d6",
567         "50eb06db.534748",
568         "a9ca7e11.e6b52"
569       ]
570     ]
571   },
572   {
573     "id": "c2bd93d4.a50d6",
574     "type": "success",
575     "name": "success",
576     "xml": "<outcome value='success'>\n",
577     "comments": "",
578     "outputs": 1,
579     "x": 1004.03125,
580     "y": 306.9202575683594,
581     "z": "b1a89180.b5141",
582     "wires": [
583       [
584         "70989a52.14a154"
585       ]
586     ]
587   },
588   {
589     "id": "50eb06db.534748",
590     "type": "not-found",
591     "name": "not-found",
592     "xml": "<outcome value='not-found'>\n",
593     "comments": "",
594     "outputs": 1,
595     "x": 1013.522216796875,
596     "y": 349.4942932128906,
597     "z": "b1a89180.b5141",
598     "wires": [
599       [
600         "a043bfd1.99253"
601       ]
602     ]
603   },
604   {
605     "id": "a9ca7e11.e6b52",
606     "type": "other",
607     "name": "other",
608     "xml": "<outcome value='Other'>\n",
609     "comments": "",
610     "outputs": 1,
611     "x": 1006.855224609375,
612     "y": 397.8276062011719,
613     "z": "b1a89180.b5141",
614     "wires": [
615       [
616         "a1cb98a2.af1948"
617       ]
618     ]
619   },
620   {
621     "id": "a043bfd1.99253",
622     "type": "returnFailure",
623     "name": "return failure",
624     "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
625     "comments": "",
626     "x": 1199.0936279296875,
627     "y": 350.780029296875,
628     "z": "b1a89180.b5141",
629     "wires": []
630   },
631   {
632     "id": "a1cb98a2.af1948",
633     "type": "returnFailure",
634     "name": "return failure",
635     "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
636     "comments": "",
637     "x": 1195.6278076171875,
638     "y": 401.26678466796875,
639     "z": "b1a89180.b5141",
640     "wires": []
641   },
642   {
643     "id": "70989a52.14a154",
644     "type": "set",
645     "name": "set tmp.thirdparty-sdnc-id",
646     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
647     "comments": "",
648     "x": 1218.03125,
649     "y": 302.9202575683594,
650     "z": "b1a89180.b5141",
651     "wires": []
652   },
653   {
654     "id": "ae7fca3e.07e458",
655     "type": "switchNode",
656     "name": "switch pe1_id",
657     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
658     "comments": "",
659     "outputs": 1,
660     "x": 1369.03125,
661     "y": 263.9202575683594,
662     "z": "b1a89180.b5141",
663     "wires": [
664       [
665         "7fbf4ad7.4e3104"
666       ]
667     ]
668   },
669   {
670     "id": "7fbf4ad7.4e3104",
671     "type": "outcomeTrue",
672     "name": "true",
673     "xml": "<outcome value='true'>\n",
674     "comments": "",
675     "outputs": 1,
676     "x": 1555.03125,
677     "y": 272.9202575683594,
678     "z": "b1a89180.b5141",
679     "wires": [
680       [
681         "63b25ae1.3cec14"
682       ]
683     ]
684   },
685   {
686     "id": "63b25ae1.3cec14",
687     "type": "set",
688     "name": "set pe1_id",
689     "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
690     "comments": "",
691     "x": 1738.03125,
692     "y": 276.9202575683594,
693     "z": "b1a89180.b5141",
694     "wires": []
695   },
696   {
697     "id": "19bbbbde.0c4ee4",
698     "type": "delete",
699     "name": "delete underlay configuration in AAI",
700     "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='configuration' \n        key='configuration.configuration-id = $network-topology-operation-input.network-information.network-id'>\n",
701     "comments": "",
702     "outputs": 1,
703     "x": 872.03125,
704     "y": 686.9202880859375,
705     "z": "b1a89180.b5141",
706     "wires": [
707       []
708     ]
709   },
710   {
711     "id": "1f654f28.833041",
712     "type": "execute",
713     "name": "execute RestApiCallNode Get token",
714     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
715     "comments": "",
716     "outputs": 1,
717     "x": 1623.03125,
718     "y": 586.6979141235352,
719     "z": "b1a89180.b5141",
720     "wires": [
721       [
722         "ca41c77.6b99238",
723         "b6f946b3.5d1538"
724       ]
725     ]
726   },
727   {
728     "id": "ca41c77.6b99238",
729     "type": "success",
730     "name": "success",
731     "xml": "<outcome value='success'>\n",
732     "comments": "",
733     "outputs": 1,
734     "x": 1863.03125,
735     "y": 549.6979141235352,
736     "z": "b1a89180.b5141",
737     "wires": [
738       [
739         "fb54fc36.0391d"
740       ]
741     ]
742   },
743   {
744     "id": "b6f946b3.5d1538",
745     "type": "failure",
746     "name": "failure",
747     "xml": "<outcome value='failure'>\n",
748     "comments": "",
749     "outputs": 1,
750     "x": 1870.28125,
751     "y": 616.3407974243164,
752     "z": "b1a89180.b5141",
753     "wires": [
754       [
755         "987fca22.525748"
756       ]
757     ]
758   },
759   {
760     "id": "987fca22.525748",
761     "type": "returnFailure",
762     "name": "return failure",
763     "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=\"Error executing get token rest api\" />\n",
764     "comments": "",
765     "x": 2051.03125,
766     "y": 615.0908584594727,
767     "z": "b1a89180.b5141",
768     "wires": []
769   },
770   {
771     "id": "fb54fc36.0391d",
772     "type": "set",
773     "name": "set token-id",
774     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.data.token_id' />\n",
775     "comments": "",
776     "x": 2048.03125,
777     "y": 546.6979141235352,
778     "z": "b1a89180.b5141",
779     "wires": []
780   },
781   {
782     "id": "a48f9d80.400a6",
783     "type": "success",
784     "name": "success",
785     "xml": "<outcome value='success'>\n",
786     "comments": "",
787     "outputs": 1,
788     "x": 1899.03125,
789     "y": 737.6979370117188,
790     "z": "b1a89180.b5141",
791     "wires": [
792       [
793         "c960eb18.e0632"
794       ]
795     ]
796   },
797   {
798     "id": "17b55d13.d0f583",
799     "type": "failure",
800     "name": "failure",
801     "xml": "<outcome value='failure'>\n",
802     "comments": "",
803     "outputs": 1,
804     "x": 1851.28125,
805     "y": 978.3407592773438,
806     "z": "b1a89180.b5141",
807     "wires": [
808       [
809         "896de823.531688"
810       ]
811     ]
812   },
813   {
814     "id": "896de823.531688",
815     "type": "returnFailure",
816     "name": "return failure",
817     "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=\"Error executing Delete VPN rest api\" />\n",
818     "comments": "",
819     "x": 2040.03125,
820     "y": 981.0908813476562,
821     "z": "b1a89180.b5141",
822     "wires": []
823   },
824   {
825     "id": "730f31fc.13307",
826     "type": "block",
827     "name": "block : atomic",
828     "xml": "<block atomic='true'>",
829     "atomic": "true",
830     "comments": "",
831     "outputs": 1,
832     "x": 1294.03125,
833     "y": 597.6979141235352,
834     "z": "b1a89180.b5141",
835     "wires": [
836       [
837         "d58d3bad.af4188",
838         "e2203ccc.e2252",
839         "d01694ec.b6d578",
840         "1f654f28.833041",
841         "298989a7.60397e"
842       ]
843     ]
844   },
845   {
846     "id": "99fa60a9.97d56",
847     "type": "execute",
848     "name": "execute Properties",
849     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
850     "comments": "",
851     "outputs": 1,
852     "x": 824.03125,
853     "y": 544.9202575683594,
854     "z": "b1a89180.b5141",
855     "wires": [
856       []
857     ]
858   },
859   {
860     "id": "298989a7.60397e",
861     "type": "execute",
862     "name": "execute REST DELETE Site",
863     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/sites/site=' + $prop.l3vpn.site1_name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"site-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
864     "comments": "",
865     "outputs": 1,
866     "x": 1604,
867     "y": 668,
868     "z": "b1a89180.b5141",
869     "wires": [
870       [
871         "a48f9d80.400a6",
872         "22e4152.0989b6a"
873       ]
874     ]
875   },
876   {
877     "id": "e2203ccc.e2252",
878     "type": "execute",
879     "name": "execute REST DELETE VRF1",
880     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/huawei-ac-net-l3vpn-svc-vfi:vrf-attributes/vrf-attribute=' + $prop.l3vpn.vrf1-id`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vrf1-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
881     "comments": "",
882     "outputs": 1,
883     "x": 1604,
884     "y": 760,
885     "z": "b1a89180.b5141",
886     "wires": [
887       [
888         "a48f9d80.400a6",
889         "ab599bb0.a4be38"
890       ]
891     ]
892   },
893   {
894     "id": "d01694ec.b6d578",
895     "type": "execute",
896     "name": "execute REST DELETE VRF2",
897     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/huawei-ac-net-l3vpn-svc-vfi:vrf-attributes/vrf-attribute=' + $prop.l3vpn.vrf2-id`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vrf2-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
898     "comments": "",
899     "outputs": 1,
900     "x": 1611,
901     "y": 846,
902     "z": "b1a89180.b5141",
903     "wires": [
904       [
905         "a48f9d80.400a6",
906         "a7e72531.ac08f"
907       ]
908     ]
909   },
910   {
911     "id": "c960eb18.e0632",
912     "type": "block",
913     "name": "block",
914     "xml": "<block>\n",
915     "atomic": "false",
916     "comments": "",
917     "outputs": 1,
918     "x": 2056,
919     "y": 734,
920     "z": "b1a89180.b5141",
921     "wires": [
922       []
923     ]
924   },
925   {
926     "id": "22e4152.0989b6a",
927     "type": "failure",
928     "name": "failure",
929     "xml": "<outcome value='failure'>\n",
930     "comments": "",
931     "outputs": 1,
932     "x": 1877,
933     "y": 673,
934     "z": "b1a89180.b5141",
935     "wires": [
936       [
937         "c62b7174.0cde6"
938       ]
939     ]
940   },
941   {
942     "id": "c62b7174.0cde6",
943     "type": "returnFailure",
944     "name": "return failure",
945     "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=\"Error executing Delete Site rest api\" />\n",
946     "comments": "",
947     "x": 2057.75,
948     "y": 671.7500610351562,
949     "z": "b1a89180.b5141",
950     "wires": []
951   },
952   {
953     "id": "ab599bb0.a4be38",
954     "type": "failure",
955     "name": "failure",
956     "xml": "<outcome value='failure'>\n",
957     "comments": "",
958     "outputs": 1,
959     "x": 1896,
960     "y": 805,
961     "z": "b1a89180.b5141",
962     "wires": [
963       [
964         "fd500d75.5f667"
965       ]
966     ]
967   },
968   {
969     "id": "fd500d75.5f667",
970     "type": "returnFailure",
971     "name": "return failure",
972     "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=\"Error executing Delete VRF1 rest api\" />\n",
973     "comments": "",
974     "x": 2076.75,
975     "y": 803.7500610351562,
976     "z": "b1a89180.b5141",
977     "wires": []
978   },
979   {
980     "id": "a7e72531.ac08f",
981     "type": "failure",
982     "name": "failure",
983     "xml": "<outcome value='failure'>\n",
984     "comments": "",
985     "outputs": 1,
986     "x": 1894,
987     "y": 879,
988     "z": "b1a89180.b5141",
989     "wires": [
990       [
991         "6fdfb503.fe47a4"
992       ]
993     ]
994   },
995   {
996     "id": "6fdfb503.fe47a4",
997     "type": "returnFailure",
998     "name": "return failure",
999     "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=\"Error executing Delete VRF2 rest api\" />\n",
1000     "comments": "",
1001     "x": 2074.75,
1002     "y": 877.7500610351562,
1003     "z": "b1a89180.b5141",
1004     "wires": []
1005   },
1006   {
1007     "id": "e1b9eee0.2059b8",
1008     "type": "switchNode",
1009     "name": "switch site1_name",
1010     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
1011     "comments": "",
1012     "outputs": 1,
1013     "x": 1472,
1014     "y": 326,
1015     "z": "b1a89180.b5141",
1016     "wires": [
1017       [
1018         "dfa9e32d.91d8d8"
1019       ]
1020     ]
1021   },
1022   {
1023     "id": "f7a24587.ec9238",
1024     "type": "switchNode",
1025     "name": "switch vrf1_id",
1026     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'vrf1_id'`\">\n",
1027     "comments": "",
1028     "outputs": 1,
1029     "x": 1477,
1030     "y": 380.5999755859375,
1031     "z": "b1a89180.b5141",
1032     "wires": [
1033       [
1034         "c15e7dfb.74d14"
1035       ]
1036     ]
1037   },
1038   {
1039     "id": "a35f5ef6.a6cd28",
1040     "type": "switchNode",
1041     "name": "switch vrf2_id",
1042     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'vrf2_id'`\">\n",
1043     "comments": "",
1044     "outputs": 1,
1045     "x": 1479,
1046     "y": 426.8890075683594,
1047     "z": "b1a89180.b5141",
1048     "wires": [
1049       [
1050         "ca400331.dc161"
1051       ]
1052     ]
1053   },
1054   {
1055     "id": "dfa9e32d.91d8d8",
1056     "type": "outcomeTrue",
1057     "name": "true",
1058     "xml": "<outcome value='true'>\n",
1059     "comments": "",
1060     "outputs": 1,
1061     "x": 1659,
1062     "y": 326,
1063     "z": "b1a89180.b5141",
1064     "wires": [
1065       [
1066         "9e12816.9f59e"
1067       ]
1068     ]
1069   },
1070   {
1071     "id": "c15e7dfb.74d14",
1072     "type": "outcomeTrue",
1073     "name": "true",
1074     "xml": "<outcome value='true'>\n",
1075     "comments": "",
1076     "outputs": 1,
1077     "x": 1660.9999389648438,
1078     "y": 385.5999755859375,
1079     "z": "b1a89180.b5141",
1080     "wires": [
1081       [
1082         "b6297fef.ebefb"
1083       ]
1084     ]
1085   },
1086   {
1087     "id": "ca400331.dc161",
1088     "type": "outcomeTrue",
1089     "name": "true",
1090     "xml": "<outcome value='true'>\n",
1091     "comments": "",
1092     "outputs": 1,
1093     "x": 1665,
1094     "y": 435.8890075683594,
1095     "z": "b1a89180.b5141",
1096     "wires": [
1097       [
1098         "b6b8b28d.368718"
1099       ]
1100     ]
1101   },
1102   {
1103     "id": "9e12816.9f59e",
1104     "type": "set",
1105     "name": "set site1_name",
1106     "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1107     "comments": "",
1108     "x": 1827,
1109     "y": 326.6000061035156,
1110     "z": "b1a89180.b5141",
1111     "wires": []
1112   },
1113   {
1114     "id": "b6297fef.ebefb",
1115     "type": "set",
1116     "name": "set vrf1_id",
1117     "xml": "<set>\n<parameter name='prop.l3vpn.vrf1-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1118     "comments": "",
1119     "x": 1829.9999389648438,
1120     "y": 383.5999755859375,
1121     "z": "b1a89180.b5141",
1122     "wires": []
1123   },
1124   {
1125     "id": "b6b8b28d.368718",
1126     "type": "set",
1127     "name": "set vrf2_id",
1128     "xml": "<set>\n<parameter name='prop.l3vpn.vrf2-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1129     "comments": "",
1130     "x": 1848,
1131     "y": 439.8890075683594,
1132     "z": "b1a89180.b5141",
1133     "wires": []
1134   },
1135   {
1136     "id": "4cb232f8.ebf31c",
1137     "type": "outcome",
1138     "name": "0",
1139     "xml": "<outcome value='0'>\n",
1140     "comments": "",
1141     "outputs": 1,
1142     "x": 1263,
1143     "y": 20,
1144     "z": "b1a89180.b5141",
1145     "wires": [
1146       [
1147         "55192e25.8885f"
1148       ]
1149     ]
1150   },
1151   {
1152     "id": "c820d47.424eda8",
1153     "type": "set",
1154     "name": "set output to api handler",
1155     "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />\n \n",
1156     "comments": "",
1157     "x": 831,
1158     "y": 1126,
1159     "z": "b1a89180.b5141",
1160     "wires": []
1161   },
1162   {
1163     "id": "68e3068e.972fd8",
1164     "type": "switchNode",
1165     "name": "switch $service-data.networks.network_length",
1166     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1167     "comments": "",
1168     "outputs": 1,
1169     "x": 895,
1170     "y": 980,
1171     "z": "b1a89180.b5141",
1172     "wires": [
1173       [
1174         "cabb40c6.f63f28",
1175         "d81def66.527288"
1176       ]
1177     ]
1178   },
1179   {
1180     "id": "bb92afab.51f5a",
1181     "type": "comment",
1182     "name": "Remove network from service data",
1183     "info": "",
1184     "comments": "",
1185     "x": 879.2342529296875,
1186     "y": 936.991943359375,
1187     "z": "b1a89180.b5141",
1188     "wires": []
1189   },
1190   {
1191     "id": "9977e826.19c58",
1192     "type": "comment",
1193     "name": "If only one remove all networks",
1194     "info": "",
1195     "comments": "",
1196     "x": 1269.4179611206055,
1197     "y": 941.2592601776123,
1198     "z": "b1a89180.b5141",
1199     "wires": []
1200   },
1201   {
1202     "id": "cabb40c6.f63f28",
1203     "type": "outcome",
1204     "name": "1",
1205     "xml": "<outcome value='1'>\n",
1206     "comments": "",
1207     "outputs": 1,
1208     "x": 1198.0475997924805,
1209     "y": 976.6664867401123,
1210     "z": "b1a89180.b5141",
1211     "wires": [
1212       [
1213         "fbcf7a1e.85d56"
1214       ]
1215     ]
1216   },
1217   {
1218     "id": "fbcf7a1e.85d56",
1219     "type": "block",
1220     "name": "block : atomic",
1221     "xml": "<block atomic=\"true\">",
1222     "atomic": "true",
1223     "outputs": 1,
1224     "x": 1377.3809127807617,
1225     "y": 977.370283126831,
1226     "z": "b1a89180.b5141",
1227     "wires": [
1228       [
1229         "2a5e806c.406808",
1230         "4e176ca1.1f7854"
1231       ]
1232     ]
1233   },
1234   {
1235     "id": "d81def66.527288",
1236     "type": "other",
1237     "name": "other",
1238     "xml": "<outcome value='Other'>\n",
1239     "comments": "",
1240     "outputs": 1,
1241     "x": 1164.4285507202148,
1242     "y": 1128.9998044967651,
1243     "z": "b1a89180.b5141",
1244     "wires": [
1245       [
1246         "eec0d25e.96de08"
1247       ]
1248     ]
1249   },
1250   {
1251     "id": "eec0d25e.96de08",
1252     "type": "block",
1253     "name": "block : atomic",
1254     "xml": "<block atomic=\"true\">",
1255     "atomic": "true",
1256     "outputs": 1,
1257     "x": 1386.4284286499023,
1258     "y": 1128.9998044967651,
1259     "z": "b1a89180.b5141",
1260     "wires": [
1261       [
1262         "30d886fb.de580a",
1263         "4f8e70aa.dbe688",
1264         "1413b75.f99b949",
1265         "ec576987.8b044"
1266       ]
1267     ]
1268   },
1269   {
1270     "id": "2a5e806c.406808",
1271     "type": "set",
1272     "name": "Remove networks",
1273     "xml": "<set>\n\t<parameter name=\"service-data.networks.\" value=\"\"/>\n\n",
1274     "comments": "",
1275     "x": 1630.66650390625,
1276     "y": 980.3333129882812,
1277     "z": "b1a89180.b5141",
1278     "wires": []
1279   },
1280   {
1281     "id": "4e176ca1.1f7854",
1282     "type": "set",
1283     "name": "set new network length",
1284     "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"0\"/>\n\n\t\n",
1285     "comments": "",
1286     "x": 1646.9998779296875,
1287     "y": 1015.0369710922241,
1288     "z": "b1a89180.b5141",
1289     "wires": []
1290   },
1291   {
1292     "id": "ec576987.8b044",
1293     "type": "set",
1294     "name": "Set new network length",
1295     "xml": "<set>\n\t<parameter name=\"tmp.new_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\t\n\t\n",
1296     "comments": "",
1297     "x": 1653.1322021484375,
1298     "y": 1066.2591552734375,
1299     "z": "b1a89180.b5141",
1300     "wires": []
1301   },
1302   {
1303     "id": "30d886fb.de580a",
1304     "type": "for",
1305     "name": "for snidx..service-data.networks.network[]",
1306     "xml": "<for silentFailure='true' index='snidx' start='`$tmp.nidx + 1`' end='`$service-data.networks.network_length`' >\n",
1307     "comments": "",
1308     "outputs": 1,
1309     "x": 1701.83740234375,
1310     "y": 1118.5631103515625,
1311     "z": "b1a89180.b5141",
1312     "wires": [
1313       [
1314         "161f519b.8ac7e6"
1315       ]
1316     ]
1317   },
1318   {
1319     "id": "1413b75.f99b949",
1320     "type": "set",
1321     "name": "set new network length",
1322     "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n",
1323     "comments": "",
1324     "x": 1660.296272277832,
1325     "y": 1162.333369255066,
1326     "z": "b1a89180.b5141",
1327     "wires": []
1328   },
1329   {
1330     "id": "4f8e70aa.dbe688",
1331     "type": "set",
1332     "name": "Remove networks",
1333     "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.new_length].\" value=\"\"/>\n\n",
1334     "comments": "",
1335     "x": 1640.1427383422852,
1336     "y": 1200.3013143539429,
1337     "z": "b1a89180.b5141",
1338     "wires": []
1339   },
1340   {
1341     "id": "161f519b.8ac7e6",
1342     "type": "block",
1343     "name": "block : atomic",
1344     "xml": "<block atomic=\"true\">",
1345     "atomic": "true",
1346     "comments": "",
1347     "outputs": 1,
1348     "x": 1990.4284133911133,
1349     "y": 1127.999789237976,
1350     "z": "b1a89180.b5141",
1351     "wires": [
1352       []
1353     ]
1354   }
1355 ]