Fixed JAVA keystore file name
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-deactivate.json
1 [
2   {
3     "id": "3141f6c5.a52fda",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 91.00000190734863,
8     "y": 30.000000476837158,
9     "z": "36b7dca4.321614",
10     "wires": [
11       [
12         "528c7612.26f178"
13       ]
14     ]
15   },
16   {
17     "id": "528c7612.26f178",
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": 275.00000381469727,
26     "y": 101.0000171661377,
27     "z": "36b7dca4.321614",
28     "wires": [
29       [
30         "1e8ab7f2.25f3b8"
31       ]
32     ]
33   },
34   {
35     "id": "1e8ab7f2.25f3b8",
36     "type": "method",
37     "name": "sdwan-attachment-topology-operation-deactivate",
38     "xml": "<method rpc='sdwan-attachment-topology-operation-deactivate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 263.0001220703125,
42     "y": 189,
43     "z": "36b7dca4.321614",
44     "wires": [
45       [
46         "64150157.da1a5"
47       ]
48     ]
49   },
50   {
51     "id": "64150157.da1a5",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 279.0001220703125,
59     "y": 744.0002446174622,
60     "z": "36b7dca4.321614",
61     "wires": [
62       [
63         "563dda64.17acc4",
64         "19755347.d05f3d",
65         "2f1e916c.daf57e",
66         "ff9c9326.09054",
67         "b6c9d7ee.523f68",
68         "d85e62b3.69a86",
69         "18a74ff1.92546",
70         "201a455d.c2e4fa",
71         "552d726e.db02dc",
72         "ed4b4b67.4cc708",
73         "b195de1c.2a671",
74         "98b3af96.5e7de",
75         "15eb2076.5c064",
76         "df909612.fb6138",
77         "ec442d3.475ffd",
78         "d5f5fd72.fb157",
79         "984be839.303c58",
80         "d0fca62a.672dd8",
81         "ce4d5b8.f77d2a8",
82         "2b9c4213.cf45fe",
83         "aac6b4b9.62d5b8",
84         "2888718c.b9c46e",
85         "217830b4.c0fbe",
86         "ddc38088.8a3fe",
87         "4044e726.54dc28",
88         "67ff0ce7.080b74",
89         "bf17376.0f432c8"
90       ]
91     ]
92   },
93   {
94     "id": "563dda64.17acc4",
95     "type": "set",
96     "name": "set tmp.ar.allotted-resource-id,etc",
97     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
98     "comments": "",
99     "x": 675.9935607910156,
100     "y": 142.9934868812561,
101     "z": "36b7dca4.321614",
102     "wires": []
103   },
104   {
105     "id": "b26eaf7f.105fd",
106     "type": "comment",
107     "name": "set tmp ar-id to fetch resource from MDSAL",
108     "info": "",
109     "comments": "",
110     "x": 704.9538726806641,
111     "y": 107.02528285980225,
112     "z": "36b7dca4.321614",
113     "wires": []
114   },
115   {
116     "id": "19755347.d05f3d",
117     "type": "set",
118     "name": "set tmp.ar.self-link",
119     "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
120     "comments": "",
121     "x": 629.9934997558594,
122     "y": 235.99349212646484,
123     "z": "36b7dca4.321614",
124     "wires": []
125   },
126   {
127     "id": "ff9c9326.09054",
128     "type": "execute",
129     "name": "execute Properties",
130     "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",
131     "comments": "",
132     "outputs": 1,
133     "x": 636.2553901672363,
134     "y": 323.6602210998535,
135     "z": "36b7dca4.321614",
136     "wires": [
137       []
138     ]
139   },
140   {
141     "id": "2f1e916c.daf57e",
142     "type": "execute",
143     "name": "generate allotted-resource tmp.ar-url",
144     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
145     "comments": "",
146     "outputs": 1,
147     "x": 686.2554931640625,
148     "y": 410.66022205352783,
149     "z": "36b7dca4.321614",
150     "wires": [
151       []
152     ]
153   },
154   {
155     "id": "33dbe9f9.3e0e86",
156     "type": "comment",
157     "name": "GET connection-attachment-allotted-resource from mdsal",
158     "info": "",
159     "comments": "",
160     "x": 729.8085174560547,
161     "y": 502.53876781463623,
162     "z": "36b7dca4.321614",
163     "wires": []
164   },
165   {
166     "id": "7a97d908.325eb8",
167     "type": "comment",
168     "name": "Used for setting output to API Handler",
169     "info": "",
170     "comments": "",
171     "x": 683.9935302734375,
172     "y": 202.993501663208,
173     "z": "36b7dca4.321614",
174     "wires": []
175   },
176   {
177     "id": "3fa36e27.322c42",
178     "type": "comment",
179     "name": "Obtain different URL, template location etc",
180     "info": "For saving resource information to MDSAL & for AAI",
181     "comments": "",
182     "x": 701.9934959411621,
183     "y": 288.8823823928833,
184     "z": "36b7dca4.321614",
185     "wires": []
186   },
187   {
188     "id": "5088b8ea.1a2868",
189     "type": "comment",
190     "name": "Used to Get AR by id to MDSAL, same as self-link",
191     "info": "",
192     "comments": "",
193     "x": 727.9935150146484,
194     "y": 375.8823413848877,
195     "z": "36b7dca4.321614",
196     "wires": []
197   },
198   {
199     "id": "758df544.297bec",
200     "type": "success",
201     "name": "success",
202     "xml": "<outcome value='success'>\n",
203     "comments": "",
204     "outputs": 1,
205     "x": 1170.6668281555176,
206     "y": 529.0000286102295,
207     "z": "36b7dca4.321614",
208     "wires": [
209       [
210         "50aac25b.5a95fc"
211       ]
212     ]
213   },
214   {
215     "id": "50aac25b.5a95fc",
216     "type": "block",
217     "name": "block: atomic",
218     "xml": "<block atomic=\"true\">\n",
219     "atomic": "false",
220     "comments": "",
221     "outputs": 1,
222     "x": 1339.6668319702148,
223     "y": 527.4999294281006,
224     "z": "36b7dca4.321614",
225     "wires": [
226       [
227         "7cf78dbb.742bf4"
228       ]
229     ]
230   },
231   {
232     "id": "7cf78dbb.742bf4",
233     "type": "switchNode",
234     "name": "switch cr length",
235     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
236     "comments": "",
237     "outputs": 1,
238     "x": 1512.5241012573242,
239     "y": 465.11909198760986,
240     "z": "36b7dca4.321614",
241     "wires": [
242       [
243         "e18ada9c.684278",
244         "c1fde691.c1a3e8"
245       ]
246     ]
247   },
248   {
249     "id": "e18ada9c.684278",
250     "type": "other",
251     "name": "outcome 1",
252     "xml": "<outcome value='1'>\n",
253     "comments": "",
254     "outputs": 1,
255     "x": 1749.8573455810547,
256     "y": 443.1190423965454,
257     "z": "36b7dca4.321614",
258     "wires": [
259       [
260         "13bc9514.12e8bb"
261       ]
262     ]
263   },
264   {
265     "id": "13bc9514.12e8bb",
266     "type": "block",
267     "name": "block: atomic",
268     "xml": "<block atomic='true'>\n",
269     "atomic": "false",
270     "comments": "",
271     "outputs": 1,
272     "x": 1934.3812351226807,
273     "y": 440.02387619018555,
274     "z": "36b7dca4.321614",
275     "wires": [
276       [
277         "50a0dec4.4003e",
278         "ac41a03e.121ee",
279         "77bc2227.abfd3c"
280       ]
281     ]
282   },
283   {
284     "id": "70cd8379.2fdf1c",
285     "type": "returnFailure",
286     "name": "return failure",
287     "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=\"Error: SOTN resource not found\" />\n    \n",
288     "comments": "",
289     "x": 1858.5190773010254,
290     "y": 565.0661172866821,
291     "z": "36b7dca4.321614",
292     "wires": []
293   },
294   {
295     "id": "eebf6b21.03ca48",
296     "type": "other",
297     "name": "other",
298     "xml": "<outcome value='Other'>\n",
299     "comments": "",
300     "outputs": 1,
301     "x": 1162.5186309814453,
302     "y": 564.0661134719849,
303     "z": "36b7dca4.321614",
304     "wires": [
305       [
306         "6e2aefa.c6ce31"
307       ]
308     ]
309   },
310   {
311     "id": "6e2aefa.c6ce31",
312     "type": "block",
313     "name": "block: atomic",
314     "xml": "<block atomic=\"true\">\n",
315     "atomic": "false",
316     "comments": "",
317     "outputs": 1,
318     "x": 1342.5185813903809,
319     "y": 564.7326641082764,
320     "z": "36b7dca4.321614",
321     "wires": [
322       [
323         "70cd8379.2fdf1c"
324       ]
325     ]
326   },
327   {
328     "id": "c1fde691.c1a3e8",
329     "type": "other",
330     "name": "other",
331     "xml": "<outcome value='Other'>\n",
332     "comments": "",
333     "outputs": 1,
334     "x": 1738.1852989196777,
335     "y": 480.3994026184082,
336     "z": "36b7dca4.321614",
337     "wires": [
338       [
339         "70cd8379.2fdf1c"
340       ]
341     ]
342   },
343   {
344     "id": "50a0dec4.4003e",
345     "type": "set",
346     "name": "set connection-attachment-ar from get",
347     "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
348     "comments": "",
349     "x": 2180.444793701172,
350     "y": 400.0001058578491,
351     "z": "36b7dca4.321614",
352     "wires": []
353   },
354   {
355     "id": "77bc2227.abfd3c",
356     "type": "set",
357     "name": "set oper-status",
358     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
359     "comments": "",
360     "x": 2113.4447898864746,
361     "y": 490.42866039276123,
362     "z": "36b7dca4.321614",
363     "wires": []
364   },
365   {
366     "id": "ac41a03e.121ee",
367     "type": "switchNode",
368     "name": "switch order-status",
369     "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
370     "comments": "",
371     "outputs": 1,
372     "x": 2124.444625854492,
373     "y": 444.0001096725464,
374     "z": "36b7dca4.321614",
375     "wires": [
376       [
377         "d58b4ded.2510b",
378         "aa0b471a.e14908"
379       ]
380     ]
381   },
382   {
383     "id": "d58b4ded.2510b",
384     "type": "outcome",
385     "name": "outcome Active",
386     "xml": "<outcome value='Active'>\n",
387     "comments": "",
388     "outputs": 1,
389     "x": 2331.044574737549,
390     "y": 434.0001096725464,
391     "z": "36b7dca4.321614",
392     "wires": [
393       [
394         "48037.fd500fc9"
395       ]
396     ]
397   },
398   {
399     "id": "aa0b471a.e14908",
400     "type": "outcome",
401     "name": "outcome Other",
402     "xml": "<outcome value='Other'>\n",
403     "comments": "",
404     "outputs": 1,
405     "x": 2330.7590942382812,
406     "y": 476.4287004470825,
407     "z": "36b7dca4.321614",
408     "wires": [
409       [
410         "e35bc0de.32ae1"
411       ]
412     ]
413   },
414   {
415     "id": "48037.fd500fc9",
416     "type": "block",
417     "name": "block",
418     "xml": "<block>\n",
419     "atomic": "false",
420     "comments": "",
421     "outputs": 1,
422     "x": 2483.5151290893555,
423     "y": 432.3757600784302,
424     "z": "36b7dca4.321614",
425     "wires": [
426       []
427     ]
428   },
429   {
430     "id": "e35bc0de.32ae1",
431     "type": "returnFailure",
432     "name": "return failure",
433     "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\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
434     "comments": "",
435     "x": 2503.6669845581055,
436     "y": 473.000111579895,
437     "z": "36b7dca4.321614",
438     "wires": []
439   },
440   {
441     "id": "91894f21.7c315",
442     "type": "call",
443     "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param",
444     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-saved-ar-param' mode='sync' >\n",
445     "comments": "",
446     "outputs": 1,
447     "x": 891.3031158447266,
448     "y": 625.4935908317566,
449     "z": "36b7dca4.321614",
450     "wires": [
451       []
452     ]
453   },
454   {
455     "id": "b6c9d7ee.523f68",
456     "type": "block",
457     "name": "block: atomic",
458     "xml": "<block atomic=\"true\">\n",
459     "atomic": "false",
460     "comments": "",
461     "outputs": 1,
462     "x": 588.3092803955078,
463     "y": 626.4999389648438,
464     "z": "36b7dca4.321614",
465     "wires": [
466       [
467         "91894f21.7c315"
468       ]
469     ]
470   },
471   {
472     "id": "45ae063f.ddd9a8",
473     "type": "comment",
474     "name": "GET parent-service-data from mdsal to check existence of other End point",
475     "info": "",
476     "comments": "",
477     "x": 770.0004425048828,
478     "y": 687.5316982269287,
479     "z": "36b7dca4.321614",
480     "wires": []
481   },
482   {
483     "id": "a44115de.ea89b8",
484     "type": "comment",
485     "name": "GET connection-attachment-ar to store AR data from mdsal",
486     "info": "",
487     "comments": "",
488     "x": 2163.472946166992,
489     "y": 364.5039691925049,
490     "z": "36b7dca4.321614",
491     "wires": []
492   },
493   {
494     "id": "d6f0728e.e8007",
495     "type": "comment",
496     "name": "Set source end point",
497     "info": "",
498     "comments": "",
499     "x": 601.9728393554688,
500     "y": 594.2540645599365,
501     "z": "36b7dca4.321614",
502     "wires": []
503   },
504   {
505     "id": "d85e62b3.69a86",
506     "type": "set",
507     "name": "set tmp.ar.parent-service-instance-id",
508     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
509     "comments": "",
510     "x": 654.9689178466797,
511     "y": 719.0002088546753,
512     "z": "36b7dca4.321614",
513     "wires": []
514   },
515   {
516     "id": "c65a917f.0654d",
517     "type": "success",
518     "name": "success",
519     "xml": "<outcome value='success'>\n",
520     "comments": "",
521     "outputs": 1,
522     "x": 1032.9689140319824,
523     "y": 768.000207901001,
524     "z": "36b7dca4.321614",
525     "wires": [
526       [
527         "a84f11cf.944ed"
528       ]
529     ]
530   },
531   {
532     "id": "6f7e92ff.c163ec",
533     "type": "other",
534     "name": "other",
535     "xml": "<outcome value='Other'>\n",
536     "comments": "",
537     "outputs": 1,
538     "x": 1024.8207168579102,
539     "y": 803.0662927627563,
540     "z": "36b7dca4.321614",
541     "wires": [
542       [
543         "fcea4987.f76f78"
544       ]
545     ]
546   },
547   {
548     "id": "fcea4987.f76f78",
549     "type": "returnFailure",
550     "name": "return failure",
551     "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=\"Error: SOTN resource not found\" />\n    \n",
552     "comments": "",
553     "x": 1199.9694023132324,
554     "y": 799.3336429595947,
555     "z": "36b7dca4.321614",
556     "wires": []
557   },
558   {
559     "id": "a84f11cf.944ed",
560     "type": "block",
561     "name": "block",
562     "xml": "<block>\n",
563     "atomic": "false",
564     "comments": "",
565     "outputs": 1,
566     "x": 1183.9689140319824,
567     "y": 766.000207901001,
568     "z": "36b7dca4.321614",
569     "wires": [
570       []
571     ]
572   },
573   {
574     "id": "c1b43a2f.b6d498",
575     "type": "failure",
576     "name": "failure",
577     "xml": "<outcome value='failure'>\n",
578     "comments": "",
579     "outputs": 1,
580     "x": 1013.730827331543,
581     "y": 2270.9528436660767,
582     "z": "36b7dca4.321614",
583     "wires": [
584       [
585         "37d1e2b4.1ecc0e"
586       ]
587     ]
588   },
589   {
590     "id": "37d1e2b4.1ecc0e",
591     "type": "returnFailure",
592     "name": "return failure",
593     "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=\"AAI failed\" />\n",
594     "comments": "",
595     "x": 1175.2546615600586,
596     "y": 2315.57188975811,
597     "z": "36b7dca4.321614",
598     "wires": []
599   },
600   {
601     "id": "46e90256.1233fc",
602     "type": "failure",
603     "name": "not-found",
604     "xml": "<outcome value='not-found'>\n",
605     "comments": "",
606     "outputs": 1,
607     "x": 1015.8260688781738,
608     "y": 2336.7147864103317,
609     "z": "36b7dca4.321614",
610     "wires": [
611       [
612         "37d1e2b4.1ecc0e"
613       ]
614     ]
615   },
616   {
617     "id": "38a39849.f42568",
618     "type": "comment",
619     "name": "Save Resource to AAI",
620     "info": "",
621     "comments": "",
622     "x": 727.7784957885742,
623     "y": 2286.302206993103,
624     "z": "36b7dca4.321614",
625     "wires": []
626   },
627   {
628     "id": "98b3af96.5e7de",
629     "type": "set",
630     "name": "set output to api handler",
631     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
632     "comments": "",
633     "x": 742.5461921691895,
634     "y": 2207.827688217163,
635     "z": "36b7dca4.321614",
636     "wires": []
637   },
638   {
639     "id": "15eb2076.5c064",
640     "type": "returnSuccess",
641     "name": "return success",
642     "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",
643     "comments": "",
644     "x": 689.9593315124512,
645     "y": 2402.443507194519,
646     "z": "36b7dca4.321614",
647     "wires": []
648   },
649   {
650     "id": "b195de1c.2a671",
651     "type": "execute",
652     "name": "execute RestApiCallNode - PUT AR by id",
653     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sdwan-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
654     "comments": "",
655     "outputs": 1,
656     "x": 792.2782936096191,
657     "y": 2115.4684619903564,
658     "z": "36b7dca4.321614",
659     "wires": [
660       [
661         "710256d4.ce9368",
662         "9d8f4fc7.29648",
663         "1056e6c3.05afa9"
664       ]
665     ]
666   },
667   {
668     "id": "710256d4.ce9368",
669     "type": "not-found",
670     "name": "not-found",
671     "xml": "<outcome value='not-found'>\n",
672     "comments": "",
673     "outputs": 1,
674     "x": 1060.9196701049805,
675     "y": 2166.7998737320304,
676     "z": "36b7dca4.321614",
677     "wires": [
678       [
679         "8d13b843.178988"
680       ]
681     ]
682   },
683   {
684     "id": "9d8f4fc7.29648",
685     "type": "failure",
686     "name": "failure",
687     "xml": "<outcome value='failure'>\n",
688     "comments": "",
689     "outputs": 1,
690     "x": 1051.919719696045,
691     "y": 2135.299899481237,
692     "z": "36b7dca4.321614",
693     "wires": [
694       [
695         "8d13b843.178988"
696       ]
697     ]
698   },
699   {
700     "id": "1056e6c3.05afa9",
701     "type": "success",
702     "name": "success",
703     "xml": "<outcome value='success'>\n",
704     "comments": "",
705     "outputs": 1,
706     "x": 1055.6697578430176,
707     "y": 2105.6570043563843,
708     "z": "36b7dca4.321614",
709     "wires": [
710       [
711         "d9dd1fc6.57ca5"
712       ]
713     ]
714   },
715   {
716     "id": "8d13b843.178988",
717     "type": "returnFailure",
718     "name": "return failure",
719     "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 updating md-sal for connection-attachment-allotted-resource\" />\n",
720     "comments": "",
721     "x": 1221.6697578430176,
722     "y": 2136.049923323095,
723     "z": "36b7dca4.321614",
724     "wires": []
725   },
726   {
727     "id": "d9dd1fc6.57ca5",
728     "type": "block",
729     "name": "block",
730     "xml": "<block>\n",
731     "atomic": "false",
732     "comments": "",
733     "outputs": 1,
734     "x": 1197.32572555542,
735     "y": 2101.8491735458374,
736     "z": "36b7dca4.321614",
737     "wires": [
738       []
739     ]
740   },
741   {
742     "id": "18a74ff1.92546",
743     "type": "set",
744     "name": "set ar-data",
745     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n",
746     "comments": "",
747     "x": 692.4919128417969,
748     "y": 1965.849385023117,
749     "z": "36b7dca4.321614",
750     "wires": []
751   },
752   {
753     "id": "552d726e.db02dc",
754     "type": "execute",
755     "name": "execute getTime",
756     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
757     "comments": "",
758     "outputs": 1,
759     "x": 709.7777557373047,
760     "y": 2038.4689826965332,
761     "z": "36b7dca4.321614",
762     "wires": [
763       []
764     ]
765   },
766   {
767     "id": "ed4b4b67.4cc708",
768     "type": "set",
769     "name": "set allotted-resource-oper-status",
770     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
771     "comments": "",
772     "x": 764.7648124694824,
773     "y": 2076.420120239258,
774     "z": "36b7dca4.321614",
775     "wires": []
776   },
777   {
778     "id": "201a455d.c2e4fa",
779     "type": "set",
780     "name": "set model-data",
781     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
782     "comments": "",
783     "x": 706.3334541320801,
784     "y": 2005.0240354537964,
785     "z": "36b7dca4.321614",
786     "wires": []
787   },
788   {
789     "id": "dc1f553a.3746d8",
790     "type": "comment",
791     "name": "Prepare data for allotted-resource addition to MDSAL",
792     "info": "This will add to allotted-resource which is present inside service.",
793     "comments": "",
794     "x": 815.6668853759766,
795     "y": 1921.0239102840424,
796     "z": "36b7dca4.321614",
797     "wires": []
798   },
799   {
800     "id": "4d3306db.2fbdf8",
801     "type": "comment",
802     "name": "Add to allotted-resources in mdsal",
803     "info": "",
804     "comments": "",
805     "x": 757.246711730957,
806     "y": 1888.4372119903564,
807     "z": "36b7dca4.321614",
808     "wires": []
809   },
810   {
811     "id": "2888718c.b9c46e",
812     "type": "update",
813     "name": "update AAI allotted-resource",
814     "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<!--parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" /-->\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
815     "comments": "",
816     "outputs": 1,
817     "x": 754.2227745056152,
818     "y": 2323.754349708557,
819     "z": "36b7dca4.321614",
820     "wires": [
821       [
822         "c1b43a2f.b6d498",
823         "46e90256.1233fc"
824       ]
825     ]
826   },
827   {
828     "id": "df909612.fb6138",
829     "type": "execute",
830     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
831     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
832     "comments": "",
833     "outputs": 1,
834     "x": 803.3339538574219,
835     "y": 545.4999494552612,
836     "z": "36b7dca4.321614",
837     "wires": [
838       [
839         "758df544.297bec",
840         "eebf6b21.03ca48"
841       ]
842     ]
843   },
844   {
845     "id": "ec442d3.475ffd",
846     "type": "execute",
847     "name": "get parent-service-data tmp.ar-url-psd",
848     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
849     "comments": "",
850     "outputs": 1,
851     "x": 657.0001983642578,
852     "y": 754.0002107620239,
853     "z": "36b7dca4.321614",
854     "wires": [
855       []
856     ]
857   },
858   {
859     "id": "d5f5fd72.fb157",
860     "type": "execute",
861     "name": "execute RestApiCallNode - get-resource parent service data",
862     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
863     "comments": "",
864     "outputs": 1,
865     "x": 724.0001602172852,
866     "y": 789.0002946853638,
867     "z": "36b7dca4.321614",
868     "wires": [
869       [
870         "c65a917f.0654d",
871         "6f7e92ff.c163ec"
872       ]
873     ]
874   },
875   {
876     "id": "4db8d90d.4f7238",
877     "type": "success",
878     "name": "success",
879     "xml": "<outcome value='success'>\n",
880     "comments": "",
881     "outputs": 1,
882     "x": 2544.812660217285,
883     "y": 806.329451084137,
884     "z": "36b7dca4.321614",
885     "wires": [
886       [
887         "5ae4c974.91c268"
888       ]
889     ]
890   },
891   {
892     "id": "d1626b48.25fc18",
893     "type": "other",
894     "name": "other",
895     "xml": "<outcome value='Other'>\n",
896     "comments": "",
897     "outputs": 1,
898     "x": 2578.66414642334,
899     "y": 752.3954176902771,
900     "z": "36b7dca4.321614",
901     "wires": [
902       [
903         "ab84a2c3.2ae2b"
904       ]
905     ]
906   },
907   {
908     "id": "a8b146e3.827bd8",
909     "type": "for",
910     "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]",
911     "xml": "<for index='arvidx' start='0' end='`$mdsal-sd.service-data.vnfs.vnf_length`' >\n",
912     "comments": "",
913     "outputs": 1,
914     "x": 2063.81356048584,
915     "y": 1633.9966716766357,
916     "z": "36b7dca4.321614",
917     "wires": [
918       [
919         "151d247e.ada54c"
920       ]
921     ]
922   },
923   {
924     "id": "151d247e.ada54c",
925     "type": "block",
926     "name": "block atmoic",
927     "xml": "<block atomic=\"true\">\n",
928     "atomic": "false",
929     "comments": "",
930     "outputs": 1,
931     "x": 2339.4801330566406,
932     "y": 1634.9967045783997,
933     "z": "36b7dca4.321614",
934     "wires": [
935       [
936         "ce8318c6.862998"
937       ]
938     ]
939   },
940   {
941     "id": "ce8318c6.862998",
942     "type": "switchNode",
943     "name": "switch ActivateSiteInstance",
944     "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == ActivateSiteInstance`\">\n    \n    \n\n",
945     "comments": "",
946     "outputs": 1,
947     "x": 2576.34383392334,
948     "y": 1639.1946682929993,
949     "z": "36b7dca4.321614",
950     "wires": [
951       [
952         "38959100.baa79"
953       ]
954     ]
955   },
956   {
957     "id": "38959100.baa79",
958     "type": "outcomeTrue",
959     "name": "true",
960     "xml": "<outcome value='true'>\n",
961     "comments": "",
962     "outputs": 1,
963     "x": 2785.343349456787,
964     "y": 1639.194821357727,
965     "z": "36b7dca4.321614",
966     "wires": [
967       [
968         "8dc66f20.128aa"
969       ]
970     ]
971   },
972   {
973     "id": "ae283116.659c4",
974     "type": "set",
975     "name": "set tmp.sitevidx ",
976     "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
977     "comments": "",
978     "x": 2182.3442993164062,
979     "y": 1743.1952500343323,
980     "z": "36b7dca4.321614",
981     "wires": []
982   },
983   {
984     "id": "cc813b15.219a98",
985     "type": "set",
986     "name": "set prop.ar-parent-service-instance-id",
987     "xml": "<set>\n<parameter name='prop.ar-parent-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id`' />\n",
988     "comments": "",
989     "x": 2098.8124618530273,
990     "y": 1056.9961004257202,
991     "z": "36b7dca4.321614",
992     "wires": []
993   },
994   {
995     "id": "16d565c8.6fce0a",
996     "type": "for",
997     "name": "for loop aridx - Get role from allotted resource",
998     "xml": "<for index=\"aridx\" start=\"0\" end=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`\">\n    \n    \n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 2124.812255859375,
1002     "y": 1005.4959716796875,
1003     "z": "36b7dca4.321614",
1004     "wires": [
1005       [
1006         "412ffbe3.a86674"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "412ffbe3.a86674",
1012     "type": "block",
1013     "name": "block",
1014     "xml": "<block>\n",
1015     "atomic": "false",
1016     "comments": "",
1017     "outputs": 1,
1018     "x": 2379.81258392334,
1019     "y": 1002.496431350708,
1020     "z": "36b7dca4.321614",
1021     "wires": [
1022       [
1023         "e0854b83.a59ed8",
1024         "67be11c6.fc4b4"
1025       ]
1026     ]
1027   },
1028   {
1029     "id": "e0854b83.a59ed8",
1030     "type": "switchNode",
1031     "name": "switch Role",
1032     "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'Role'`\">\n",
1033     "comments": "",
1034     "outputs": 1,
1035     "x": 2509.8124046325684,
1036     "y": 974.4963684082031,
1037     "z": "36b7dca4.321614",
1038     "wires": [
1039       [
1040         "60e8b373.f2f1cc"
1041       ]
1042     ]
1043   },
1044   {
1045     "id": "60e8b373.f2f1cc",
1046     "type": "outcomeTrue",
1047     "name": "true",
1048     "xml": "<outcome value='true'>\n",
1049     "comments": "",
1050     "outputs": 1,
1051     "x": 2650.8127365112305,
1052     "y": 973.4963674545288,
1053     "z": "36b7dca4.321614",
1054     "wires": [
1055       [
1056         "564d6e3.a986e9"
1057       ]
1058     ]
1059   },
1060   {
1061     "id": "564d6e3.a986e9",
1062     "type": "set",
1063     "name": "set prop.role",
1064     "xml": "<set>\n<parameter name='prop.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
1065     "comments": "",
1066     "x": 2816.8134002685547,
1067     "y": 968.0962705612183,
1068     "z": "36b7dca4.321614",
1069     "wires": []
1070   },
1071   {
1072     "id": "bef02da7.b5697",
1073     "type": "success",
1074     "name": "success",
1075     "xml": "<outcome value='success'>\n",
1076     "comments": "",
1077     "outputs": 1,
1078     "x": 2396.8130836486816,
1079     "y": 1151.9963779449463,
1080     "z": "36b7dca4.321614",
1081     "wires": [
1082       [
1083         "e69aff22.57aef"
1084       ]
1085     ]
1086   },
1087   {
1088     "id": "108f0456.69aaac",
1089     "type": "other",
1090     "name": "other",
1091     "xml": "<outcome value='Other'>\n",
1092     "comments": "",
1093     "outputs": 1,
1094     "x": 2390.664825439453,
1095     "y": 1108.0624151229858,
1096     "z": "36b7dca4.321614",
1097     "wires": [
1098       [
1099         "d2cf1da5.9ee9a"
1100       ]
1101     ]
1102   },
1103   {
1104     "id": "ab84a2c3.2ae2b",
1105     "type": "block",
1106     "name": "block",
1107     "xml": "<block>\n",
1108     "atomic": "false",
1109     "comments": "",
1110     "outputs": 1,
1111     "x": 2704.812271118164,
1112     "y": 749.4958510398865,
1113     "z": "36b7dca4.321614",
1114     "wires": [
1115       []
1116     ]
1117   },
1118   {
1119     "id": "5ae4c974.91c268",
1120     "type": "block",
1121     "name": "block atomic",
1122     "xml": "<block atomic=\"true\">\n",
1123     "atomic": "false",
1124     "comments": "",
1125     "outputs": 1,
1126     "x": 1834.3121337890625,
1127     "y": 1023.4959716796875,
1128     "z": "36b7dca4.321614",
1129     "wires": [
1130       [
1131         "16d565c8.6fce0a",
1132         "cc813b15.219a98",
1133         "6c3854b6.659a5c",
1134         "ddb36283.9977d"
1135       ]
1136     ]
1137   },
1138   {
1139     "id": "d2cf1da5.9ee9a",
1140     "type": "block",
1141     "name": "block",
1142     "xml": "<block>\n",
1143     "atomic": "false",
1144     "comments": "",
1145     "outputs": 1,
1146     "x": 2520.3129444122314,
1147     "y": 1101.496335029602,
1148     "z": "36b7dca4.321614",
1149     "wires": [
1150       []
1151     ]
1152   },
1153   {
1154     "id": "e69aff22.57aef",
1155     "type": "block",
1156     "name": "block atomic",
1157     "xml": "<block atomic=\"true\">\n",
1158     "atomic": "false",
1159     "comments": "",
1160     "outputs": 1,
1161     "x": 1910.3124237060547,
1162     "y": 1228.495985031128,
1163     "z": "36b7dca4.321614",
1164     "wires": [
1165       [
1166         "a7e7f8fb.8ee848"
1167       ]
1168     ]
1169   },
1170   {
1171     "id": "5dfa5d99.6db7b4",
1172     "type": "for",
1173     "name": "for loop siteidx - Get site ID from servicedata",
1174     "xml": "<for index=\"siteidx\" start=\"0\" end=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
1175     "comments": "",
1176     "outputs": 1,
1177     "x": 2274.3151473999023,
1178     "y": 1784.4970078468323,
1179     "z": "36b7dca4.321614",
1180     "wires": [
1181       [
1182         "824eb6f3.bc12a8"
1183       ]
1184     ]
1185   },
1186   {
1187     "id": "4af98bb7.a04904",
1188     "type": "switchNode",
1189     "name": "switch siteId",
1190     "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n",
1191     "comments": "",
1192     "outputs": 1,
1193     "x": 2346.3171310424805,
1194     "y": 1852.4979872703552,
1195     "z": "36b7dca4.321614",
1196     "wires": [
1197       [
1198         "1cabca59.917da6"
1199       ]
1200     ]
1201   },
1202   {
1203     "id": "ad1a1b89.af61c8",
1204     "type": "block",
1205     "name": "block atomic",
1206     "xml": "<block atomic=\"true\">\n",
1207     "atomic": "false",
1208     "comments": "",
1209     "outputs": 1,
1210     "x": 2200.8154067993164,
1211     "y": 1925.99702501297,
1212     "z": "36b7dca4.321614",
1213     "wires": [
1214       [
1215         "fbdfeb83.50c018",
1216         "6ab1dd86.bc5ac4",
1217         "dfe3d1ff.2a521"
1218       ]
1219     ]
1220   },
1221   {
1222     "id": "bf17376.0f432c8",
1223     "type": "execute",
1224     "name": "execute RestApiCallNode delete vpn topology",
1225     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn1Id + '/topology'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",
1226     "comments": "",
1227     "outputs": 1,
1228     "x": 790.812915802002,
1229     "y": 1713.496741771698,
1230     "z": "36b7dca4.321614",
1231     "wires": [
1232       [
1233         "dd133500.c9b588",
1234         "4ff52f01.dec2a"
1235       ]
1236     ]
1237   },
1238   {
1239     "id": "dd133500.c9b588",
1240     "type": "success",
1241     "name": "success",
1242     "xml": "<outcome value='success'>\n",
1243     "comments": "",
1244     "outputs": 1,
1245     "x": 1045.8126831054688,
1246     "y": 1729.496741771698,
1247     "z": "36b7dca4.321614",
1248     "wires": [
1249       [
1250         "fedffe27.13d88"
1251       ]
1252     ]
1253   },
1254   {
1255     "id": "fedffe27.13d88",
1256     "type": "block",
1257     "name": "block : atomic",
1258     "xml": "<block atomic=\"true\">",
1259     "atomic": "true",
1260     "comments": "",
1261     "outputs": 1,
1262     "x": 1215.8126220703125,
1263     "y": 1732.496741771698,
1264     "z": "36b7dca4.321614",
1265     "wires": [
1266       []
1267     ]
1268   },
1269   {
1270     "id": "93a1a55.98e1f58",
1271     "type": "returnFailure",
1272     "name": "return failure",
1273     "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 Create vpn rest api\" />\n",
1274     "comments": "",
1275     "x": 1215.812744140625,
1276     "y": 1688.496741771698,
1277     "z": "36b7dca4.321614",
1278     "wires": []
1279   },
1280   {
1281     "id": "4ff52f01.dec2a",
1282     "type": "failure",
1283     "name": "failure",
1284     "xml": "<outcome value='failure'>\n",
1285     "comments": "",
1286     "outputs": 1,
1287     "x": 1048.8126220703125,
1288     "y": 1688.496741771698,
1289     "z": "36b7dca4.321614",
1290     "wires": [
1291       [
1292         "93a1a55.98e1f58"
1293       ]
1294     ]
1295   },
1296   {
1297     "id": "9c440320.0009b",
1298     "type": "set",
1299     "name": "set controller data",
1300     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\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",
1301     "comments": "",
1302     "x": 1216.3796367645264,
1303     "y": 1251.1728959083557,
1304     "z": "36b7dca4.321614",
1305     "wires": []
1306   },
1307   {
1308     "id": "aac6b4b9.62d5b8",
1309     "type": "get-resource",
1310     "name": "get-resource esr-thirdparty-sdnc",
1311     "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 = SDWANController AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
1312     "comments": "",
1313     "outputs": 1,
1314     "x": 785.8793792724609,
1315     "y": 1302.173246383667,
1316     "z": "36b7dca4.321614",
1317     "wires": [
1318       [
1319         "f554c450.4c9bc8",
1320         "250a3c3a.bfa264",
1321         "1866c1d3.5923ee"
1322       ]
1323     ]
1324   },
1325   {
1326     "id": "f554c450.4c9bc8",
1327     "type": "success",
1328     "name": "success",
1329     "xml": "<outcome value='success'>\n",
1330     "comments": "",
1331     "outputs": 1,
1332     "x": 1044.8796710968018,
1333     "y": 1257.1728796958923,
1334     "z": "36b7dca4.321614",
1335     "wires": [
1336       [
1337         "9c440320.0009b"
1338       ]
1339     ]
1340   },
1341   {
1342     "id": "250a3c3a.bfa264",
1343     "type": "not-found",
1344     "name": "not-found",
1345     "xml": "<outcome value='not-found'>\n",
1346     "comments": "",
1347     "outputs": 1,
1348     "x": 1041.3703880310059,
1349     "y": 1295.7469763755798,
1350     "z": "36b7dca4.321614",
1351     "wires": [
1352       [
1353         "6a9152f3.8b088c"
1354       ]
1355     ]
1356   },
1357   {
1358     "id": "1866c1d3.5923ee",
1359     "type": "other",
1360     "name": "other",
1361     "xml": "<outcome value='Other'>\n",
1362     "comments": "",
1363     "outputs": 1,
1364     "x": 1036.7033958435059,
1365     "y": 1337.080289363861,
1366     "z": "36b7dca4.321614",
1367     "wires": [
1368       [
1369         "90697580.51d788"
1370       ]
1371     ]
1372   },
1373   {
1374     "id": "6a9152f3.8b088c",
1375     "type": "returnFailure",
1376     "name": "return failure",
1377     "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",
1378     "comments": "",
1379     "x": 1191.9417037963867,
1380     "y": 1290.0327286720276,
1381     "z": "36b7dca4.321614",
1382     "wires": []
1383   },
1384   {
1385     "id": "90697580.51d788",
1386     "type": "returnFailure",
1387     "name": "return failure",
1388     "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",
1389     "comments": "",
1390     "x": 1198.4758567810059,
1391     "y": 1338.519498348236,
1392     "z": "36b7dca4.321614",
1393     "wires": []
1394   },
1395   {
1396     "id": "a7e7f8fb.8ee848",
1397     "type": "for",
1398     "name": "for pnidx.. mdsal-parentsd.service-data.networks.network_length[]",
1399     "xml": "<for index='pnidx' start='0' end='`$mdsal-parentsd.service-data.networks.network_length`' >\n",
1400     "comments": "",
1401     "outputs": 1,
1402     "x": 2235.311996459961,
1403     "y": 1227.9957127571106,
1404     "z": "36b7dca4.321614",
1405     "wires": [
1406       [
1407         "134d81a7.f5395e"
1408       ]
1409     ]
1410   },
1411   {
1412     "id": "bce6e7ae.f035f8",
1413     "type": "switchNode",
1414     "name": "switch ActivateSDWANConnectivityInstance",
1415     "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n    \n    \n\n",
1416     "comments": "",
1417     "outputs": 1,
1418     "x": 2158.979820251465,
1419     "y": 1320.9959144592285,
1420     "z": "36b7dca4.321614",
1421     "wires": [
1422       [
1423         "8b710972.a5d448"
1424       ]
1425     ]
1426   },
1427   {
1428     "id": "8b710972.a5d448",
1429     "type": "outcomeTrue",
1430     "name": "true",
1431     "xml": "<outcome value='true'>\n",
1432     "comments": "",
1433     "outputs": 1,
1434     "x": 2415.9793128967285,
1435     "y": 1319.9960446357727,
1436     "z": "36b7dca4.321614",
1437     "wires": [
1438       [
1439         "ad16d848.956c28"
1440       ]
1441     ]
1442   },
1443   {
1444     "id": "e503187.dfdbbe8",
1445     "type": "for",
1446     "name": "for loop paramidx - Get topology from servicedata",
1447     "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param_length`\">\n    \n    \n",
1448     "comments": "",
1449     "outputs": 1,
1450     "x": 2217.9799995422363,
1451     "y": 1409.995632648468,
1452     "z": "36b7dca4.321614",
1453     "wires": [
1454       [
1455         "2aaa98b1.97fbe8"
1456       ]
1457     ]
1458   },
1459   {
1460     "id": "2aaa98b1.97fbe8",
1461     "type": "block",
1462     "name": "block",
1463     "xml": "<block>\n",
1464     "atomic": "false",
1465     "comments": "",
1466     "outputs": 1,
1467     "x": 2483.979688644409,
1468     "y": 1406.9959559440613,
1469     "z": "36b7dca4.321614",
1470     "wires": [
1471       [
1472         "93e924c8.1cbc78",
1473         "9a3cf2e3.de00a"
1474       ]
1475     ]
1476   },
1477   {
1478     "id": "93e924c8.1cbc78",
1479     "type": "switchNode",
1480     "name": "switch topology",
1481     "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
1482     "comments": "",
1483     "outputs": 1,
1484     "x": 2654.98002243042,
1485     "y": 1375.9954657554626,
1486     "z": "36b7dca4.321614",
1487     "wires": [
1488       [
1489         "3f47b224.ea53fe"
1490       ]
1491     ]
1492   },
1493   {
1494     "id": "3f47b224.ea53fe",
1495     "type": "outcomeTrue",
1496     "name": "true",
1497     "xml": "<outcome value='true'>\n",
1498     "comments": "",
1499     "outputs": 1,
1500     "x": 2806.9800128936768,
1501     "y": 1377.9954962730408,
1502     "z": "36b7dca4.321614",
1503     "wires": [
1504       [
1505         "2d4beaeb.2d5ae6"
1506       ]
1507     ]
1508   },
1509   {
1510     "id": "2d4beaeb.2d5ae6",
1511     "type": "set",
1512     "name": "set topology",
1513     "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
1514     "comments": "",
1515     "x": 2950.9800243377686,
1516     "y": 1377.5954308509827,
1517     "z": "36b7dca4.321614",
1518     "wires": []
1519   },
1520   {
1521     "id": "9a3cf2e3.de00a",
1522     "type": "switchNode",
1523     "name": "switch vpnId",
1524     "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n",
1525     "comments": "",
1526     "outputs": 1,
1527     "x": 2646.645746231079,
1528     "y": 1418.328447818756,
1529     "z": "36b7dca4.321614",
1530     "wires": [
1531       [
1532         "805a8b6a.884b08"
1533       ]
1534     ]
1535   },
1536   {
1537     "id": "805a8b6a.884b08",
1538     "type": "outcomeTrue",
1539     "name": "true",
1540     "xml": "<outcome value='true'>\n",
1541     "comments": "",
1542     "outputs": 1,
1543     "x": 2798.645736694336,
1544     "y": 1420.3284783363342,
1545     "z": "36b7dca4.321614",
1546     "wires": [
1547       [
1548         "47c03332.4437ec"
1549       ]
1550     ]
1551   },
1552   {
1553     "id": "47c03332.4437ec",
1554     "type": "set",
1555     "name": "set prop.vpn1Id",
1556     "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
1557     "comments": "",
1558     "x": 2942.6457481384277,
1559     "y": 1419.9284129142761,
1560     "z": "36b7dca4.321614",
1561     "wires": []
1562   },
1563   {
1564     "id": "2b9c4213.cf45fe",
1565     "type": "execute",
1566     "name": "execute RestApiCallNode delete vpn ",
1567     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",
1568     "comments": "",
1569     "outputs": 1,
1570     "x": 763.8125877380371,
1571     "y": 1824.9967069625854,
1572     "z": "36b7dca4.321614",
1573     "wires": [
1574       [
1575         "b5d353ac.0589e",
1576         "2c7732a6.dbeb5e"
1577       ]
1578     ]
1579   },
1580   {
1581     "id": "b5d353ac.0589e",
1582     "type": "success",
1583     "name": "success",
1584     "xml": "<outcome value='success'>\n",
1585     "comments": "",
1586     "outputs": 1,
1587     "x": 996.812665939331,
1588     "y": 1849.9967060089111,
1589     "z": "36b7dca4.321614",
1590     "wires": [
1591       [
1592         "35c412a7.ab087e"
1593       ]
1594     ]
1595   },
1596   {
1597     "id": "35c412a7.ab087e",
1598     "type": "block",
1599     "name": "block : atomic",
1600     "xml": "<block atomic=\"true\">",
1601     "atomic": "true",
1602     "comments": "",
1603     "outputs": 1,
1604     "x": 1166.8126049041748,
1605     "y": 1852.9967060089111,
1606     "z": "36b7dca4.321614",
1607     "wires": [
1608       []
1609     ]
1610   },
1611   {
1612     "id": "3622d573.b4a8aa",
1613     "type": "returnFailure",
1614     "name": "return failure",
1615     "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 Create vpn rest api\" />\n",
1616     "comments": "",
1617     "x": 1166.8127269744873,
1618     "y": 1808.9967060089111,
1619     "z": "36b7dca4.321614",
1620     "wires": []
1621   },
1622   {
1623     "id": "2c7732a6.dbeb5e",
1624     "type": "failure",
1625     "name": "failure",
1626     "xml": "<outcome value='failure'>\n",
1627     "comments": "",
1628     "outputs": 1,
1629     "x": 999.8126049041748,
1630     "y": 1808.9967060089111,
1631     "z": "36b7dca4.321614",
1632     "wires": [
1633       [
1634         "3622d573.b4a8aa"
1635       ]
1636     ]
1637   },
1638   {
1639     "id": "72ba670d.964b28",
1640     "type": "set",
1641     "name": "set prop.name",
1642     "xml": "<set>\n<parameter name='prop.name' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
1643     "comments": "",
1644     "x": 2864.8124046325684,
1645     "y": 1020.9959411621094,
1646     "z": "36b7dca4.321614",
1647     "wires": []
1648   },
1649   {
1650     "id": "67be11c6.fc4b4",
1651     "type": "switchNode",
1652     "name": "switch sdwanVpnName",
1653     "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'sdwanVpnName'`\">\n",
1654     "comments": "",
1655     "outputs": 1,
1656     "x": 2545.312244415283,
1657     "y": 1023.9959335327148,
1658     "z": "36b7dca4.321614",
1659     "wires": [
1660       [
1661         "9940a94a.c22938"
1662       ]
1663     ]
1664   },
1665   {
1666     "id": "9940a94a.c22938",
1667     "type": "outcomeTrue",
1668     "name": "true",
1669     "xml": "<outcome value='true'>\n",
1670     "comments": "",
1671     "outputs": 1,
1672     "x": 2716.3124046325684,
1673     "y": 1022.9960021972656,
1674     "z": "36b7dca4.321614",
1675     "wires": [
1676       [
1677         "72ba670d.964b28"
1678       ]
1679     ]
1680   },
1681   {
1682     "id": "c293dea2.46ad3",
1683     "type": "set",
1684     "name": "set prop.ar.provided-allotted-resource-id",
1685     "xml": "<set>\n<parameter name='prop.ar.provided-allotted-resource-id' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id`' />\n\n\n",
1686     "comments": "",
1687     "x": 2030.81201171875,
1688     "y": 764.9960656166077,
1689     "z": "36b7dca4.321614",
1690     "wires": []
1691   },
1692   {
1693     "id": "bfa616d6.8ac5b8",
1694     "type": "block",
1695     "name": "block atomic",
1696     "xml": "<block atomic=\"true\">\n",
1697     "atomic": "false",
1698     "comments": "",
1699     "outputs": 1,
1700     "x": 1343.8424682617188,
1701     "y": 1166.1932730674744,
1702     "z": "36b7dca4.321614",
1703     "wires": [
1704       [
1705         "afc6f5e9.2167e8"
1706       ]
1707     ]
1708   },
1709   {
1710     "id": "97d5dacd.f274d8",
1711     "type": "execute",
1712     "name": "generate tmp.ar-url-connection url",
1713     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar.provided-allotted-resource-id`\"/>\n",
1714     "comments": "",
1715     "outputs": 1,
1716     "x": 2015.3296737670898,
1717     "y": 798.329541683197,
1718     "z": "36b7dca4.321614",
1719     "wires": [
1720       []
1721     ]
1722   },
1723   {
1724     "id": "a06e500e.c5ed3",
1725     "type": "execute",
1726     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1727     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-providedAr\" />\n\n",
1728     "comments": "",
1729     "outputs": 1,
1730     "x": 2155.329303741455,
1731     "y": 833.9958329200745,
1732     "z": "36b7dca4.321614",
1733     "wires": [
1734       [
1735         "d1626b48.25fc18",
1736         "4db8d90d.4f7238"
1737       ]
1738     ]
1739   },
1740   {
1741     "id": "6c3854b6.659a5c",
1742     "type": "execute",
1743     "name": "execute RestApiCallNode - get parent service data",
1744     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-parentsd\" />\n\n",
1745     "comments": "",
1746     "outputs": 1,
1747     "x": 2130.9965438842773,
1748     "y": 1126.9958896636963,
1749     "z": "36b7dca4.321614",
1750     "wires": [
1751       [
1752         "bef02da7.b5697",
1753         "108f0456.69aaac"
1754       ]
1755     ]
1756   },
1757   {
1758     "id": "ad16d848.956c28",
1759     "type": "block",
1760     "name": "block atmoic",
1761     "xml": "<block atomic=\"true\">\n",
1762     "atomic": "false",
1763     "comments": "",
1764     "outputs": 1,
1765     "x": 1875.329963684082,
1766     "y": 1416.6630954742432,
1767     "z": "36b7dca4.321614",
1768     "wires": [
1769       [
1770         "e503187.dfdbbe8",
1771         "8d2d1c34.602ed",
1772         "d55381bc.ca39b",
1773         "376fcdda.5c0302"
1774       ]
1775     ]
1776   },
1777   {
1778     "id": "fbdfeb83.50c018",
1779     "type": "set",
1780     "name": "set prop.attach.siteId",
1781     "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n\n",
1782     "comments": "",
1783     "x": 2466.998279571533,
1784     "y": 1907.663851261139,
1785     "z": "36b7dca4.321614",
1786     "wires": []
1787   },
1788   {
1789     "id": "1cabca59.917da6",
1790     "type": "outcomeTrue",
1791     "name": "true",
1792     "xml": "<outcome value='true'>\n",
1793     "comments": "",
1794     "outputs": 1,
1795     "x": 2486.99853515625,
1796     "y": 1852.6636776924133,
1797     "z": "36b7dca4.321614",
1798     "wires": [
1799       [
1800         "ad1a1b89.af61c8"
1801       ]
1802     ]
1803   },
1804   {
1805     "id": "8dc66f20.128aa",
1806     "type": "block",
1807     "name": "block atmoic",
1808     "xml": "<block atomic=\"true\">\n",
1809     "atomic": "false",
1810     "comments": "",
1811     "outputs": 1,
1812     "x": 1979.664421081543,
1813     "y": 1738.3301882743835,
1814     "z": "36b7dca4.321614",
1815     "wires": [
1816       [
1817         "5dfa5d99.6db7b4",
1818         "ae283116.659c4"
1819       ]
1820     ]
1821   },
1822   {
1823     "id": "984be839.303c58",
1824     "type": "for",
1825     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
1826     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
1827     "comments": "",
1828     "outputs": 1,
1829     "x": 951.181224822998,
1830     "y": 1201.6358733177185,
1831     "z": "36b7dca4.321614",
1832     "wires": [
1833       [
1834         "bfa616d6.8ac5b8"
1835       ]
1836     ]
1837   },
1838   {
1839     "id": "824eb6f3.bc12a8",
1840     "type": "block",
1841     "name": "block atmoic",
1842     "xml": "<block atomic=\"true\">\n",
1843     "atomic": "false",
1844     "comments": "",
1845     "outputs": 1,
1846     "x": 2191.664779663086,
1847     "y": 1849.0008358955383,
1848     "z": "36b7dca4.321614",
1849     "wires": [
1850       [
1851         "4af98bb7.a04904"
1852       ]
1853     ]
1854   },
1855   {
1856     "id": "d0fca62a.672dd8",
1857     "type": "set",
1858     "name": "set prop.siteAttachement_length=0",
1859     "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
1860     "comments": "",
1861     "x": 797,
1862     "y": 1144.531229019165,
1863     "z": "36b7dca4.321614",
1864     "wires": []
1865   },
1866   {
1867     "id": "6ab1dd86.bc5ac4",
1868     "type": "set",
1869     "name": "Add sites to list and update length",
1870     "xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n",
1871     "comments": "",
1872     "x": 2494.502113342285,
1873     "y": 1952.5316562652588,
1874     "z": "36b7dca4.321614",
1875     "wires": []
1876   },
1877   {
1878     "id": "ddb36283.9977d",
1879     "type": "execute",
1880     "name": "generate prop.ar-parent-service-instance-id",
1881     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>      \n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar-parent-service-instance-id`\"/>\n\n",
1882     "comments": "",
1883     "outputs": 1,
1884     "x": 2115.500144958496,
1885     "y": 1089.5314102172852,
1886     "z": "36b7dca4.321614",
1887     "wires": [
1888       []
1889     ]
1890   },
1891   {
1892     "id": "8d2d1c34.602ed",
1893     "type": "set",
1894     "name": "set prop.ar-service-instance-id",
1895     "xml": "<set>\n<parameter name='prop.ar-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n",
1896     "comments": "",
1897     "x": 2148.5005645751953,
1898     "y": 1478.531328201294,
1899     "z": "36b7dca4.321614",
1900     "wires": []
1901   },
1902   {
1903     "id": "d55381bc.ca39b",
1904     "type": "execute",
1905     "name": "generate prop.ar-service-instance-id",
1906     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>      \n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar-service-instance-id`\"/>\n\n",
1907     "comments": "",
1908     "outputs": 1,
1909     "x": 2173.833023071289,
1910     "y": 1511.4096240997314,
1911     "z": "36b7dca4.321614",
1912     "wires": [
1913       []
1914     ]
1915   },
1916   {
1917     "id": "376fcdda.5c0302",
1918     "type": "execute",
1919     "name": "execute RestApiCallNode - get-resource service data",
1920     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-sd\" />\n\n",
1921     "comments": "",
1922     "outputs": 1,
1923     "x": 2224.8331451416016,
1924     "y": 1548.4094429016113,
1925     "z": "36b7dca4.321614",
1926     "wires": [
1927       [
1928         "24c5b010.6c228",
1929         "5d5ea42b.5dad9c"
1930       ]
1931     ]
1932   },
1933   {
1934     "id": "5d5ea42b.5dad9c",
1935     "type": "success",
1936     "name": "success",
1937     "xml": "<outcome value='success'>\n",
1938     "comments": "",
1939     "outputs": 1,
1940     "x": 2503.5002098083496,
1941     "y": 1544.5311546325684,
1942     "z": "36b7dca4.321614",
1943     "wires": [
1944       [
1945         "70e96035.e38c9"
1946       ]
1947     ]
1948   },
1949   {
1950     "id": "24c5b010.6c228",
1951     "type": "other",
1952     "name": "other",
1953     "xml": "<outcome value='Other'>\n",
1954     "comments": "",
1955     "outputs": 1,
1956     "x": 2501.3525390625,
1957     "y": 1505.597282409668,
1958     "z": "36b7dca4.321614",
1959     "wires": [
1960       [
1961         "b0b3ac1b.bb725"
1962       ]
1963     ]
1964   },
1965   {
1966     "id": "b0b3ac1b.bb725",
1967     "type": "block",
1968     "name": "block",
1969     "xml": "<block>\n",
1970     "atomic": "false",
1971     "comments": "",
1972     "outputs": 1,
1973     "x": 2631.000732421875,
1974     "y": 1499.0312423706055,
1975     "z": "36b7dca4.321614",
1976     "wires": [
1977       []
1978     ]
1979   },
1980   {
1981     "id": "70e96035.e38c9",
1982     "type": "block",
1983     "name": "block atmoic",
1984     "xml": "<block atomic=\"true\">\n",
1985     "atomic": "false",
1986     "comments": "",
1987     "outputs": 1,
1988     "x": 2652.501106262207,
1989     "y": 1545.5313396453857,
1990     "z": "36b7dca4.321614",
1991     "wires": [
1992       [
1993         "a8b146e3.827bd8"
1994       ]
1995     ]
1996   },
1997   {
1998     "id": "afc6f5e9.2167e8",
1999     "type": "switchNode",
2000     "name": "switch allotted resource ID match",
2001     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">",
2002     "comments": "",
2003     "outputs": 1,
2004     "x": 1567.500114440918,
2005     "y": 1163.031301498413,
2006     "z": "36b7dca4.321614",
2007     "wires": [
2008       [
2009         "54c627b4.10bfd8"
2010       ]
2011     ]
2012   },
2013   {
2014     "id": "54c627b4.10bfd8",
2015     "type": "outcomeFalse",
2016     "name": "false",
2017     "xml": "<outcome value='false'>\n",
2018     "comments": "",
2019     "outputs": 1,
2020     "x": 1646.5001792907715,
2021     "y": 800.0312943458557,
2022     "z": "36b7dca4.321614",
2023     "wires": [
2024       [
2025         "3a3f312b.b33afe"
2026       ]
2027     ]
2028   },
2029   {
2030     "id": "3a3f312b.b33afe",
2031     "type": "block",
2032     "name": "block atomic",
2033     "xml": "<block atomic=\"true\">\n",
2034     "atomic": "false",
2035     "comments": "",
2036     "outputs": 1,
2037     "x": 1788.5004272460938,
2038     "y": 799.0312352180481,
2039     "z": "36b7dca4.321614",
2040     "wires": [
2041       [
2042         "c293dea2.46ad3",
2043         "97d5dacd.f274d8",
2044         "a06e500e.c5ed3"
2045       ]
2046     ]
2047   },
2048   {
2049     "id": "d22dbfd2.187be",
2050     "type": "comment",
2051     "name": "if allotted resource Id match with the incomming allotted resource ID,  sites in this service vnf should not be included",
2052     "info": "parent instId 200 |  parent instId 200\nservice instId 100| service InstId 200\n site1            |       site2\n allotted resId 1 | allotted resId 2 \n --------------------------------------\n Deactivate:\n loop for provided allotted res ID\n If allotted resId 1 matches with incomming allotted resource Id then we should delete the sites available in the service data 100\n for this we have to send request for deleting with site IDs site2 without including site1.\n \n \n ",
2053     "comments": "",
2054     "x": 1741.5000305175781,
2055     "y": 732.0312962532043,
2056     "z": "36b7dca4.321614",
2057     "wires": []
2058   },
2059   {
2060     "id": "21d740e7.f725a",
2061     "type": "comment",
2062     "name": "loop for provided allotted rsource Id",
2063     "info": "",
2064     "comments": "",
2065     "x": 1063.5,
2066     "y": 1165.5312900543213,
2067     "z": "36b7dca4.321614",
2068     "wires": []
2069   },
2070   {
2071     "id": "c63c4b12.9b5788",
2072     "type": "comment",
2073     "name": "get allotted resource for the allotted resource ID",
2074     "info": "",
2075     "comments": "",
2076     "x": 2302.500328063965,
2077     "y": 733.5311741828918,
2078     "z": "36b7dca4.321614",
2079     "wires": []
2080   },
2081   {
2082     "id": "830c94e.1851168",
2083     "type": "comment",
2084     "name": "get parent service data to get connectivity which has connectivity and vpn ID",
2085     "info": "",
2086     "comments": "",
2087     "x": 2085.499855041504,
2088     "y": 960.5312519073486,
2089     "z": "36b7dca4.321614",
2090     "wires": []
2091   },
2092   {
2093     "id": "3044102e.74314",
2094     "type": "comment",
2095     "name": "get service data from service instance id from allotted reosurce Id to get sites vnf",
2096     "info": "",
2097     "comments": "",
2098     "x": 2274.499855041504,
2099     "y": 1442.5310516357422,
2100     "z": "36b7dca4.321614",
2101     "wires": []
2102   },
2103   {
2104     "id": "ce4d5b8.f77d2a8",
2105     "type": "call",
2106     "name": "call sdwan-vnf-topology-operation-underlay for delete",
2107     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync' >\n",
2108     "comments": "",
2109     "outputs": 1,
2110     "x": 824.5001182556152,
2111     "y": 1629.531358718872,
2112     "z": "36b7dca4.321614",
2113     "wires": [
2114       []
2115     ]
2116   },
2117   {
2118     "id": "dfe3d1ff.2a521",
2119     "type": "set",
2120     "name": "Add site attachement to list and update length",
2121     "xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",
2122     "comments": "",
2123     "x": 2524.2500915527344,
2124     "y": 1993.2539834976196,
2125     "z": "36b7dca4.321614",
2126     "wires": []
2127   },
2128   {
2129     "id": "217830b4.c0fbe",
2130     "type": "execute",
2131     "name": "execute RestApiCallNode Get token",
2132     "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.onap.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\"/>",
2133     "comments": "",
2134     "outputs": 1,
2135     "x": 798.0000381469727,
2136     "y": 1392.0001511573792,
2137     "z": "36b7dca4.321614",
2138     "wires": [
2139       [
2140         "96b3b1d6.6853f",
2141         "1031f4ad.8e47bb"
2142       ]
2143     ]
2144   },
2145   {
2146     "id": "96b3b1d6.6853f",
2147     "type": "success",
2148     "name": "success",
2149     "xml": "<outcome value='success'>\n",
2150     "comments": "",
2151     "outputs": 1,
2152     "x": 1050.0001640319824,
2153     "y": 1372.9999690055847,
2154     "z": "36b7dca4.321614",
2155     "wires": [
2156       [
2157         "8b0a89e.ac4be78"
2158       ]
2159     ]
2160   },
2161   {
2162     "id": "8b0a89e.ac4be78",
2163     "type": "set",
2164     "name": "set token-id",
2165     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
2166     "comments": "",
2167     "x": 1199.0001640319824,
2168     "y": 1371.9999384880066,
2169     "z": "36b7dca4.321614",
2170     "wires": []
2171   },
2172   {
2173     "id": "736e51fc.b11ae",
2174     "type": "returnFailure",
2175     "name": "return failure",
2176     "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",
2177     "comments": "",
2178     "x": 1190.0001907348633,
2179     "y": 1406.3932137489319,
2180     "z": "36b7dca4.321614",
2181     "wires": []
2182   },
2183   {
2184     "id": "1031f4ad.8e47bb",
2185     "type": "failure",
2186     "name": "failure",
2187     "xml": "<outcome value='failure'>\n",
2188     "comments": "",
2189     "outputs": 1,
2190     "x": 1042.2501983642578,
2191     "y": 1408.6430916786194,
2192     "z": "36b7dca4.321614",
2193     "wires": [
2194       [
2195         "736e51fc.b11ae"
2196       ]
2197     ]
2198   },
2199   {
2200     "id": "ddc38088.8a3fe",
2201     "type": "get-resource",
2202     "name": "get-resource service-subscription",
2203     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-subscription\" \n        key= 'service-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type \n        AND customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id'\n      force=\"true\" pfx=\"tmp.AnAI-data-tenant\">      ",
2204     "comments": "",
2205     "outputs": 1,
2206     "x": 788.8955078125,
2207     "y": 1504.5620493888855,
2208     "z": "36b7dca4.321614",
2209     "wires": [
2210       [
2211         "7ac360ff.5d939",
2212         "31a85191.f2ba9e"
2213       ]
2214     ]
2215   },
2216   {
2217     "id": "4044e726.54dc28",
2218     "type": "execute",
2219     "name": "execute RestApiCallNode Create tenant auth",
2220     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/baseservice/tenants/authorization/' + $prop.tenant-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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",
2221     "comments": "",
2222     "outputs": 1,
2223     "x": 826.3955688476562,
2224     "y": 1571.4548954963684,
2225     "z": "36b7dca4.321614",
2226     "wires": [
2227       []
2228     ]
2229   },
2230   {
2231     "id": "31a85191.f2ba9e",
2232     "type": "failure",
2233     "name": "failure",
2234     "xml": "<outcome value='failure'>\n",
2235     "comments": "",
2236     "outputs": 1,
2237     "x": 993.0739593505859,
2238     "y": 1529.5224194526672,
2239     "z": "36b7dca4.321614",
2240     "wires": [
2241       [
2242         "78002f69.6a616"
2243       ]
2244     ]
2245   },
2246   {
2247     "id": "7ac360ff.5d939",
2248     "type": "success",
2249     "name": "success",
2250     "xml": "<outcome value='success'>\n",
2251     "comments": "",
2252     "outputs": 1,
2253     "x": 999.3953704833984,
2254     "y": 1477.3081078529358,
2255     "z": "36b7dca4.321614",
2256     "wires": [
2257       [
2258         "267dc5cf.01d6aa"
2259       ]
2260     ]
2261   },
2262   {
2263     "id": "78002f69.6a616",
2264     "type": "returnFailure",
2265     "name": "return failure",
2266     "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",
2267     "comments": "",
2268     "x": 1145.823959350586,
2269     "y": 1529.2724804878235,
2270     "z": "36b7dca4.321614",
2271     "wires": []
2272   },
2273   {
2274     "id": "267dc5cf.01d6aa",
2275     "type": "switchNode",
2276     "name": "switch temp-ub-sub-account-id",
2277     "xml": "<switch test='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`'>\n",
2278     "comments": "",
2279     "outputs": 1,
2280     "x": 1200.8955993652344,
2281     "y": 1469.3121304512024,
2282     "z": "36b7dca4.321614",
2283     "wires": [
2284       [
2285         "b4bcdfc8.e4aa9",
2286         "8620a0c4.6231"
2287       ]
2288     ]
2289   },
2290   {
2291     "id": "8620a0c4.6231",
2292     "type": "outcome",
2293     "name": "NULL",
2294     "xml": "<outcome value=''>",
2295     "comments": "",
2296     "outputs": 1,
2297     "x": 1434.00390625,
2298     "y": 1428.0039439201355,
2299     "z": "36b7dca4.321614",
2300     "wires": [
2301       [
2302         "3c0adb4c.ddc524"
2303       ]
2304     ]
2305   },
2306   {
2307     "id": "b4bcdfc8.e4aa9",
2308     "type": "other",
2309     "name": "Other",
2310     "xml": "<outcome value='Other'>",
2311     "comments": "",
2312     "outputs": 1,
2313     "x": 1387.2894859313965,
2314     "y": 1522.0040221214294,
2315     "z": "36b7dca4.321614",
2316     "wires": [
2317       [
2318         "89d850bf.fd785"
2319       ]
2320     ]
2321   },
2322   {
2323     "id": "89d850bf.fd785",
2324     "type": "set",
2325     "name": "set prop.tenant-id",
2326     "xml": "<set>\n<parameter name='prop.tenant-id' value='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`' />\n",
2327     "comments": "",
2328     "x": 1556.1466674804688,
2329     "y": 1520.111035823822,
2330     "z": "36b7dca4.321614",
2331     "wires": []
2332   },
2333   {
2334     "id": "3c0adb4c.ddc524",
2335     "type": "returnFailure",
2336     "name": "return failure",
2337     "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",
2338     "comments": "",
2339     "x": 1546.4322319030762,
2340     "y": 1472.8253083229065,
2341     "z": "36b7dca4.321614",
2342     "wires": []
2343   },
2344   {
2345     "id": "67ff0ce7.080b74",
2346     "type": "for",
2347     "name": "for ntidx.. mdsal-psd.service-data.networks.network_length[]",
2348     "xml": "<for index='ntidx' start='0' end='`$mdsal-psd.service-data.networks.network_length`' >\n",
2349     "comments": "",
2350     "outputs": 1,
2351     "x": 752.03125,
2352     "y": 898.03125,
2353     "z": "36b7dca4.321614",
2354     "wires": [
2355       [
2356         "fd716ada.4b1c28"
2357       ]
2358     ]
2359   },
2360   {
2361     "id": "134d81a7.f5395e",
2362     "type": "block",
2363     "name": "block atomic",
2364     "xml": "<block atomic=\"true\">\n",
2365     "atomic": "false",
2366     "comments": "",
2367     "outputs": 1,
2368     "x": 1883.0312728881836,
2369     "y": 1319.0312900543213,
2370     "z": "36b7dca4.321614",
2371     "wires": [
2372       [
2373         "bce6e7ae.f035f8"
2374       ]
2375     ]
2376   },
2377   {
2378     "id": "fd716ada.4b1c28",
2379     "type": "block",
2380     "name": "block atomic",
2381     "xml": "<block atomic=\"true\">\n",
2382     "atomic": "false",
2383     "comments": "",
2384     "outputs": 1,
2385     "x": 716.03125,
2386     "y": 970.03125,
2387     "z": "36b7dca4.321614",
2388     "wires": [
2389       [
2390         "f4a48bf3.c3a368"
2391       ]
2392     ]
2393   },
2394   {
2395     "id": "f4a48bf3.c3a368",
2396     "type": "switchNode",
2397     "name": "switch ActivateSDWANConnectivityInstance",
2398     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n    \n    \n\n",
2399     "comments": "",
2400     "outputs": 1,
2401     "x": 991.9797973632812,
2402     "y": 971.9958744049072,
2403     "z": "36b7dca4.321614",
2404     "wires": [
2405       [
2406         "f6cd9004.4ba44"
2407       ]
2408     ]
2409   },
2410   {
2411     "id": "f6cd9004.4ba44",
2412     "type": "outcomeTrue",
2413     "name": "true",
2414     "xml": "<outcome value='true'>\n",
2415     "comments": "",
2416     "outputs": 1,
2417     "x": 1248.979290008545,
2418     "y": 970.9960045814514,
2419     "z": "36b7dca4.321614",
2420     "wires": [
2421       [
2422         "eb687439.718738"
2423       ]
2424     ]
2425   },
2426   {
2427     "id": "eb687439.718738",
2428     "type": "block",
2429     "name": "block atmoic",
2430     "xml": "<block atomic=\"true\">\n",
2431     "atomic": "false",
2432     "comments": "",
2433     "outputs": 1,
2434     "x": 708.3299407958984,
2435     "y": 1067.6630554199219,
2436     "z": "36b7dca4.321614",
2437     "wires": [
2438       [
2439         "e1ac1018.71d85"
2440       ]
2441     ]
2442   },
2443   {
2444     "id": "e1ac1018.71d85",
2445     "type": "for",
2446     "name": "for loop paramidx - Get topology from servicedata",
2447     "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param_length`\">\n    \n    \n",
2448     "comments": "",
2449     "outputs": 1,
2450     "x": 987.9800415039062,
2451     "y": 1056.995677947998,
2452     "z": "36b7dca4.321614",
2453     "wires": [
2454       [
2455         "512abcd4.05e604"
2456       ]
2457     ]
2458   },
2459   {
2460     "id": "512abcd4.05e604",
2461     "type": "block",
2462     "name": "block",
2463     "xml": "<block>\n",
2464     "atomic": "false",
2465     "comments": "",
2466     "outputs": 1,
2467     "x": 1185.9796714782715,
2468     "y": 1109.996166229248,
2469     "z": "36b7dca4.321614",
2470     "wires": [
2471       [
2472         "3dd20169.7a4b1e",
2473         "5ac591b5.a102a",
2474         "2a45587b.540128"
2475       ]
2476     ]
2477   },
2478   {
2479     "id": "5ac591b5.a102a",
2480     "type": "switchNode",
2481     "name": "switch vpnId",
2482     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n\n",
2483     "comments": "",
2484     "outputs": 1,
2485     "x": 1335.6458187103271,
2486     "y": 1124.3284702301025,
2487     "z": "36b7dca4.321614",
2488     "wires": [
2489       [
2490         "a59aadb.7fc765"
2491       ]
2492     ]
2493   },
2494   {
2495     "id": "3dd20169.7a4b1e",
2496     "type": "switchNode",
2497     "name": "switch topology",
2498     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
2499     "comments": "",
2500     "outputs": 1,
2501     "x": 1343.980094909668,
2502     "y": 1081.995488166809,
2503     "z": "36b7dca4.321614",
2504     "wires": [
2505       [
2506         "ed3b57c2.963288"
2507       ]
2508     ]
2509   },
2510   {
2511     "id": "a59aadb.7fc765",
2512     "type": "outcomeTrue",
2513     "name": "true",
2514     "xml": "<outcome value='true'>\n",
2515     "comments": "",
2516     "outputs": 1,
2517     "x": 1487.645809173584,
2518     "y": 1126.3285007476807,
2519     "z": "36b7dca4.321614",
2520     "wires": [
2521       [
2522         "9a98c08c.190ca"
2523       ]
2524     ]
2525   },
2526   {
2527     "id": "ed3b57c2.963288",
2528     "type": "outcomeTrue",
2529     "name": "true",
2530     "xml": "<outcome value='true'>\n",
2531     "comments": "",
2532     "outputs": 1,
2533     "x": 1495.9800853729248,
2534     "y": 1083.9955186843872,
2535     "z": "36b7dca4.321614",
2536     "wires": [
2537       [
2538         "30eaf968.c9a7c6"
2539       ]
2540     ]
2541   },
2542   {
2543     "id": "30eaf968.c9a7c6",
2544     "type": "set",
2545     "name": "set topology",
2546     "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
2547     "comments": "",
2548     "x": 1580.9800987243652,
2549     "y": 1021.59543800354,
2550     "z": "36b7dca4.321614",
2551     "wires": []
2552   },
2553   {
2554     "id": "9a98c08c.190ca",
2555     "type": "set",
2556     "name": "set prop.vpn1Id",
2557     "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
2558     "comments": "",
2559     "x": 1635.6458740234375,
2560     "y": 1115.928415298462,
2561     "z": "36b7dca4.321614",
2562     "wires": []
2563   },
2564   {
2565     "id": "2a45587b.540128",
2566     "type": "switchNode",
2567     "name": "switch vpn name",
2568     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'name'`\">\n",
2569     "comments": "",
2570     "outputs": 1,
2571     "x": 1307.0312728881836,
2572     "y": 1040.0312776565552,
2573     "z": "36b7dca4.321614",
2574     "wires": [
2575       [
2576         "94f1ab0.72fe658"
2577       ]
2578     ]
2579   },
2580   {
2581     "id": "94f1ab0.72fe658",
2582     "type": "outcomeTrue",
2583     "name": "true",
2584     "xml": "<outcome value='true'>\n",
2585     "comments": "",
2586     "outputs": 1,
2587     "x": 1417.0312767028809,
2588     "y": 984.031247138977,
2589     "z": "36b7dca4.321614",
2590     "wires": [
2591       [
2592         "4b5a252a.c365bc"
2593       ]
2594     ]
2595   },
2596   {
2597     "id": "4b5a252a.c365bc",
2598     "type": "set",
2599     "name": "set vpn name",
2600     "xml": "<set>\n<parameter name='prop.name' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
2601     "comments": "",
2602     "x": 1538.0312767028809,
2603     "y": 949.6312837600708,
2604     "z": "36b7dca4.321614",
2605     "wires": []
2606   }
2607 ]