01b405f39ff7ef4a98f0a6b99cba2ea4a2102d35
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
1 [
2   {
3     "id": "d8f994a.905d468",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 80,
8     "y": 65,
9     "z": "8408bfb2.5391c",
10     "wires": [
11       [
12         "3c2e6d4d.c2bd82"
13       ]
14     ]
15   },
16   {
17     "id": "3c2e6d4d.c2bd82",
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": 292.00000381469727,
26     "y": 137.0000171661377,
27     "z": "8408bfb2.5391c",
28     "wires": [
29       [
30         "26038810.a7ef78"
31       ]
32     ]
33   },
34   {
35     "id": "26038810.a7ef78",
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": 280.0001220703125,
42     "y": 225,
43     "z": "8408bfb2.5391c",
44     "wires": [
45       [
46         "1c3cd19e.85c58e"
47       ]
48     ]
49   },
50   {
51     "id": "1c3cd19e.85c58e",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 296.0001220703125,
59     "y": 780.0002446174622,
60     "z": "8408bfb2.5391c",
61     "wires": [
62       [
63         "2327aa5f.54ef36",
64         "99534ea9.895be",
65         "a2e616e3.120d38",
66         "a9a5a283.d6f32",
67         "9011b40c.35c348",
68         "6ba17b8d.9294d4",
69         "1a3613fe.fb52ac",
70         "7282ea04.8f4254",
71         "38dcc355.b103ac",
72         "8ae6fd1b.92978",
73         "20f5a5d.63f625a",
74         "b5b11ed1.c43bd",
75         "43ca1b3a.8238a4",
76         "b210c8e1.8a1f58",
77         "a7a8f21b.2788e",
78         "e85cfb03.0cc698",
79         "d41d9b4e.b5c868",
80         "d29d9e3d.acace",
81         "37ff9c4b.85c4b4",
82         "48b1d949.e92058"
83       ]
84     ]
85   },
86   {
87     "id": "2327aa5f.54ef36",
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": 692.9935607910156,
93     "y": 178.9934868812561,
94     "z": "8408bfb2.5391c",
95     "wires": []
96   },
97   {
98     "id": "de9b3e6.47f7ac",
99     "type": "comment",
100     "name": "set tmp ar-id to fetch resource from MDSAL",
101     "info": "",
102     "comments": "",
103     "x": 721.9538726806641,
104     "y": 143.02528285980225,
105     "z": "8408bfb2.5391c",
106     "wires": []
107   },
108   {
109     "id": "99534ea9.895be",
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": 646.9934997558594,
115     "y": 271.99349212646484,
116     "z": "8408bfb2.5391c",
117     "wires": []
118   },
119   {
120     "id": "9011b40c.35c348",
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": 653.2553901672363,
127     "y": 359.6602210998535,
128     "z": "8408bfb2.5391c",
129     "wires": [
130       []
131     ]
132   },
133   {
134     "id": "a2e616e3.120d38",
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": 700.2554473876953,
141     "y": 447.6602249145508,
142     "z": "8408bfb2.5391c",
143     "wires": [
144       []
145     ]
146   },
147   {
148     "id": "76aa0cc6.9d0f44",
149     "type": "comment",
150     "name": "GET connection-attachment-allotted-resource from mdsal",
151     "info": "",
152     "comments": "",
153     "x": 746.8083801269531,
154     "y": 578.5386590957642,
155     "z": "8408bfb2.5391c",
156     "wires": []
157   },
158   {
159     "id": "5edbb6db.a8fc38",
160     "type": "comment",
161     "name": "Used for setting output to API Handler",
162     "info": "",
163     "comments": "",
164     "x": 700.9935302734375,
165     "y": 238.993501663208,
166     "z": "8408bfb2.5391c",
167     "wires": []
168   },
169   {
170     "id": "c666ffbb.fc8ca",
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": 718.9934959411621,
176     "y": 324.8823823928833,
177     "z": "8408bfb2.5391c",
178     "wires": []
179   },
180   {
181     "id": "b8b88660.9e4428",
182     "type": "comment",
183     "name": "Used to Get AR by id to MDSAL, same as self-link",
184     "info": "",
185     "comments": "",
186     "x": 744.9935150146484,
187     "y": 411.8823413848877,
188     "z": "8408bfb2.5391c",
189     "wires": []
190   },
191   {
192     "id": "936be6c0.7bea88",
193     "type": "success",
194     "name": "success",
195     "xml": "<outcome value='success'>\n",
196     "comments": "",
197     "outputs": 1,
198     "x": 1206.6667919158936,
199     "y": 595.9999847412109,
200     "z": "8408bfb2.5391c",
201     "wires": [
202       [
203         "b80a91b9.c696c"
204       ]
205     ]
206   },
207   {
208     "id": "b80a91b9.c696c",
209     "type": "block",
210     "name": "block: atomic",
211     "xml": "<block atomic=\"true\">\n",
212     "atomic": "false",
213     "comments": "",
214     "outputs": 1,
215     "x": 1350.6668701171875,
216     "y": 553.4999027252197,
217     "z": "8408bfb2.5391c",
218     "wires": [
219       [
220         "17081217.bb83fe"
221       ]
222     ]
223   },
224   {
225     "id": "17081217.bb83fe",
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": 1519.5242938995361,
232     "y": 551.1190738677979,
233     "z": "8408bfb2.5391c",
234     "wires": [
235       [
236         "25c765d1.dcabfa",
237         "7d4970ac.b46e2"
238       ]
239     ]
240   },
241   {
242     "id": "25c765d1.dcabfa",
243     "type": "other",
244     "name": "outcome 1",
245     "xml": "<outcome value='1'>\n",
246     "comments": "",
247     "outputs": 1,
248     "x": 1674.8574295043945,
249     "y": 523.1189889907837,
250     "z": "8408bfb2.5391c",
251     "wires": [
252       [
253         "dd6e63a4.58a4c"
254       ]
255     ]
256   },
257   {
258     "id": "dd6e63a4.58a4c",
259     "type": "block",
260     "name": "block: atomic",
261     "xml": "<block atomic='true'>\n",
262     "atomic": "false",
263     "comments": "",
264     "outputs": 1,
265     "x": 1833.381233215332,
266     "y": 521.0238361358643,
267     "z": "8408bfb2.5391c",
268     "wires": [
269       [
270         "7d4cf7ca.b708d8",
271         "b39fcc17.895c5",
272         "2aaa9fcc.38bd8"
273       ]
274     ]
275   },
276   {
277     "id": "899b09dd.666cb8",
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": 1773.5191650390625,
283     "y": 628.0660705566406,
284     "z": "8408bfb2.5391c",
285     "wires": []
286   },
287   {
288     "id": "e9cdf97c.418498",
289     "type": "other",
290     "name": "other",
291     "xml": "<outcome value='Other'>\n",
292     "comments": "",
293     "outputs": 1,
294     "x": 1198.5185947418213,
295     "y": 631.0660696029663,
296     "z": "8408bfb2.5391c",
297     "wires": [
298       [
299         "2d136e8b.0dda42"
300       ]
301     ]
302   },
303   {
304     "id": "2d136e8b.0dda42",
305     "type": "block",
306     "name": "block: atomic",
307     "xml": "<block atomic=\"true\">\n",
308     "atomic": "false",
309     "comments": "",
310     "outputs": 1,
311     "x": 1378.5185451507568,
312     "y": 631.7326202392578,
313     "z": "8408bfb2.5391c",
314     "wires": [
315       [
316         "899b09dd.666cb8"
317       ]
318     ]
319   },
320   {
321     "id": "7d4970ac.b46e2",
322     "type": "other",
323     "name": "other",
324     "xml": "<outcome value='Other'>\n",
325     "comments": "",
326     "outputs": 1,
327     "x": 1666.185432434082,
328     "y": 582.3993635177612,
329     "z": "8408bfb2.5391c",
330     "wires": [
331       [
332         "899b09dd.666cb8"
333       ]
334     ]
335   },
336   {
337     "id": "7d4cf7ca.b708d8",
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": 2080.4446868896484,
343     "y": 494.00008821487427,
344     "z": "8408bfb2.5391c",
345     "wires": []
346   },
347   {
348     "id": "2aaa9fcc.38bd8",
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": 2014.4447174072266,
354     "y": 567.4285907745361,
355     "z": "8408bfb2.5391c",
356     "wires": []
357   },
358   {
359     "id": "b39fcc17.895c5",
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": 2024.4444961547852,
366     "y": 533.0000247955322,
367     "z": "8408bfb2.5391c",
368     "wires": [
369       [
370         "3c6d5162.4dd28e",
371         "fef42f12.64b0e"
372       ]
373     ]
374   },
375   {
376     "id": "3c6d5162.4dd28e",
377     "type": "outcome",
378     "name": "outcome Created",
379     "xml": "<outcome value='Created'>\n",
380     "comments": "",
381     "outputs": 1,
382     "x": 2260.044578552246,
383     "y": 527.0000557899475,
384     "z": "8408bfb2.5391c",
385     "wires": [
386       [
387         "6af9dab4.2f9774"
388       ]
389     ]
390   },
391   {
392     "id": "fef42f12.64b0e",
393     "type": "outcome",
394     "name": "outcome Other",
395     "xml": "<outcome value='Other'>\n",
396     "comments": "",
397     "outputs": 1,
398     "x": 2253.759017944336,
399     "y": 566.4286637306213,
400     "z": "8408bfb2.5391c",
401     "wires": [
402       [
403         "f2cd9f47.d7377"
404       ]
405     ]
406   },
407   {
408     "id": "6af9dab4.2f9774",
409     "type": "block",
410     "name": "block",
411     "xml": "<block>\n",
412     "atomic": "false",
413     "comments": "",
414     "outputs": 1,
415     "x": 2418.515251159668,
416     "y": 527.37571144104,
417     "z": "8408bfb2.5391c",
418     "wires": [
419       []
420     ]
421   },
422   {
423     "id": "f2cd9f47.d7377",
424     "type": "returnFailure",
425     "name": "return failure",
426     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
427     "comments": "",
428     "x": 2429.666831970215,
429     "y": 565.0000629425049,
430     "z": "8408bfb2.5391c",
431     "wires": []
432   },
433   {
434     "id": "1faeed04.ccc693",
435     "type": "call",
436     "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
437     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
438     "comments": "",
439     "outputs": 1,
440     "x": 917.303050994873,
441     "y": 678.4936046600342,
442     "z": "8408bfb2.5391c",
443     "wires": [
444       []
445     ]
446   },
447   {
448     "id": "6ba17b8d.9294d4",
449     "type": "block",
450     "name": "block: atomic",
451     "xml": "<block atomic=\"true\">\n",
452     "atomic": "false",
453     "comments": "",
454     "outputs": 1,
455     "x": 611.3091506958008,
456     "y": 679.4999752044678,
457     "z": "8408bfb2.5391c",
458     "wires": [
459       [
460         "1faeed04.ccc693"
461       ]
462     ]
463   },
464   {
465     "id": "8dc6288b.69f3c8",
466     "type": "comment",
467     "name": "GET parent-service-data from mdsal to check existence of other End point",
468     "info": "",
469     "comments": "",
470     "x": 799.00048828125,
471     "y": 724.5317525863647,
472     "z": "8408bfb2.5391c",
473     "wires": []
474   },
475   {
476     "id": "68cf6590.29454c",
477     "type": "for",
478     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
479     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
480     "comments": "",
481     "outputs": 1,
482     "x": 1690.1851959228516,
483     "y": 877.0042300224304,
484     "z": "8408bfb2.5391c",
485     "wires": [
486       [
487         "d6ae5f76.c8f15"
488       ]
489     ]
490   },
491   {
492     "id": "a9a5a283.d6f32",
493     "type": "switchNode",
494     "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
495     "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
496     "comments": "",
497     "outputs": 1,
498     "x": 774.1842193603516,
499     "y": 984.7182664871216,
500     "z": "8408bfb2.5391c",
501     "wires": [
502       [
503         "e20f3541.b06af8",
504         "5e0c5641.7d4838",
505         "50edb11a.27a72"
506       ]
507     ]
508   },
509   {
510     "id": "e20f3541.b06af8",
511     "type": "other",
512     "name": "other",
513     "xml": "<outcome value='Other'>\n",
514     "comments": "",
515     "outputs": 1,
516     "x": 1102.3272399902344,
517     "y": 1057.5755405426025,
518     "z": "8408bfb2.5391c",
519     "wires": [
520       [
521         "bd3642c3.e39b9"
522       ]
523     ]
524   },
525   {
526     "id": "5a0c4146.2d462",
527     "type": "block",
528     "name": "block : atomic",
529     "xml": "<block atomic=\"true\">",
530     "atomic": "true",
531     "outputs": 1,
532     "x": 1286.454502105713,
533     "y": 916.7015495300293,
534     "z": "8408bfb2.5391c",
535     "wires": [
536       [
537         "68cf6590.29454c",
538         "9f978556.72d7a8"
539       ]
540     ]
541   },
542   {
543     "id": "d6ae5f76.c8f15",
544     "type": "switchNode",
545     "name": "switch allotted-resource-id",
546     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
547     "comments": "",
548     "outputs": 1,
549     "x": 2130.2965240478516,
550     "y": 874.0040321350098,
551     "z": "8408bfb2.5391c",
552     "wires": [
553       [
554         "d913a74c.a2fc88",
555         "7618c5b2.5c314c"
556       ]
557     ]
558   },
559   {
560     "id": "d913a74c.a2fc88",
561     "type": "outcomeTrue",
562     "name": "true",
563     "xml": "<outcome value='true'>\n",
564     "comments": "",
565     "outputs": 1,
566     "x": 2303.1067390441895,
567     "y": 845.4686470031738,
568     "z": "8408bfb2.5391c",
569     "wires": [
570       [
571         "2345ff9d.8801f"
572       ]
573     ]
574   },
575   {
576     "id": "5607eea5.cfd0b",
577     "type": "block",
578     "name": "block : atomic",
579     "xml": "<block atomic=\"true\">",
580     "atomic": "true",
581     "outputs": 1,
582     "x": 2451.8672103881836,
583     "y": 902.3257341384888,
584     "z": "8408bfb2.5391c",
585     "wires": [
586       [
587         "fa337068.73737"
588       ]
589     ]
590   },
591   {
592     "id": "fa337068.73737",
593     "type": "set",
594     "name": "set tmp.pidx and ptx.consumed-ar",
595     "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
596     "comments": "",
597     "x": 2686.724636077881,
598     "y": 900.8972663879395,
599     "z": "8408bfb2.5391c",
600     "wires": []
601   },
602   {
603     "id": "38da952f.2ea48a",
604     "type": "comment",
605     "name": "Check existence of other AR in parent service data",
606     "info": "Check if other allotted resource is available.",
607     "comments": "",
608     "x": 721.9626579284668,
609     "y": 889.8929615020752,
610     "z": "8408bfb2.5391c",
611     "wires": []
612   },
613   {
614     "id": "5e0c5641.7d4838",
615     "type": "other",
616     "name": "outcome 1",
617     "xml": "<outcome value='1'>\n",
618     "comments": "",
619     "outputs": 1,
620     "x": 1116.9797096252441,
621     "y": 996.6772241592407,
622     "z": "8408bfb2.5391c",
623     "wires": [
624       [
625         "87c536f.c550fc8"
626       ]
627     ]
628   },
629   {
630     "id": "bd3642c3.e39b9",
631     "type": "returnFailure",
632     "name": "return failure",
633     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: End points not available\" />\n    \n",
634     "comments": "",
635     "x": 1261.9795875549316,
636     "y": 1056.67746925354,
637     "z": "8408bfb2.5391c",
638     "wires": []
639   },
640   {
641     "id": "50edb11a.27a72",
642     "type": "other",
643     "name": "outcome 2",
644     "xml": "<outcome value='2'>\n",
645     "comments": "",
646     "outputs": 1,
647     "x": 1111.9795227050781,
648     "y": 917.6772499084473,
649     "z": "8408bfb2.5391c",
650     "wires": [
651       [
652         "5a0c4146.2d462"
653       ]
654     ]
655   },
656   {
657     "id": "2345ff9d.8801f",
658     "type": "block",
659     "name": "block",
660     "xml": "<block>\n",
661     "atomic": "false",
662     "comments": "",
663     "outputs": 1,
664     "x": 2461.0909538269043,
665     "y": 844.6773900985718,
666     "z": "8408bfb2.5391c",
667     "wires": [
668       []
669     ]
670   },
671   {
672     "id": "7618c5b2.5c314c",
673     "type": "outcomeTrue",
674     "name": "false",
675     "xml": "<outcome value='false'>\n",
676     "comments": "",
677     "outputs": 1,
678     "x": 2310.0905952453613,
679     "y": 901.6772499084473,
680     "z": "8408bfb2.5391c",
681     "wires": [
682       [
683         "5607eea5.cfd0b"
684       ]
685     ]
686   },
687   {
688     "id": "9f978556.72d7a8",
689     "type": "switchNode",
690     "name": "switch tmp.found-in-ar",
691     "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
692     "comments": "",
693     "outputs": 1,
694     "x": 1498.9794998168945,
695     "y": 970.4550676345825,
696     "z": "8408bfb2.5391c",
697     "wires": [
698       [
699         "81a77acc.304778"
700       ]
701     ]
702   },
703   {
704     "id": "81a77acc.304778",
705     "type": "outcomeTrue",
706     "name": "true",
707     "xml": "<outcome value='true'>\n",
708     "comments": "",
709     "outputs": 1,
710     "x": 1669.97953414917,
711     "y": 971.5662889480591,
712     "z": "8408bfb2.5391c",
713     "wires": [
714       [
715         "9ffb9a81.6b3718"
716       ]
717     ]
718   },
719   {
720     "id": "9ffb9a81.6b3718",
721     "type": "block",
722     "name": "block : atomic",
723     "xml": "<block atomic=\"true\">",
724     "atomic": "true",
725     "outputs": 1,
726     "x": 1818.9796295166016,
727     "y": 971.5662879943848,
728     "z": "8408bfb2.5391c",
729     "wires": [
730       [
731         "5c659a2b.afc754",
732         "8cf7d234.3dc16"
733       ]
734     ]
735   },
736   {
737     "id": "989dac87.78e81",
738     "type": "success",
739     "name": "success",
740     "xml": "<outcome value='success'>\n",
741     "comments": "",
742     "outputs": 1,
743     "x": 2565.097454071045,
744     "y": 987.7951421737671,
745     "z": "8408bfb2.5391c",
746     "wires": [
747       [
748         "ec7b01c7.d1285"
749       ]
750     ]
751   },
752   {
753     "id": "34bec365.7b96ac",
754     "type": "other",
755     "name": "other",
756     "xml": "<outcome value='Other'>\n",
757     "comments": "",
758     "outputs": 1,
759     "x": 2556.9492568969727,
760     "y": 1022.8612270355225,
761     "z": "8408bfb2.5391c",
762     "wires": [
763       [
764         "a5c61aa1.3f8f98"
765       ]
766     ]
767   },
768   {
769     "id": "fe59f6b4.0bb438",
770     "type": "switchNode",
771     "name": "switch mdsal-psd.service-data.networks_length",
772     "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
773     "comments": "",
774     "outputs": 1,
775     "x": 1562.313003540039,
776     "y": 1071.899908065796,
777     "z": "8408bfb2.5391c",
778     "wires": [
779       [
780         "e9948315.8ea76",
781         "6bae8ece.fed41"
782       ]
783     ]
784   },
785   {
786     "id": "6bae8ece.fed41",
787     "type": "other",
788     "name": "outcome 1",
789     "xml": "<outcome value='1'>\n",
790     "comments": "",
791     "outputs": 1,
792     "x": 1826.3128509521484,
793     "y": 1051.7886543273926,
794     "z": "8408bfb2.5391c",
795     "wires": [
796       [
797         "468dd517.bd59ec"
798       ]
799     ]
800   },
801   {
802     "id": "e9948315.8ea76",
803     "type": "other",
804     "name": "other",
805     "xml": "<outcome value='Other'>\n",
806     "comments": "",
807     "outputs": 1,
808     "x": 1816.3129119873047,
809     "y": 1099.788625717163,
810     "z": "8408bfb2.5391c",
811     "wires": [
812       [
813         "fdb79d00.1f625"
814       ]
815     ]
816   },
817   {
818     "id": "fdb79d00.1f625",
819     "type": "returnFailure",
820     "name": "return failure",
821     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n    \n",
822     "comments": "",
823     "x": 1954.9652557373047,
824     "y": 1101.890386581421,
825     "z": "8408bfb2.5391c",
826     "wires": []
827   },
828   {
829     "id": "4b31996c.2e9dd8",
830     "type": "set",
831     "name": "set tmp.network.",
832     "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
833     "comments": "",
834     "x": 2187.757709503174,
835     "y": 1052.788824081421,
836     "z": "8408bfb2.5391c",
837     "wires": []
838   },
839   {
840     "id": "87c536f.c550fc8",
841     "type": "block",
842     "name": "block : atomic",
843     "xml": "<block atomic=\"true\">",
844     "atomic": "true",
845     "outputs": 1,
846     "x": 1284.4240188598633,
847     "y": 995.7884912490845,
848     "z": "8408bfb2.5391c",
849     "wires": [
850       [
851         "fe59f6b4.0bb438"
852       ]
853     ]
854   },
855   {
856     "id": "468dd517.bd59ec",
857     "type": "block",
858     "name": "block : atomic",
859     "xml": "<block atomic=\"true\">",
860     "atomic": "true",
861     "outputs": 1,
862     "x": 1985.0906219482422,
863     "y": 1054.7884883880615,
864     "z": "8408bfb2.5391c",
865     "wires": [
866       [
867         "4b31996c.2e9dd8",
868         "35ea2ff8.819d3"
869       ]
870     ]
871   },
872   {
873     "id": "35ea2ff8.819d3",
874     "type": "for",
875     "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
876     "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
877     "comments": "",
878     "outputs": 1,
879     "x": 2348.090660095215,
880     "y": 1100.7886428833008,
881     "z": "8408bfb2.5391c",
882     "wires": [
883       [
884         "e42ebe27.208ea"
885       ]
886     ]
887   },
888   {
889     "id": "e42ebe27.208ea",
890     "type": "block",
891     "name": "block",
892     "xml": "<block>\n",
893     "atomic": "false",
894     "comments": "",
895     "outputs": 1,
896     "x": 2394.646728515625,
897     "y": 1331.7884521484375,
898     "z": "8408bfb2.5391c",
899     "wires": [
900       [
901         "b0894bea.c54948",
902         "8a2437bd.a21588",
903         "3ab7c28c.29ebee",
904         "26dbc77e.931828",
905         "ea187132.b5e71",
906         "89603344.a7cf9",
907         "c98b4f19.64757",
908         "42370cde.333864",
909         "542afd70.800e84",
910         "bb2b418a.7b353"
911       ]
912     ]
913   },
914   {
915     "id": "b0894bea.c54948",
916     "type": "switchNode",
917     "name": "switch access-node-id",
918     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
919     "comments": "",
920     "outputs": 1,
921     "x": 2671.1569442749023,
922     "y": 1173.7991995811462,
923     "z": "8408bfb2.5391c",
924     "wires": [
925       [
926         "b3ce3deb.b8884"
927       ]
928     ]
929   },
930   {
931     "id": "b3ce3deb.b8884",
932     "type": "outcomeTrue",
933     "name": "true",
934     "xml": "<outcome value='true'>\n",
935     "comments": "",
936     "outputs": 1,
937     "x": 2860.1565704345703,
938     "y": 1175.7990641593933,
939     "z": "8408bfb2.5391c",
940     "wires": [
941       [
942         "5da4de6b.c7114"
943       ]
944     ]
945   },
946   {
947     "id": "5da4de6b.c7114",
948     "type": "set",
949     "name": "set tmp.found-in-network tmp.ep-available",
950     "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
951     "comments": "",
952     "x": 3113.1567459106445,
953     "y": 1175.3991103172302,
954     "z": "8408bfb2.5391c",
955     "wires": []
956   },
957   {
958     "id": "8a2437bd.a21588",
959     "type": "returnSuccess",
960     "name": "return success",
961     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
962     "comments": "",
963     "x": 2645.146396636963,
964     "y": 1547.7884907722473,
965     "z": "8408bfb2.5391c",
966     "wires": []
967   },
968   {
969     "id": "b5b11ed1.c43bd",
970     "type": "switchNode",
971     "name": "switch tmp.ep-available",
972     "xml": "<switch test='`$tmp.ep-available`'>\n",
973     "comments": "",
974     "outputs": 1,
975     "x": 637.3128204345703,
976     "y": 1180.232801437378,
977     "z": "8408bfb2.5391c",
978     "wires": [
979       [
980         "f1872c0f.1837d",
981         "9ac98463.c4b848"
982       ]
983     ]
984   },
985   {
986     "id": "9ac98463.c4b848",
987     "type": "outcomeTrue",
988     "name": "true",
989     "xml": "<outcome value='true'>\n",
990     "comments": "",
991     "outputs": 1,
992     "x": 855.9795398712158,
993     "y": 1229.5661582946777,
994     "z": "8408bfb2.5391c",
995     "wires": [
996       [
997         "ab243d87.b71c1"
998       ]
999     ]
1000   },
1001   {
1002     "id": "f1872c0f.1837d",
1003     "type": "outcomeTrue",
1004     "name": "false",
1005     "xml": "<outcome value='false'>\n",
1006     "comments": "",
1007     "outputs": 1,
1008     "x": 860.8683414459229,
1009     "y": 1138.566219329834,
1010     "z": "8408bfb2.5391c",
1011     "wires": [
1012       [
1013         "d737a2f6.f391a"
1014       ]
1015     ]
1016   },
1017   {
1018     "id": "d737a2f6.f391a",
1019     "type": "block",
1020     "name": "block",
1021     "xml": "<block>\n",
1022     "atomic": "false",
1023     "comments": "",
1024     "outputs": 1,
1025     "x": 1007.8683376312256,
1026     "y": 1140.4550323486328,
1027     "z": "8408bfb2.5391c",
1028     "wires": [
1029       []
1030     ]
1031   },
1032   {
1033     "id": "ab243d87.b71c1",
1034     "type": "block",
1035     "name": "block : atomic",
1036     "xml": "<block atomic=\"true\">",
1037     "atomic": "true",
1038     "outputs": 1,
1039     "x": 1026.090627670288,
1040     "y": 1227.5661163330078,
1041     "z": "8408bfb2.5391c",
1042     "wires": [
1043       [
1044         "19d2fe63.b868b2",
1045         "4546d667.4ae1b8",
1046         "b9f6cbba.591c38"
1047       ]
1048     ]
1049   },
1050   {
1051     "id": "19d2fe63.b868b2",
1052     "type": "switchNode",
1053     "name": "switch tmp.found-in-ar",
1054     "xml": "<switch test='`$tmp.found-in-ar`'>\n",
1055     "comments": "",
1056     "outputs": 1,
1057     "x": 1252.2016410827637,
1058     "y": 1194.5661163330078,
1059     "z": "8408bfb2.5391c",
1060     "wires": [
1061       [
1062         "50e50db9.eaaab4",
1063         "af3e410f.b9392"
1064       ]
1065     ]
1066   },
1067   {
1068     "id": "50e50db9.eaaab4",
1069     "type": "outcomeTrue",
1070     "name": "true",
1071     "xml": "<outcome value='true'>\n",
1072     "comments": "",
1073     "outputs": 1,
1074     "x": 1447.6460876464844,
1075     "y": 1172.566177368164,
1076     "z": "8408bfb2.5391c",
1077     "wires": [
1078       [
1079         "d166c0ee.6a20a"
1080       ]
1081     ]
1082   },
1083   {
1084     "id": "af3e410f.b9392",
1085     "type": "outcomeTrue",
1086     "name": "false",
1087     "xml": "<outcome value='false'>\n",
1088     "comments": "",
1089     "outputs": 1,
1090     "x": 1444.64599609375,
1091     "y": 1220.566162109375,
1092     "z": "8408bfb2.5391c",
1093     "wires": [
1094       [
1095         "ffc03ec.99f0ec"
1096       ]
1097     ]
1098   },
1099   {
1100     "id": "d166c0ee.6a20a",
1101     "type": "block",
1102     "name": "block : atomic",
1103     "xml": "<block atomic=\"true\">",
1104     "atomic": "true",
1105     "outputs": 1,
1106     "x": 1635.2017517089844,
1107     "y": 1169.566177368164,
1108     "z": "8408bfb2.5391c",
1109     "wires": [
1110       [
1111         "4058090.d4f72f8"
1112       ]
1113     ]
1114   },
1115   {
1116     "id": "ffc03ec.99f0ec",
1117     "type": "block",
1118     "name": "block : atomic",
1119     "xml": "<block atomic=\"true\">",
1120     "atomic": "true",
1121     "outputs": 1,
1122     "x": 1632.20166015625,
1123     "y": 1219.566162109375,
1124     "z": "8408bfb2.5391c",
1125     "wires": [
1126       [
1127         "defdcdc4.5501c"
1128       ]
1129     ]
1130   },
1131   {
1132     "id": "ab3d5af0.b7c608",
1133     "type": "comment",
1134     "name": "GET connection-attachment-ar to store AR data from mdsal",
1135     "info": "",
1136     "comments": "",
1137     "x": 2144.4728355407715,
1138     "y": 456.50394773483276,
1139     "z": "8408bfb2.5391c",
1140     "wires": []
1141   },
1142   {
1143     "id": "c32af7d5.1a65c8",
1144     "type": "comment",
1145     "name": "Set source end point",
1146     "info": "",
1147     "comments": "",
1148     "x": 633.9727325439453,
1149     "y": 545.2539677619934,
1150     "z": "8408bfb2.5391c",
1151     "wires": []
1152   },
1153   {
1154     "id": "1a3613fe.fb52ac",
1155     "type": "set",
1156     "name": "set tmp.ar.parent-service-instance-id",
1157     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
1158     "comments": "",
1159     "x": 684.9688262939453,
1160     "y": 754.0000905990601,
1161     "z": "8408bfb2.5391c",
1162     "wires": []
1163   },
1164   {
1165     "id": "29a80022.cf94",
1166     "type": "success",
1167     "name": "success",
1168     "xml": "<outcome value='success'>\n",
1169     "comments": "",
1170     "outputs": 1,
1171     "x": 1044.968978881836,
1172     "y": 825.0000772476196,
1173     "z": "8408bfb2.5391c",
1174     "wires": [
1175       [
1176         "d5049708.bf05f8"
1177       ]
1178     ]
1179   },
1180   {
1181     "id": "6ef3a6c9.24a468",
1182     "type": "other",
1183     "name": "other",
1184     "xml": "<outcome value='Other'>\n",
1185     "comments": "",
1186     "outputs": 1,
1187     "x": 1036.8207817077637,
1188     "y": 860.066162109375,
1189     "z": "8408bfb2.5391c",
1190     "wires": [
1191       [
1192         "c085c15a.7561d"
1193       ]
1194     ]
1195   },
1196   {
1197     "id": "c085c15a.7561d",
1198     "type": "returnFailure",
1199     "name": "return failure",
1200     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n    \n",
1201     "comments": "",
1202     "x": 1182.9695625305176,
1203     "y": 859.3335733413696,
1204     "z": "8408bfb2.5391c",
1205     "wires": []
1206   },
1207   {
1208     "id": "d5049708.bf05f8",
1209     "type": "block",
1210     "name": "block",
1211     "xml": "<block>\n",
1212     "atomic": "false",
1213     "comments": "",
1214     "outputs": 1,
1215     "x": 1175.9690742492676,
1216     "y": 825.0001382827759,
1217     "z": "8408bfb2.5391c",
1218     "wires": [
1219       []
1220     ]
1221   },
1222   {
1223     "id": "a5c61aa1.3f8f98",
1224     "type": "returnFailure",
1225     "name": "return failure",
1226     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n    \n",
1227     "comments": "",
1228     "x": 2706.969306945801,
1229     "y": 1023.00026512146,
1230     "z": "8408bfb2.5391c",
1231     "wires": []
1232   },
1233   {
1234     "id": "ec7b01c7.d1285",
1235     "type": "block",
1236     "name": "block",
1237     "xml": "<block>\n",
1238     "atomic": "false",
1239     "comments": "",
1240     "outputs": 1,
1241     "x": 2691.9694290161133,
1242     "y": 990.0002498626709,
1243     "z": "8408bfb2.5391c",
1244     "wires": [
1245       []
1246     ]
1247   },
1248   {
1249     "id": "7282ea04.8f4254",
1250     "type": "set",
1251     "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1252     "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
1253     "comments": "",
1254     "x": 770.9687652587891,
1255     "y": 927.0000648498535,
1256     "z": "8408bfb2.5391c",
1257     "wires": []
1258   },
1259   {
1260     "id": "c2ebe251.65d25",
1261     "type": "comment",
1262     "name": "If other EP exists set destination end point",
1263     "info": "Check if other allotted resource is available.",
1264     "comments": "",
1265     "x": 687.9687652587891,
1266     "y": 1105.0000133514404,
1267     "z": "8408bfb2.5391c",
1268     "wires": []
1269   },
1270   {
1271     "id": "22068d64.f16a22",
1272     "type": "block",
1273     "name": "block",
1274     "xml": "<block>\n",
1275     "atomic": "false",
1276     "comments": "",
1277     "outputs": 1,
1278     "x": 1427.9688873291016,
1279     "y": 1432.0002946853638,
1280     "z": "8408bfb2.5391c",
1281     "wires": [
1282       [
1283         "52d775a5.5ac3dc",
1284         "124f9640.78093a",
1285         "f7902989.b82738",
1286         "a976aa7c.720c08",
1287         "fd92d693.19e5f8",
1288         "a34cb9dd.d28f48",
1289         "724051d8.4335d",
1290         "aa8cb96a.2b0388"
1291       ]
1292     ]
1293   },
1294   {
1295     "id": "52d775a5.5ac3dc",
1296     "type": "switchNode",
1297     "name": "switch access-node-id",
1298     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
1299     "comments": "",
1300     "outputs": 1,
1301     "x": 1670.4791889190674,
1302     "y": 1302.010691165924,
1303     "z": "8408bfb2.5391c",
1304     "wires": [
1305       [
1306         "7d3f8794.bd4838"
1307       ]
1308     ]
1309   },
1310   {
1311     "id": "124f9640.78093a",
1312     "type": "returnSuccess",
1313     "name": "return success",
1314     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1315     "comments": "",
1316     "x": 1643.4691410064697,
1317     "y": 1607.0006546974182,
1318     "z": "8408bfb2.5391c",
1319     "wires": []
1320   },
1321   {
1322     "id": "f7902989.b82738",
1323     "type": "switchNode",
1324     "name": "switch access-ltp-id",
1325     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
1326     "comments": "",
1327     "outputs": 1,
1328     "x": 1661.9690189361572,
1329     "y": 1345.7782225608826,
1330     "z": "8408bfb2.5391c",
1331     "wires": [
1332       [
1333         "f4be3b97.453c38"
1334       ]
1335     ]
1336   },
1337   {
1338     "id": "a976aa7c.720c08",
1339     "type": "switchNode",
1340     "name": "switch clientSignal",
1341     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
1342     "comments": "",
1343     "outputs": 1,
1344     "x": 1655.9690570831299,
1345     "y": 1391.778269290924,
1346     "z": "8408bfb2.5391c",
1347     "wires": [
1348       [
1349         "2d6f043a.f526ac"
1350       ]
1351     ]
1352   },
1353   {
1354     "id": "fd92d693.19e5f8",
1355     "type": "switchNode",
1356     "name": "switch cVLAN",
1357     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
1358     "comments": "",
1359     "outputs": 1,
1360     "x": 1639.9585590362549,
1361     "y": 1430.767771244049,
1362     "z": "8408bfb2.5391c",
1363     "wires": [
1364       [
1365         "8a9f16c4.814038"
1366       ]
1367     ]
1368   },
1369   {
1370     "id": "7d3f8794.bd4838",
1371     "type": "outcomeTrue",
1372     "name": "true",
1373     "xml": "<outcome value='true'>\n",
1374     "comments": "",
1375     "outputs": 1,
1376     "x": 1848.1911029815674,
1377     "y": 1302.6670632362366,
1378     "z": "8408bfb2.5391c",
1379     "wires": [
1380       [
1381         "a7752993.c80d28"
1382       ]
1383     ]
1384   },
1385   {
1386     "id": "a7752993.c80d28",
1387     "type": "set",
1388     "name": "set dst-access-node-id",
1389     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1390     "comments": "",
1391     "x": 2023.1911029815674,
1392     "y": 1302.267038345337,
1393     "z": "8408bfb2.5391c",
1394     "wires": []
1395   },
1396   {
1397     "id": "f4be3b97.453c38",
1398     "type": "outcomeTrue",
1399     "name": "true",
1400     "xml": "<outcome value='true'>\n",
1401     "comments": "",
1402     "outputs": 1,
1403     "x": 1843.6809711456299,
1404     "y": 1345.434519290924,
1405     "z": "8408bfb2.5391c",
1406     "wires": [
1407       [
1408         "d0325deb.a98b5"
1409       ]
1410     ]
1411   },
1412   {
1413     "id": "2d6f043a.f526ac",
1414     "type": "outcomeTrue",
1415     "name": "true",
1416     "xml": "<outcome value='true'>\n",
1417     "comments": "",
1418     "outputs": 1,
1419     "x": 1843.6809711456299,
1420     "y": 1391.434519290924,
1421     "z": "8408bfb2.5391c",
1422     "wires": [
1423       [
1424         "ecea19c4.1c06b8"
1425       ]
1426     ]
1427   },
1428   {
1429     "id": "8a9f16c4.814038",
1430     "type": "outcomeTrue",
1431     "name": "true",
1432     "xml": "<outcome value='true'>\n",
1433     "comments": "",
1434     "outputs": 1,
1435     "x": 1843.6704730987549,
1436     "y": 1430.4241433143616,
1437     "z": "8408bfb2.5391c",
1438     "wires": [
1439       [
1440         "d2defa52.a9bb28"
1441       ]
1442     ]
1443   },
1444   {
1445     "id": "4546d667.4ae1b8",
1446     "type": "for",
1447     "name": "for idx..tmp.ep.parameters[]",
1448     "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
1449     "comments": "",
1450     "outputs": 1,
1451     "x": 1280.96875,
1452     "y": 1320,
1453     "z": "8408bfb2.5391c",
1454     "wires": [
1455       [
1456         "22068d64.f16a22"
1457       ]
1458     ]
1459   },
1460   {
1461     "id": "4058090.d4f72f8",
1462     "type": "set",
1463     "name": "set tmp.ep.parameters",
1464     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
1465     "comments": "",
1466     "x": 1846.9688053131104,
1467     "y": 1169.0000743865967,
1468     "z": "8408bfb2.5391c",
1469     "wires": []
1470   },
1471   {
1472     "id": "defdcdc4.5501c",
1473     "type": "set",
1474     "name": "set tmp.ep.parameters",
1475     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
1476     "comments": "",
1477     "x": 1843.968713760376,
1478     "y": 1215.0000591278076,
1479     "z": "8408bfb2.5391c",
1480     "wires": []
1481   },
1482   {
1483     "id": "d0325deb.a98b5",
1484     "type": "set",
1485     "name": "set dst-access-node-id",
1486     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1487     "comments": "",
1488     "x": 2020.9689350128174,
1489     "y": 1345.0003151893616,
1490     "z": "8408bfb2.5391c",
1491     "wires": []
1492   },
1493   {
1494     "id": "ecea19c4.1c06b8",
1495     "type": "set",
1496     "name": "set dst-clientSignal",
1497     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
1498     "comments": "",
1499     "x": 2014.9689350128174,
1500     "y": 1389.0003151893616,
1501     "z": "8408bfb2.5391c",
1502     "wires": []
1503   },
1504   {
1505     "id": "d2defa52.a9bb28",
1506     "type": "set",
1507     "name": "set dst-cVLAN",
1508     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
1509     "comments": "",
1510     "x": 2005.9689350128174,
1511     "y": 1428.0003151893616,
1512     "z": "8408bfb2.5391c",
1513     "wires": []
1514   },
1515   {
1516     "id": "bdd4e0c8.a95a4",
1517     "type": "comment",
1518     "name": "Get controller info and send request",
1519     "info": "",
1520     "comments": "",
1521     "x": 1887.968807220459,
1522     "y": 1899.000153541565,
1523     "z": "8408bfb2.5391c",
1524     "wires": []
1525   },
1526   {
1527     "id": "dce4c016.eb68d",
1528     "type": "execute",
1529     "name": "execute RestApiCallNode Create ethernet Service",
1530     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1531     "comments": "",
1532     "outputs": 1,
1533     "x": 1940.96923828125,
1534     "y": 2042.0009536743164,
1535     "z": "8408bfb2.5391c",
1536     "wires": [
1537       [
1538         "d73f8f6a.bf95e",
1539         "93c5c8ec.0f2668"
1540       ]
1541     ]
1542   },
1543   {
1544     "id": "d73f8f6a.bf95e",
1545     "type": "success",
1546     "name": "success",
1547     "xml": "<outcome value='success'>\n",
1548     "comments": "",
1549     "outputs": 1,
1550     "x": 2206.968963623047,
1551     "y": 2071.001076698303,
1552     "z": "8408bfb2.5391c",
1553     "wires": [
1554       [
1555         "56a9c0b6.f8192"
1556       ]
1557     ]
1558   },
1559   {
1560     "id": "56a9c0b6.f8192",
1561     "type": "block",
1562     "name": "block : atomic",
1563     "xml": "<block atomic=\"true\">",
1564     "atomic": "true",
1565     "comments": "",
1566     "outputs": 1,
1567     "x": 2354.968963623047,
1568     "y": 2069.0009546279907,
1569     "z": "8408bfb2.5391c",
1570     "wires": [
1571       []
1572     ]
1573   },
1574   {
1575     "id": "9708b12d.0139f",
1576     "type": "returnFailure",
1577     "name": "return failure",
1578     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
1579     "comments": "",
1580     "x": 2336.968994140625,
1581     "y": 2016.0010147094727,
1582     "z": "8408bfb2.5391c",
1583     "wires": []
1584   },
1585   {
1586     "id": "93c5c8ec.0f2668",
1587     "type": "failure",
1588     "name": "failure",
1589     "xml": "<outcome value='failure'>\n",
1590     "comments": "",
1591     "outputs": 1,
1592     "x": 2197.9689025878906,
1593     "y": 2016.0010147094727,
1594     "z": "8408bfb2.5391c",
1595     "wires": [
1596       [
1597         "9708b12d.0139f"
1598       ]
1599     ]
1600   },
1601   {
1602     "id": "1b789a42.5731a6",
1603     "type": "failure",
1604     "name": "failure",
1605     "xml": "<outcome value='failure'>\n",
1606     "comments": "",
1607     "outputs": 1,
1608     "x": 859.7311744689941,
1609     "y": 2122.9537086486816,
1610     "z": "8408bfb2.5391c",
1611     "wires": [
1612       [
1613         "c0a71186.8f35f"
1614       ]
1615     ]
1616   },
1617   {
1618     "id": "c0a71186.8f35f",
1619     "type": "returnFailure",
1620     "name": "return failure",
1621     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"AAI failed\" />\n",
1622     "comments": "",
1623     "x": 1026.2549953460693,
1624     "y": 2149.5727157592773,
1625     "z": "8408bfb2.5391c",
1626     "wires": []
1627   },
1628   {
1629     "id": "38fb2ac3.f4e026",
1630     "type": "failure",
1631     "name": "not-found",
1632     "xml": "<outcome value='not-found'>\n",
1633     "comments": "",
1634     "outputs": 1,
1635     "x": 861.8264026641846,
1636     "y": 2170.715551376343,
1637     "z": "8408bfb2.5391c",
1638     "wires": [
1639       [
1640         "c0a71186.8f35f"
1641       ]
1642     ]
1643   },
1644   {
1645     "id": "25a98b94.f96284",
1646     "type": "comment",
1647     "name": "Save Resource to AAI",
1648     "info": "",
1649     "comments": "",
1650     "x": 633.7788181304932,
1651     "y": 2111.3028717041016,
1652     "z": "8408bfb2.5391c",
1653     "wires": []
1654   },
1655   {
1656     "id": "d29d9e3d.acace",
1657     "type": "set",
1658     "name": "set output to api handler",
1659     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
1660     "comments": "",
1661     "x": 648.5465145111084,
1662     "y": 2032.8283529281616,
1663     "z": "8408bfb2.5391c",
1664     "wires": []
1665   },
1666   {
1667     "id": "48b1d949.e92058",
1668     "type": "returnSuccess",
1669     "name": "return success",
1670     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1671     "comments": "",
1672     "x": 608.9596862792969,
1673     "y": 2218.4441413879395,
1674     "z": "8408bfb2.5391c",
1675     "wires": []
1676   },
1677   {
1678     "id": "d41d9b4e.b5c868",
1679     "type": "execute",
1680     "name": "execute RestApiCallNode - PUT AR by id",
1681     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
1682     "comments": "",
1683     "outputs": 1,
1684     "x": 701.2785968780518,
1685     "y": 1957.4692058563232,
1686     "z": "8408bfb2.5391c",
1687     "wires": [
1688       [
1689         "cbf0048f.1976a8",
1690         "ceabdd96.4d7c2",
1691         "fd522403.9ba2f8"
1692       ]
1693     ]
1694   },
1695   {
1696     "id": "cbf0048f.1976a8",
1697     "type": "not-found",
1698     "name": "not-found",
1699     "xml": "<outcome value='not-found'>\n",
1700     "comments": "",
1701     "outputs": 1,
1702     "x": 955.9200191497803,
1703     "y": 2001.8006000518799,
1704     "z": "8408bfb2.5391c",
1705     "wires": [
1706       [
1707         "97e00130.f2f9"
1708       ]
1709     ]
1710   },
1711   {
1712     "id": "ceabdd96.4d7c2",
1713     "type": "failure",
1714     "name": "failure",
1715     "xml": "<outcome value='failure'>\n",
1716     "comments": "",
1717     "outputs": 1,
1718     "x": 957.9200420379639,
1719     "y": 1960.3005641922355,
1720     "z": "8408bfb2.5391c",
1721     "wires": [
1722       [
1723         "97e00130.f2f9"
1724       ]
1725     ]
1726   },
1727   {
1728     "id": "fd522403.9ba2f8",
1729     "type": "success",
1730     "name": "success",
1731     "xml": "<outcome value='success'>\n",
1732     "comments": "",
1733     "outputs": 1,
1734     "x": 961.6701259613037,
1735     "y": 1911.6577167510986,
1736     "z": "8408bfb2.5391c",
1737     "wires": [
1738       [
1739         "977fddb0.04443"
1740       ]
1741     ]
1742   },
1743   {
1744     "id": "97e00130.f2f9",
1745     "type": "returnFailure",
1746     "name": "return failure",
1747     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",
1748     "comments": "",
1749     "x": 1116.67014503479,
1750     "y": 1980.050630569458,
1751     "z": "8408bfb2.5391c",
1752     "wires": []
1753   },
1754   {
1755     "id": "977fddb0.04443",
1756     "type": "block",
1757     "name": "block",
1758     "xml": "<block>\n",
1759     "atomic": "false",
1760     "comments": "",
1761     "outputs": 1,
1762     "x": 1089.3260707855225,
1763     "y": 1913.8498849868774,
1764     "z": "8408bfb2.5391c",
1765     "wires": [
1766       []
1767     ]
1768   },
1769   {
1770     "id": "43ca1b3a.8238a4",
1771     "type": "set",
1772     "name": "set ar-data",
1773     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
1774     "comments": "",
1775     "x": 603.4922122955322,
1776     "y": 1791.8501069545746,
1777     "z": "8408bfb2.5391c",
1778     "wires": []
1779   },
1780   {
1781     "id": "a7a8f21b.2788e",
1782     "type": "execute",
1783     "name": "execute getTime",
1784     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1785     "comments": "",
1786     "outputs": 1,
1787     "x": 620.77805519104,
1788     "y": 1864.4697046279907,
1789     "z": "8408bfb2.5391c",
1790     "wires": [
1791       []
1792     ]
1793   },
1794   {
1795     "id": "e85cfb03.0cc698",
1796     "type": "set",
1797     "name": "set allotted-resource-oper-status",
1798     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
1799     "comments": "",
1800     "x": 670.7651348114014,
1801     "y": 1901.4207849502563,
1802     "z": "8408bfb2.5391c",
1803     "wires": []
1804   },
1805   {
1806     "id": "b210c8e1.8a1f58",
1807     "type": "set",
1808     "name": "set model-data",
1809     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
1810     "comments": "",
1811     "x": 617.3337535858154,
1812     "y": 1831.024757385254,
1813     "z": "8408bfb2.5391c",
1814     "wires": []
1815   },
1816   {
1817     "id": "c1cb8c0d.2e37e",
1818     "type": "comment",
1819     "name": "Prepare data for allotted-resource addition to MDSAL",
1820     "info": "This will add to allotted-resource which is present inside service.",
1821     "comments": "",
1822     "x": 730.66721534729,
1823     "y": 1752.0247094631195,
1824     "z": "8408bfb2.5391c",
1825     "wires": []
1826   },
1827   {
1828     "id": "df3f7f58.d001f",
1829     "type": "comment",
1830     "name": "Add to allotted-resources in mdsal",
1831     "info": "",
1832     "comments": "",
1833     "x": 672.2470417022705,
1834     "y": 1719.4380111694336,
1835     "z": "8408bfb2.5391c",
1836     "wires": []
1837   },
1838   {
1839     "id": "37ff9c4b.85c4b4",
1840     "type": "update",
1841     "name": "update AAI allotted-resource",
1842     "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<!--parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" /-->\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",
1843     "comments": "",
1844     "outputs": 1,
1845     "x": 660.2230968475342,
1846     "y": 2148.7550144195557,
1847     "z": "8408bfb2.5391c",
1848     "wires": [
1849       [
1850         "1b789a42.5731a6",
1851         "38fb2ac3.f4e026"
1852       ]
1853     ]
1854   },
1855   {
1856     "id": "21d3ff91.ea3ad",
1857     "type": "execute",
1858     "name": "execute RestApiCallNode getPath from OOF",
1859     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"http://oof.api.simpledemo.onap.org:8698/api/oof/v1/route\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1860     "comments": "",
1861     "outputs": 1,
1862     "x": 1468.973056793213,
1863     "y": 1711.2546663284302,
1864     "z": "8408bfb2.5391c",
1865     "wires": [
1866       [
1867         "bafb67de.3074a8",
1868         "5a6c0e0a.12b56"
1869       ]
1870     ]
1871   },
1872   {
1873     "id": "bafb67de.3074a8",
1874     "type": "success",
1875     "name": "success",
1876     "xml": "<outcome value='success'>\n",
1877     "comments": "",
1878     "outputs": 1,
1879     "x": 1708.9731979370117,
1880     "y": 1735.254635810852,
1881     "z": "8408bfb2.5391c",
1882     "wires": [
1883       [
1884         "710b598a.58f428"
1885       ]
1886     ]
1887   },
1888   {
1889     "id": "18674100.77537f",
1890     "type": "returnFailure",
1891     "name": "return failure",
1892     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
1893     "comments": "",
1894     "x": 1847.973232269287,
1895     "y": 1684.2547273635864,
1896     "z": "8408bfb2.5391c",
1897     "wires": []
1898   },
1899   {
1900     "id": "5a6c0e0a.12b56",
1901     "type": "failure",
1902     "name": "failure",
1903     "xml": "<outcome value='failure'>\n",
1904     "comments": "",
1905     "outputs": 1,
1906     "x": 1707.9729843139648,
1907     "y": 1684.254726409912,
1908     "z": "8408bfb2.5391c",
1909     "wires": [
1910       [
1911         "18674100.77537f"
1912       ]
1913     ]
1914   },
1915   {
1916     "id": "26f2f7bd.b11308",
1917     "type": "comment",
1918     "name": "Get VPNs from OOF",
1919     "info": "",
1920     "comments": "",
1921     "x": 1454.976978302002,
1922     "y": 1678.2586660385132,
1923     "z": "8408bfb2.5391c",
1924     "wires": []
1925   },
1926   {
1927     "id": "bfb31be6.a42bf8",
1928     "type": "for",
1929     "name": "for vidx..oof.vpns_length[]",
1930     "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1931     "comments": "",
1932     "outputs": 1,
1933     "x": 1408.972900390625,
1934     "y": 1793.50439453125,
1935     "z": "8408bfb2.5391c",
1936     "wires": [
1937       [
1938         "7ccc98bc.08a1c8"
1939       ]
1940     ]
1941   },
1942   {
1943     "id": "b17db7bf.7ed888",
1944     "type": "comment",
1945     "name": "Loop through VPN and configure them",
1946     "info": "",
1947     "comments": "",
1948     "x": 1454.9733505249023,
1949     "y": 1928.0047721862793,
1950     "z": "8408bfb2.5391c",
1951     "wires": []
1952   },
1953   {
1954     "id": "3ab7c28c.29ebee",
1955     "type": "switchNode",
1956     "name": "switch name",
1957     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",
1958     "comments": "",
1959     "outputs": 1,
1960     "x": 2648.757080078125,
1961     "y": 1265.121826171875,
1962     "z": "8408bfb2.5391c",
1963     "wires": [
1964       [
1965         "80770609.775ee8"
1966       ]
1967     ]
1968   },
1969   {
1970     "id": "80770609.775ee8",
1971     "type": "outcomeTrue",
1972     "name": "true",
1973     "xml": "<outcome value='true'>\n",
1974     "comments": "",
1975     "outputs": 1,
1976     "x": 2837.757049560547,
1977     "y": 1265.121811389923,
1978     "z": "8408bfb2.5391c",
1979     "wires": [
1980       [
1981         "e1e890c6.ecbaa"
1982       ]
1983     ]
1984   },
1985   {
1986     "id": "e1e890c6.ecbaa",
1987     "type": "set",
1988     "name": "set etht-svc-name & bandwidth-profile-name",
1989     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
1990     "comments": "",
1991     "x": 3078.75736618042,
1992     "y": 1264.7218661308289,
1993     "z": "8408bfb2.5391c",
1994     "wires": []
1995   },
1996   {
1997     "id": "26dbc77e.931828",
1998     "type": "switchNode",
1999     "name": "switch description",
2000     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
2001     "comments": "",
2002     "outputs": 1,
2003     "x": 2661.5969581604004,
2004     "y": 1300.1219210624695,
2005     "z": "8408bfb2.5391c",
2006     "wires": [
2007       [
2008         "85ca2389.bb6f4"
2009       ]
2010     ]
2011   },
2012   {
2013     "id": "85ca2389.bb6f4",
2014     "type": "outcomeTrue",
2015     "name": "true",
2016     "xml": "<outcome value='true'>\n",
2017     "comments": "",
2018     "outputs": 1,
2019     "x": 2836.597023010254,
2020     "y": 1302.1219067573547,
2021     "z": "8408bfb2.5391c",
2022     "wires": [
2023       [
2024         "d8003739.5fe0f8"
2025       ]
2026     ]
2027   },
2028   {
2029     "id": "d8003739.5fe0f8",
2030     "type": "set",
2031     "name": "set etht-svc-descr",
2032     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2033     "comments": "",
2034     "x": 2992.9303398132324,
2035     "y": 1299.5829815864563,
2036     "z": "8408bfb2.5391c",
2037     "wires": []
2038   },
2039   {
2040     "id": "ea187132.b5e71",
2041     "type": "switchNode",
2042     "name": "switch tenantId",
2043     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
2044     "comments": "",
2045     "outputs": 1,
2046     "x": 2656.979221343994,
2047     "y": 1333.4553112983704,
2048     "z": "8408bfb2.5391c",
2049     "wires": [
2050       [
2051         "b902a644.d22b48"
2052       ]
2053     ]
2054   },
2055   {
2056     "id": "b902a644.d22b48",
2057     "type": "outcomeTrue",
2058     "name": "true",
2059     "xml": "<outcome value='true'>\n",
2060     "comments": "",
2061     "outputs": 1,
2062     "x": 2834.9792251586914,
2063     "y": 1337.4551892280579,
2064     "z": "8408bfb2.5391c",
2065     "wires": [
2066       [
2067         "f54bc445.403788"
2068       ]
2069     ]
2070   },
2071   {
2072     "id": "f54bc445.403788",
2073     "type": "set",
2074     "name": "set tenantId",
2075     "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2076     "comments": "",
2077     "x": 2972.9794120788574,
2078     "y": 1334.0551648139954,
2079     "z": "8408bfb2.5391c",
2080     "wires": []
2081   },
2082   {
2083     "id": "c98b4f19.64757",
2084     "type": "switchNode",
2085     "name": "switch cir",
2086     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
2087     "comments": "",
2088     "outputs": 1,
2089     "x": 2639.818820953369,
2090     "y": 1406.4552664756775,
2091     "z": "8408bfb2.5391c",
2092     "wires": [
2093       [
2094         "9783697c.7bd558"
2095       ]
2096     ]
2097   },
2098   {
2099     "id": "9783697c.7bd558",
2100     "type": "outcomeTrue",
2101     "name": "true",
2102     "xml": "<outcome value='true'>\n",
2103     "comments": "",
2104     "outputs": 1,
2105     "x": 2834.8188858032227,
2106     "y": 1407.4552664756775,
2107     "z": "8408bfb2.5391c",
2108     "wires": [
2109       [
2110         "466b0eb3.bb2f5"
2111       ]
2112     ]
2113   },
2114   {
2115     "id": "466b0eb3.bb2f5",
2116     "type": "set",
2117     "name": "set cir",
2118     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2119     "comments": "",
2120     "x": 2959.15238571167,
2121     "y": 1405.916341304779,
2122     "z": "8408bfb2.5391c",
2123     "wires": []
2124   },
2125   {
2126     "id": "89603344.a7cf9",
2127     "type": "switchNode",
2128     "name": "switch vpnType",
2129     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
2130     "comments": "",
2131     "outputs": 1,
2132     "x": 2654.127109527588,
2133     "y": 1369.232976436615,
2134     "z": "8408bfb2.5391c",
2135     "wires": [
2136       [
2137         "87ab7779.c52db8"
2138       ]
2139     ]
2140   },
2141   {
2142     "id": "87ab7779.c52db8",
2143     "type": "outcomeTrue",
2144     "name": "true",
2145     "xml": "<outcome value='true'>\n",
2146     "comments": "",
2147     "outputs": 1,
2148     "x": 2836.127296447754,
2149     "y": 1372.232961177826,
2150     "z": "8408bfb2.5391c",
2151     "wires": [
2152       [
2153         "3f32f379.afc74c"
2154       ]
2155     ]
2156   },
2157   {
2158     "id": "3f32f379.afc74c",
2159     "type": "set",
2160     "name": "set vpnType",
2161     "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2162     "comments": "",
2163     "x": 2972.461040496826,
2164     "y": 1368.6942028999329,
2165     "z": "8408bfb2.5391c",
2166     "wires": []
2167   },
2168   {
2169     "id": "42370cde.333864",
2170     "type": "switchNode",
2171     "name": "switch eir",
2172     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
2173     "comments": "",
2174     "outputs": 1,
2175     "x": 2635.1091651916504,
2176     "y": 1440.1531739234924,
2177     "z": "8408bfb2.5391c",
2178     "wires": [
2179       [
2180         "15d6de1e.22e142"
2181       ]
2182     ]
2183   },
2184   {
2185     "id": "15d6de1e.22e142",
2186     "type": "outcomeTrue",
2187     "name": "true",
2188     "xml": "<outcome value='true'>\n",
2189     "comments": "",
2190     "outputs": 1,
2191     "x": 2835.1094131469727,
2192     "y": 1443.1531128883362,
2193     "z": "8408bfb2.5391c",
2194     "wires": [
2195       [
2196         "b64e8009.4dda9"
2197       ]
2198     ]
2199   },
2200   {
2201     "id": "b64e8009.4dda9",
2202     "type": "set",
2203     "name": "set eir",
2204     "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2205     "comments": "",
2206     "x": 2958.4430351257324,
2207     "y": 1442.6141724586487,
2208     "z": "8408bfb2.5391c",
2209     "wires": []
2210   },
2211   {
2212     "id": "542afd70.800e84",
2213     "type": "switchNode",
2214     "name": "switch colorAware",
2215     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
2216     "comments": "",
2217     "outputs": 1,
2218     "x": 2660.109775543213,
2219     "y": 1474.1530528068542,
2220     "z": "8408bfb2.5391c",
2221     "wires": [
2222       [
2223         "c02edc40.a4984"
2224       ]
2225     ]
2226   },
2227   {
2228     "id": "c02edc40.a4984",
2229     "type": "outcomeTrue",
2230     "name": "true",
2231     "xml": "<outcome value='true'>\n",
2232     "comments": "",
2233     "outputs": 1,
2234     "x": 2831.1095962524414,
2235     "y": 1480.1529912948608,
2236     "z": "8408bfb2.5391c",
2237     "wires": [
2238       [
2239         "bc113f5e.da64f"
2240       ]
2241     ]
2242   },
2243   {
2244     "id": "bc113f5e.da64f",
2245     "type": "set",
2246     "name": "set colorAware",
2247     "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2248     "comments": "",
2249     "x": 2979.44291305542,
2250     "y": 1480.6142039299011,
2251     "z": "8408bfb2.5391c",
2252     "wires": []
2253   },
2254   {
2255     "id": "bb2b418a.7b353",
2256     "type": "switchNode",
2257     "name": "switch couplingFlag",
2258     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
2259     "comments": "",
2260     "outputs": 1,
2261     "x": 2662.1097145080566,
2262     "y": 1510.1531147956848,
2263     "z": "8408bfb2.5391c",
2264     "wires": [
2265       [
2266         "7f802b07.ecbf24"
2267       ]
2268     ]
2269   },
2270   {
2271     "id": "7f802b07.ecbf24",
2272     "type": "outcomeTrue",
2273     "name": "true",
2274     "xml": "<outcome value='true'>\n",
2275     "comments": "",
2276     "outputs": 1,
2277     "x": 2834.1095962524414,
2278     "y": 1519.1530842781067,
2279     "z": "8408bfb2.5391c",
2280     "wires": [
2281       [
2282         "c56e4808.694228"
2283       ]
2284     ]
2285   },
2286   {
2287     "id": "c56e4808.694228",
2288     "type": "set",
2289     "name": "set couplingFlag",
2290     "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2291     "comments": "",
2292     "x": 2987.44291305542,
2293     "y": 1519.6142048835754,
2294     "z": "8408bfb2.5391c",
2295     "wires": []
2296   },
2297   {
2298     "id": "88779084.b1b7a",
2299     "type": "comment",
2300     "name": "Check if other EP exists in SOTNConnectionResource",
2301     "info": "",
2302     "comments": "",
2303     "x": 2793.312744140625,
2304     "y": 1128.7884521484375,
2305     "z": "8408bfb2.5391c",
2306     "wires": []
2307   },
2308   {
2309     "id": "218cf941.d932e6",
2310     "type": "comment",
2311     "name": "Get other global parameters from network",
2312     "info": "",
2313     "comments": "",
2314     "x": 2729.3125,
2315     "y": 1214.7884521484375,
2316     "z": "8408bfb2.5391c",
2317     "wires": []
2318   },
2319   {
2320     "id": "a34cb9dd.d28f48",
2321     "type": "switchNode",
2322     "name": "switch access-provider-id",
2323     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
2324     "comments": "",
2325     "outputs": 1,
2326     "x": 1677.5348529815674,
2327     "y": 1476.2329812049866,
2328     "z": "8408bfb2.5391c",
2329     "wires": [
2330       [
2331         "5225a75b.b6a278"
2332       ]
2333     ]
2334   },
2335   {
2336     "id": "5225a75b.b6a278",
2337     "type": "outcomeTrue",
2338     "name": "true",
2339     "xml": "<outcome value='true'>\n",
2340     "comments": "",
2341     "outputs": 1,
2342     "x": 1864.5348529815674,
2343     "y": 1472.2329812049866,
2344     "z": "8408bfb2.5391c",
2345     "wires": [
2346       [
2347         "bb23f0a1.13aff"
2348       ]
2349     ]
2350   },
2351   {
2352     "id": "bb23f0a1.13aff",
2353     "type": "set",
2354     "name": "set access-provider-id",
2355     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2356     "comments": "",
2357     "x": 2032.5348529815674,
2358     "y": 1472.8329873085022,
2359     "z": "8408bfb2.5391c",
2360     "wires": []
2361   },
2362   {
2363     "id": "724051d8.4335d",
2364     "type": "switchNode",
2365     "name": "switch access-client-id",
2366     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
2367     "comments": "",
2368     "outputs": 1,
2369     "x": 1668.5348682403564,
2370     "y": 1519.2434296607971,
2371     "z": "8408bfb2.5391c",
2372     "wires": [
2373       [
2374         "ff129381.47439"
2375       ]
2376     ]
2377   },
2378   {
2379     "id": "ff129381.47439",
2380     "type": "outcomeTrue",
2381     "name": "true",
2382     "xml": "<outcome value='true'>\n",
2383     "comments": "",
2384     "outputs": 1,
2385     "x": 1855.5348682403564,
2386     "y": 1515.2434296607971,
2387     "z": "8408bfb2.5391c",
2388     "wires": [
2389       [
2390         "646b3044.5a019"
2391       ]
2392     ]
2393   },
2394   {
2395     "id": "646b3044.5a019",
2396     "type": "set",
2397     "name": "set access-client-id",
2398     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2399     "comments": "",
2400     "x": 2023.5348682403564,
2401     "y": 1515.8434357643127,
2402     "z": "8408bfb2.5391c",
2403     "wires": []
2404   },
2405   {
2406     "id": "aa8cb96a.2b0388",
2407     "type": "switchNode",
2408     "name": "switch access-topology-id",
2409     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
2410     "comments": "",
2411     "outputs": 1,
2412     "x": 1681.534812927246,
2413     "y": 1561.2434606552124,
2414     "z": "8408bfb2.5391c",
2415     "wires": [
2416       [
2417         "850aea86.efd2b8"
2418       ]
2419     ]
2420   },
2421   {
2422     "id": "850aea86.efd2b8",
2423     "type": "outcomeTrue",
2424     "name": "true",
2425     "xml": "<outcome value='true'>\n",
2426     "comments": "",
2427     "outputs": 1,
2428     "x": 1868.534812927246,
2429     "y": 1557.2434606552124,
2430     "z": "8408bfb2.5391c",
2431     "wires": [
2432       [
2433         "684120ad.73ee4"
2434       ]
2435     ]
2436   },
2437   {
2438     "id": "684120ad.73ee4",
2439     "type": "set",
2440     "name": "set access-topology-id",
2441     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2442     "comments": "",
2443     "x": 2036.534812927246,
2444     "y": 1557.843466758728,
2445     "z": "8408bfb2.5391c",
2446     "wires": []
2447   },
2448   {
2449     "id": "7ccc98bc.08a1c8",
2450     "type": "block",
2451     "name": "block : atomic",
2452     "xml": "<block atomic=\"true\">",
2453     "atomic": "true",
2454     "outputs": 1,
2455     "x": 1632.090217590332,
2456     "y": 1830.3444538116455,
2457     "z": "8408bfb2.5391c",
2458     "wires": [
2459       [
2460         "5e2345ea.98643c",
2461         "9cdc2e08.4c708",
2462         "49da5087.2ef8c",
2463         "28e7193.be6e4e6",
2464         "af1ee321.f9c8f",
2465         "9e37cd9e.2c26b",
2466         "22309e2d.4e2112",
2467         "c455d29d.5ee15",
2468         "dce4c016.eb68d",
2469         "8bccebfa.8dc598"
2470       ]
2471     ]
2472   },
2473   {
2474     "id": "56421575.13e47c",
2475     "type": "set",
2476     "name": "set controller data",
2477     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
2478     "comments": "",
2479     "x": 2273.534881591797,
2480     "y": 1894.6776461601257,
2481     "z": "8408bfb2.5391c",
2482     "wires": []
2483   },
2484   {
2485     "id": "c455d29d.5ee15",
2486     "type": "get-resource",
2487     "name": "get-resource esr-thirdparty-sdnc",
2488     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
2489     "comments": "",
2490     "outputs": 1,
2491     "x": 1890.0347900390625,
2492     "y": 1931.6775856018066,
2493     "z": "8408bfb2.5391c",
2494     "wires": [
2495       [
2496         "3cdb301b.34dde",
2497         "8a438cce.4438d",
2498         "1a1ad8a.53da727"
2499       ]
2500     ]
2501   },
2502   {
2503     "id": "3cdb301b.34dde",
2504     "type": "success",
2505     "name": "success",
2506     "xml": "<outcome value='success'>\n",
2507     "comments": "",
2508     "outputs": 1,
2509     "x": 2110.034725189209,
2510     "y": 1895.6775546073914,
2511     "z": "8408bfb2.5391c",
2512     "wires": [
2513       [
2514         "56421575.13e47c"
2515       ]
2516     ]
2517   },
2518   {
2519     "id": "8a438cce.4438d",
2520     "type": "not-found",
2521     "name": "not-found",
2522     "xml": "<outcome value='not-found'>\n",
2523     "comments": "",
2524     "outputs": 1,
2525     "x": 2119.525665283203,
2526     "y": 1936.2515606880188,
2527     "z": "8408bfb2.5391c",
2528     "wires": [
2529       [
2530         "7adc3011.31b48"
2531       ]
2532     ]
2533   },
2534   {
2535     "id": "1a1ad8a.53da727",
2536     "type": "other",
2537     "name": "other",
2538     "xml": "<outcome value='Other'>\n",
2539     "comments": "",
2540     "outputs": 1,
2541     "x": 2114.858642578125,
2542     "y": 1972.5848736763,
2543     "z": "8408bfb2.5391c",
2544     "wires": [
2545       [
2546         "c476b95c.317398"
2547       ]
2548     ]
2549   },
2550   {
2551     "id": "7adc3011.31b48",
2552     "type": "returnFailure",
2553     "name": "return failure",
2554     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
2555     "comments": "",
2556     "x": 2266.0970153808594,
2557     "y": 1932.5373873710632,
2558     "z": "8408bfb2.5391c",
2559     "wires": []
2560   },
2561   {
2562     "id": "c476b95c.317398",
2563     "type": "returnFailure",
2564     "name": "return failure",
2565     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
2566     "comments": "",
2567     "x": 2269.6312866210938,
2568     "y": 1974.0240216255188,
2569     "z": "8408bfb2.5391c",
2570     "wires": []
2571   },
2572   {
2573     "id": "22309e2d.4e2112",
2574     "type": "get-resource",
2575     "name": "get-resource pnf",
2576     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
2577     "comments": "",
2578     "outputs": 1,
2579     "x": 1835.534683227539,
2580     "y": 1840.6772294044495,
2581     "z": "8408bfb2.5391c",
2582     "wires": [
2583       [
2584         "4c6591a0.fd0d5",
2585         "3f03425.dc307be",
2586         "55a8764.382b688"
2587       ]
2588     ]
2589   },
2590   {
2591     "id": "4c6591a0.fd0d5",
2592     "type": "success",
2593     "name": "success",
2594     "xml": "<outcome value='success'>\n",
2595     "comments": "",
2596     "outputs": 1,
2597     "x": 2017.5347290039062,
2598     "y": 1785.677339553833,
2599     "z": "8408bfb2.5391c",
2600     "wires": [
2601       [
2602         "44f2e24b.08176c"
2603       ]
2604     ]
2605   },
2606   {
2607     "id": "3f03425.dc307be",
2608     "type": "not-found",
2609     "name": "not-found",
2610     "xml": "<outcome value='not-found'>\n",
2611     "comments": "",
2612     "outputs": 1,
2613     "x": 2018.0256309509277,
2614     "y": 1823.2514362335205,
2615     "z": "8408bfb2.5391c",
2616     "wires": [
2617       [
2618         "b1d992a2.3473"
2619       ]
2620     ]
2621   },
2622   {
2623     "id": "55a8764.382b688",
2624     "type": "other",
2625     "name": "other",
2626     "xml": "<outcome value='Other'>\n",
2627     "comments": "",
2628     "outputs": 1,
2629     "x": 2009.358642578125,
2630     "y": 1856.5848112106323,
2631     "z": "8408bfb2.5391c",
2632     "wires": [
2633       [
2634         "de897f67.8434"
2635       ]
2636     ]
2637   },
2638   {
2639     "id": "b1d992a2.3473",
2640     "type": "returnFailure",
2641     "name": "return failure",
2642     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2643     "comments": "",
2644     "x": 2165.597255706787,
2645     "y": 1822.5373249053955,
2646     "z": "8408bfb2.5391c",
2647     "wires": []
2648   },
2649   {
2650     "id": "de897f67.8434",
2651     "type": "returnFailure",
2652     "name": "return failure",
2653     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2654     "comments": "",
2655     "x": 2163.1312866210938,
2656     "y": 1856.023959159851,
2657     "z": "8408bfb2.5391c",
2658     "wires": []
2659   },
2660   {
2661     "id": "44f2e24b.08176c",
2662     "type": "set",
2663     "name": "set tmp.thirdparty-sdnc-id",
2664     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2665     "comments": "",
2666     "x": 2202.5347290039062,
2667     "y": 1784.6774616241455,
2668     "z": "8408bfb2.5391c",
2669     "wires": []
2670   },
2671   {
2672     "id": "d17a16c8.3b48c8",
2673     "type": "comment",
2674     "name": "get domain controller information",
2675     "info": "",
2676     "comments": "",
2677     "x": 1886.0385971069336,
2678     "y": 1807.6811847686768,
2679     "z": "8408bfb2.5391c",
2680     "wires": []
2681   },
2682   {
2683     "id": "8bccebfa.8dc598",
2684     "type": "set",
2685     "name": "set oof.vpn",
2686     "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
2687     "comments": "",
2688     "x": 1847.534683227539,
2689     "y": 1761.7883129119873,
2690     "z": "8408bfb2.5391c",
2691     "wires": []
2692   },
2693   {
2694     "id": "9cdc2e08.4c708",
2695     "type": "save",
2696     "name": "save VPN resource in AAI",
2697     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
2698     "comments": "",
2699     "outputs": 1,
2700     "x": 1866.000099182129,
2701     "y": 2178.7507152557373,
2702     "z": "8408bfb2.5391c",
2703     "wires": [
2704       []
2705     ]
2706   },
2707   {
2708     "id": "49da5087.2ef8c",
2709     "type": "set",
2710     "name": "set tmp.vpnName",
2711     "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
2712     "comments": "",
2713     "x": 1842.500099182129,
2714     "y": 2131.2504119873047,
2715     "z": "8408bfb2.5391c",
2716     "wires": []
2717   },
2718   {
2719     "id": "28e7193.be6e4e6",
2720     "type": "save",
2721     "name": "save connectivity relationship in AAI",
2722     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
2723     "comments": "",
2724     "outputs": 1,
2725     "x": 1901.000099182129,
2726     "y": 2223.7504711151123,
2727     "z": "8408bfb2.5391c",
2728     "wires": [
2729       []
2730     ]
2731   },
2732   {
2733     "id": "5e9a8894.bc5eb8",
2734     "type": "comment",
2735     "name": "save vpn and its relation to AAI",
2736     "info": "",
2737     "comments": "",
2738     "x": 1884.0002975463867,
2739     "y": 2092.750680923462,
2740     "z": "8408bfb2.5391c",
2741     "wires": []
2742   },
2743   {
2744     "id": "5e2345ea.98643c",
2745     "type": "set",
2746     "name": "set src-ltpId dst-ltpId",
2747     "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
2748     "comments": "",
2749     "x": 1853.000129699707,
2750     "y": 2263.750591278076,
2751     "z": "8408bfb2.5391c",
2752     "wires": []
2753   },
2754   {
2755     "id": "af1ee321.f9c8f",
2756     "type": "save",
2757     "name": "save srcLTP relationship in AAI",
2758     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
2759     "comments": "",
2760     "outputs": 1,
2761     "x": 1887.0003814697266,
2762     "y": 2303.5008001327515,
2763     "z": "8408bfb2.5391c",
2764     "wires": [
2765       []
2766     ]
2767   },
2768   {
2769     "id": "9e37cd9e.2c26b",
2770     "type": "save",
2771     "name": "save dstLTP relationship in AAI",
2772     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
2773     "comments": "",
2774     "outputs": 1,
2775     "x": 1885.0002136230469,
2776     "y": 2349.250638961792,
2777     "z": "8408bfb2.5391c",
2778     "wires": [
2779       []
2780     ]
2781   },
2782   {
2783     "id": "38dcc355.b103ac",
2784     "type": "execute",
2785     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2786     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
2787     "comments": "",
2788     "outputs": 1,
2789     "x": 827.0039367675781,
2790     "y": 614.0039119720459,
2791     "z": "8408bfb2.5391c",
2792     "wires": [
2793       [
2794         "936be6c0.7bea88",
2795         "e9cdf97c.418498"
2796       ]
2797     ]
2798   },
2799   {
2800     "id": "8ae6fd1b.92978",
2801     "type": "execute",
2802     "name": "execute RestApiCallNode - get-resource parent service data",
2803     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
2804     "comments": "",
2805     "outputs": 1,
2806     "x": 754.0040893554688,
2807     "y": 841.004075050354,
2808     "z": "8408bfb2.5391c",
2809     "wires": [
2810       [
2811         "29a80022.cf94",
2812         "6ef3a6c9.24a468"
2813       ]
2814     ]
2815   },
2816   {
2817     "id": "20f5a5d.63f625a",
2818     "type": "execute",
2819     "name": "get parent-service-data url",
2820     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
2821     "comments": "",
2822     "outputs": 1,
2823     "x": 654.0039978027344,
2824     "y": 804.0039081573486,
2825     "z": "8408bfb2.5391c",
2826     "wires": [
2827       []
2828     ]
2829   },
2830   {
2831     "id": "5c659a2b.afc754",
2832     "type": "execute",
2833     "name": "generate tmp.ar-other-url-connection",
2834     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n    \n\n",
2835     "comments": "",
2836     "outputs": 1,
2837     "x": 2068.0003509521484,
2838     "y": 960.3334693908691,
2839     "z": "8408bfb2.5391c",
2840     "wires": [
2841       []
2842     ]
2843   },
2844   {
2845     "id": "8cf7d234.3dc16",
2846     "type": "execute",
2847     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2848     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",
2849     "comments": "",
2850     "outputs": 1,
2851     "x": 2205.000991821289,
2852     "y": 1002.8333339691162,
2853     "z": "8408bfb2.5391c",
2854     "wires": [
2855       [
2856         "989dac87.78e81",
2857         "34bec365.7b96ac"
2858       ]
2859     ]
2860   },
2861   {
2862     "id": "710b598a.58f428",
2863     "type": "block",
2864     "name": "block",
2865     "xml": "<block>\n",
2866     "atomic": "false",
2867     "comments": "",
2868     "outputs": 1,
2869     "x": 1830.0002708435059,
2870     "y": 1726.0001192092896,
2871     "z": "8408bfb2.5391c",
2872     "wires": [
2873       []
2874     ]
2875   },
2876   {
2877     "id": "b9f6cbba.591c38",
2878     "type": "block",
2879     "name": "block : atomic",
2880     "xml": "<block atomic=\"true\">",
2881     "atomic": "true",
2882     "outputs": 1,
2883     "x": 1206.9688835144043,
2884     "y": 1751.0003032684326,
2885     "z": "8408bfb2.5391c",
2886     "wires": [
2887       [
2888         "21d3ff91.ea3ad",
2889         "bfb31be6.a42bf8"
2890       ]
2891     ]
2892   }
2893 ]