Merge "connectivity attachment issue fix"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
1 [
2   {
3     "id": "cbe4a9ee.16a0f8",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 129.00390625,
8     "y": 47.00390625,
9     "z": "886e5ee7.da286",
10     "wires": [
11       [
12         "e13e73c3.adb19"
13       ]
14     ]
15   },
16   {
17     "id": "e13e73c3.adb19",
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": 341.00391006469727,
26     "y": 119.0039234161377,
27     "z": "886e5ee7.da286",
28     "wires": [
29       [
30         "5fa2576a.526658"
31       ]
32     ]
33   },
34   {
35     "id": "5fa2576a.526658",
36     "type": "method",
37     "name": "sotn-attachment-topology-operation-activate",
38     "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 329.0040283203125,
42     "y": 207.00390625,
43     "z": "886e5ee7.da286",
44     "wires": [
45       [
46         "91f5fd5b.cb45c"
47       ]
48     ]
49   },
50   {
51     "id": "91f5fd5b.cb45c",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 345.0040283203125,
59     "y": 762.0041508674622,
60     "z": "886e5ee7.da286",
61     "wires": [
62       [
63         "f796ddaa.da23c",
64         "d7cfeb18.ac7528",
65         "b6393afd.3cacd8",
66         "81c5733e.5f25d",
67         "1053c083.232fef",
68         "42a877ee.39df08",
69         "d3f500c4.1bfb3",
70         "aa223239.c5978",
71         "44848e46.5ebac",
72         "b29f5799.241a78",
73         "3637e175.005c6e",
74         "295602b3.df648e",
75         "6a3ffb44.1e9004",
76         "6bb92832.c7ba68",
77         "1605273a.149319",
78         "93c61c2f.6bcfd",
79         "eba0b0a5.90799",
80         "e1d773b9.aec52",
81         "8f7266fc.c45038",
82         "5e07c169.5398c"
83       ]
84     ]
85   },
86   {
87     "id": "f796ddaa.da23c",
88     "type": "set",
89     "name": "set tmp.ar.allotted-resource-id,etc",
90     "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",
91     "comments": "",
92     "x": 741.9974670410156,
93     "y": 160.9973931312561,
94     "z": "886e5ee7.da286",
95     "wires": []
96   },
97   {
98     "id": "84a283be.00d5",
99     "type": "comment",
100     "name": "set tmp ar-id to fetch resource from MDSAL",
101     "info": "",
102     "comments": "",
103     "x": 770.9577789306641,
104     "y": 125.02918910980225,
105     "z": "886e5ee7.da286",
106     "wires": []
107   },
108   {
109     "id": "d7cfeb18.ac7528",
110     "type": "set",
111     "name": "set tmp.ar.self-link",
112     "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",
113     "comments": "",
114     "x": 695.9974060058594,
115     "y": 253.99739837646484,
116     "z": "886e5ee7.da286",
117     "wires": []
118   },
119   {
120     "id": "1053c083.232fef",
121     "type": "execute",
122     "name": "execute Properties",
123     "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",
124     "comments": "",
125     "outputs": 1,
126     "x": 702.2592964172363,
127     "y": 341.6641273498535,
128     "z": "886e5ee7.da286",
129     "wires": [
130       []
131     ]
132   },
133   {
134     "id": "b6393afd.3cacd8",
135     "type": "execute",
136     "name": "generate allotted-resource tmp.ar-url",
137     "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",
138     "comments": "",
139     "outputs": 1,
140     "x": 749.2593536376953,
141     "y": 429.6641311645508,
142     "z": "886e5ee7.da286",
143     "wires": [
144       []
145     ]
146   },
147   {
148     "id": "611b176c.616988",
149     "type": "comment",
150     "name": "GET connection-attachment-allotted-resource from mdsal",
151     "info": "",
152     "comments": "",
153     "x": 795.8122863769531,
154     "y": 560.5425653457642,
155     "z": "886e5ee7.da286",
156     "wires": []
157   },
158   {
159     "id": "eec7a472.d0ac68",
160     "type": "comment",
161     "name": "Used for setting output to API Handler",
162     "info": "",
163     "comments": "",
164     "x": 749.9974365234375,
165     "y": 220.997407913208,
166     "z": "886e5ee7.da286",
167     "wires": []
168   },
169   {
170     "id": "5ba07193.a939c",
171     "type": "comment",
172     "name": "Obtain different URL, template location etc",
173     "info": "For saving resource information to MDSAL & for AAI",
174     "comments": "",
175     "x": 767.9974021911621,
176     "y": 306.8862886428833,
177     "z": "886e5ee7.da286",
178     "wires": []
179   },
180   {
181     "id": "25108569.01c11a",
182     "type": "comment",
183     "name": "Used to Get AR by id to MDSAL, same as self-link",
184     "info": "",
185     "comments": "",
186     "x": 793.9974212646484,
187     "y": 393.8862476348877,
188     "z": "886e5ee7.da286",
189     "wires": []
190   },
191   {
192     "id": "5268ad10.1fbc94",
193     "type": "success",
194     "name": "success",
195     "xml": "<outcome value='success'>\n",
196     "comments": "",
197     "outputs": 1,
198     "x": 1255.6706981658936,
199     "y": 578.0038909912109,
200     "z": "886e5ee7.da286",
201     "wires": [
202       [
203         "1b9b3a1f.4ecdd6"
204       ]
205     ]
206   },
207   {
208     "id": "1b9b3a1f.4ecdd6",
209     "type": "block",
210     "name": "block: atomic",
211     "xml": "<block atomic=\"true\">\n",
212     "atomic": "false",
213     "comments": "",
214     "outputs": 1,
215     "x": 1399.6707763671875,
216     "y": 535.5038089752197,
217     "z": "886e5ee7.da286",
218     "wires": [
219       [
220         "b1843433.376208"
221       ]
222     ]
223   },
224   {
225     "id": "b1843433.376208",
226     "type": "switchNode",
227     "name": "switch cr length",
228     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
229     "comments": "",
230     "outputs": 1,
231     "x": 1568.5282001495361,
232     "y": 533.1229801177979,
233     "z": "886e5ee7.da286",
234     "wires": [
235       [
236         "72d20a43.d9be64",
237         "eb9d8f14.be82"
238       ]
239     ]
240   },
241   {
242     "id": "72d20a43.d9be64",
243     "type": "other",
244     "name": "outcome 1",
245     "xml": "<outcome value='1'>\n",
246     "comments": "",
247     "outputs": 1,
248     "x": 1723.8613357543945,
249     "y": 505.1228952407837,
250     "z": "886e5ee7.da286",
251     "wires": [
252       [
253         "bb2299d5.286418"
254       ]
255     ]
256   },
257   {
258     "id": "bb2299d5.286418",
259     "type": "block",
260     "name": "block: atomic",
261     "xml": "<block atomic='true'>\n",
262     "atomic": "false",
263     "comments": "",
264     "outputs": 1,
265     "x": 1882.385139465332,
266     "y": 503.02774238586426,
267     "z": "886e5ee7.da286",
268     "wires": [
269       [
270         "5775f1db.84903",
271         "246f7da0.0df1c2",
272         "af0aec90.73323"
273       ]
274     ]
275   },
276   {
277     "id": "5facd3b6.9153ec",
278     "type": "returnFailure",
279     "name": "return failure",
280     "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: Connection attachment resource not exist\" />\n    \n",
281     "comments": "",
282     "x": 1822.5230712890625,
283     "y": 610.0699768066406,
284     "z": "886e5ee7.da286",
285     "wires": []
286   },
287   {
288     "id": "ffb50ed4.11c7e",
289     "type": "other",
290     "name": "other",
291     "xml": "<outcome value='Other'>\n",
292     "comments": "",
293     "outputs": 1,
294     "x": 1247.5225009918213,
295     "y": 613.0699758529663,
296     "z": "886e5ee7.da286",
297     "wires": [
298       [
299         "8996743b.6d4188"
300       ]
301     ]
302   },
303   {
304     "id": "8996743b.6d4188",
305     "type": "block",
306     "name": "block: atomic",
307     "xml": "<block atomic=\"true\">\n",
308     "atomic": "false",
309     "comments": "",
310     "outputs": 1,
311     "x": 1427.5224514007568,
312     "y": 613.7365264892578,
313     "z": "886e5ee7.da286",
314     "wires": [
315       [
316         "5facd3b6.9153ec"
317       ]
318     ]
319   },
320   {
321     "id": "eb9d8f14.be82",
322     "type": "other",
323     "name": "other",
324     "xml": "<outcome value='Other'>\n",
325     "comments": "",
326     "outputs": 1,
327     "x": 1715.189338684082,
328     "y": 564.4032697677612,
329     "z": "886e5ee7.da286",
330     "wires": [
331       [
332         "5facd3b6.9153ec"
333       ]
334     ]
335   },
336   {
337     "id": "5775f1db.84903",
338     "type": "set",
339     "name": "set connection-attachment-ar from get",
340     "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
341     "comments": "",
342     "x": 2129.4485931396484,
343     "y": 476.00399446487427,
344     "z": "886e5ee7.da286",
345     "wires": []
346   },
347   {
348     "id": "af0aec90.73323",
349     "type": "set",
350     "name": "set oper-status",
351     "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",
352     "comments": "",
353     "x": 2063.4486236572266,
354     "y": 549.4324970245361,
355     "z": "886e5ee7.da286",
356     "wires": []
357   },
358   {
359     "id": "246f7da0.0df1c2",
360     "type": "switchNode",
361     "name": "switch order-status",
362     "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
363     "comments": "",
364     "outputs": 1,
365     "x": 2073.448402404785,
366     "y": 515.0039310455322,
367     "z": "886e5ee7.da286",
368     "wires": [
369       [
370         "9948e837.465828",
371         "ac517970.6daf78"
372       ]
373     ]
374   },
375   {
376     "id": "9948e837.465828",
377     "type": "outcome",
378     "name": "outcome Created",
379     "xml": "<outcome value='Created'>\n",
380     "comments": "",
381     "outputs": 1,
382     "x": 2309.048484802246,
383     "y": 509.0039620399475,
384     "z": "886e5ee7.da286",
385     "wires": [
386       [
387         "d4094486.c3a6e8"
388       ]
389     ]
390   },
391   {
392     "id": "ac517970.6daf78",
393     "type": "outcome",
394     "name": "outcome Other",
395     "xml": "<outcome value='Other'>\n",
396     "comments": "",
397     "outputs": 1,
398     "x": 2302.762924194336,
399     "y": 548.4325699806213,
400     "z": "886e5ee7.da286",
401     "wires": [
402       [
403         "757a486d.390608"
404       ]
405     ]
406   },
407   {
408     "id": "d4094486.c3a6e8",
409     "type": "block",
410     "name": "block",
411     "xml": "<block>\n",
412     "atomic": "false",
413     "comments": "",
414     "outputs": 1,
415     "x": 2467.519157409668,
416     "y": 509.37961769104004,
417     "z": "886e5ee7.da286",
418     "wires": [
419       []
420     ]
421   },
422   {
423     "id": "757a486d.390608",
424     "type": "returnFailure",
425     "name": "return failure",
426     "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",
427     "comments": "",
428     "x": 2478.670738220215,
429     "y": 547.0039691925049,
430     "z": "886e5ee7.da286",
431     "wires": []
432   },
433   {
434     "id": "d09e7753.a74cd8",
435     "type": "call",
436     "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
437     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
438     "comments": "",
439     "outputs": 1,
440     "x": 966.306957244873,
441     "y": 660.4975109100342,
442     "z": "886e5ee7.da286",
443     "wires": [
444       []
445     ]
446   },
447   {
448     "id": "42a877ee.39df08",
449     "type": "block",
450     "name": "block: atomic",
451     "xml": "<block atomic=\"true\">\n",
452     "atomic": "false",
453     "comments": "",
454     "outputs": 1,
455     "x": 660.3130569458008,
456     "y": 661.5038814544678,
457     "z": "886e5ee7.da286",
458     "wires": [
459       [
460         "d09e7753.a74cd8"
461       ]
462     ]
463   },
464   {
465     "id": "e91124de.b8d7d8",
466     "type": "comment",
467     "name": "GET parent-service-data from mdsal to check existence of other End point",
468     "info": "",
469     "comments": "",
470     "x": 848.00439453125,
471     "y": 706.5356588363647,
472     "z": "886e5ee7.da286",
473     "wires": []
474   },
475   {
476     "id": "cfe58f57.1b13e",
477     "type": "for",
478     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
479     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
480     "comments": "",
481     "outputs": 1,
482     "x": 1739.1891021728516,
483     "y": 859.0081362724304,
484     "z": "886e5ee7.da286",
485     "wires": [
486       [
487         "b90499b4.5bff18"
488       ]
489     ]
490   },
491   {
492     "id": "81c5733e.5f25d",
493     "type": "switchNode",
494     "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
495     "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
496     "comments": "",
497     "outputs": 1,
498     "x": 823.1881256103516,
499     "y": 966.7221727371216,
500     "z": "886e5ee7.da286",
501     "wires": [
502       [
503         "2b5852f4.1574ce",
504         "8b23ecf0.b4c98",
505         "2dc5a41e.bad62c"
506       ]
507     ]
508   },
509   {
510     "id": "2b5852f4.1574ce",
511     "type": "other",
512     "name": "other",
513     "xml": "<outcome value='Other'>\n",
514     "comments": "",
515     "outputs": 1,
516     "x": 1151.3311462402344,
517     "y": 1039.5794467926025,
518     "z": "886e5ee7.da286",
519     "wires": [
520       [
521         "4362d0c4.f5cb7"
522       ]
523     ]
524   },
525   {
526     "id": "3bb83710.9a5ab8",
527     "type": "block",
528     "name": "block : atomic",
529     "xml": "<block atomic=\"true\">",
530     "atomic": "true",
531     "outputs": 1,
532     "x": 1335.458408355713,
533     "y": 898.7054557800293,
534     "z": "886e5ee7.da286",
535     "wires": [
536       [
537         "cfe58f57.1b13e",
538         "44aafa72.840b94"
539       ]
540     ]
541   },
542   {
543     "id": "b90499b4.5bff18",
544     "type": "switchNode",
545     "name": "switch allotted-resource-id",
546     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
547     "comments": "",
548     "outputs": 1,
549     "x": 2179.3004302978516,
550     "y": 856.0079383850098,
551     "z": "886e5ee7.da286",
552     "wires": [
553       [
554         "d9f6094c.60f3c8",
555         "cb859d5.2b35e6"
556       ]
557     ]
558   },
559   {
560     "id": "d9f6094c.60f3c8",
561     "type": "outcomeTrue",
562     "name": "true",
563     "xml": "<outcome value='true'>\n",
564     "comments": "",
565     "outputs": 1,
566     "x": 2352.1106452941895,
567     "y": 827.4725532531738,
568     "z": "886e5ee7.da286",
569     "wires": [
570       [
571         "8ae27c1b.bd8dc"
572       ]
573     ]
574   },
575   {
576     "id": "303a5029.c6676",
577     "type": "block",
578     "name": "block : atomic",
579     "xml": "<block atomic=\"true\">",
580     "atomic": "true",
581     "outputs": 1,
582     "x": 2500.8711166381836,
583     "y": 884.3296403884888,
584     "z": "886e5ee7.da286",
585     "wires": [
586       [
587         "da88cefe.fe269"
588       ]
589     ]
590   },
591   {
592     "id": "da88cefe.fe269",
593     "type": "set",
594     "name": "set tmp.pidx and ptx.consumed-ar",
595     "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
596     "comments": "",
597     "x": 2735.728542327881,
598     "y": 882.9011726379395,
599     "z": "886e5ee7.da286",
600     "wires": []
601   },
602   {
603     "id": "eb542676.9f39a8",
604     "type": "comment",
605     "name": "Check existence of other AR in parent service data",
606     "info": "Check if other allotted resource is available.",
607     "comments": "",
608     "x": 770.9665641784668,
609     "y": 871.8968677520752,
610     "z": "886e5ee7.da286",
611     "wires": []
612   },
613   {
614     "id": "8b23ecf0.b4c98",
615     "type": "other",
616     "name": "outcome 1",
617     "xml": "<outcome value='1'>\n",
618     "comments": "",
619     "outputs": 1,
620     "x": 1165.9836158752441,
621     "y": 978.6811304092407,
622     "z": "886e5ee7.da286",
623     "wires": [
624       [
625         "eb826fe2.5c753"
626       ]
627     ]
628   },
629   {
630     "id": "4362d0c4.f5cb7",
631     "type": "returnFailure",
632     "name": "return failure",
633     "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: End points not available\" />\n    \n",
634     "comments": "",
635     "x": 1310.9834938049316,
636     "y": 1038.68137550354,
637     "z": "886e5ee7.da286",
638     "wires": []
639   },
640   {
641     "id": "2dc5a41e.bad62c",
642     "type": "other",
643     "name": "outcome 2",
644     "xml": "<outcome value='2'>\n",
645     "comments": "",
646     "outputs": 1,
647     "x": 1160.9834289550781,
648     "y": 899.6811561584473,
649     "z": "886e5ee7.da286",
650     "wires": [
651       [
652         "3bb83710.9a5ab8"
653       ]
654     ]
655   },
656   {
657     "id": "8ae27c1b.bd8dc",
658     "type": "block",
659     "name": "block",
660     "xml": "<block>\n",
661     "atomic": "false",
662     "comments": "",
663     "outputs": 1,
664     "x": 2510.0948600769043,
665     "y": 826.6812963485718,
666     "z": "886e5ee7.da286",
667     "wires": [
668       []
669     ]
670   },
671   {
672     "id": "cb859d5.2b35e6",
673     "type": "outcomeTrue",
674     "name": "false",
675     "xml": "<outcome value='false'>\n",
676     "comments": "",
677     "outputs": 1,
678     "x": 2359.0945014953613,
679     "y": 883.6811561584473,
680     "z": "886e5ee7.da286",
681     "wires": [
682       [
683         "303a5029.c6676"
684       ]
685     ]
686   },
687   {
688     "id": "44aafa72.840b94",
689     "type": "switchNode",
690     "name": "switch tmp.found-in-ar",
691     "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
692     "comments": "",
693     "outputs": 1,
694     "x": 1547.9834060668945,
695     "y": 952.4589738845825,
696     "z": "886e5ee7.da286",
697     "wires": [
698       [
699         "753da27d.40afec"
700       ]
701     ]
702   },
703   {
704     "id": "753da27d.40afec",
705     "type": "outcomeTrue",
706     "name": "true",
707     "xml": "<outcome value='true'>\n",
708     "comments": "",
709     "outputs": 1,
710     "x": 1718.98344039917,
711     "y": 953.5701951980591,
712     "z": "886e5ee7.da286",
713     "wires": [
714       [
715         "15dd4c54.90cd64"
716       ]
717     ]
718   },
719   {
720     "id": "15dd4c54.90cd64",
721     "type": "block",
722     "name": "block : atomic",
723     "xml": "<block atomic=\"true\">",
724     "atomic": "true",
725     "outputs": 1,
726     "x": 1867.9835357666016,
727     "y": 953.5701942443848,
728     "z": "886e5ee7.da286",
729     "wires": [
730       [
731         "2865c930.441376",
732         "36209682.cdfdca"
733       ]
734     ]
735   },
736   {
737     "id": "2877490b.8d1876",
738     "type": "success",
739     "name": "success",
740     "xml": "<outcome value='success'>\n",
741     "comments": "",
742     "outputs": 1,
743     "x": 2614.101360321045,
744     "y": 969.7990484237671,
745     "z": "886e5ee7.da286",
746     "wires": [
747       [
748         "2c4d90a6.77e83"
749       ]
750     ]
751   },
752   {
753     "id": "bf4a739d.0a26c",
754     "type": "other",
755     "name": "other",
756     "xml": "<outcome value='Other'>\n",
757     "comments": "",
758     "outputs": 1,
759     "x": 2605.9531631469727,
760     "y": 1004.8651332855225,
761     "z": "886e5ee7.da286",
762     "wires": [
763       [
764         "7b79fb1a.832b54"
765       ]
766     ]
767   },
768   {
769     "id": "24a003e8.d381ac",
770     "type": "switchNode",
771     "name": "switch mdsal-psd.service-data.networks_length",
772     "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
773     "comments": "",
774     "outputs": 1,
775     "x": 1611.316909790039,
776     "y": 1053.903814315796,
777     "z": "886e5ee7.da286",
778     "wires": [
779       [
780         "1aeaa906.662367",
781         "d808e760.0f46c8"
782       ]
783     ]
784   },
785   {
786     "id": "d808e760.0f46c8",
787     "type": "other",
788     "name": "outcome 1",
789     "xml": "<outcome value='1'>\n",
790     "comments": "",
791     "outputs": 1,
792     "x": 1875.3167572021484,
793     "y": 1033.7925605773926,
794     "z": "886e5ee7.da286",
795     "wires": [
796       [
797         "e18d77e0.ca5578"
798       ]
799     ]
800   },
801   {
802     "id": "1aeaa906.662367",
803     "type": "other",
804     "name": "other",
805     "xml": "<outcome value='Other'>\n",
806     "comments": "",
807     "outputs": 1,
808     "x": 1865.3168182373047,
809     "y": 1081.792531967163,
810     "z": "886e5ee7.da286",
811     "wires": [
812       [
813         "d8d07b23.4c08f8"
814       ]
815     ]
816   },
817   {
818     "id": "d8d07b23.4c08f8",
819     "type": "returnFailure",
820     "name": "return failure",
821     "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: Incorrect state found more then 1 network\" />\n    \n",
822     "comments": "",
823     "x": 2003.9691619873047,
824     "y": 1083.894292831421,
825     "z": "886e5ee7.da286",
826     "wires": []
827   },
828   {
829     "id": "3516f8ea.4360d8",
830     "type": "set",
831     "name": "set tmp.network.",
832     "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
833     "comments": "",
834     "x": 2236.761615753174,
835     "y": 1034.792730331421,
836     "z": "886e5ee7.da286",
837     "wires": []
838   },
839   {
840     "id": "eb826fe2.5c753",
841     "type": "block",
842     "name": "block : atomic",
843     "xml": "<block atomic=\"true\">",
844     "atomic": "true",
845     "outputs": 1,
846     "x": 1333.4279251098633,
847     "y": 977.7923974990845,
848     "z": "886e5ee7.da286",
849     "wires": [
850       [
851         "24a003e8.d381ac"
852       ]
853     ]
854   },
855   {
856     "id": "e18d77e0.ca5578",
857     "type": "block",
858     "name": "block : atomic",
859     "xml": "<block atomic=\"true\">",
860     "atomic": "true",
861     "outputs": 1,
862     "x": 2034.0945281982422,
863     "y": 1036.7923946380615,
864     "z": "886e5ee7.da286",
865     "wires": [
866       [
867         "3516f8ea.4360d8",
868         "fa997652.5fc978"
869       ]
870     ]
871   },
872   {
873     "id": "fa997652.5fc978",
874     "type": "for",
875     "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
876     "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
877     "comments": "",
878     "outputs": 1,
879     "x": 2397.094566345215,
880     "y": 1082.7925491333008,
881     "z": "886e5ee7.da286",
882     "wires": [
883       [
884         "f89cda47.d902a8"
885       ]
886     ]
887   },
888   {
889     "id": "f89cda47.d902a8",
890     "type": "block",
891     "name": "block",
892     "xml": "<block>\n",
893     "atomic": "false",
894     "comments": "",
895     "outputs": 1,
896     "x": 2443.650634765625,
897     "y": 1313.7923583984375,
898     "z": "886e5ee7.da286",
899     "wires": [
900       [
901         "eff80839.760f28",
902         "81242a80.6995e8",
903         "a9774cfd.8e266",
904         "1742a4f9.42112b",
905         "e032978.6936268",
906         "b04f73ae.32d85",
907         "3f331e86.57efa2",
908         "d4d17449.0a3768",
909         "b369fa7c.e07e38",
910         "642263f7.dd00fc"
911       ]
912     ]
913   },
914   {
915     "id": "eff80839.760f28",
916     "type": "switchNode",
917     "name": "switch access-node-id",
918     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
919     "comments": "",
920     "outputs": 1,
921     "x": 2720.1608505249023,
922     "y": 1155.8031058311462,
923     "z": "886e5ee7.da286",
924     "wires": [
925       [
926         "3c2bf5ae.ea0f1a"
927       ]
928     ]
929   },
930   {
931     "id": "3c2bf5ae.ea0f1a",
932     "type": "outcomeTrue",
933     "name": "true",
934     "xml": "<outcome value='true'>\n",
935     "comments": "",
936     "outputs": 1,
937     "x": 2909.1604766845703,
938     "y": 1157.8029704093933,
939     "z": "886e5ee7.da286",
940     "wires": [
941       [
942         "ff19cd9d.b44a2"
943       ]
944     ]
945   },
946   {
947     "id": "ff19cd9d.b44a2",
948     "type": "set",
949     "name": "set tmp.found-in-network tmp.ep-available",
950     "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
951     "comments": "",
952     "x": 3162.1606521606445,
953     "y": 1157.4030165672302,
954     "z": "886e5ee7.da286",
955     "wires": []
956   },
957   {
958     "id": "81242a80.6995e8",
959     "type": "returnSuccess",
960     "name": "return success",
961     "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",
962     "comments": "",
963     "x": 2694.150302886963,
964     "y": 1529.7923970222473,
965     "z": "886e5ee7.da286",
966     "wires": []
967   },
968   {
969     "id": "295602b3.df648e",
970     "type": "switchNode",
971     "name": "switch tmp.ep-available",
972     "xml": "<switch test='`$tmp.ep-available`'>\n",
973     "comments": "",
974     "outputs": 1,
975     "x": 686.3167266845703,
976     "y": 1162.236707687378,
977     "z": "886e5ee7.da286",
978     "wires": [
979       [
980         "49e6bbf9.737be4",
981         "71f6c993.d973c8"
982       ]
983     ]
984   },
985   {
986     "id": "71f6c993.d973c8",
987     "type": "outcomeTrue",
988     "name": "true",
989     "xml": "<outcome value='true'>\n",
990     "comments": "",
991     "outputs": 1,
992     "x": 904.9834461212158,
993     "y": 1211.5700645446777,
994     "z": "886e5ee7.da286",
995     "wires": [
996       [
997         "71103f59.0e808"
998       ]
999     ]
1000   },
1001   {
1002     "id": "49e6bbf9.737be4",
1003     "type": "outcomeTrue",
1004     "name": "false",
1005     "xml": "<outcome value='false'>\n",
1006     "comments": "",
1007     "outputs": 1,
1008     "x": 909.8722476959229,
1009     "y": 1120.570125579834,
1010     "z": "886e5ee7.da286",
1011     "wires": [
1012       [
1013         "20d8c152.565e0e"
1014       ]
1015     ]
1016   },
1017   {
1018     "id": "20d8c152.565e0e",
1019     "type": "block",
1020     "name": "block",
1021     "xml": "<block>\n",
1022     "atomic": "false",
1023     "comments": "",
1024     "outputs": 1,
1025     "x": 1056.8722438812256,
1026     "y": 1122.4589385986328,
1027     "z": "886e5ee7.da286",
1028     "wires": [
1029       []
1030     ]
1031   },
1032   {
1033     "id": "71103f59.0e808",
1034     "type": "block",
1035     "name": "block : atomic",
1036     "xml": "<block atomic=\"true\">",
1037     "atomic": "true",
1038     "outputs": 1,
1039     "x": 1075.094533920288,
1040     "y": 1209.5700225830078,
1041     "z": "886e5ee7.da286",
1042     "wires": [
1043       [
1044         "44959453.f2ce1c",
1045         "8bc2c84.596c538",
1046         "431946d9.2130a8"
1047       ]
1048     ]
1049   },
1050   {
1051     "id": "44959453.f2ce1c",
1052     "type": "switchNode",
1053     "name": "switch tmp.found-in-ar",
1054     "xml": "<switch test='`$tmp.found-in-ar`'>\n",
1055     "comments": "",
1056     "outputs": 1,
1057     "x": 1301.2055473327637,
1058     "y": 1176.5700225830078,
1059     "z": "886e5ee7.da286",
1060     "wires": [
1061       [
1062         "37b8c945.c963b6",
1063         "bce04597.421bd8"
1064       ]
1065     ]
1066   },
1067   {
1068     "id": "37b8c945.c963b6",
1069     "type": "outcomeTrue",
1070     "name": "true",
1071     "xml": "<outcome value='true'>\n",
1072     "comments": "",
1073     "outputs": 1,
1074     "x": 1496.6499938964844,
1075     "y": 1154.570083618164,
1076     "z": "886e5ee7.da286",
1077     "wires": [
1078       [
1079         "2970ed54.87cac2"
1080       ]
1081     ]
1082   },
1083   {
1084     "id": "bce04597.421bd8",
1085     "type": "outcomeTrue",
1086     "name": "false",
1087     "xml": "<outcome value='false'>\n",
1088     "comments": "",
1089     "outputs": 1,
1090     "x": 1493.64990234375,
1091     "y": 1202.570068359375,
1092     "z": "886e5ee7.da286",
1093     "wires": [
1094       [
1095         "a5084037.7afaf"
1096       ]
1097     ]
1098   },
1099   {
1100     "id": "2970ed54.87cac2",
1101     "type": "block",
1102     "name": "block : atomic",
1103     "xml": "<block atomic=\"true\">",
1104     "atomic": "true",
1105     "outputs": 1,
1106     "x": 1684.2056579589844,
1107     "y": 1151.570083618164,
1108     "z": "886e5ee7.da286",
1109     "wires": [
1110       [
1111         "c697bcdd.29bcd"
1112       ]
1113     ]
1114   },
1115   {
1116     "id": "a5084037.7afaf",
1117     "type": "block",
1118     "name": "block : atomic",
1119     "xml": "<block atomic=\"true\">",
1120     "atomic": "true",
1121     "outputs": 1,
1122     "x": 1681.20556640625,
1123     "y": 1201.570068359375,
1124     "z": "886e5ee7.da286",
1125     "wires": [
1126       [
1127         "10ed7f5b.5c00f1"
1128       ]
1129     ]
1130   },
1131   {
1132     "id": "3b7ac17e.0f823e",
1133     "type": "comment",
1134     "name": "GET connection-attachment-ar to store AR data from mdsal",
1135     "info": "",
1136     "comments": "",
1137     "x": 2193.4767417907715,
1138     "y": 438.50785398483276,
1139     "z": "886e5ee7.da286",
1140     "wires": []
1141   },
1142   {
1143     "id": "71841c48.209304",
1144     "type": "comment",
1145     "name": "Set source end point",
1146     "info": "",
1147     "comments": "",
1148     "x": 682.9766387939453,
1149     "y": 527.2578740119934,
1150     "z": "886e5ee7.da286",
1151     "wires": []
1152   },
1153   {
1154     "id": "d3f500c4.1bfb3",
1155     "type": "set",
1156     "name": "set tmp.ar.parent-service-instance-id",
1157     "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",
1158     "comments": "",
1159     "x": 733.9727325439453,
1160     "y": 736.0039968490601,
1161     "z": "886e5ee7.da286",
1162     "wires": []
1163   },
1164   {
1165     "id": "7ecc4648.197a88",
1166     "type": "success",
1167     "name": "success",
1168     "xml": "<outcome value='success'>\n",
1169     "comments": "",
1170     "outputs": 1,
1171     "x": 1093.972885131836,
1172     "y": 807.0039834976196,
1173     "z": "886e5ee7.da286",
1174     "wires": [
1175       [
1176         "2393b2c8.86b16e"
1177       ]
1178     ]
1179   },
1180   {
1181     "id": "dfe397a0.b9ba28",
1182     "type": "other",
1183     "name": "other",
1184     "xml": "<outcome value='Other'>\n",
1185     "comments": "",
1186     "outputs": 1,
1187     "x": 1085.8246879577637,
1188     "y": 842.070068359375,
1189     "z": "886e5ee7.da286",
1190     "wires": [
1191       [
1192         "1a3d638c.318b9c"
1193       ]
1194     ]
1195   },
1196   {
1197     "id": "1a3d638c.318b9c",
1198     "type": "returnFailure",
1199     "name": "return failure",
1200     "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: Parent service data not available\" />\n    \n",
1201     "comments": "",
1202     "x": 1231.9734687805176,
1203     "y": 841.3374795913696,
1204     "z": "886e5ee7.da286",
1205     "wires": []
1206   },
1207   {
1208     "id": "2393b2c8.86b16e",
1209     "type": "block",
1210     "name": "block",
1211     "xml": "<block>\n",
1212     "atomic": "false",
1213     "comments": "",
1214     "outputs": 1,
1215     "x": 1224.9729804992676,
1216     "y": 807.0040445327759,
1217     "z": "886e5ee7.da286",
1218     "wires": [
1219       []
1220     ]
1221   },
1222   {
1223     "id": "7b79fb1a.832b54",
1224     "type": "returnFailure",
1225     "name": "return failure",
1226     "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 provided attachment resource not found\" />\n    \n",
1227     "comments": "",
1228     "x": 2755.973213195801,
1229     "y": 1005.00417137146,
1230     "z": "886e5ee7.da286",
1231     "wires": []
1232   },
1233   {
1234     "id": "2c4d90a6.77e83",
1235     "type": "block",
1236     "name": "block",
1237     "xml": "<block>\n",
1238     "atomic": "false",
1239     "comments": "",
1240     "outputs": 1,
1241     "x": 2740.9733352661133,
1242     "y": 972.0041561126709,
1243     "z": "886e5ee7.da286",
1244     "wires": [
1245       []
1246     ]
1247   },
1248   {
1249     "id": "aa223239.c5978",
1250     "type": "set",
1251     "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1252     "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
1253     "comments": "",
1254     "x": 819.9726715087891,
1255     "y": 909.0039710998535,
1256     "z": "886e5ee7.da286",
1257     "wires": []
1258   },
1259   {
1260     "id": "3eb9877e.29bda8",
1261     "type": "comment",
1262     "name": "If other EP exists set destination end point",
1263     "info": "Check if other allotted resource is available.",
1264     "comments": "",
1265     "x": 736.9726715087891,
1266     "y": 1087.0039196014404,
1267     "z": "886e5ee7.da286",
1268     "wires": []
1269   },
1270   {
1271     "id": "6bea5b5c.cc56a4",
1272     "type": "block",
1273     "name": "block",
1274     "xml": "<block>\n",
1275     "atomic": "false",
1276     "comments": "",
1277     "outputs": 1,
1278     "x": 1476.9727935791016,
1279     "y": 1414.0042009353638,
1280     "z": "886e5ee7.da286",
1281     "wires": [
1282       [
1283         "873a1eb1.c2b41",
1284         "ec2f2c59.85a72",
1285         "4344ccac.0cc2d4",
1286         "3e861847.acb138",
1287         "dbce043e.c1b088",
1288         "6cf22112.6f2ff",
1289         "447be204.cdf4fc",
1290         "3722b20a.c8338e"
1291       ]
1292     ]
1293   },
1294   {
1295     "id": "873a1eb1.c2b41",
1296     "type": "switchNode",
1297     "name": "switch access-node-id",
1298     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
1299     "comments": "",
1300     "outputs": 1,
1301     "x": 1719.4830951690674,
1302     "y": 1284.014597415924,
1303     "z": "886e5ee7.da286",
1304     "wires": [
1305       [
1306         "e78fa7d0.0dc8a8"
1307       ]
1308     ]
1309   },
1310   {
1311     "id": "ec2f2c59.85a72",
1312     "type": "returnSuccess",
1313     "name": "return success",
1314     "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",
1315     "comments": "",
1316     "x": 1692.4730472564697,
1317     "y": 1589.0045609474182,
1318     "z": "886e5ee7.da286",
1319     "wires": []
1320   },
1321   {
1322     "id": "4344ccac.0cc2d4",
1323     "type": "switchNode",
1324     "name": "switch access-ltp-id",
1325     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
1326     "comments": "",
1327     "outputs": 1,
1328     "x": 1710.9729251861572,
1329     "y": 1327.7821288108826,
1330     "z": "886e5ee7.da286",
1331     "wires": [
1332       [
1333         "e0447eeb.b4df4"
1334       ]
1335     ]
1336   },
1337   {
1338     "id": "3e861847.acb138",
1339     "type": "switchNode",
1340     "name": "switch clientSignal",
1341     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
1342     "comments": "",
1343     "outputs": 1,
1344     "x": 1704.9729633331299,
1345     "y": 1373.782175540924,
1346     "z": "886e5ee7.da286",
1347     "wires": [
1348       [
1349         "851a1f33.b90d6"
1350       ]
1351     ]
1352   },
1353   {
1354     "id": "dbce043e.c1b088",
1355     "type": "switchNode",
1356     "name": "switch cVLAN",
1357     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
1358     "comments": "",
1359     "outputs": 1,
1360     "x": 1688.9624652862549,
1361     "y": 1412.771677494049,
1362     "z": "886e5ee7.da286",
1363     "wires": [
1364       [
1365         "cde9b854.f3d7e8"
1366       ]
1367     ]
1368   },
1369   {
1370     "id": "e78fa7d0.0dc8a8",
1371     "type": "outcomeTrue",
1372     "name": "true",
1373     "xml": "<outcome value='true'>\n",
1374     "comments": "",
1375     "outputs": 1,
1376     "x": 1897.1950092315674,
1377     "y": 1284.6709694862366,
1378     "z": "886e5ee7.da286",
1379     "wires": [
1380       [
1381         "bfb532e5.03a1a"
1382       ]
1383     ]
1384   },
1385   {
1386     "id": "bfb532e5.03a1a",
1387     "type": "set",
1388     "name": "set dst-access-node-id",
1389     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1390     "comments": "",
1391     "x": 2072.1950092315674,
1392     "y": 1284.270944595337,
1393     "z": "886e5ee7.da286",
1394     "wires": []
1395   },
1396   {
1397     "id": "e0447eeb.b4df4",
1398     "type": "outcomeTrue",
1399     "name": "true",
1400     "xml": "<outcome value='true'>\n",
1401     "comments": "",
1402     "outputs": 1,
1403     "x": 1892.6848773956299,
1404     "y": 1327.438425540924,
1405     "z": "886e5ee7.da286",
1406     "wires": [
1407       [
1408         "b05efaae.c42928"
1409       ]
1410     ]
1411   },
1412   {
1413     "id": "851a1f33.b90d6",
1414     "type": "outcomeTrue",
1415     "name": "true",
1416     "xml": "<outcome value='true'>\n",
1417     "comments": "",
1418     "outputs": 1,
1419     "x": 1892.6848773956299,
1420     "y": 1373.438425540924,
1421     "z": "886e5ee7.da286",
1422     "wires": [
1423       [
1424         "24c05af2.8faa76"
1425       ]
1426     ]
1427   },
1428   {
1429     "id": "cde9b854.f3d7e8",
1430     "type": "outcomeTrue",
1431     "name": "true",
1432     "xml": "<outcome value='true'>\n",
1433     "comments": "",
1434     "outputs": 1,
1435     "x": 1892.6743793487549,
1436     "y": 1412.4280495643616,
1437     "z": "886e5ee7.da286",
1438     "wires": [
1439       [
1440         "27931eaa.157cb2"
1441       ]
1442     ]
1443   },
1444   {
1445     "id": "8bc2c84.596c538",
1446     "type": "for",
1447     "name": "for idx..tmp.ep.parameters[]",
1448     "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
1449     "comments": "",
1450     "outputs": 1,
1451     "x": 1329.97265625,
1452     "y": 1302.00390625,
1453     "z": "886e5ee7.da286",
1454     "wires": [
1455       [
1456         "6bea5b5c.cc56a4"
1457       ]
1458     ]
1459   },
1460   {
1461     "id": "c697bcdd.29bcd",
1462     "type": "set",
1463     "name": "set tmp.ep.parameters",
1464     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
1465     "comments": "",
1466     "x": 1895.9727115631104,
1467     "y": 1151.0039806365967,
1468     "z": "886e5ee7.da286",
1469     "wires": []
1470   },
1471   {
1472     "id": "10ed7f5b.5c00f1",
1473     "type": "set",
1474     "name": "set tmp.ep.parameters",
1475     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
1476     "comments": "",
1477     "x": 1892.972620010376,
1478     "y": 1197.0039653778076,
1479     "z": "886e5ee7.da286",
1480     "wires": []
1481   },
1482   {
1483     "id": "b05efaae.c42928",
1484     "type": "set",
1485     "name": "set dst-access-node-id",
1486     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1487     "comments": "",
1488     "x": 2069.9728412628174,
1489     "y": 1327.0042214393616,
1490     "z": "886e5ee7.da286",
1491     "wires": []
1492   },
1493   {
1494     "id": "24c05af2.8faa76",
1495     "type": "set",
1496     "name": "set dst-clientSignal",
1497     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
1498     "comments": "",
1499     "x": 2063.9728412628174,
1500     "y": 1371.0042214393616,
1501     "z": "886e5ee7.da286",
1502     "wires": []
1503   },
1504   {
1505     "id": "27931eaa.157cb2",
1506     "type": "set",
1507     "name": "set dst-cVLAN",
1508     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
1509     "comments": "",
1510     "x": 2054.9728412628174,
1511     "y": 1410.0042214393616,
1512     "z": "886e5ee7.da286",
1513     "wires": []
1514   },
1515   {
1516     "id": "1eb5604c.140ea",
1517     "type": "comment",
1518     "name": "Get controller info and send request",
1519     "info": "",
1520     "comments": "",
1521     "x": 1936.972713470459,
1522     "y": 1881.004059791565,
1523     "z": "886e5ee7.da286",
1524     "wires": []
1525   },
1526   {
1527     "id": "4c07dee.6ce442",
1528     "type": "execute",
1529     "name": "execute RestApiCallNode Create ethernet Service",
1530     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + 'restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\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`\" />",
1531     "comments": "",
1532     "outputs": 1,
1533     "x": 1989.97314453125,
1534     "y": 2024.0048599243164,
1535     "z": "886e5ee7.da286",
1536     "wires": [
1537       [
1538         "ebb13c18.63d5b",
1539         "27ef146.5170fec"
1540       ]
1541     ]
1542   },
1543   {
1544     "id": "ebb13c18.63d5b",
1545     "type": "success",
1546     "name": "success",
1547     "xml": "<outcome value='success'>\n",
1548     "comments": "",
1549     "outputs": 1,
1550     "x": 2255.972869873047,
1551     "y": 2053.004982948303,
1552     "z": "886e5ee7.da286",
1553     "wires": [
1554       [
1555         "3abdd3d8.70de3c"
1556       ]
1557     ]
1558   },
1559   {
1560     "id": "3abdd3d8.70de3c",
1561     "type": "block",
1562     "name": "block : atomic",
1563     "xml": "<block atomic=\"true\">",
1564     "atomic": "true",
1565     "comments": "",
1566     "outputs": 1,
1567     "x": 2403.972869873047,
1568     "y": 2051.0048608779907,
1569     "z": "886e5ee7.da286",
1570     "wires": [
1571       []
1572     ]
1573   },
1574   {
1575     "id": "252b7082.c5a2b",
1576     "type": "returnFailure",
1577     "name": "return failure",
1578     "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",
1579     "comments": "",
1580     "x": 2385.972900390625,
1581     "y": 1998.0049209594727,
1582     "z": "886e5ee7.da286",
1583     "wires": []
1584   },
1585   {
1586     "id": "27ef146.5170fec",
1587     "type": "failure",
1588     "name": "failure",
1589     "xml": "<outcome value='failure'>\n",
1590     "comments": "",
1591     "outputs": 1,
1592     "x": 2246.9728088378906,
1593     "y": 1998.0049209594727,
1594     "z": "886e5ee7.da286",
1595     "wires": [
1596       [
1597         "252b7082.c5a2b"
1598       ]
1599     ]
1600   },
1601   {
1602     "id": "b6a98854.3d7a58",
1603     "type": "failure",
1604     "name": "failure",
1605     "xml": "<outcome value='failure'>\n",
1606     "comments": "",
1607     "outputs": 1,
1608     "x": 908.7350807189941,
1609     "y": 2104.9576148986816,
1610     "z": "886e5ee7.da286",
1611     "wires": [
1612       [
1613         "35924502.aff77a"
1614       ]
1615     ]
1616   },
1617   {
1618     "id": "35924502.aff77a",
1619     "type": "returnFailure",
1620     "name": "return failure",
1621     "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",
1622     "comments": "",
1623     "x": 1075.2589015960693,
1624     "y": 2131.5766220092773,
1625     "z": "886e5ee7.da286",
1626     "wires": []
1627   },
1628   {
1629     "id": "89209832.9697d8",
1630     "type": "failure",
1631     "name": "not-found",
1632     "xml": "<outcome value='not-found'>\n",
1633     "comments": "",
1634     "outputs": 1,
1635     "x": 910.8303089141846,
1636     "y": 2152.719457626343,
1637     "z": "886e5ee7.da286",
1638     "wires": [
1639       [
1640         "35924502.aff77a"
1641       ]
1642     ]
1643   },
1644   {
1645     "id": "48f4ae61.b756e",
1646     "type": "comment",
1647     "name": "Save Resource to AAI",
1648     "info": "",
1649     "comments": "",
1650     "x": 682.7827243804932,
1651     "y": 2093.3067779541016,
1652     "z": "886e5ee7.da286",
1653     "wires": []
1654   },
1655   {
1656     "id": "e1d773b9.aec52",
1657     "type": "set",
1658     "name": "set output to api handler",
1659     "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",
1660     "comments": "",
1661     "x": 697.5504207611084,
1662     "y": 2014.8322591781616,
1663     "z": "886e5ee7.da286",
1664     "wires": []
1665   },
1666   {
1667     "id": "5e07c169.5398c",
1668     "type": "returnSuccess",
1669     "name": "return success",
1670     "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",
1671     "comments": "",
1672     "x": 657.9635925292969,
1673     "y": 2200.4480476379395,
1674     "z": "886e5ee7.da286",
1675     "wires": []
1676   },
1677   {
1678     "id": "eba0b0a5.90799",
1679     "type": "execute",
1680     "name": "execute RestApiCallNode - PUT AR by id",
1681     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-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",
1682     "comments": "",
1683     "outputs": 1,
1684     "x": 750.2825031280518,
1685     "y": 1939.4731121063232,
1686     "z": "886e5ee7.da286",
1687     "wires": [
1688       [
1689         "88c5e9d5.563c18",
1690         "ade401d9.d9d7d",
1691         "c5f54133.a8e19"
1692       ]
1693     ]
1694   },
1695   {
1696     "id": "88c5e9d5.563c18",
1697     "type": "not-found",
1698     "name": "not-found",
1699     "xml": "<outcome value='not-found'>\n",
1700     "comments": "",
1701     "outputs": 1,
1702     "x": 1004.9239253997803,
1703     "y": 1983.8045063018799,
1704     "z": "886e5ee7.da286",
1705     "wires": [
1706       [
1707         "effa0e45.a8e79"
1708       ]
1709     ]
1710   },
1711   {
1712     "id": "ade401d9.d9d7d",
1713     "type": "failure",
1714     "name": "failure",
1715     "xml": "<outcome value='failure'>\n",
1716     "comments": "",
1717     "outputs": 1,
1718     "x": 1006.9239482879639,
1719     "y": 1942.3044704422355,
1720     "z": "886e5ee7.da286",
1721     "wires": [
1722       [
1723         "effa0e45.a8e79"
1724       ]
1725     ]
1726   },
1727   {
1728     "id": "c5f54133.a8e19",
1729     "type": "success",
1730     "name": "success",
1731     "xml": "<outcome value='success'>\n",
1732     "comments": "",
1733     "outputs": 1,
1734     "x": 1010.6740322113037,
1735     "y": 1893.6616230010986,
1736     "z": "886e5ee7.da286",
1737     "wires": [
1738       [
1739         "f45f0673.a366c8"
1740       ]
1741     ]
1742   },
1743   {
1744     "id": "effa0e45.a8e79",
1745     "type": "returnFailure",
1746     "name": "return failure",
1747     "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",
1748     "comments": "",
1749     "x": 1165.67405128479,
1750     "y": 1962.054536819458,
1751     "z": "886e5ee7.da286",
1752     "wires": []
1753   },
1754   {
1755     "id": "f45f0673.a366c8",
1756     "type": "block",
1757     "name": "block",
1758     "xml": "<block>\n",
1759     "atomic": "false",
1760     "comments": "",
1761     "outputs": 1,
1762     "x": 1138.3299770355225,
1763     "y": 1895.8537912368774,
1764     "z": "886e5ee7.da286",
1765     "wires": [
1766       []
1767     ]
1768   },
1769   {
1770     "id": "6a3ffb44.1e9004",
1771     "type": "set",
1772     "name": "set ar-data",
1773     "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<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
1774     "comments": "",
1775     "x": 652.4961185455322,
1776     "y": 1773.8540132045746,
1777     "z": "886e5ee7.da286",
1778     "wires": []
1779   },
1780   {
1781     "id": "1605273a.149319",
1782     "type": "execute",
1783     "name": "execute getTime",
1784     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1785     "comments": "",
1786     "outputs": 1,
1787     "x": 669.78196144104,
1788     "y": 1846.4736108779907,
1789     "z": "886e5ee7.da286",
1790     "wires": [
1791       []
1792     ]
1793   },
1794   {
1795     "id": "93c61c2f.6bcfd",
1796     "type": "set",
1797     "name": "set allotted-resource-oper-status",
1798     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\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",
1799     "comments": "",
1800     "x": 719.7690410614014,
1801     "y": 1883.4246912002563,
1802     "z": "886e5ee7.da286",
1803     "wires": []
1804   },
1805   {
1806     "id": "6bb92832.c7ba68",
1807     "type": "set",
1808     "name": "set model-data",
1809     "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.` \" />",
1810     "comments": "",
1811     "x": 666.3376598358154,
1812     "y": 1813.028663635254,
1813     "z": "886e5ee7.da286",
1814     "wires": []
1815   },
1816   {
1817     "id": "4d71f89f.b7cd18",
1818     "type": "comment",
1819     "name": "Prepare data for allotted-resource addition to MDSAL",
1820     "info": "This will add to allotted-resource which is present inside service.",
1821     "comments": "",
1822     "x": 779.67112159729,
1823     "y": 1734.0286157131195,
1824     "z": "886e5ee7.da286",
1825     "wires": []
1826   },
1827   {
1828     "id": "5c1a3e33.04e12",
1829     "type": "comment",
1830     "name": "Add to allotted-resources in mdsal",
1831     "info": "",
1832     "comments": "",
1833     "x": 721.2509479522705,
1834     "y": 1701.4419174194336,
1835     "z": "886e5ee7.da286",
1836     "wires": []
1837   },
1838   {
1839     "id": "8f7266fc.c45038",
1840     "type": "update",
1841     "name": "update AAI allotted-resource",
1842     "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=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\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=\"Active\" />\n",
1843     "comments": "",
1844     "outputs": 1,
1845     "x": 709.2270030975342,
1846     "y": 2130.7589206695557,
1847     "z": "886e5ee7.da286",
1848     "wires": [
1849       [
1850         "b6a98854.3d7a58",
1851         "89209832.9697d8"
1852       ]
1853     ]
1854   },
1855   {
1856     "id": "f51b8e7a.4294a",
1857     "type": "execute",
1858     "name": "execute RestApiCallNode getPath from OOF",
1859     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\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`\" />",
1860     "comments": "",
1861     "outputs": 1,
1862     "x": 1517.976963043213,
1863     "y": 1693.2585725784302,
1864     "z": "886e5ee7.da286",
1865     "wires": [
1866       [
1867         "475ee246.c4d58c",
1868         "951a0e07.b45a7"
1869       ]
1870     ]
1871   },
1872   {
1873     "id": "475ee246.c4d58c",
1874     "type": "success",
1875     "name": "success",
1876     "xml": "<outcome value='success'>\n",
1877     "comments": "",
1878     "outputs": 1,
1879     "x": 1757.9771041870117,
1880     "y": 1717.258542060852,
1881     "z": "886e5ee7.da286",
1882     "wires": [
1883       [
1884         "2cebb233.b139be"
1885       ]
1886     ]
1887   },
1888   {
1889     "id": "dfc21d27.a29bd",
1890     "type": "returnFailure",
1891     "name": "return failure",
1892     "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 OOF api\" />\n",
1893     "comments": "",
1894     "x": 1896.977138519287,
1895     "y": 1666.2586336135864,
1896     "z": "886e5ee7.da286",
1897     "wires": []
1898   },
1899   {
1900     "id": "951a0e07.b45a7",
1901     "type": "failure",
1902     "name": "failure",
1903     "xml": "<outcome value='failure'>\n",
1904     "comments": "",
1905     "outputs": 1,
1906     "x": 1756.9768905639648,
1907     "y": 1666.258632659912,
1908     "z": "886e5ee7.da286",
1909     "wires": [
1910       [
1911         "dfc21d27.a29bd"
1912       ]
1913     ]
1914   },
1915   {
1916     "id": "d7025fc8.34b0f",
1917     "type": "comment",
1918     "name": "Get VPNs from OOF",
1919     "info": "",
1920     "comments": "",
1921     "x": 1503.980884552002,
1922     "y": 1660.2625722885132,
1923     "z": "886e5ee7.da286",
1924     "wires": []
1925   },
1926   {
1927     "id": "7306bfe1.33065",
1928     "type": "for",
1929     "name": "for vidx..oof.vpns_length[]",
1930     "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1931     "comments": "",
1932     "outputs": 1,
1933     "x": 1470.9766845703125,
1934     "y": 1798.50830078125,
1935     "z": "886e5ee7.da286",
1936     "wires": [
1937       [
1938         "3edaf3bd.0b304c"
1939       ]
1940     ]
1941   },
1942   {
1943     "id": "9a8b6203.49db4",
1944     "type": "comment",
1945     "name": "Loop through VPN and configure them",
1946     "info": "",
1947     "comments": "",
1948     "x": 1500.977138519287,
1949     "y": 1761.0086650848389,
1950     "z": "886e5ee7.da286",
1951     "wires": []
1952   },
1953   {
1954     "id": "a9774cfd.8e266",
1955     "type": "switchNode",
1956     "name": "switch name",
1957     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",
1958     "comments": "",
1959     "outputs": 1,
1960     "x": 2697.760986328125,
1961     "y": 1247.125732421875,
1962     "z": "886e5ee7.da286",
1963     "wires": [
1964       [
1965         "a313d119.ec211"
1966       ]
1967     ]
1968   },
1969   {
1970     "id": "a313d119.ec211",
1971     "type": "outcomeTrue",
1972     "name": "true",
1973     "xml": "<outcome value='true'>\n",
1974     "comments": "",
1975     "outputs": 1,
1976     "x": 2886.760955810547,
1977     "y": 1247.125717639923,
1978     "z": "886e5ee7.da286",
1979     "wires": [
1980       [
1981         "3a640881.1aa1d8"
1982       ]
1983     ]
1984   },
1985   {
1986     "id": "3a640881.1aa1d8",
1987     "type": "set",
1988     "name": "set etht-svc-name & bandwidth-profile-name",
1989     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
1990     "comments": "",
1991     "x": 3127.76127243042,
1992     "y": 1246.7257723808289,
1993     "z": "886e5ee7.da286",
1994     "wires": []
1995   },
1996   {
1997     "id": "1742a4f9.42112b",
1998     "type": "switchNode",
1999     "name": "switch description",
2000     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
2001     "comments": "",
2002     "outputs": 1,
2003     "x": 2710.6008644104004,
2004     "y": 1282.1258273124695,
2005     "z": "886e5ee7.da286",
2006     "wires": [
2007       [
2008         "26c6398e.ae40a6"
2009       ]
2010     ]
2011   },
2012   {
2013     "id": "26c6398e.ae40a6",
2014     "type": "outcomeTrue",
2015     "name": "true",
2016     "xml": "<outcome value='true'>\n",
2017     "comments": "",
2018     "outputs": 1,
2019     "x": 2885.600929260254,
2020     "y": 1284.1258130073547,
2021     "z": "886e5ee7.da286",
2022     "wires": [
2023       [
2024         "ec7ec9cc.624b18"
2025       ]
2026     ]
2027   },
2028   {
2029     "id": "ec7ec9cc.624b18",
2030     "type": "set",
2031     "name": "set etht-svc-descr",
2032     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2033     "comments": "",
2034     "x": 3041.9342460632324,
2035     "y": 1281.5868878364563,
2036     "z": "886e5ee7.da286",
2037     "wires": []
2038   },
2039   {
2040     "id": "e032978.6936268",
2041     "type": "switchNode",
2042     "name": "switch tenantId",
2043     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
2044     "comments": "",
2045     "outputs": 1,
2046     "x": 2705.983127593994,
2047     "y": 1315.4592175483704,
2048     "z": "886e5ee7.da286",
2049     "wires": [
2050       [
2051         "a0536f01.8cf66"
2052       ]
2053     ]
2054   },
2055   {
2056     "id": "a0536f01.8cf66",
2057     "type": "outcomeTrue",
2058     "name": "true",
2059     "xml": "<outcome value='true'>\n",
2060     "comments": "",
2061     "outputs": 1,
2062     "x": 2883.9831314086914,
2063     "y": 1319.4590954780579,
2064     "z": "886e5ee7.da286",
2065     "wires": [
2066       [
2067         "a1009c69.a8fed"
2068       ]
2069     ]
2070   },
2071   {
2072     "id": "a1009c69.a8fed",
2073     "type": "set",
2074     "name": "set tenantId",
2075     "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2076     "comments": "",
2077     "x": 3021.9833183288574,
2078     "y": 1316.0590710639954,
2079     "z": "886e5ee7.da286",
2080     "wires": []
2081   },
2082   {
2083     "id": "3f331e86.57efa2",
2084     "type": "switchNode",
2085     "name": "switch cir",
2086     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
2087     "comments": "",
2088     "outputs": 1,
2089     "x": 2688.822727203369,
2090     "y": 1388.4591727256775,
2091     "z": "886e5ee7.da286",
2092     "wires": [
2093       [
2094         "937bdc12.dc2f3"
2095       ]
2096     ]
2097   },
2098   {
2099     "id": "937bdc12.dc2f3",
2100     "type": "outcomeTrue",
2101     "name": "true",
2102     "xml": "<outcome value='true'>\n",
2103     "comments": "",
2104     "outputs": 1,
2105     "x": 2883.8227920532227,
2106     "y": 1389.4591727256775,
2107     "z": "886e5ee7.da286",
2108     "wires": [
2109       [
2110         "5cef9c18.c1e3e4"
2111       ]
2112     ]
2113   },
2114   {
2115     "id": "5cef9c18.c1e3e4",
2116     "type": "set",
2117     "name": "set cir",
2118     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2119     "comments": "",
2120     "x": 3008.15629196167,
2121     "y": 1387.920247554779,
2122     "z": "886e5ee7.da286",
2123     "wires": []
2124   },
2125   {
2126     "id": "b04f73ae.32d85",
2127     "type": "switchNode",
2128     "name": "switch vpnType",
2129     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
2130     "comments": "",
2131     "outputs": 1,
2132     "x": 2703.131015777588,
2133     "y": 1351.236882686615,
2134     "z": "886e5ee7.da286",
2135     "wires": [
2136       [
2137         "56ebc42c.8ac03c"
2138       ]
2139     ]
2140   },
2141   {
2142     "id": "56ebc42c.8ac03c",
2143     "type": "outcomeTrue",
2144     "name": "true",
2145     "xml": "<outcome value='true'>\n",
2146     "comments": "",
2147     "outputs": 1,
2148     "x": 2885.131202697754,
2149     "y": 1354.236867427826,
2150     "z": "886e5ee7.da286",
2151     "wires": [
2152       [
2153         "74808c5.5744174"
2154       ]
2155     ]
2156   },
2157   {
2158     "id": "74808c5.5744174",
2159     "type": "set",
2160     "name": "set vpnType",
2161     "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2162     "comments": "",
2163     "x": 3021.464946746826,
2164     "y": 1350.6981091499329,
2165     "z": "886e5ee7.da286",
2166     "wires": []
2167   },
2168   {
2169     "id": "d4d17449.0a3768",
2170     "type": "switchNode",
2171     "name": "switch eir",
2172     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
2173     "comments": "",
2174     "outputs": 1,
2175     "x": 2684.1130714416504,
2176     "y": 1422.1570801734924,
2177     "z": "886e5ee7.da286",
2178     "wires": [
2179       [
2180         "f8a0cc6a.69a85"
2181       ]
2182     ]
2183   },
2184   {
2185     "id": "f8a0cc6a.69a85",
2186     "type": "outcomeTrue",
2187     "name": "true",
2188     "xml": "<outcome value='true'>\n",
2189     "comments": "",
2190     "outputs": 1,
2191     "x": 2884.1133193969727,
2192     "y": 1425.1570191383362,
2193     "z": "886e5ee7.da286",
2194     "wires": [
2195       [
2196         "f369a42b.d52e88"
2197       ]
2198     ]
2199   },
2200   {
2201     "id": "f369a42b.d52e88",
2202     "type": "set",
2203     "name": "set eir",
2204     "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2205     "comments": "",
2206     "x": 3007.4469413757324,
2207     "y": 1424.6180787086487,
2208     "z": "886e5ee7.da286",
2209     "wires": []
2210   },
2211   {
2212     "id": "b369fa7c.e07e38",
2213     "type": "switchNode",
2214     "name": "switch colorAware",
2215     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
2216     "comments": "",
2217     "outputs": 1,
2218     "x": 2709.113681793213,
2219     "y": 1456.1569590568542,
2220     "z": "886e5ee7.da286",
2221     "wires": [
2222       [
2223         "6206f9dc.040438"
2224       ]
2225     ]
2226   },
2227   {
2228     "id": "6206f9dc.040438",
2229     "type": "outcomeTrue",
2230     "name": "true",
2231     "xml": "<outcome value='true'>\n",
2232     "comments": "",
2233     "outputs": 1,
2234     "x": 2880.1135025024414,
2235     "y": 1462.1568975448608,
2236     "z": "886e5ee7.da286",
2237     "wires": [
2238       [
2239         "be68a268.af6ac"
2240       ]
2241     ]
2242   },
2243   {
2244     "id": "be68a268.af6ac",
2245     "type": "set",
2246     "name": "set colorAware",
2247     "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2248     "comments": "",
2249     "x": 3028.44681930542,
2250     "y": 1462.6181101799011,
2251     "z": "886e5ee7.da286",
2252     "wires": []
2253   },
2254   {
2255     "id": "642263f7.dd00fc",
2256     "type": "switchNode",
2257     "name": "switch couplingFlag",
2258     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
2259     "comments": "",
2260     "outputs": 1,
2261     "x": 2711.1136207580566,
2262     "y": 1492.1570210456848,
2263     "z": "886e5ee7.da286",
2264     "wires": [
2265       [
2266         "fa5db057.82465"
2267       ]
2268     ]
2269   },
2270   {
2271     "id": "fa5db057.82465",
2272     "type": "outcomeTrue",
2273     "name": "true",
2274     "xml": "<outcome value='true'>\n",
2275     "comments": "",
2276     "outputs": 1,
2277     "x": 2883.1135025024414,
2278     "y": 1501.1569905281067,
2279     "z": "886e5ee7.da286",
2280     "wires": [
2281       [
2282         "6df9a5ad.64aebc"
2283       ]
2284     ]
2285   },
2286   {
2287     "id": "6df9a5ad.64aebc",
2288     "type": "set",
2289     "name": "set couplingFlag",
2290     "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2291     "comments": "",
2292     "x": 3036.44681930542,
2293     "y": 1501.6181111335754,
2294     "z": "886e5ee7.da286",
2295     "wires": []
2296   },
2297   {
2298     "id": "dcfbfca6.40021",
2299     "type": "comment",
2300     "name": "Check if other EP exists in SOTNConnectionResource",
2301     "info": "",
2302     "comments": "",
2303     "x": 2842.316650390625,
2304     "y": 1110.7923583984375,
2305     "z": "886e5ee7.da286",
2306     "wires": []
2307   },
2308   {
2309     "id": "d09beabc.c794f8",
2310     "type": "comment",
2311     "name": "Get other global parameters from network",
2312     "info": "",
2313     "comments": "",
2314     "x": 2778.31640625,
2315     "y": 1196.7923583984375,
2316     "z": "886e5ee7.da286",
2317     "wires": []
2318   },
2319   {
2320     "id": "6cf22112.6f2ff",
2321     "type": "switchNode",
2322     "name": "switch access-provider-id",
2323     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
2324     "comments": "",
2325     "outputs": 1,
2326     "x": 1726.5387592315674,
2327     "y": 1458.2368874549866,
2328     "z": "886e5ee7.da286",
2329     "wires": [
2330       [
2331         "c84add66.981c8"
2332       ]
2333     ]
2334   },
2335   {
2336     "id": "c84add66.981c8",
2337     "type": "outcomeTrue",
2338     "name": "true",
2339     "xml": "<outcome value='true'>\n",
2340     "comments": "",
2341     "outputs": 1,
2342     "x": 1913.5387592315674,
2343     "y": 1454.2368874549866,
2344     "z": "886e5ee7.da286",
2345     "wires": [
2346       [
2347         "d4a1069.e5c08f8"
2348       ]
2349     ]
2350   },
2351   {
2352     "id": "d4a1069.e5c08f8",
2353     "type": "set",
2354     "name": "set access-provider-id",
2355     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2356     "comments": "",
2357     "x": 2081.5387592315674,
2358     "y": 1454.8368935585022,
2359     "z": "886e5ee7.da286",
2360     "wires": []
2361   },
2362   {
2363     "id": "447be204.cdf4fc",
2364     "type": "switchNode",
2365     "name": "switch access-client-id",
2366     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
2367     "comments": "",
2368     "outputs": 1,
2369     "x": 1717.5387744903564,
2370     "y": 1501.2473359107971,
2371     "z": "886e5ee7.da286",
2372     "wires": [
2373       [
2374         "ced037b4.e37178"
2375       ]
2376     ]
2377   },
2378   {
2379     "id": "ced037b4.e37178",
2380     "type": "outcomeTrue",
2381     "name": "true",
2382     "xml": "<outcome value='true'>\n",
2383     "comments": "",
2384     "outputs": 1,
2385     "x": 1904.5387744903564,
2386     "y": 1497.2473359107971,
2387     "z": "886e5ee7.da286",
2388     "wires": [
2389       [
2390         "f03bab32.57be38"
2391       ]
2392     ]
2393   },
2394   {
2395     "id": "f03bab32.57be38",
2396     "type": "set",
2397     "name": "set access-client-id",
2398     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2399     "comments": "",
2400     "x": 2072.5387744903564,
2401     "y": 1497.8473420143127,
2402     "z": "886e5ee7.da286",
2403     "wires": []
2404   },
2405   {
2406     "id": "3722b20a.c8338e",
2407     "type": "switchNode",
2408     "name": "switch access-topology-id",
2409     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
2410     "comments": "",
2411     "outputs": 1,
2412     "x": 1730.538719177246,
2413     "y": 1543.2473669052124,
2414     "z": "886e5ee7.da286",
2415     "wires": [
2416       [
2417         "b6a6f2db.60fe6"
2418       ]
2419     ]
2420   },
2421   {
2422     "id": "b6a6f2db.60fe6",
2423     "type": "outcomeTrue",
2424     "name": "true",
2425     "xml": "<outcome value='true'>\n",
2426     "comments": "",
2427     "outputs": 1,
2428     "x": 1917.538719177246,
2429     "y": 1539.2473669052124,
2430     "z": "886e5ee7.da286",
2431     "wires": [
2432       [
2433         "e9af1870.fc5978"
2434       ]
2435     ]
2436   },
2437   {
2438     "id": "e9af1870.fc5978",
2439     "type": "set",
2440     "name": "set access-topology-id",
2441     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2442     "comments": "",
2443     "x": 2085.538719177246,
2444     "y": 1539.847373008728,
2445     "z": "886e5ee7.da286",
2446     "wires": []
2447   },
2448   {
2449     "id": "3edaf3bd.0b304c",
2450     "type": "block",
2451     "name": "block : atomic",
2452     "xml": "<block atomic=\"true\">",
2453     "atomic": "true",
2454     "outputs": 1,
2455     "x": 1676.0940551757812,
2456     "y": 1796.3482403755188,
2457     "z": "886e5ee7.da286",
2458     "wires": [
2459       [
2460         "13419eef.5a7671",
2461         "ab382a71.e012a8",
2462         "518651aa.2aca3",
2463         "24337100.d599a",
2464         "12ceff59.6da431",
2465         "d86cc1ce.6085e",
2466         "30cf4858.64e188",
2467         "fa2339a4.1d6f28",
2468         "f8b8212e.de624",
2469         "4c07dee.6ce442"
2470       ]
2471     ]
2472   },
2473   {
2474     "id": "9cf5ad87.06886",
2475     "type": "set",
2476     "name": "set controller data",
2477     "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",
2478     "comments": "",
2479     "x": 2322.538787841797,
2480     "y": 1876.6815524101257,
2481     "z": "886e5ee7.da286",
2482     "wires": []
2483   },
2484   {
2485     "id": "f8b8212e.de624",
2486     "type": "get-resource",
2487     "name": "get-resource esr-thirdparty-sdnc",
2488     "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",
2489     "comments": "",
2490     "outputs": 1,
2491     "x": 1939.0386962890625,
2492     "y": 1913.6814918518066,
2493     "z": "886e5ee7.da286",
2494     "wires": [
2495       [
2496         "2a73c293.cee82e",
2497         "cd5e3cf0.7e544",
2498         "e221ac88.e3abb"
2499       ]
2500     ]
2501   },
2502   {
2503     "id": "2a73c293.cee82e",
2504     "type": "success",
2505     "name": "success",
2506     "xml": "<outcome value='success'>\n",
2507     "comments": "",
2508     "outputs": 1,
2509     "x": 2159.038631439209,
2510     "y": 1877.6814608573914,
2511     "z": "886e5ee7.da286",
2512     "wires": [
2513       [
2514         "9cf5ad87.06886"
2515       ]
2516     ]
2517   },
2518   {
2519     "id": "cd5e3cf0.7e544",
2520     "type": "not-found",
2521     "name": "not-found",
2522     "xml": "<outcome value='not-found'>\n",
2523     "comments": "",
2524     "outputs": 1,
2525     "x": 2168.529571533203,
2526     "y": 1918.2554669380188,
2527     "z": "886e5ee7.da286",
2528     "wires": [
2529       [
2530         "73ddc8d7.9cef28"
2531       ]
2532     ]
2533   },
2534   {
2535     "id": "e221ac88.e3abb",
2536     "type": "other",
2537     "name": "other",
2538     "xml": "<outcome value='Other'>\n",
2539     "comments": "",
2540     "outputs": 1,
2541     "x": 2163.862548828125,
2542     "y": 1954.5887799263,
2543     "z": "886e5ee7.da286",
2544     "wires": [
2545       [
2546         "9cd2e5f3.c77dc8"
2547       ]
2548     ]
2549   },
2550   {
2551     "id": "73ddc8d7.9cef28",
2552     "type": "returnFailure",
2553     "name": "return failure",
2554     "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",
2555     "comments": "",
2556     "x": 2315.1009216308594,
2557     "y": 1914.5412936210632,
2558     "z": "886e5ee7.da286",
2559     "wires": []
2560   },
2561   {
2562     "id": "9cd2e5f3.c77dc8",
2563     "type": "returnFailure",
2564     "name": "return failure",
2565     "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",
2566     "comments": "",
2567     "x": 2318.6351928710938,
2568     "y": 1956.0279278755188,
2569     "z": "886e5ee7.da286",
2570     "wires": []
2571   },
2572   {
2573     "id": "fa2339a4.1d6f28",
2574     "type": "get-resource",
2575     "name": "get-resource pnf",
2576     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"network-resource.network-id = $mdsal-psd.service-data.networks.network[0].network-id \n\t\tAND pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
2577     "comments": "",
2578     "outputs": 1,
2579     "x": 1884.538589477539,
2580     "y": 1822.6811356544495,
2581     "z": "886e5ee7.da286",
2582     "wires": [
2583       [
2584         "346b021b.bac82e",
2585         "fe6ca97c.41f258",
2586         "fc66139b.853a"
2587       ]
2588     ]
2589   },
2590   {
2591     "id": "346b021b.bac82e",
2592     "type": "success",
2593     "name": "success",
2594     "xml": "<outcome value='success'>\n",
2595     "comments": "",
2596     "outputs": 1,
2597     "x": 2066.5386352539062,
2598     "y": 1767.681245803833,
2599     "z": "886e5ee7.da286",
2600     "wires": [
2601       [
2602         "edadbcd1.1307c"
2603       ]
2604     ]
2605   },
2606   {
2607     "id": "fe6ca97c.41f258",
2608     "type": "not-found",
2609     "name": "not-found",
2610     "xml": "<outcome value='not-found'>\n",
2611     "comments": "",
2612     "outputs": 1,
2613     "x": 2067.0295372009277,
2614     "y": 1805.2553424835205,
2615     "z": "886e5ee7.da286",
2616     "wires": [
2617       [
2618         "df86be3c.187cb"
2619       ]
2620     ]
2621   },
2622   {
2623     "id": "fc66139b.853a",
2624     "type": "other",
2625     "name": "other",
2626     "xml": "<outcome value='Other'>\n",
2627     "comments": "",
2628     "outputs": 1,
2629     "x": 2058.362548828125,
2630     "y": 1838.5887174606323,
2631     "z": "886e5ee7.da286",
2632     "wires": [
2633       [
2634         "589f379c.3c1008"
2635       ]
2636     ]
2637   },
2638   {
2639     "id": "df86be3c.187cb",
2640     "type": "returnFailure",
2641     "name": "return failure",
2642     "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2643     "comments": "",
2644     "x": 2214.601161956787,
2645     "y": 1804.5412311553955,
2646     "z": "886e5ee7.da286",
2647     "wires": []
2648   },
2649   {
2650     "id": "589f379c.3c1008",
2651     "type": "returnFailure",
2652     "name": "return failure",
2653     "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2654     "comments": "",
2655     "x": 2212.1351928710938,
2656     "y": 1838.027865409851,
2657     "z": "886e5ee7.da286",
2658     "wires": []
2659   },
2660   {
2661     "id": "edadbcd1.1307c",
2662     "type": "set",
2663     "name": "set tmp.thirdparty-sdnc-id",
2664     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2665     "comments": "",
2666     "x": 2251.5386352539062,
2667     "y": 1766.6813678741455,
2668     "z": "886e5ee7.da286",
2669     "wires": []
2670   },
2671   {
2672     "id": "ca8d7a27.974a78",
2673     "type": "comment",
2674     "name": "get domain controller information",
2675     "info": "",
2676     "comments": "",
2677     "x": 1935.0425033569336,
2678     "y": 1789.6850910186768,
2679     "z": "886e5ee7.da286",
2680     "wires": []
2681   },
2682   {
2683     "id": "30cf4858.64e188",
2684     "type": "set",
2685     "name": "set oof.vpn",
2686     "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
2687     "comments": "",
2688     "x": 1896.538589477539,
2689     "y": 1743.7922191619873,
2690     "z": "886e5ee7.da286",
2691     "wires": []
2692   },
2693   {
2694     "id": "ab382a71.e012a8",
2695     "type": "save",
2696     "name": "save VPN resource in AAI",
2697     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
2698     "comments": "",
2699     "outputs": 1,
2700     "x": 1915.004005432129,
2701     "y": 2160.7546215057373,
2702     "z": "886e5ee7.da286",
2703     "wires": [
2704       []
2705     ]
2706   },
2707   {
2708     "id": "518651aa.2aca3",
2709     "type": "set",
2710     "name": "set tmp.vpnName",
2711     "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
2712     "comments": "",
2713     "x": 1891.504005432129,
2714     "y": 2113.2543182373047,
2715     "z": "886e5ee7.da286",
2716     "wires": []
2717   },
2718   {
2719     "id": "24337100.d599a",
2720     "type": "save",
2721     "name": "save connectivity relationship in AAI",
2722     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
2723     "comments": "",
2724     "outputs": 1,
2725     "x": 1950.004005432129,
2726     "y": 2205.7543773651123,
2727     "z": "886e5ee7.da286",
2728     "wires": [
2729       []
2730     ]
2731   },
2732   {
2733     "id": "abe0f3b4.f562f",
2734     "type": "comment",
2735     "name": "save vpn and its relation to AAI",
2736     "info": "",
2737     "comments": "",
2738     "x": 1933.0042037963867,
2739     "y": 2074.754587173462,
2740     "z": "886e5ee7.da286",
2741     "wires": []
2742   },
2743   {
2744     "id": "13419eef.5a7671",
2745     "type": "set",
2746     "name": "set src-ltpId dst-ltpId",
2747     "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
2748     "comments": "",
2749     "x": 1902.004035949707,
2750     "y": 2245.754497528076,
2751     "z": "886e5ee7.da286",
2752     "wires": []
2753   },
2754   {
2755     "id": "12ceff59.6da431",
2756     "type": "save",
2757     "name": "save srcLTP relationship in AAI",
2758     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $mdsal-psd.service-data.networks.network[0].network-id + '/pnfs/pnf/' + $oof.vpn.access-node-id '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
2759     "comments": "",
2760     "outputs": 1,
2761     "x": 1936.0039825439453,
2762     "y": 2285.5043773651123,
2763     "z": "886e5ee7.da286",
2764     "wires": [
2765       []
2766     ]
2767   },
2768   {
2769     "id": "d86cc1ce.6085e",
2770     "type": "save",
2771     "name": "save dstLTP relationship in AAI",
2772     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $mdsal-psd.service-data.networks.network[0].network-id + '/pnfs/pnf/' + $oof.vpn.access-node-id '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
2773     "comments": "",
2774     "outputs": 1,
2775     "x": 1934.0039863586426,
2776     "y": 2331.2543773651123,
2777     "z": "886e5ee7.da286",
2778     "wires": [
2779       []
2780     ]
2781   },
2782   {
2783     "id": "44848e46.5ebac",
2784     "type": "execute",
2785     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2786     "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",
2787     "comments": "",
2788     "outputs": 1,
2789     "x": 876.0078430175781,
2790     "y": 596.0078182220459,
2791     "z": "886e5ee7.da286",
2792     "wires": [
2793       [
2794         "5268ad10.1fbc94",
2795         "ffb50ed4.11c7e"
2796       ]
2797     ]
2798   },
2799   {
2800     "id": "b29f5799.241a78",
2801     "type": "execute",
2802     "name": "execute RestApiCallNode - get-resource parent service data",
2803     "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",
2804     "comments": "",
2805     "outputs": 1,
2806     "x": 803.0079956054688,
2807     "y": 823.007981300354,
2808     "z": "886e5ee7.da286",
2809     "wires": [
2810       [
2811         "7ecc4648.197a88",
2812         "dfe397a0.b9ba28"
2813       ]
2814     ]
2815   },
2816   {
2817     "id": "3637e175.005c6e",
2818     "type": "execute",
2819     "name": "get parent-service-data url",
2820     "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",
2821     "comments": "",
2822     "outputs": 1,
2823     "x": 703.0079040527344,
2824     "y": 786.0078144073486,
2825     "z": "886e5ee7.da286",
2826     "wires": [
2827       []
2828     ]
2829   },
2830   {
2831     "id": "2865c930.441376",
2832     "type": "execute",
2833     "name": "generate tmp.ar-other-url-connection",
2834     "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-other-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n    \n\n",
2835     "comments": "",
2836     "outputs": 1,
2837     "x": 2117.0042572021484,
2838     "y": 942.3373756408691,
2839     "z": "886e5ee7.da286",
2840     "wires": [
2841       []
2842     ]
2843   },
2844   {
2845     "id": "36209682.cdfdca",
2846     "type": "execute",
2847     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2848     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-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-other-ar\" />\n\n",
2849     "comments": "",
2850     "outputs": 1,
2851     "x": 2254.004898071289,
2852     "y": 984.8372402191162,
2853     "z": "886e5ee7.da286",
2854     "wires": [
2855       [
2856         "2877490b.8d1876",
2857         "bf4a739d.0a26c"
2858       ]
2859     ]
2860   },
2861   {
2862     "id": "2cebb233.b139be",
2863     "type": "block",
2864     "name": "block",
2865     "xml": "<block>\n",
2866     "atomic": "false",
2867     "comments": "",
2868     "outputs": 1,
2869     "x": 1879.0041770935059,
2870     "y": 1708.0040254592896,
2871     "z": "886e5ee7.da286",
2872     "wires": [
2873       []
2874     ]
2875   },
2876   {
2877     "id": "431946d9.2130a8",
2878     "type": "block",
2879     "name": "block : atomic",
2880     "xml": "<block atomic=\"true\">",
2881     "atomic": "true",
2882     "outputs": 1,
2883     "x": 1255.9727897644043,
2884     "y": 1733.0042095184326,
2885     "z": "886e5ee7.da286",
2886     "wires": [
2887       [
2888         "7306bfe1.33065",
2889         "f51b8e7a.4294a"
2890       ]
2891     ]
2892   }
2893 ]