Fixed JAVA keystore file name
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
1 [
2   {
3     "id": "f1032bbd.b31d28",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 85,
8     "y": 38,
9     "z": "cbb28df7.1359",
10     "wires": [
11       [
12         "ded6a886.414a98"
13       ]
14     ]
15   },
16   {
17     "id": "ded6a886.414a98",
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": 297.00000381469727,
26     "y": 110.0000171661377,
27     "z": "cbb28df7.1359",
28     "wires": [
29       [
30         "a2425e96.87088"
31       ]
32     ]
33   },
34   {
35     "id": "a2425e96.87088",
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": 285.0001220703125,
42     "y": 198,
43     "z": "cbb28df7.1359",
44     "wires": [
45       [
46         "e7f36c41.5e57f"
47       ]
48     ]
49   },
50   {
51     "id": "e7f36c41.5e57f",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 301.0001220703125,
59     "y": 753.0002446174622,
60     "z": "cbb28df7.1359",
61     "wires": [
62       [
63         "e04b6e39.cae71",
64         "b9edbe74.6fc66",
65         "e027a6b9.d5fec8",
66         "6f3c3c57.eb6864",
67         "f719861e.58e0d8",
68         "c02fb64d.81dcb8",
69         "308c70eb.a087f",
70         "d993c33b.774ec",
71         "acc938bc.eae1d8",
72         "d519b726.ce9b88",
73         "8ad08551.c43818",
74         "dad7cff3.85c1b",
75         "f192b08c.ec685",
76         "17f7a6f0.5e20c9",
77         "f18db1f7.e4c95",
78         "7bf02ef8.1215c",
79         "f879cc99.b3ef8",
80         "75a3a30e.eab54c",
81         "bd9c39e4.8a1478",
82         "3b7ef3d8.70ae1c"
83       ]
84     ]
85   },
86   {
87     "id": "e04b6e39.cae71",
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": 697.9935607910156,
93     "y": 151.9934868812561,
94     "z": "cbb28df7.1359",
95     "wires": []
96   },
97   {
98     "id": "afb2368f.9bd8f8",
99     "type": "comment",
100     "name": "set tmp ar-id to fetch resource from MDSAL",
101     "info": "",
102     "comments": "",
103     "x": 726.9538726806641,
104     "y": 116.02528285980225,
105     "z": "cbb28df7.1359",
106     "wires": []
107   },
108   {
109     "id": "b9edbe74.6fc66",
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": 651.9934997558594,
115     "y": 244.99349212646484,
116     "z": "cbb28df7.1359",
117     "wires": []
118   },
119   {
120     "id": "f719861e.58e0d8",
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": 658.2553901672363,
127     "y": 332.6602210998535,
128     "z": "cbb28df7.1359",
129     "wires": [
130       []
131     ]
132   },
133   {
134     "id": "e027a6b9.d5fec8",
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": 705.2554473876953,
141     "y": 420.6602249145508,
142     "z": "cbb28df7.1359",
143     "wires": [
144       []
145     ]
146   },
147   {
148     "id": "452cf8b8.86cc88",
149     "type": "comment",
150     "name": "GET connection-attachment-allotted-resource from mdsal",
151     "info": "",
152     "comments": "",
153     "x": 751.8083801269531,
154     "y": 551.5386590957642,
155     "z": "cbb28df7.1359",
156     "wires": []
157   },
158   {
159     "id": "12f54fa3.aaff3",
160     "type": "comment",
161     "name": "Used for setting output to API Handler",
162     "info": "",
163     "comments": "",
164     "x": 705.9935302734375,
165     "y": 211.993501663208,
166     "z": "cbb28df7.1359",
167     "wires": []
168   },
169   {
170     "id": "926a67a.4a82498",
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": 723.9934959411621,
176     "y": 297.8823823928833,
177     "z": "cbb28df7.1359",
178     "wires": []
179   },
180   {
181     "id": "f41dfc4.f4cda",
182     "type": "comment",
183     "name": "Used to Get AR by id to MDSAL, same as self-link",
184     "info": "",
185     "comments": "",
186     "x": 749.9935150146484,
187     "y": 384.8823413848877,
188     "z": "cbb28df7.1359",
189     "wires": []
190   },
191   {
192     "id": "a1fbf2bd.6b2d9",
193     "type": "success",
194     "name": "success",
195     "xml": "<outcome value='success'>\n",
196     "comments": "",
197     "outputs": 1,
198     "x": 1211.6667919158936,
199     "y": 568.9999847412109,
200     "z": "cbb28df7.1359",
201     "wires": [
202       [
203         "9cd08c09.1d068"
204       ]
205     ]
206   },
207   {
208     "id": "9cd08c09.1d068",
209     "type": "block",
210     "name": "block: atomic",
211     "xml": "<block atomic=\"true\">\n",
212     "atomic": "false",
213     "comments": "",
214     "outputs": 1,
215     "x": 1355.6668701171875,
216     "y": 526.4999027252197,
217     "z": "cbb28df7.1359",
218     "wires": [
219       [
220         "33641e94.7a0b72"
221       ]
222     ]
223   },
224   {
225     "id": "33641e94.7a0b72",
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": 1524.5242938995361,
232     "y": 524.1190738677979,
233     "z": "cbb28df7.1359",
234     "wires": [
235       [
236         "affca4cd.d977a8",
237         "c376fca7.816d6"
238       ]
239     ]
240   },
241   {
242     "id": "affca4cd.d977a8",
243     "type": "other",
244     "name": "outcome 1",
245     "xml": "<outcome value='1'>\n",
246     "comments": "",
247     "outputs": 1,
248     "x": 1679.8574295043945,
249     "y": 496.1189889907837,
250     "z": "cbb28df7.1359",
251     "wires": [
252       [
253         "53c06015.6266b"
254       ]
255     ]
256   },
257   {
258     "id": "53c06015.6266b",
259     "type": "block",
260     "name": "block: atomic",
261     "xml": "<block atomic='true'>\n",
262     "atomic": "false",
263     "comments": "",
264     "outputs": 1,
265     "x": 1838.381233215332,
266     "y": 494.02383613586426,
267     "z": "cbb28df7.1359",
268     "wires": [
269       [
270         "7ac858c4.60b0b8",
271         "dad8eb30.a0d438",
272         "c39c89e4.ebe398"
273       ]
274     ]
275   },
276   {
277     "id": "27d51102.19665e",
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": 1778.5191650390625,
283     "y": 601.0660705566406,
284     "z": "cbb28df7.1359",
285     "wires": []
286   },
287   {
288     "id": "97f58790.fbe988",
289     "type": "other",
290     "name": "other",
291     "xml": "<outcome value='Other'>\n",
292     "comments": "",
293     "outputs": 1,
294     "x": 1203.5185947418213,
295     "y": 604.0660696029663,
296     "z": "cbb28df7.1359",
297     "wires": [
298       [
299         "e6b498e7.ee1fb8"
300       ]
301     ]
302   },
303   {
304     "id": "e6b498e7.ee1fb8",
305     "type": "block",
306     "name": "block: atomic",
307     "xml": "<block atomic=\"true\">\n",
308     "atomic": "false",
309     "comments": "",
310     "outputs": 1,
311     "x": 1383.5185451507568,
312     "y": 604.7326202392578,
313     "z": "cbb28df7.1359",
314     "wires": [
315       [
316         "27d51102.19665e"
317       ]
318     ]
319   },
320   {
321     "id": "c376fca7.816d6",
322     "type": "other",
323     "name": "other",
324     "xml": "<outcome value='Other'>\n",
325     "comments": "",
326     "outputs": 1,
327     "x": 1671.185432434082,
328     "y": 555.3993635177612,
329     "z": "cbb28df7.1359",
330     "wires": [
331       [
332         "27d51102.19665e"
333       ]
334     ]
335   },
336   {
337     "id": "7ac858c4.60b0b8",
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": 2085.4446868896484,
343     "y": 467.00008821487427,
344     "z": "cbb28df7.1359",
345     "wires": []
346   },
347   {
348     "id": "c39c89e4.ebe398",
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": 2019.4447174072266,
354     "y": 540.4285907745361,
355     "z": "cbb28df7.1359",
356     "wires": []
357   },
358   {
359     "id": "dad8eb30.a0d438",
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": 2029.4444961547852,
366     "y": 506.0000247955322,
367     "z": "cbb28df7.1359",
368     "wires": [
369       [
370         "cc20c996.8c9528",
371         "d77bf1ee.049a3",
372         "453143a6.32929c"
373       ]
374     ]
375   },
376   {
377     "id": "cc20c996.8c9528",
378     "type": "outcome",
379     "name": "outcome Created",
380     "xml": "<outcome value='Created'>\n",
381     "comments": "",
382     "outputs": 1,
383     "x": 2265.044578552246,
384     "y": 500.0000557899475,
385     "z": "cbb28df7.1359",
386     "wires": [
387       [
388         "3a4bc81f.b971d8"
389       ]
390     ]
391   },
392   {
393     "id": "d77bf1ee.049a3",
394     "type": "outcome",
395     "name": "outcome Other",
396     "xml": "<outcome value='Other'>\n",
397     "comments": "",
398     "outputs": 1,
399     "x": 2258.759078979492,
400     "y": 580.4286904335022,
401     "z": "cbb28df7.1359",
402     "wires": [
403       [
404         "f8e833ae.2c3a5"
405       ]
406     ]
407   },
408   {
409     "id": "3a4bc81f.b971d8",
410     "type": "block",
411     "name": "block",
412     "xml": "<block>\n",
413     "atomic": "false",
414     "comments": "",
415     "outputs": 1,
416     "x": 2423.515251159668,
417     "y": 500.37571144104004,
418     "z": "cbb28df7.1359",
419     "wires": [
420       []
421     ]
422   },
423   {
424     "id": "f8e833ae.2c3a5",
425     "type": "returnFailure",
426     "name": "return failure",
427     "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",
428     "comments": "",
429     "x": 2434.666893005371,
430     "y": 579.0000896453857,
431     "z": "cbb28df7.1359",
432     "wires": []
433   },
434   {
435     "id": "a031723a.72d45",
436     "type": "call",
437     "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
438     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
439     "comments": "",
440     "outputs": 1,
441     "x": 922.303050994873,
442     "y": 651.4936046600342,
443     "z": "cbb28df7.1359",
444     "wires": [
445       []
446     ]
447   },
448   {
449     "id": "c02fb64d.81dcb8",
450     "type": "block",
451     "name": "block: atomic",
452     "xml": "<block atomic=\"true\">\n",
453     "atomic": "false",
454     "comments": "",
455     "outputs": 1,
456     "x": 616.3091506958008,
457     "y": 652.4999752044678,
458     "z": "cbb28df7.1359",
459     "wires": [
460       [
461         "a031723a.72d45"
462       ]
463     ]
464   },
465   {
466     "id": "8474372c.daa338",
467     "type": "comment",
468     "name": "GET parent-service-data from mdsal to check existence of other End point",
469     "info": "",
470     "comments": "",
471     "x": 804.00048828125,
472     "y": 697.5317525863647,
473     "z": "cbb28df7.1359",
474     "wires": []
475   },
476   {
477     "id": "dfd9ac30.4d327",
478     "type": "for",
479     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
480     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
481     "comments": "",
482     "outputs": 1,
483     "x": 1695.1851959228516,
484     "y": 850.0042300224304,
485     "z": "cbb28df7.1359",
486     "wires": [
487       [
488         "69bb7e37.5502b"
489       ]
490     ]
491   },
492   {
493     "id": "6f3c3c57.eb6864",
494     "type": "switchNode",
495     "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
496     "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
497     "comments": "",
498     "outputs": 1,
499     "x": 779.1842193603516,
500     "y": 957.7182664871216,
501     "z": "cbb28df7.1359",
502     "wires": [
503       [
504         "e5034add.dc7ee8",
505         "ea87fbba.a1ee38",
506         "37719ae7.6e63d6"
507       ]
508     ]
509   },
510   {
511     "id": "e5034add.dc7ee8",
512     "type": "other",
513     "name": "other",
514     "xml": "<outcome value='Other'>\n",
515     "comments": "",
516     "outputs": 1,
517     "x": 1107.3272399902344,
518     "y": 1030.5755405426025,
519     "z": "cbb28df7.1359",
520     "wires": [
521       [
522         "882cb355.05a04"
523       ]
524     ]
525   },
526   {
527     "id": "4d6165bb.ea8a7c",
528     "type": "block",
529     "name": "block : atomic",
530     "xml": "<block atomic=\"true\">",
531     "atomic": "true",
532     "outputs": 1,
533     "x": 1291.454502105713,
534     "y": 889.7015495300293,
535     "z": "cbb28df7.1359",
536     "wires": [
537       [
538         "dfd9ac30.4d327",
539         "3a395b7f.25dd64"
540       ]
541     ]
542   },
543   {
544     "id": "69bb7e37.5502b",
545     "type": "switchNode",
546     "name": "switch allotted-resource-id",
547     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
548     "comments": "",
549     "outputs": 1,
550     "x": 2135.2965240478516,
551     "y": 847.0040321350098,
552     "z": "cbb28df7.1359",
553     "wires": [
554       [
555         "cc363d65.ffc05",
556         "15afd920.4feac7"
557       ]
558     ]
559   },
560   {
561     "id": "cc363d65.ffc05",
562     "type": "outcomeTrue",
563     "name": "true",
564     "xml": "<outcome value='true'>\n",
565     "comments": "",
566     "outputs": 1,
567     "x": 2308.1067390441895,
568     "y": 818.4686470031738,
569     "z": "cbb28df7.1359",
570     "wires": [
571       [
572         "1c47a88e.29f817"
573       ]
574     ]
575   },
576   {
577     "id": "8ff402e2.b14b9",
578     "type": "block",
579     "name": "block : atomic",
580     "xml": "<block atomic=\"true\">",
581     "atomic": "true",
582     "outputs": 1,
583     "x": 2456.8672103881836,
584     "y": 875.3257341384888,
585     "z": "cbb28df7.1359",
586     "wires": [
587       [
588         "42b3d0fe.09e55"
589       ]
590     ]
591   },
592   {
593     "id": "42b3d0fe.09e55",
594     "type": "set",
595     "name": "set tmp.pidx and ptx.consumed-ar",
596     "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' />",
597     "comments": "",
598     "x": 2691.724636077881,
599     "y": 873.8972663879395,
600     "z": "cbb28df7.1359",
601     "wires": []
602   },
603   {
604     "id": "b37984c.e70a578",
605     "type": "comment",
606     "name": "Check existence of other AR in parent service data",
607     "info": "Check if other allotted resource is available.",
608     "comments": "",
609     "x": 726.9626579284668,
610     "y": 862.8929615020752,
611     "z": "cbb28df7.1359",
612     "wires": []
613   },
614   {
615     "id": "ea87fbba.a1ee38",
616     "type": "other",
617     "name": "outcome 1",
618     "xml": "<outcome value='1'>\n",
619     "comments": "",
620     "outputs": 1,
621     "x": 1121.9797096252441,
622     "y": 969.6772241592407,
623     "z": "cbb28df7.1359",
624     "wires": [
625       [
626         "c0453fc3.0e237"
627       ]
628     ]
629   },
630   {
631     "id": "882cb355.05a04",
632     "type": "returnFailure",
633     "name": "return failure",
634     "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",
635     "comments": "",
636     "x": 1266.9795875549316,
637     "y": 1029.67746925354,
638     "z": "cbb28df7.1359",
639     "wires": []
640   },
641   {
642     "id": "37719ae7.6e63d6",
643     "type": "other",
644     "name": "outcome 2",
645     "xml": "<outcome value='2'>\n",
646     "comments": "",
647     "outputs": 1,
648     "x": 1116.9795227050781,
649     "y": 890.6772499084473,
650     "z": "cbb28df7.1359",
651     "wires": [
652       [
653         "4d6165bb.ea8a7c"
654       ]
655     ]
656   },
657   {
658     "id": "1c47a88e.29f817",
659     "type": "block",
660     "name": "block",
661     "xml": "<block>\n",
662     "atomic": "false",
663     "comments": "",
664     "outputs": 1,
665     "x": 2466.0909538269043,
666     "y": 817.6773900985718,
667     "z": "cbb28df7.1359",
668     "wires": [
669       []
670     ]
671   },
672   {
673     "id": "15afd920.4feac7",
674     "type": "outcomeTrue",
675     "name": "false",
676     "xml": "<outcome value='false'>\n",
677     "comments": "",
678     "outputs": 1,
679     "x": 2315.0905952453613,
680     "y": 874.6772499084473,
681     "z": "cbb28df7.1359",
682     "wires": [
683       [
684         "8ff402e2.b14b9"
685       ]
686     ]
687   },
688   {
689     "id": "3a395b7f.25dd64",
690     "type": "switchNode",
691     "name": "switch tmp.found-in-ar",
692     "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
693     "comments": "",
694     "outputs": 1,
695     "x": 1503.9794998168945,
696     "y": 943.4550676345825,
697     "z": "cbb28df7.1359",
698     "wires": [
699       [
700         "620a8680.ec1638"
701       ]
702     ]
703   },
704   {
705     "id": "620a8680.ec1638",
706     "type": "outcomeTrue",
707     "name": "true",
708     "xml": "<outcome value='true'>\n",
709     "comments": "",
710     "outputs": 1,
711     "x": 1674.97953414917,
712     "y": 944.5662889480591,
713     "z": "cbb28df7.1359",
714     "wires": [
715       [
716         "54a50118.05977"
717       ]
718     ]
719   },
720   {
721     "id": "54a50118.05977",
722     "type": "block",
723     "name": "block : atomic",
724     "xml": "<block atomic=\"true\">",
725     "atomic": "true",
726     "outputs": 1,
727     "x": 1823.9796295166016,
728     "y": 944.5662879943848,
729     "z": "cbb28df7.1359",
730     "wires": [
731       [
732         "2fbf3350.d69d7c",
733         "51067155.cb254"
734       ]
735     ]
736   },
737   {
738     "id": "7d7dc112.d678b",
739     "type": "success",
740     "name": "success",
741     "xml": "<outcome value='success'>\n",
742     "comments": "",
743     "outputs": 1,
744     "x": 2570.097454071045,
745     "y": 960.7951421737671,
746     "z": "cbb28df7.1359",
747     "wires": [
748       [
749         "94f95621.9a2ea8"
750       ]
751     ]
752   },
753   {
754     "id": "79425b66.b91424",
755     "type": "other",
756     "name": "other",
757     "xml": "<outcome value='Other'>\n",
758     "comments": "",
759     "outputs": 1,
760     "x": 2561.9492568969727,
761     "y": 995.8612270355225,
762     "z": "cbb28df7.1359",
763     "wires": [
764       [
765         "3ebc390b.802eb6"
766       ]
767     ]
768   },
769   {
770     "id": "90be4eb6.fdc8c",
771     "type": "switchNode",
772     "name": "switch mdsal-psd.service-data.networks_length",
773     "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
774     "comments": "",
775     "outputs": 1,
776     "x": 1567.313003540039,
777     "y": 1044.899908065796,
778     "z": "cbb28df7.1359",
779     "wires": [
780       [
781         "b54c4867.028668",
782         "73000cce.d47514"
783       ]
784     ]
785   },
786   {
787     "id": "73000cce.d47514",
788     "type": "other",
789     "name": "outcome 1",
790     "xml": "<outcome value='1'>\n",
791     "comments": "",
792     "outputs": 1,
793     "x": 1831.3128509521484,
794     "y": 1024.7886543273926,
795     "z": "cbb28df7.1359",
796     "wires": [
797       [
798         "d471d131.1144d"
799       ]
800     ]
801   },
802   {
803     "id": "b54c4867.028668",
804     "type": "other",
805     "name": "other",
806     "xml": "<outcome value='Other'>\n",
807     "comments": "",
808     "outputs": 1,
809     "x": 1821.3129119873047,
810     "y": 1072.788625717163,
811     "z": "cbb28df7.1359",
812     "wires": [
813       [
814         "5f3379.2755bc88"
815       ]
816     ]
817   },
818   {
819     "id": "5f3379.2755bc88",
820     "type": "returnFailure",
821     "name": "return failure",
822     "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",
823     "comments": "",
824     "x": 1959.9652557373047,
825     "y": 1074.890386581421,
826     "z": "cbb28df7.1359",
827     "wires": []
828   },
829   {
830     "id": "d6222ed2.2e3d3",
831     "type": "set",
832     "name": "set tmp.network.",
833     "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
834     "comments": "",
835     "x": 2192.757709503174,
836     "y": 1025.788824081421,
837     "z": "cbb28df7.1359",
838     "wires": []
839   },
840   {
841     "id": "c0453fc3.0e237",
842     "type": "block",
843     "name": "block : atomic",
844     "xml": "<block atomic=\"true\">",
845     "atomic": "true",
846     "outputs": 1,
847     "x": 1289.4240188598633,
848     "y": 968.7884912490845,
849     "z": "cbb28df7.1359",
850     "wires": [
851       [
852         "90be4eb6.fdc8c"
853       ]
854     ]
855   },
856   {
857     "id": "d471d131.1144d",
858     "type": "block",
859     "name": "block : atomic",
860     "xml": "<block atomic=\"true\">",
861     "atomic": "true",
862     "outputs": 1,
863     "x": 1990.0906219482422,
864     "y": 1027.7884883880615,
865     "z": "cbb28df7.1359",
866     "wires": [
867       [
868         "d6222ed2.2e3d3",
869         "ce58bf5a.0189d"
870       ]
871     ]
872   },
873   {
874     "id": "ce58bf5a.0189d",
875     "type": "for",
876     "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
877     "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
878     "comments": "",
879     "outputs": 1,
880     "x": 2353.090660095215,
881     "y": 1073.7886428833008,
882     "z": "cbb28df7.1359",
883     "wires": [
884       [
885         "a4f1258e.f8f7e8"
886       ]
887     ]
888   },
889   {
890     "id": "a4f1258e.f8f7e8",
891     "type": "block",
892     "name": "block",
893     "xml": "<block>\n",
894     "atomic": "false",
895     "comments": "",
896     "outputs": 1,
897     "x": 2399.646728515625,
898     "y": 1304.7884521484375,
899     "z": "cbb28df7.1359",
900     "wires": [
901       [
902         "ce9cca12.4f0af8",
903         "d379e536.6a0348",
904         "63d37889.57ca38",
905         "ff3897ba.b2c938",
906         "410b060d.0c2948",
907         "805eddea.23b52",
908         "623ff136.8ac42",
909         "3055227f.6b6a0e",
910         "830a582f.f084d8",
911         "f77b8935.e0ba38"
912       ]
913     ]
914   },
915   {
916     "id": "ce9cca12.4f0af8",
917     "type": "switchNode",
918     "name": "switch access-node-id",
919     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
920     "comments": "",
921     "outputs": 1,
922     "x": 2676.1569442749023,
923     "y": 1146.7991995811462,
924     "z": "cbb28df7.1359",
925     "wires": [
926       [
927         "c66b2919.5cf5d8"
928       ]
929     ]
930   },
931   {
932     "id": "c66b2919.5cf5d8",
933     "type": "outcomeTrue",
934     "name": "true",
935     "xml": "<outcome value='true'>\n",
936     "comments": "",
937     "outputs": 1,
938     "x": 2865.1565704345703,
939     "y": 1148.7990641593933,
940     "z": "cbb28df7.1359",
941     "wires": [
942       [
943         "f9c2cbff.de99a8"
944       ]
945     ]
946   },
947   {
948     "id": "f9c2cbff.de99a8",
949     "type": "set",
950     "name": "set tmp.found-in-network tmp.ep-available",
951     "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
952     "comments": "",
953     "x": 3118.1567459106445,
954     "y": 1148.3991103172302,
955     "z": "cbb28df7.1359",
956     "wires": []
957   },
958   {
959     "id": "d379e536.6a0348",
960     "type": "returnSuccess",
961     "name": "return success",
962     "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",
963     "comments": "",
964     "x": 2650.146396636963,
965     "y": 1520.7884907722473,
966     "z": "cbb28df7.1359",
967     "wires": []
968   },
969   {
970     "id": "dad7cff3.85c1b",
971     "type": "switchNode",
972     "name": "switch tmp.ep-available",
973     "xml": "<switch test='`$tmp.ep-available`'>\n",
974     "comments": "",
975     "outputs": 1,
976     "x": 642.3128204345703,
977     "y": 1153.232801437378,
978     "z": "cbb28df7.1359",
979     "wires": [
980       [
981         "6ca6c936.2c3768",
982         "eac664c0.e13b08"
983       ]
984     ]
985   },
986   {
987     "id": "eac664c0.e13b08",
988     "type": "outcomeTrue",
989     "name": "true",
990     "xml": "<outcome value='true'>\n",
991     "comments": "",
992     "outputs": 1,
993     "x": 860.9795398712158,
994     "y": 1202.5661582946777,
995     "z": "cbb28df7.1359",
996     "wires": [
997       [
998         "750588ef.b99fe8"
999       ]
1000     ]
1001   },
1002   {
1003     "id": "6ca6c936.2c3768",
1004     "type": "outcomeTrue",
1005     "name": "false",
1006     "xml": "<outcome value='false'>\n",
1007     "comments": "",
1008     "outputs": 1,
1009     "x": 865.8683414459229,
1010     "y": 1111.566219329834,
1011     "z": "cbb28df7.1359",
1012     "wires": [
1013       [
1014         "749ef9db.5d3a08"
1015       ]
1016     ]
1017   },
1018   {
1019     "id": "749ef9db.5d3a08",
1020     "type": "block",
1021     "name": "block",
1022     "xml": "<block>\n",
1023     "atomic": "false",
1024     "comments": "",
1025     "outputs": 1,
1026     "x": 1012.8683376312256,
1027     "y": 1113.4550323486328,
1028     "z": "cbb28df7.1359",
1029     "wires": [
1030       []
1031     ]
1032   },
1033   {
1034     "id": "750588ef.b99fe8",
1035     "type": "block",
1036     "name": "block : atomic",
1037     "xml": "<block atomic=\"true\">",
1038     "atomic": "true",
1039     "outputs": 1,
1040     "x": 1031.090627670288,
1041     "y": 1200.5661163330078,
1042     "z": "cbb28df7.1359",
1043     "wires": [
1044       [
1045         "fceb9616.eb61b8",
1046         "7c3f1ab0.926054",
1047         "d86d0f7e.bebac"
1048       ]
1049     ]
1050   },
1051   {
1052     "id": "fceb9616.eb61b8",
1053     "type": "switchNode",
1054     "name": "switch tmp.found-in-ar",
1055     "xml": "<switch test='`$tmp.found-in-ar`'>\n",
1056     "comments": "",
1057     "outputs": 1,
1058     "x": 1257.2016410827637,
1059     "y": 1167.5661163330078,
1060     "z": "cbb28df7.1359",
1061     "wires": [
1062       [
1063         "c8457f81.3c93c",
1064         "ce69f5f5.7107f8"
1065       ]
1066     ]
1067   },
1068   {
1069     "id": "c8457f81.3c93c",
1070     "type": "outcomeTrue",
1071     "name": "true",
1072     "xml": "<outcome value='true'>\n",
1073     "comments": "",
1074     "outputs": 1,
1075     "x": 1452.6460876464844,
1076     "y": 1145.566177368164,
1077     "z": "cbb28df7.1359",
1078     "wires": [
1079       [
1080         "7996be51.f87bd"
1081       ]
1082     ]
1083   },
1084   {
1085     "id": "ce69f5f5.7107f8",
1086     "type": "outcomeTrue",
1087     "name": "false",
1088     "xml": "<outcome value='false'>\n",
1089     "comments": "",
1090     "outputs": 1,
1091     "x": 1449.64599609375,
1092     "y": 1193.566162109375,
1093     "z": "cbb28df7.1359",
1094     "wires": [
1095       [
1096         "1e79b4e5.a1cc3b"
1097       ]
1098     ]
1099   },
1100   {
1101     "id": "7996be51.f87bd",
1102     "type": "block",
1103     "name": "block : atomic",
1104     "xml": "<block atomic=\"true\">",
1105     "atomic": "true",
1106     "outputs": 1,
1107     "x": 1640.2017517089844,
1108     "y": 1142.566177368164,
1109     "z": "cbb28df7.1359",
1110     "wires": [
1111       [
1112         "2b6b416f.53780e"
1113       ]
1114     ]
1115   },
1116   {
1117     "id": "1e79b4e5.a1cc3b",
1118     "type": "block",
1119     "name": "block : atomic",
1120     "xml": "<block atomic=\"true\">",
1121     "atomic": "true",
1122     "outputs": 1,
1123     "x": 1637.20166015625,
1124     "y": 1192.566162109375,
1125     "z": "cbb28df7.1359",
1126     "wires": [
1127       [
1128         "1a9c7979.469227"
1129       ]
1130     ]
1131   },
1132   {
1133     "id": "add86bf3.f17608",
1134     "type": "comment",
1135     "name": "GET connection-attachment-ar to store AR data from mdsal",
1136     "info": "",
1137     "comments": "",
1138     "x": 2149.4728355407715,
1139     "y": 429.50394773483276,
1140     "z": "cbb28df7.1359",
1141     "wires": []
1142   },
1143   {
1144     "id": "652dad92.494ca4",
1145     "type": "comment",
1146     "name": "Set source end point",
1147     "info": "",
1148     "comments": "",
1149     "x": 638.9727325439453,
1150     "y": 518.2539677619934,
1151     "z": "cbb28df7.1359",
1152     "wires": []
1153   },
1154   {
1155     "id": "308c70eb.a087f",
1156     "type": "set",
1157     "name": "set tmp.ar.parent-service-instance-id",
1158     "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",
1159     "comments": "",
1160     "x": 689.9688262939453,
1161     "y": 727.0000905990601,
1162     "z": "cbb28df7.1359",
1163     "wires": []
1164   },
1165   {
1166     "id": "76dc332e.fe177c",
1167     "type": "success",
1168     "name": "success",
1169     "xml": "<outcome value='success'>\n",
1170     "comments": "",
1171     "outputs": 1,
1172     "x": 1049.968978881836,
1173     "y": 798.0000772476196,
1174     "z": "cbb28df7.1359",
1175     "wires": [
1176       [
1177         "9d0d7b21.e0ad98"
1178       ]
1179     ]
1180   },
1181   {
1182     "id": "cbf3f4e6.00aa98",
1183     "type": "other",
1184     "name": "other",
1185     "xml": "<outcome value='Other'>\n",
1186     "comments": "",
1187     "outputs": 1,
1188     "x": 1041.8207817077637,
1189     "y": 833.066162109375,
1190     "z": "cbb28df7.1359",
1191     "wires": [
1192       [
1193         "d8b072f9.d7c21"
1194       ]
1195     ]
1196   },
1197   {
1198     "id": "d8b072f9.d7c21",
1199     "type": "returnFailure",
1200     "name": "return failure",
1201     "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",
1202     "comments": "",
1203     "x": 1187.9695625305176,
1204     "y": 832.3335733413696,
1205     "z": "cbb28df7.1359",
1206     "wires": []
1207   },
1208   {
1209     "id": "9d0d7b21.e0ad98",
1210     "type": "block",
1211     "name": "block",
1212     "xml": "<block>\n",
1213     "atomic": "false",
1214     "comments": "",
1215     "outputs": 1,
1216     "x": 1180.9690742492676,
1217     "y": 798.0001382827759,
1218     "z": "cbb28df7.1359",
1219     "wires": [
1220       []
1221     ]
1222   },
1223   {
1224     "id": "3ebc390b.802eb6",
1225     "type": "returnFailure",
1226     "name": "return failure",
1227     "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",
1228     "comments": "",
1229     "x": 2711.969306945801,
1230     "y": 996.00026512146,
1231     "z": "cbb28df7.1359",
1232     "wires": []
1233   },
1234   {
1235     "id": "94f95621.9a2ea8",
1236     "type": "block",
1237     "name": "block",
1238     "xml": "<block>\n",
1239     "atomic": "false",
1240     "comments": "",
1241     "outputs": 1,
1242     "x": 2696.9694290161133,
1243     "y": 963.0002498626709,
1244     "z": "cbb28df7.1359",
1245     "wires": [
1246       []
1247     ]
1248   },
1249   {
1250     "id": "d993c33b.774ec",
1251     "type": "set",
1252     "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1253     "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' />",
1254     "comments": "",
1255     "x": 775.9687652587891,
1256     "y": 900.0000648498535,
1257     "z": "cbb28df7.1359",
1258     "wires": []
1259   },
1260   {
1261     "id": "336df829.2ff8b8",
1262     "type": "comment",
1263     "name": "If other EP exists set destination end point",
1264     "info": "Check if other allotted resource is available.",
1265     "comments": "",
1266     "x": 692.9687652587891,
1267     "y": 1078.0000133514404,
1268     "z": "cbb28df7.1359",
1269     "wires": []
1270   },
1271   {
1272     "id": "917d1ab.d2608e8",
1273     "type": "block",
1274     "name": "block",
1275     "xml": "<block>\n",
1276     "atomic": "false",
1277     "comments": "",
1278     "outputs": 1,
1279     "x": 1432.9688873291016,
1280     "y": 1405.0002946853638,
1281     "z": "cbb28df7.1359",
1282     "wires": [
1283       [
1284         "a62deca7.bcade",
1285         "81802c0b.6f8f",
1286         "11a25f88.82eed",
1287         "47a81553.315d4c",
1288         "ee81a378.a7601",
1289         "b4347cf5.49bc8",
1290         "5c76f693.8395f8",
1291         "59d53676.123ac8"
1292       ]
1293     ]
1294   },
1295   {
1296     "id": "a62deca7.bcade",
1297     "type": "switchNode",
1298     "name": "switch access-node-id",
1299     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
1300     "comments": "",
1301     "outputs": 1,
1302     "x": 1675.4791889190674,
1303     "y": 1275.010691165924,
1304     "z": "cbb28df7.1359",
1305     "wires": [
1306       [
1307         "fe688e94.da33b"
1308       ]
1309     ]
1310   },
1311   {
1312     "id": "81802c0b.6f8f",
1313     "type": "returnSuccess",
1314     "name": "return success",
1315     "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",
1316     "comments": "",
1317     "x": 1648.4691410064697,
1318     "y": 1580.0006546974182,
1319     "z": "cbb28df7.1359",
1320     "wires": []
1321   },
1322   {
1323     "id": "11a25f88.82eed",
1324     "type": "switchNode",
1325     "name": "switch access-ltp-id",
1326     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
1327     "comments": "",
1328     "outputs": 1,
1329     "x": 1666.9690189361572,
1330     "y": 1318.7782225608826,
1331     "z": "cbb28df7.1359",
1332     "wires": [
1333       [
1334         "c02ee204.0e0d9"
1335       ]
1336     ]
1337   },
1338   {
1339     "id": "47a81553.315d4c",
1340     "type": "switchNode",
1341     "name": "switch clientSignal",
1342     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
1343     "comments": "",
1344     "outputs": 1,
1345     "x": 1660.9690570831299,
1346     "y": 1364.778269290924,
1347     "z": "cbb28df7.1359",
1348     "wires": [
1349       [
1350         "54c81360.7adb5c"
1351       ]
1352     ]
1353   },
1354   {
1355     "id": "ee81a378.a7601",
1356     "type": "switchNode",
1357     "name": "switch cVLAN",
1358     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
1359     "comments": "",
1360     "outputs": 1,
1361     "x": 1644.9585590362549,
1362     "y": 1403.767771244049,
1363     "z": "cbb28df7.1359",
1364     "wires": [
1365       [
1366         "99167636.bd39c8"
1367       ]
1368     ]
1369   },
1370   {
1371     "id": "fe688e94.da33b",
1372     "type": "outcomeTrue",
1373     "name": "true",
1374     "xml": "<outcome value='true'>\n",
1375     "comments": "",
1376     "outputs": 1,
1377     "x": 1853.1911029815674,
1378     "y": 1275.6670632362366,
1379     "z": "cbb28df7.1359",
1380     "wires": [
1381       [
1382         "ba53eaa4.9c9d68"
1383       ]
1384     ]
1385   },
1386   {
1387     "id": "ba53eaa4.9c9d68",
1388     "type": "set",
1389     "name": "set dst-access-node-id",
1390     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1391     "comments": "",
1392     "x": 2028.1911029815674,
1393     "y": 1275.267038345337,
1394     "z": "cbb28df7.1359",
1395     "wires": []
1396   },
1397   {
1398     "id": "c02ee204.0e0d9",
1399     "type": "outcomeTrue",
1400     "name": "true",
1401     "xml": "<outcome value='true'>\n",
1402     "comments": "",
1403     "outputs": 1,
1404     "x": 1848.6809711456299,
1405     "y": 1318.434519290924,
1406     "z": "cbb28df7.1359",
1407     "wires": [
1408       [
1409         "d114cdd9.cd628"
1410       ]
1411     ]
1412   },
1413   {
1414     "id": "54c81360.7adb5c",
1415     "type": "outcomeTrue",
1416     "name": "true",
1417     "xml": "<outcome value='true'>\n",
1418     "comments": "",
1419     "outputs": 1,
1420     "x": 1848.6809711456299,
1421     "y": 1364.434519290924,
1422     "z": "cbb28df7.1359",
1423     "wires": [
1424       [
1425         "b311a80c.06bd18"
1426       ]
1427     ]
1428   },
1429   {
1430     "id": "99167636.bd39c8",
1431     "type": "outcomeTrue",
1432     "name": "true",
1433     "xml": "<outcome value='true'>\n",
1434     "comments": "",
1435     "outputs": 1,
1436     "x": 1848.6704730987549,
1437     "y": 1403.4241433143616,
1438     "z": "cbb28df7.1359",
1439     "wires": [
1440       [
1441         "9a953c6c.d3922"
1442       ]
1443     ]
1444   },
1445   {
1446     "id": "7c3f1ab0.926054",
1447     "type": "for",
1448     "name": "for idx..tmp.ep.parameters[]",
1449     "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
1450     "comments": "",
1451     "outputs": 1,
1452     "x": 1285.96875,
1453     "y": 1293,
1454     "z": "cbb28df7.1359",
1455     "wires": [
1456       [
1457         "917d1ab.d2608e8"
1458       ]
1459     ]
1460   },
1461   {
1462     "id": "2b6b416f.53780e",
1463     "type": "set",
1464     "name": "set tmp.ep.parameters",
1465     "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",
1466     "comments": "",
1467     "x": 1851.9688053131104,
1468     "y": 1142.0000743865967,
1469     "z": "cbb28df7.1359",
1470     "wires": []
1471   },
1472   {
1473     "id": "1a9c7979.469227",
1474     "type": "set",
1475     "name": "set tmp.ep.parameters",
1476     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
1477     "comments": "",
1478     "x": 1848.968713760376,
1479     "y": 1188.0000591278076,
1480     "z": "cbb28df7.1359",
1481     "wires": []
1482   },
1483   {
1484     "id": "d114cdd9.cd628",
1485     "type": "set",
1486     "name": "set dst-access-node-id",
1487     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1488     "comments": "",
1489     "x": 2025.9689350128174,
1490     "y": 1318.0003151893616,
1491     "z": "cbb28df7.1359",
1492     "wires": []
1493   },
1494   {
1495     "id": "b311a80c.06bd18",
1496     "type": "set",
1497     "name": "set dst-clientSignal",
1498     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
1499     "comments": "",
1500     "x": 2019.9689350128174,
1501     "y": 1362.0003151893616,
1502     "z": "cbb28df7.1359",
1503     "wires": []
1504   },
1505   {
1506     "id": "9a953c6c.d3922",
1507     "type": "set",
1508     "name": "set dst-cVLAN",
1509     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
1510     "comments": "",
1511     "x": 2010.9689350128174,
1512     "y": 1401.0003151893616,
1513     "z": "cbb28df7.1359",
1514     "wires": []
1515   },
1516   {
1517     "id": "41e007bc.b49c58",
1518     "type": "comment",
1519     "name": "Get controller info and send request",
1520     "info": "",
1521     "comments": "",
1522     "x": 1892.968807220459,
1523     "y": 1872.000153541565,
1524     "z": "cbb28df7.1359",
1525     "wires": []
1526   },
1527   {
1528     "id": "ce79c05a.55781",
1529     "type": "execute",
1530     "name": "execute RestApiCallNode Create ethernet Service",
1531     "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1532     "comments": "",
1533     "outputs": 1,
1534     "x": 1945.96923828125,
1535     "y": 2015.0009536743164,
1536     "z": "cbb28df7.1359",
1537     "wires": [
1538       [
1539         "163df924.1c4a27",
1540         "eec75b28.8ba118"
1541       ]
1542     ]
1543   },
1544   {
1545     "id": "163df924.1c4a27",
1546     "type": "success",
1547     "name": "success",
1548     "xml": "<outcome value='success'>\n",
1549     "comments": "",
1550     "outputs": 1,
1551     "x": 2211.968963623047,
1552     "y": 2044.0010766983032,
1553     "z": "cbb28df7.1359",
1554     "wires": [
1555       [
1556         "638866f6.2498c8"
1557       ]
1558     ]
1559   },
1560   {
1561     "id": "638866f6.2498c8",
1562     "type": "block",
1563     "name": "block : atomic",
1564     "xml": "<block atomic=\"true\">",
1565     "atomic": "true",
1566     "comments": "",
1567     "outputs": 1,
1568     "x": 2359.968963623047,
1569     "y": 2042.0009546279907,
1570     "z": "cbb28df7.1359",
1571     "wires": [
1572       []
1573     ]
1574   },
1575   {
1576     "id": "bb864308.fd063",
1577     "type": "returnFailure",
1578     "name": "return failure",
1579     "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",
1580     "comments": "",
1581     "x": 2341.968994140625,
1582     "y": 1989.0010147094727,
1583     "z": "cbb28df7.1359",
1584     "wires": []
1585   },
1586   {
1587     "id": "eec75b28.8ba118",
1588     "type": "failure",
1589     "name": "failure",
1590     "xml": "<outcome value='failure'>\n",
1591     "comments": "",
1592     "outputs": 1,
1593     "x": 2202.9689025878906,
1594     "y": 1989.0010147094727,
1595     "z": "cbb28df7.1359",
1596     "wires": [
1597       [
1598         "bb864308.fd063"
1599       ]
1600     ]
1601   },
1602   {
1603     "id": "4cd33402.f5bedc",
1604     "type": "failure",
1605     "name": "failure",
1606     "xml": "<outcome value='failure'>\n",
1607     "comments": "",
1608     "outputs": 1,
1609     "x": 864.7311744689941,
1610     "y": 2095.9537086486816,
1611     "z": "cbb28df7.1359",
1612     "wires": [
1613       [
1614         "ed40bf1a.07a59"
1615       ]
1616     ]
1617   },
1618   {
1619     "id": "ed40bf1a.07a59",
1620     "type": "returnFailure",
1621     "name": "return failure",
1622     "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",
1623     "comments": "",
1624     "x": 1031.2549953460693,
1625     "y": 2122.5727157592773,
1626     "z": "cbb28df7.1359",
1627     "wires": []
1628   },
1629   {
1630     "id": "589b918b.e1a7",
1631     "type": "failure",
1632     "name": "not-found",
1633     "xml": "<outcome value='not-found'>\n",
1634     "comments": "",
1635     "outputs": 1,
1636     "x": 866.8264026641846,
1637     "y": 2143.715551376343,
1638     "z": "cbb28df7.1359",
1639     "wires": [
1640       [
1641         "ed40bf1a.07a59"
1642       ]
1643     ]
1644   },
1645   {
1646     "id": "489a8dba.917834",
1647     "type": "comment",
1648     "name": "Save Resource to AAI",
1649     "info": "",
1650     "comments": "",
1651     "x": 638.7788181304932,
1652     "y": 2084.3028717041016,
1653     "z": "cbb28df7.1359",
1654     "wires": []
1655   },
1656   {
1657     "id": "75a3a30e.eab54c",
1658     "type": "set",
1659     "name": "set output to api handler",
1660     "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",
1661     "comments": "",
1662     "x": 653.5465145111084,
1663     "y": 2005.8283529281616,
1664     "z": "cbb28df7.1359",
1665     "wires": []
1666   },
1667   {
1668     "id": "3b7ef3d8.70ae1c",
1669     "type": "returnSuccess",
1670     "name": "return success",
1671     "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",
1672     "comments": "",
1673     "x": 613.9596862792969,
1674     "y": 2191.4441413879395,
1675     "z": "cbb28df7.1359",
1676     "wires": []
1677   },
1678   {
1679     "id": "f879cc99.b3ef8",
1680     "type": "execute",
1681     "name": "execute RestApiCallNode - PUT AR by id",
1682     "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",
1683     "comments": "",
1684     "outputs": 1,
1685     "x": 706.2785968780518,
1686     "y": 1930.4692058563232,
1687     "z": "cbb28df7.1359",
1688     "wires": [
1689       [
1690         "e695cbc9.963178",
1691         "c00494c2.3f5b48",
1692         "2e65b760.7a5738"
1693       ]
1694     ]
1695   },
1696   {
1697     "id": "e695cbc9.963178",
1698     "type": "not-found",
1699     "name": "not-found",
1700     "xml": "<outcome value='not-found'>\n",
1701     "comments": "",
1702     "outputs": 1,
1703     "x": 960.9200191497803,
1704     "y": 1974.8006000518799,
1705     "z": "cbb28df7.1359",
1706     "wires": [
1707       [
1708         "c996b950.fcda58"
1709       ]
1710     ]
1711   },
1712   {
1713     "id": "c00494c2.3f5b48",
1714     "type": "failure",
1715     "name": "failure",
1716     "xml": "<outcome value='failure'>\n",
1717     "comments": "",
1718     "outputs": 1,
1719     "x": 962.9200420379639,
1720     "y": 1933.3005641922355,
1721     "z": "cbb28df7.1359",
1722     "wires": [
1723       [
1724         "c996b950.fcda58"
1725       ]
1726     ]
1727   },
1728   {
1729     "id": "2e65b760.7a5738",
1730     "type": "success",
1731     "name": "success",
1732     "xml": "<outcome value='success'>\n",
1733     "comments": "",
1734     "outputs": 1,
1735     "x": 966.6701259613037,
1736     "y": 1884.6577167510986,
1737     "z": "cbb28df7.1359",
1738     "wires": [
1739       [
1740         "fe27e5ca.7550c8"
1741       ]
1742     ]
1743   },
1744   {
1745     "id": "c996b950.fcda58",
1746     "type": "returnFailure",
1747     "name": "return failure",
1748     "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",
1749     "comments": "",
1750     "x": 1121.67014503479,
1751     "y": 1953.050630569458,
1752     "z": "cbb28df7.1359",
1753     "wires": []
1754   },
1755   {
1756     "id": "fe27e5ca.7550c8",
1757     "type": "block",
1758     "name": "block",
1759     "xml": "<block>\n",
1760     "atomic": "false",
1761     "comments": "",
1762     "outputs": 1,
1763     "x": 1094.3260707855225,
1764     "y": 1886.8498849868774,
1765     "z": "cbb28df7.1359",
1766     "wires": [
1767       []
1768     ]
1769   },
1770   {
1771     "id": "f192b08c.ec685",
1772     "type": "set",
1773     "name": "set ar-data",
1774     "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.` \" />",
1775     "comments": "",
1776     "x": 608.4922122955322,
1777     "y": 1764.8501069545746,
1778     "z": "cbb28df7.1359",
1779     "wires": []
1780   },
1781   {
1782     "id": "f18db1f7.e4c95",
1783     "type": "execute",
1784     "name": "execute getTime",
1785     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1786     "comments": "",
1787     "outputs": 1,
1788     "x": 625.77805519104,
1789     "y": 1837.4697046279907,
1790     "z": "cbb28df7.1359",
1791     "wires": [
1792       []
1793     ]
1794   },
1795   {
1796     "id": "7bf02ef8.1215c",
1797     "type": "set",
1798     "name": "set allotted-resource-oper-status",
1799     "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",
1800     "comments": "",
1801     "x": 675.7651348114014,
1802     "y": 1874.4207849502563,
1803     "z": "cbb28df7.1359",
1804     "wires": []
1805   },
1806   {
1807     "id": "17f7a6f0.5e20c9",
1808     "type": "set",
1809     "name": "set model-data",
1810     "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.` \" />",
1811     "comments": "",
1812     "x": 622.3337535858154,
1813     "y": 1804.024757385254,
1814     "z": "cbb28df7.1359",
1815     "wires": []
1816   },
1817   {
1818     "id": "59f6758a.f1882c",
1819     "type": "comment",
1820     "name": "Prepare data for allotted-resource addition to MDSAL",
1821     "info": "This will add to allotted-resource which is present inside service.",
1822     "comments": "",
1823     "x": 735.66721534729,
1824     "y": 1725.0247094631195,
1825     "z": "cbb28df7.1359",
1826     "wires": []
1827   },
1828   {
1829     "id": "e5584499.737208",
1830     "type": "comment",
1831     "name": "Add to allotted-resources in mdsal",
1832     "info": "",
1833     "comments": "",
1834     "x": 677.2470417022705,
1835     "y": 1692.4380111694336,
1836     "z": "cbb28df7.1359",
1837     "wires": []
1838   },
1839   {
1840     "id": "bd9c39e4.8a1478",
1841     "type": "update",
1842     "name": "update AAI allotted-resource",
1843     "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",
1844     "comments": "",
1845     "outputs": 1,
1846     "x": 665.2230968475342,
1847     "y": 2121.7550144195557,
1848     "z": "cbb28df7.1359",
1849     "wires": [
1850       [
1851         "4cd33402.f5bedc",
1852         "589b918b.e1a7"
1853       ]
1854     ]
1855   },
1856   {
1857     "id": "dfdb9aed.f71ce8",
1858     "type": "execute",
1859     "name": "execute RestApiCallNode getPath from OOF",
1860     "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1861     "comments": "",
1862     "outputs": 1,
1863     "x": 1473.973056793213,
1864     "y": 1684.2546663284302,
1865     "z": "cbb28df7.1359",
1866     "wires": [
1867       [
1868         "5746b590.8e789c",
1869         "dfadca6b.0a2088"
1870       ]
1871     ]
1872   },
1873   {
1874     "id": "5746b590.8e789c",
1875     "type": "success",
1876     "name": "success",
1877     "xml": "<outcome value='success'>\n",
1878     "comments": "",
1879     "outputs": 1,
1880     "x": 1713.9731979370117,
1881     "y": 1708.254635810852,
1882     "z": "cbb28df7.1359",
1883     "wires": [
1884       [
1885         "6ae16eae.42967"
1886       ]
1887     ]
1888   },
1889   {
1890     "id": "882eddea.960c4",
1891     "type": "returnFailure",
1892     "name": "return failure",
1893     "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",
1894     "comments": "",
1895     "x": 1852.973232269287,
1896     "y": 1657.2547273635864,
1897     "z": "cbb28df7.1359",
1898     "wires": []
1899   },
1900   {
1901     "id": "dfadca6b.0a2088",
1902     "type": "failure",
1903     "name": "failure",
1904     "xml": "<outcome value='failure'>\n",
1905     "comments": "",
1906     "outputs": 1,
1907     "x": 1712.9729843139648,
1908     "y": 1657.254726409912,
1909     "z": "cbb28df7.1359",
1910     "wires": [
1911       [
1912         "882eddea.960c4"
1913       ]
1914     ]
1915   },
1916   {
1917     "id": "4ef28c1a.417b14",
1918     "type": "comment",
1919     "name": "Get VPNs from OOF",
1920     "info": "",
1921     "comments": "",
1922     "x": 1459.976978302002,
1923     "y": 1651.2586660385132,
1924     "z": "cbb28df7.1359",
1925     "wires": []
1926   },
1927   {
1928     "id": "14017773.15ade9",
1929     "type": "for",
1930     "name": "for vidx..oof.vpns_length[]",
1931     "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1932     "comments": "",
1933     "outputs": 1,
1934     "x": 1413.972900390625,
1935     "y": 1766.50439453125,
1936     "z": "cbb28df7.1359",
1937     "wires": [
1938       [
1939         "1e38af3f.f6ce71"
1940       ]
1941     ]
1942   },
1943   {
1944     "id": "3e61c92c.93c8a6",
1945     "type": "comment",
1946     "name": "Loop through VPN and configure them",
1947     "info": "",
1948     "comments": "",
1949     "x": 1459.9733505249023,
1950     "y": 1901.0047721862793,
1951     "z": "cbb28df7.1359",
1952     "wires": []
1953   },
1954   {
1955     "id": "63d37889.57ca38",
1956     "type": "switchNode",
1957     "name": "switch name",
1958     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",
1959     "comments": "",
1960     "outputs": 1,
1961     "x": 2653.757080078125,
1962     "y": 1238.121826171875,
1963     "z": "cbb28df7.1359",
1964     "wires": [
1965       [
1966         "bead713d.d0c48"
1967       ]
1968     ]
1969   },
1970   {
1971     "id": "bead713d.d0c48",
1972     "type": "outcomeTrue",
1973     "name": "true",
1974     "xml": "<outcome value='true'>\n",
1975     "comments": "",
1976     "outputs": 1,
1977     "x": 2842.757049560547,
1978     "y": 1238.121811389923,
1979     "z": "cbb28df7.1359",
1980     "wires": [
1981       [
1982         "e5afa8f6.b33978"
1983       ]
1984     ]
1985   },
1986   {
1987     "id": "e5afa8f6.b33978",
1988     "type": "set",
1989     "name": "set etht-svc-name & bandwidth-profile-name",
1990     "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",
1991     "comments": "",
1992     "x": 3083.75736618042,
1993     "y": 1237.7218661308289,
1994     "z": "cbb28df7.1359",
1995     "wires": []
1996   },
1997   {
1998     "id": "ff3897ba.b2c938",
1999     "type": "switchNode",
2000     "name": "switch description",
2001     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
2002     "comments": "",
2003     "outputs": 1,
2004     "x": 2666.5969581604004,
2005     "y": 1273.1219210624695,
2006     "z": "cbb28df7.1359",
2007     "wires": [
2008       [
2009         "7e0c933d.418d0c"
2010       ]
2011     ]
2012   },
2013   {
2014     "id": "7e0c933d.418d0c",
2015     "type": "outcomeTrue",
2016     "name": "true",
2017     "xml": "<outcome value='true'>\n",
2018     "comments": "",
2019     "outputs": 1,
2020     "x": 2841.597023010254,
2021     "y": 1275.1219067573547,
2022     "z": "cbb28df7.1359",
2023     "wires": [
2024       [
2025         "3819c097.d5b38"
2026       ]
2027     ]
2028   },
2029   {
2030     "id": "3819c097.d5b38",
2031     "type": "set",
2032     "name": "set etht-svc-descr",
2033     "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",
2034     "comments": "",
2035     "x": 2997.9303398132324,
2036     "y": 1272.5829815864563,
2037     "z": "cbb28df7.1359",
2038     "wires": []
2039   },
2040   {
2041     "id": "410b060d.0c2948",
2042     "type": "switchNode",
2043     "name": "switch tenantId",
2044     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
2045     "comments": "",
2046     "outputs": 1,
2047     "x": 2661.979221343994,
2048     "y": 1306.4553112983704,
2049     "z": "cbb28df7.1359",
2050     "wires": [
2051       [
2052         "2df9d1b1.36383e"
2053       ]
2054     ]
2055   },
2056   {
2057     "id": "2df9d1b1.36383e",
2058     "type": "outcomeTrue",
2059     "name": "true",
2060     "xml": "<outcome value='true'>\n",
2061     "comments": "",
2062     "outputs": 1,
2063     "x": 2839.9792251586914,
2064     "y": 1310.4551892280579,
2065     "z": "cbb28df7.1359",
2066     "wires": [
2067       [
2068         "357ff876.835a78"
2069       ]
2070     ]
2071   },
2072   {
2073     "id": "357ff876.835a78",
2074     "type": "set",
2075     "name": "set tenantId",
2076     "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2077     "comments": "",
2078     "x": 2977.9794120788574,
2079     "y": 1307.0551648139954,
2080     "z": "cbb28df7.1359",
2081     "wires": []
2082   },
2083   {
2084     "id": "623ff136.8ac42",
2085     "type": "switchNode",
2086     "name": "switch cir",
2087     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
2088     "comments": "",
2089     "outputs": 1,
2090     "x": 2644.818820953369,
2091     "y": 1379.4552664756775,
2092     "z": "cbb28df7.1359",
2093     "wires": [
2094       [
2095         "a057011b.3d0e6"
2096       ]
2097     ]
2098   },
2099   {
2100     "id": "a057011b.3d0e6",
2101     "type": "outcomeTrue",
2102     "name": "true",
2103     "xml": "<outcome value='true'>\n",
2104     "comments": "",
2105     "outputs": 1,
2106     "x": 2839.8188858032227,
2107     "y": 1380.4552664756775,
2108     "z": "cbb28df7.1359",
2109     "wires": [
2110       [
2111         "25f349b7.7cabf6"
2112       ]
2113     ]
2114   },
2115   {
2116     "id": "25f349b7.7cabf6",
2117     "type": "set",
2118     "name": "set cir",
2119     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2120     "comments": "",
2121     "x": 2964.15238571167,
2122     "y": 1378.916341304779,
2123     "z": "cbb28df7.1359",
2124     "wires": []
2125   },
2126   {
2127     "id": "805eddea.23b52",
2128     "type": "switchNode",
2129     "name": "switch vpnType",
2130     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
2131     "comments": "",
2132     "outputs": 1,
2133     "x": 2659.127109527588,
2134     "y": 1342.232976436615,
2135     "z": "cbb28df7.1359",
2136     "wires": [
2137       [
2138         "f566b2bd.002c1"
2139       ]
2140     ]
2141   },
2142   {
2143     "id": "f566b2bd.002c1",
2144     "type": "outcomeTrue",
2145     "name": "true",
2146     "xml": "<outcome value='true'>\n",
2147     "comments": "",
2148     "outputs": 1,
2149     "x": 2841.127296447754,
2150     "y": 1345.232961177826,
2151     "z": "cbb28df7.1359",
2152     "wires": [
2153       [
2154         "69079e30.4f1f7"
2155       ]
2156     ]
2157   },
2158   {
2159     "id": "69079e30.4f1f7",
2160     "type": "set",
2161     "name": "set vpnType",
2162     "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2163     "comments": "",
2164     "x": 2977.461040496826,
2165     "y": 1341.6942028999329,
2166     "z": "cbb28df7.1359",
2167     "wires": []
2168   },
2169   {
2170     "id": "3055227f.6b6a0e",
2171     "type": "switchNode",
2172     "name": "switch eir",
2173     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
2174     "comments": "",
2175     "outputs": 1,
2176     "x": 2640.1091651916504,
2177     "y": 1413.1531739234924,
2178     "z": "cbb28df7.1359",
2179     "wires": [
2180       [
2181         "2ee770d4.d5299"
2182       ]
2183     ]
2184   },
2185   {
2186     "id": "2ee770d4.d5299",
2187     "type": "outcomeTrue",
2188     "name": "true",
2189     "xml": "<outcome value='true'>\n",
2190     "comments": "",
2191     "outputs": 1,
2192     "x": 2840.1094131469727,
2193     "y": 1416.1531128883362,
2194     "z": "cbb28df7.1359",
2195     "wires": [
2196       [
2197         "b9ec2386.9ae27"
2198       ]
2199     ]
2200   },
2201   {
2202     "id": "b9ec2386.9ae27",
2203     "type": "set",
2204     "name": "set eir",
2205     "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2206     "comments": "",
2207     "x": 2963.4430351257324,
2208     "y": 1415.6141724586487,
2209     "z": "cbb28df7.1359",
2210     "wires": []
2211   },
2212   {
2213     "id": "830a582f.f084d8",
2214     "type": "switchNode",
2215     "name": "switch colorAware",
2216     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
2217     "comments": "",
2218     "outputs": 1,
2219     "x": 2665.109775543213,
2220     "y": 1447.1530528068542,
2221     "z": "cbb28df7.1359",
2222     "wires": [
2223       [
2224         "e42ebbc6.466e88"
2225       ]
2226     ]
2227   },
2228   {
2229     "id": "e42ebbc6.466e88",
2230     "type": "outcomeTrue",
2231     "name": "true",
2232     "xml": "<outcome value='true'>\n",
2233     "comments": "",
2234     "outputs": 1,
2235     "x": 2836.1095962524414,
2236     "y": 1453.1529912948608,
2237     "z": "cbb28df7.1359",
2238     "wires": [
2239       [
2240         "6fd3f45c.5fea2c"
2241       ]
2242     ]
2243   },
2244   {
2245     "id": "6fd3f45c.5fea2c",
2246     "type": "set",
2247     "name": "set colorAware",
2248     "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2249     "comments": "",
2250     "x": 2984.44291305542,
2251     "y": 1453.6142039299011,
2252     "z": "cbb28df7.1359",
2253     "wires": []
2254   },
2255   {
2256     "id": "f77b8935.e0ba38",
2257     "type": "switchNode",
2258     "name": "switch couplingFlag",
2259     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
2260     "comments": "",
2261     "outputs": 1,
2262     "x": 2667.1097145080566,
2263     "y": 1483.1531147956848,
2264     "z": "cbb28df7.1359",
2265     "wires": [
2266       [
2267         "66020844.5e3b48"
2268       ]
2269     ]
2270   },
2271   {
2272     "id": "66020844.5e3b48",
2273     "type": "outcomeTrue",
2274     "name": "true",
2275     "xml": "<outcome value='true'>\n",
2276     "comments": "",
2277     "outputs": 1,
2278     "x": 2839.1095962524414,
2279     "y": 1492.1530842781067,
2280     "z": "cbb28df7.1359",
2281     "wires": [
2282       [
2283         "74a5b014.5554d"
2284       ]
2285     ]
2286   },
2287   {
2288     "id": "74a5b014.5554d",
2289     "type": "set",
2290     "name": "set couplingFlag",
2291     "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2292     "comments": "",
2293     "x": 2992.44291305542,
2294     "y": 1492.6142048835754,
2295     "z": "cbb28df7.1359",
2296     "wires": []
2297   },
2298   {
2299     "id": "4bea378a.ee8c98",
2300     "type": "comment",
2301     "name": "Check if other EP exists in SOTNConnectionResource",
2302     "info": "",
2303     "comments": "",
2304     "x": 2798.312744140625,
2305     "y": 1101.7884521484375,
2306     "z": "cbb28df7.1359",
2307     "wires": []
2308   },
2309   {
2310     "id": "c5b17466.a418c8",
2311     "type": "comment",
2312     "name": "Get other global parameters from network",
2313     "info": "",
2314     "comments": "",
2315     "x": 2734.3125,
2316     "y": 1187.7884521484375,
2317     "z": "cbb28df7.1359",
2318     "wires": []
2319   },
2320   {
2321     "id": "b4347cf5.49bc8",
2322     "type": "switchNode",
2323     "name": "switch access-provider-id",
2324     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
2325     "comments": "",
2326     "outputs": 1,
2327     "x": 1682.5348529815674,
2328     "y": 1449.2329812049866,
2329     "z": "cbb28df7.1359",
2330     "wires": [
2331       [
2332         "1b940064.8ad79"
2333       ]
2334     ]
2335   },
2336   {
2337     "id": "1b940064.8ad79",
2338     "type": "outcomeTrue",
2339     "name": "true",
2340     "xml": "<outcome value='true'>\n",
2341     "comments": "",
2342     "outputs": 1,
2343     "x": 1869.5348529815674,
2344     "y": 1445.2329812049866,
2345     "z": "cbb28df7.1359",
2346     "wires": [
2347       [
2348         "427c462c.3a8218"
2349       ]
2350     ]
2351   },
2352   {
2353     "id": "427c462c.3a8218",
2354     "type": "set",
2355     "name": "set access-provider-id",
2356     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2357     "comments": "",
2358     "x": 2037.5348529815674,
2359     "y": 1445.8329873085022,
2360     "z": "cbb28df7.1359",
2361     "wires": []
2362   },
2363   {
2364     "id": "5c76f693.8395f8",
2365     "type": "switchNode",
2366     "name": "switch access-client-id",
2367     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
2368     "comments": "",
2369     "outputs": 1,
2370     "x": 1673.5348682403564,
2371     "y": 1492.2434296607971,
2372     "z": "cbb28df7.1359",
2373     "wires": [
2374       [
2375         "8078ffd1.06781"
2376       ]
2377     ]
2378   },
2379   {
2380     "id": "8078ffd1.06781",
2381     "type": "outcomeTrue",
2382     "name": "true",
2383     "xml": "<outcome value='true'>\n",
2384     "comments": "",
2385     "outputs": 1,
2386     "x": 1860.5348682403564,
2387     "y": 1488.2434296607971,
2388     "z": "cbb28df7.1359",
2389     "wires": [
2390       [
2391         "ee89727e.012f2"
2392       ]
2393     ]
2394   },
2395   {
2396     "id": "ee89727e.012f2",
2397     "type": "set",
2398     "name": "set access-client-id",
2399     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2400     "comments": "",
2401     "x": 2028.5348682403564,
2402     "y": 1488.8434357643127,
2403     "z": "cbb28df7.1359",
2404     "wires": []
2405   },
2406   {
2407     "id": "59d53676.123ac8",
2408     "type": "switchNode",
2409     "name": "switch access-topology-id",
2410     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
2411     "comments": "",
2412     "outputs": 1,
2413     "x": 1686.534812927246,
2414     "y": 1534.2434606552124,
2415     "z": "cbb28df7.1359",
2416     "wires": [
2417       [
2418         "ad434cbd.d2efc"
2419       ]
2420     ]
2421   },
2422   {
2423     "id": "ad434cbd.d2efc",
2424     "type": "outcomeTrue",
2425     "name": "true",
2426     "xml": "<outcome value='true'>\n",
2427     "comments": "",
2428     "outputs": 1,
2429     "x": 1873.534812927246,
2430     "y": 1530.2434606552124,
2431     "z": "cbb28df7.1359",
2432     "wires": [
2433       [
2434         "2b625bb5.d8dfe4"
2435       ]
2436     ]
2437   },
2438   {
2439     "id": "2b625bb5.d8dfe4",
2440     "type": "set",
2441     "name": "set access-topology-id",
2442     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2443     "comments": "",
2444     "x": 2041.534812927246,
2445     "y": 1530.843466758728,
2446     "z": "cbb28df7.1359",
2447     "wires": []
2448   },
2449   {
2450     "id": "1e38af3f.f6ce71",
2451     "type": "block",
2452     "name": "block : atomic",
2453     "xml": "<block atomic=\"true\">",
2454     "atomic": "true",
2455     "outputs": 1,
2456     "x": 1637.090217590332,
2457     "y": 1803.3444538116455,
2458     "z": "cbb28df7.1359",
2459     "wires": [
2460       [
2461         "25129de9.186342",
2462         "bf4d6589.d6b308",
2463         "2c248924.320b46",
2464         "97ef93ae.8225c",
2465         "71bec3b2.6b692c",
2466         "803aa791.a5b668",
2467         "55ed92f3.9f37ac",
2468         "b5e33c1e.9cd83",
2469         "ce79c05a.55781",
2470         "23370a9.5aed5f6"
2471       ]
2472     ]
2473   },
2474   {
2475     "id": "a8cc5d14.06bf4",
2476     "type": "set",
2477     "name": "set controller data",
2478     "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",
2479     "comments": "",
2480     "x": 2278.534881591797,
2481     "y": 1867.6776461601257,
2482     "z": "cbb28df7.1359",
2483     "wires": []
2484   },
2485   {
2486     "id": "b5e33c1e.9cd83",
2487     "type": "get-resource",
2488     "name": "get-resource esr-thirdparty-sdnc",
2489     "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",
2490     "comments": "",
2491     "outputs": 1,
2492     "x": 1895.0347900390625,
2493     "y": 1904.6775856018066,
2494     "z": "cbb28df7.1359",
2495     "wires": [
2496       [
2497         "f21a66d9.8077a8",
2498         "63593a58.c04864",
2499         "7c8fedda.36f2d4"
2500       ]
2501     ]
2502   },
2503   {
2504     "id": "f21a66d9.8077a8",
2505     "type": "success",
2506     "name": "success",
2507     "xml": "<outcome value='success'>\n",
2508     "comments": "",
2509     "outputs": 1,
2510     "x": 2115.034725189209,
2511     "y": 1868.6775546073914,
2512     "z": "cbb28df7.1359",
2513     "wires": [
2514       [
2515         "a8cc5d14.06bf4"
2516       ]
2517     ]
2518   },
2519   {
2520     "id": "63593a58.c04864",
2521     "type": "not-found",
2522     "name": "not-found",
2523     "xml": "<outcome value='not-found'>\n",
2524     "comments": "",
2525     "outputs": 1,
2526     "x": 2124.525665283203,
2527     "y": 1909.2515606880188,
2528     "z": "cbb28df7.1359",
2529     "wires": [
2530       [
2531         "ba7a24b5.83e278"
2532       ]
2533     ]
2534   },
2535   {
2536     "id": "7c8fedda.36f2d4",
2537     "type": "other",
2538     "name": "other",
2539     "xml": "<outcome value='Other'>\n",
2540     "comments": "",
2541     "outputs": 1,
2542     "x": 2119.858642578125,
2543     "y": 1945.5848736763,
2544     "z": "cbb28df7.1359",
2545     "wires": [
2546       [
2547         "9d46cc37.6bebe"
2548       ]
2549     ]
2550   },
2551   {
2552     "id": "ba7a24b5.83e278",
2553     "type": "returnFailure",
2554     "name": "return failure",
2555     "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",
2556     "comments": "",
2557     "x": 2271.0970153808594,
2558     "y": 1905.5373873710632,
2559     "z": "cbb28df7.1359",
2560     "wires": []
2561   },
2562   {
2563     "id": "9d46cc37.6bebe",
2564     "type": "returnFailure",
2565     "name": "return failure",
2566     "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",
2567     "comments": "",
2568     "x": 2274.6312866210938,
2569     "y": 1947.0240216255188,
2570     "z": "cbb28df7.1359",
2571     "wires": []
2572   },
2573   {
2574     "id": "55ed92f3.9f37ac",
2575     "type": "get-resource",
2576     "name": "get-resource pnf",
2577     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
2578     "comments": "",
2579     "outputs": 1,
2580     "x": 1840.534683227539,
2581     "y": 1813.6772294044495,
2582     "z": "cbb28df7.1359",
2583     "wires": [
2584       [
2585         "4c302da.addb0d4",
2586         "5d24a360.057f4c",
2587         "41a13e1a.fbbb1"
2588       ]
2589     ]
2590   },
2591   {
2592     "id": "4c302da.addb0d4",
2593     "type": "success",
2594     "name": "success",
2595     "xml": "<outcome value='success'>\n",
2596     "comments": "",
2597     "outputs": 1,
2598     "x": 2022.5347290039062,
2599     "y": 1758.677339553833,
2600     "z": "cbb28df7.1359",
2601     "wires": [
2602       [
2603         "5347e72e.2bfef8"
2604       ]
2605     ]
2606   },
2607   {
2608     "id": "5d24a360.057f4c",
2609     "type": "not-found",
2610     "name": "not-found",
2611     "xml": "<outcome value='not-found'>\n",
2612     "comments": "",
2613     "outputs": 1,
2614     "x": 2023.0256309509277,
2615     "y": 1796.2514362335205,
2616     "z": "cbb28df7.1359",
2617     "wires": [
2618       [
2619         "30e7544d.83010c"
2620       ]
2621     ]
2622   },
2623   {
2624     "id": "41a13e1a.fbbb1",
2625     "type": "other",
2626     "name": "other",
2627     "xml": "<outcome value='Other'>\n",
2628     "comments": "",
2629     "outputs": 1,
2630     "x": 2014.358642578125,
2631     "y": 1829.5848112106323,
2632     "z": "cbb28df7.1359",
2633     "wires": [
2634       [
2635         "2ea2fe84.d1da82"
2636       ]
2637     ]
2638   },
2639   {
2640     "id": "30e7544d.83010c",
2641     "type": "returnFailure",
2642     "name": "return failure",
2643     "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",
2644     "comments": "",
2645     "x": 2170.597255706787,
2646     "y": 1795.5373249053955,
2647     "z": "cbb28df7.1359",
2648     "wires": []
2649   },
2650   {
2651     "id": "2ea2fe84.d1da82",
2652     "type": "returnFailure",
2653     "name": "return failure",
2654     "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",
2655     "comments": "",
2656     "x": 2168.1312866210938,
2657     "y": 1829.023959159851,
2658     "z": "cbb28df7.1359",
2659     "wires": []
2660   },
2661   {
2662     "id": "5347e72e.2bfef8",
2663     "type": "set",
2664     "name": "set tmp.thirdparty-sdnc-id",
2665     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2666     "comments": "",
2667     "x": 2207.5347290039062,
2668     "y": 1757.6774616241455,
2669     "z": "cbb28df7.1359",
2670     "wires": []
2671   },
2672   {
2673     "id": "d0963e5.17cefc",
2674     "type": "comment",
2675     "name": "get domain controller information",
2676     "info": "",
2677     "comments": "",
2678     "x": 1891.0385971069336,
2679     "y": 1780.6811847686768,
2680     "z": "cbb28df7.1359",
2681     "wires": []
2682   },
2683   {
2684     "id": "23370a9.5aed5f6",
2685     "type": "set",
2686     "name": "set oof.vpn",
2687     "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
2688     "comments": "",
2689     "x": 1852.534683227539,
2690     "y": 1734.7883129119873,
2691     "z": "cbb28df7.1359",
2692     "wires": []
2693   },
2694   {
2695     "id": "bf4d6589.d6b308",
2696     "type": "save",
2697     "name": "save VPN resource in AAI",
2698     "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`' />",
2699     "comments": "",
2700     "outputs": 1,
2701     "x": 1871.000099182129,
2702     "y": 2151.7507152557373,
2703     "z": "cbb28df7.1359",
2704     "wires": [
2705       []
2706     ]
2707   },
2708   {
2709     "id": "2c248924.320b46",
2710     "type": "set",
2711     "name": "set tmp.vpnName",
2712     "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
2713     "comments": "",
2714     "x": 1847.500099182129,
2715     "y": 2104.2504119873047,
2716     "z": "cbb28df7.1359",
2717     "wires": []
2718   },
2719   {
2720     "id": "97ef93ae.8225c",
2721     "type": "save",
2722     "name": "save connectivity relationship in AAI",
2723     "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`\" />",
2724     "comments": "",
2725     "outputs": 1,
2726     "x": 1906.000099182129,
2727     "y": 2196.7504711151123,
2728     "z": "cbb28df7.1359",
2729     "wires": [
2730       []
2731     ]
2732   },
2733   {
2734     "id": "cc0d73cc.20adc",
2735     "type": "comment",
2736     "name": "save vpn and its relation to AAI",
2737     "info": "",
2738     "comments": "",
2739     "x": 1889.0002975463867,
2740     "y": 2065.750680923462,
2741     "z": "cbb28df7.1359",
2742     "wires": []
2743   },
2744   {
2745     "id": "25129de9.186342",
2746     "type": "set",
2747     "name": "set src-ltpId dst-ltpId",
2748     "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`\" />",
2749     "comments": "",
2750     "x": 1858.000129699707,
2751     "y": 2236.750591278076,
2752     "z": "cbb28df7.1359",
2753     "wires": []
2754   },
2755   {
2756     "id": "71bec3b2.6b692c",
2757     "type": "save",
2758     "name": "save srcLTP relationship in AAI",
2759     "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/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",
2760     "comments": "",
2761     "outputs": 1,
2762     "x": 1892.0003814697266,
2763     "y": 2276.5008001327515,
2764     "z": "cbb28df7.1359",
2765     "wires": [
2766       []
2767     ]
2768   },
2769   {
2770     "id": "803aa791.a5b668",
2771     "type": "save",
2772     "name": "save dstLTP relationship in AAI",
2773     "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/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`\" />",
2774     "comments": "",
2775     "outputs": 1,
2776     "x": 1890.0002136230469,
2777     "y": 2322.250638961792,
2778     "z": "cbb28df7.1359",
2779     "wires": [
2780       []
2781     ]
2782   },
2783   {
2784     "id": "acc938bc.eae1d8",
2785     "type": "execute",
2786     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2787     "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",
2788     "comments": "",
2789     "outputs": 1,
2790     "x": 832.0039367675781,
2791     "y": 587.0039119720459,
2792     "z": "cbb28df7.1359",
2793     "wires": [
2794       [
2795         "a1fbf2bd.6b2d9",
2796         "97f58790.fbe988"
2797       ]
2798     ]
2799   },
2800   {
2801     "id": "d519b726.ce9b88",
2802     "type": "execute",
2803     "name": "execute RestApiCallNode - get-resource parent service data",
2804     "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",
2805     "comments": "",
2806     "outputs": 1,
2807     "x": 759.0040893554688,
2808     "y": 814.004075050354,
2809     "z": "cbb28df7.1359",
2810     "wires": [
2811       [
2812         "76dc332e.fe177c",
2813         "cbf3f4e6.00aa98"
2814       ]
2815     ]
2816   },
2817   {
2818     "id": "8ad08551.c43818",
2819     "type": "execute",
2820     "name": "get parent-service-data url",
2821     "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",
2822     "comments": "",
2823     "outputs": 1,
2824     "x": 659.0039978027344,
2825     "y": 777.0039081573486,
2826     "z": "cbb28df7.1359",
2827     "wires": [
2828       []
2829     ]
2830   },
2831   {
2832     "id": "2fbf3350.d69d7c",
2833     "type": "execute",
2834     "name": "generate tmp.ar-other-url-connection",
2835     "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",
2836     "comments": "",
2837     "outputs": 1,
2838     "x": 2073.0003509521484,
2839     "y": 933.3334693908691,
2840     "z": "cbb28df7.1359",
2841     "wires": [
2842       []
2843     ]
2844   },
2845   {
2846     "id": "51067155.cb254",
2847     "type": "execute",
2848     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2849     "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",
2850     "comments": "",
2851     "outputs": 1,
2852     "x": 2210.000991821289,
2853     "y": 975.8333339691162,
2854     "z": "cbb28df7.1359",
2855     "wires": [
2856       [
2857         "7d7dc112.d678b",
2858         "79425b66.b91424"
2859       ]
2860     ]
2861   },
2862   {
2863     "id": "6ae16eae.42967",
2864     "type": "block",
2865     "name": "block",
2866     "xml": "<block>\n",
2867     "atomic": "false",
2868     "comments": "",
2869     "outputs": 1,
2870     "x": 1835.0002708435059,
2871     "y": 1699.0001192092896,
2872     "z": "cbb28df7.1359",
2873     "wires": [
2874       []
2875     ]
2876   },
2877   {
2878     "id": "d86d0f7e.bebac",
2879     "type": "block",
2880     "name": "block : atomic",
2881     "xml": "<block atomic=\"true\">",
2882     "atomic": "true",
2883     "outputs": 1,
2884     "x": 1211.9688835144043,
2885     "y": 1724.0003032684326,
2886     "z": "cbb28df7.1359",
2887     "wires": [
2888       [
2889         "dfdb9aed.f71ce8",
2890         "14017773.15ade9"
2891       ]
2892     ]
2893   },
2894   {
2895     "id": "453143a6.32929c",
2896     "type": "outcome",
2897     "name": "outcome PendingDelete",
2898     "xml": "<outcome value='PendingDelete'>\n",
2899     "comments": "",
2900     "outputs": 1,
2901     "x": 2286.0313415527344,
2902     "y": 539.0312976837158,
2903     "z": "cbb28df7.1359",
2904     "wires": [
2905       [
2906         "ea213aeb.c1a238"
2907       ]
2908     ]
2909   },
2910   {
2911     "id": "ea213aeb.c1a238",
2912     "type": "block",
2913     "name": "block",
2914     "xml": "<block>\n",
2915     "atomic": "false",
2916     "comments": "",
2917     "outputs": 1,
2918     "x": 2470.031352996826,
2919     "y": 535.0312976837158,
2920     "z": "cbb28df7.1359",
2921     "wires": [
2922       []
2923     ]
2924   }
2925 ]