ccvpn integration sdnc issue fix
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
1 [\r
2   {\r
3     "id": "8d664378.cbb4f",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 118.03125,\r
8     "y": 76.99999761581421,\r
9     "z": "e47fc805.c5c588",\r
10     "wires": [\r
11       [\r
12         "99e747dc.b38c98"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "99e747dc.b38c98",\r
18     "type": "service-logic",\r
19     "name": "GENERIC-RESOURCE-API ${project.version}",\r
20     "module": "GENERIC-RESOURCE-API",\r
21     "version": "${project.version}",\r
22     "comments": "",\r
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}'>",\r
24     "outputs": 1,\r
25     "x": 330.03125381469727,\r
26     "y": 149.0000147819519,\r
27     "z": "e47fc805.c5c588",\r
28     "wires": [\r
29       [\r
30         "677572d7.6cd7ac"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "677572d7.6cd7ac",\r
36     "type": "method",\r
37     "name": "sotn-attachment-topology-operation-activate",\r
38     "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",\r
39     "comments": "",\r
40     "outputs": 1,\r
41     "x": 318.0313720703125,\r
42     "y": 236.9999976158142,\r
43     "z": "e47fc805.c5c588",\r
44     "wires": [\r
45       [\r
46         "10091edb.6afce1"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "10091edb.6afce1",\r
52     "type": "block",\r
53     "name": "block : atomic",\r
54     "xml": "<block atomic=\"true\">\n",\r
55     "atomic": "false",\r
56     "comments": "",\r
57     "outputs": 1,\r
58     "x": 334.0313720703125,\r
59     "y": 792.0002422332764,\r
60     "z": "e47fc805.c5c588",\r
61     "wires": [\r
62       [\r
63         "d8983068.d1e09",\r
64         "b09c24ef.ef1828",\r
65         "ab6f9b8e.89d568",\r
66         "2e23abdc.47fd94",\r
67         "9144dc70.a7ea8",\r
68         "4e152126.794ef",\r
69         "f5e8e1c8.46298",\r
70         "e64a37c7.f66948",\r
71         "c941958.f53f068",\r
72         "4e69710c.777f7",\r
73         "7b1a01af.62e07",\r
74         "8f0a4580.6d9e98",\r
75         "e420c4c5.b6aac8",\r
76         "9257aeaa.1b50e",\r
77         "31063248.d169de",\r
78         "f27d2f2b.5f557",\r
79         "e5693b1c.1aac88",\r
80         "625b8a7b.c27e14",\r
81         "8bb4a5cf.68ff78",\r
82         "b625537f.a1fdd"\r
83       ]\r
84     ]\r
85   },\r
86   {\r
87     "id": "d8983068.d1e09",\r
88     "type": "set",\r
89     "name": "set tmp.ar.allotted-resource-id,etc",\r
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",\r
91     "comments": "",\r
92     "x": 731.0248107910156,\r
93     "y": 190.9934844970703,\r
94     "z": "e47fc805.c5c588",\r
95     "wires": []\r
96   },\r
97   {\r
98     "id": "5f587b8.9c56784",\r
99     "type": "comment",\r
100     "name": "set tmp ar-id to fetch resource from MDSAL",\r
101     "info": "",\r
102     "comments": "",\r
103     "x": 759.9851226806641,\r
104     "y": 155.02528047561646,\r
105     "z": "e47fc805.c5c588",\r
106     "wires": []\r
107   },\r
108   {\r
109     "id": "b09c24ef.ef1828",\r
110     "type": "set",\r
111     "name": "set tmp.ar.self-link",\r
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",\r
113     "comments": "",\r
114     "x": 685.0247497558594,\r
115     "y": 283.99348974227905,\r
116     "z": "e47fc805.c5c588",\r
117     "wires": []\r
118   },\r
119   {\r
120     "id": "9144dc70.a7ea8",\r
121     "type": "execute",\r
122     "name": "execute Properties",\r
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",\r
124     "comments": "",\r
125     "outputs": 1,\r
126     "x": 691.2866401672363,\r
127     "y": 371.6602187156677,\r
128     "z": "e47fc805.c5c588",\r
129     "wires": [\r
130       []\r
131     ]\r
132   },\r
133   {\r
134     "id": "ab6f9b8e.89d568",\r
135     "type": "execute",\r
136     "name": "generate allotted-resource tmp.ar-url",\r
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",\r
138     "comments": "",\r
139     "outputs": 1,\r
140     "x": 738.2866973876953,\r
141     "y": 459.660222530365,\r
142     "z": "e47fc805.c5c588",\r
143     "wires": [\r
144       []\r
145     ]\r
146   },\r
147   {\r
148     "id": "bdc75564.630b58",\r
149     "type": "comment",\r
150     "name": "GET connection-attachment-allotted-resource from mdsal",\r
151     "info": "",\r
152     "comments": "",\r
153     "x": 784.8396301269531,\r
154     "y": 590.5386567115784,\r
155     "z": "e47fc805.c5c588",\r
156     "wires": []\r
157   },\r
158   {\r
159     "id": "79296d26.4fef24",\r
160     "type": "comment",\r
161     "name": "Used for setting output to API Handler",\r
162     "info": "",\r
163     "comments": "",\r
164     "x": 739.0247802734375,\r
165     "y": 250.99349927902222,\r
166     "z": "e47fc805.c5c588",\r
167     "wires": []\r
168   },\r
169   {\r
170     "id": "b691a7f5.2ca838",\r
171     "type": "comment",\r
172     "name": "Obtain different URL, template location etc",\r
173     "info": "For saving resource information to MDSAL & for AAI",\r
174     "comments": "",\r
175     "x": 757.0247459411621,\r
176     "y": 336.8823800086975,\r
177     "z": "e47fc805.c5c588",\r
178     "wires": []\r
179   },\r
180   {\r
181     "id": "ea7f6398.951af",\r
182     "type": "comment",\r
183     "name": "Used to Get AR by id to MDSAL, same as self-link",\r
184     "info": "",\r
185     "comments": "",\r
186     "x": 783.0247650146484,\r
187     "y": 423.8823390007019,\r
188     "z": "e47fc805.c5c588",\r
189     "wires": []\r
190   },\r
191   {\r
192     "id": "bf04a12d.5ab3a",\r
193     "type": "success",\r
194     "name": "success",\r
195     "xml": "<outcome value='success'>\n",\r
196     "comments": "",\r
197     "outputs": 1,\r
198     "x": 1244.6980419158936,\r
199     "y": 607.9999823570251,\r
200     "z": "e47fc805.c5c588",\r
201     "wires": [\r
202       [\r
203         "e36a35e0.a85518"\r
204       ]\r
205     ]\r
206   },\r
207   {\r
208     "id": "e36a35e0.a85518",\r
209     "type": "block",\r
210     "name": "block: atomic",\r
211     "xml": "<block atomic=\"true\">\n",\r
212     "atomic": "false",\r
213     "comments": "",\r
214     "outputs": 1,\r
215     "x": 1388.6981201171875,\r
216     "y": 565.4999003410339,\r
217     "z": "e47fc805.c5c588",\r
218     "wires": [\r
219       [\r
220         "1bc51818.822678"\r
221       ]\r
222     ]\r
223   },\r
224   {\r
225     "id": "1bc51818.822678",\r
226     "type": "switchNode",\r
227     "name": "switch cr length",\r
228     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",\r
229     "comments": "",\r
230     "outputs": 1,\r
231     "x": 1557.5555438995361,\r
232     "y": 563.1190714836121,\r
233     "z": "e47fc805.c5c588",\r
234     "wires": [\r
235       [\r
236         "c5872f2b.0b178",\r
237         "aded6823.7e7e38"\r
238       ]\r
239     ]\r
240   },\r
241   {\r
242     "id": "c5872f2b.0b178",\r
243     "type": "other",\r
244     "name": "outcome 1",\r
245     "xml": "<outcome value='1'>\n",\r
246     "comments": "",\r
247     "outputs": 1,\r
248     "x": 1712.8886795043945,\r
249     "y": 535.1189866065979,\r
250     "z": "e47fc805.c5c588",\r
251     "wires": [\r
252       [\r
253         "79a53162.640b2"\r
254       ]\r
255     ]\r
256   },\r
257   {\r
258     "id": "79a53162.640b2",\r
259     "type": "block",\r
260     "name": "block: atomic",\r
261     "xml": "<block atomic='true'>\n",\r
262     "atomic": "false",\r
263     "comments": "",\r
264     "outputs": 1,\r
265     "x": 1871.412483215332,\r
266     "y": 533.0238337516785,\r
267     "z": "e47fc805.c5c588",\r
268     "wires": [\r
269       [\r
270         "9be5dc3a.28978",\r
271         "5722f7fa.de6bf8",\r
272         "f5d4df71.72bd9"\r
273       ]\r
274     ]\r
275   },\r
276   {\r
277     "id": "e3ccef9e.d8f5c",\r
278     "type": "returnFailure",\r
279     "name": "return failure",\r
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",\r
281     "comments": "",\r
282     "x": 1811.5504150390625,\r
283     "y": 640.0660681724548,\r
284     "z": "e47fc805.c5c588",\r
285     "wires": []\r
286   },\r
287   {\r
288     "id": "5803dc5e.f9b2f4",\r
289     "type": "other",\r
290     "name": "other",\r
291     "xml": "<outcome value='Other'>\n",\r
292     "comments": "",\r
293     "outputs": 1,\r
294     "x": 1236.5498447418213,\r
295     "y": 643.0660672187805,\r
296     "z": "e47fc805.c5c588",\r
297     "wires": [\r
298       [\r
299         "19f8e68c.c0f139"\r
300       ]\r
301     ]\r
302   },\r
303   {\r
304     "id": "19f8e68c.c0f139",\r
305     "type": "block",\r
306     "name": "block: atomic",\r
307     "xml": "<block atomic=\"true\">\n",\r
308     "atomic": "false",\r
309     "comments": "",\r
310     "outputs": 1,\r
311     "x": 1416.5497951507568,\r
312     "y": 643.732617855072,\r
313     "z": "e47fc805.c5c588",\r
314     "wires": [\r
315       [\r
316         "e3ccef9e.d8f5c"\r
317       ]\r
318     ]\r
319   },\r
320   {\r
321     "id": "aded6823.7e7e38",\r
322     "type": "other",\r
323     "name": "other",\r
324     "xml": "<outcome value='Other'>\n",\r
325     "comments": "",\r
326     "outputs": 1,\r
327     "x": 1704.216682434082,\r
328     "y": 594.3993611335754,\r
329     "z": "e47fc805.c5c588",\r
330     "wires": [\r
331       [\r
332         "e3ccef9e.d8f5c"\r
333       ]\r
334     ]\r
335   },\r
336   {\r
337     "id": "9be5dc3a.28978",\r
338     "type": "set",\r
339     "name": "set connection-attachment-ar from get",\r
340     "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",\r
341     "comments": "",\r
342     "x": 2118.4759368896484,\r
343     "y": 506.0000858306885,\r
344     "z": "e47fc805.c5c588",\r
345     "wires": []\r
346   },\r
347   {\r
348     "id": "f5d4df71.72bd9",\r
349     "type": "set",\r
350     "name": "set oper-status",\r
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",\r
352     "comments": "",\r
353     "x": 2052.4759674072266,\r
354     "y": 579.4285883903503,\r
355     "z": "e47fc805.c5c588",\r
356     "wires": []\r
357   },\r
358   {\r
359     "id": "5722f7fa.de6bf8",\r
360     "type": "switchNode",\r
361     "name": "switch order-status",\r
362     "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",\r
363     "comments": "",\r
364     "outputs": 1,\r
365     "x": 2062.475746154785,\r
366     "y": 545.0000224113464,\r
367     "z": "e47fc805.c5c588",\r
368     "wires": [\r
369       [\r
370         "f7f47d29.7c18f",\r
371         "6f0c573a.005228",\r
372         "d906524b.eeb18"\r
373       ]\r
374     ]\r
375   },\r
376   {\r
377     "id": "f7f47d29.7c18f",\r
378     "type": "outcome",\r
379     "name": "outcome Created",\r
380     "xml": "<outcome value='Created'>\n",\r
381     "comments": "",\r
382     "outputs": 1,\r
383     "x": 2298.075828552246,\r
384     "y": 539.0000534057617,\r
385     "z": "e47fc805.c5c588",\r
386     "wires": [\r
387       [\r
388         "75eaa69a.304108"\r
389       ]\r
390     ]\r
391   },\r
392   {\r
393     "id": "6f0c573a.005228",\r
394     "type": "outcome",\r
395     "name": "outcome Other",\r
396     "xml": "<outcome value='Other'>\n",\r
397     "comments": "",\r
398     "outputs": 1,\r
399     "x": 2291.790328979492,\r
400     "y": 619.4286880493164,\r
401     "z": "e47fc805.c5c588",\r
402     "wires": [\r
403       [\r
404         "e10d29a3.c09e38"\r
405       ]\r
406     ]\r
407   },\r
408   {\r
409     "id": "75eaa69a.304108",\r
410     "type": "block",\r
411     "name": "block",\r
412     "xml": "<block>\n",\r
413     "atomic": "false",\r
414     "comments": "",\r
415     "outputs": 1,\r
416     "x": 2456.546501159668,\r
417     "y": 539.3757090568542,\r
418     "z": "e47fc805.c5c588",\r
419     "wires": [\r
420       []\r
421     ]\r
422   },\r
423   {\r
424     "id": "e10d29a3.c09e38",\r
425     "type": "returnFailure",\r
426     "name": "return failure",\r
427     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",\r
428     "comments": "",\r
429     "x": 2467.698143005371,\r
430     "y": 618.0000872612,\r
431     "z": "e47fc805.c5c588",\r
432     "wires": []\r
433   },\r
434   {\r
435     "id": "bc697557.abf938",\r
436     "type": "call",\r
437     "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",\r
438     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",\r
439     "comments": "",\r
440     "outputs": 1,\r
441     "x": 955.334300994873,\r
442     "y": 690.4936022758484,\r
443     "z": "e47fc805.c5c588",\r
444     "wires": [\r
445       []\r
446     ]\r
447   },\r
448   {\r
449     "id": "4e152126.794ef",\r
450     "type": "block",\r
451     "name": "block: atomic",\r
452     "xml": "<block atomic=\"true\">\n",\r
453     "atomic": "false",\r
454     "comments": "",\r
455     "outputs": 1,\r
456     "x": 649.3404006958008,\r
457     "y": 691.499972820282,\r
458     "z": "e47fc805.c5c588",\r
459     "wires": [\r
460       [\r
461         "bc697557.abf938"\r
462       ]\r
463     ]\r
464   },\r
465   {\r
466     "id": "1f3fc1a6.135f3e",\r
467     "type": "comment",\r
468     "name": "GET parent-service-data from mdsal to check existence of other End point",\r
469     "info": "",\r
470     "comments": "",\r
471     "x": 837.03173828125,\r
472     "y": 736.531750202179,\r
473     "z": "e47fc805.c5c588",\r
474     "wires": []\r
475   },\r
476   {\r
477     "id": "3cf6b4b1.6a71dc",\r
478     "type": "for",\r
479     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",\r
480     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",\r
481     "comments": "",\r
482     "outputs": 1,\r
483     "x": 1728.2164459228516,\r
484     "y": 889.0042276382446,\r
485     "z": "e47fc805.c5c588",\r
486     "wires": [\r
487       [\r
488         "3bbeaaa4.0cfa26"\r
489       ]\r
490     ]\r
491   },\r
492   {\r
493     "id": "2e23abdc.47fd94",\r
494     "type": "switchNode",\r
495     "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",\r
496     "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",\r
497     "comments": "",\r
498     "outputs": 1,\r
499     "x": 812.2154693603516,\r
500     "y": 996.7182641029358,\r
501     "z": "e47fc805.c5c588",\r
502     "wires": [\r
503       [\r
504         "6ff9a0ff.dcfb4",\r
505         "ff1c3916.739028",\r
506         "d0c138a.b8484c8"\r
507       ]\r
508     ]\r
509   },\r
510   {\r
511     "id": "6ff9a0ff.dcfb4",\r
512     "type": "other",\r
513     "name": "other",\r
514     "xml": "<outcome value='Other'>\n",\r
515     "comments": "",\r
516     "outputs": 1,\r
517     "x": 1140.3584899902344,\r
518     "y": 1069.5755381584167,\r
519     "z": "e47fc805.c5c588",\r
520     "wires": [\r
521       [\r
522         "499e037f.3c991c"\r
523       ]\r
524     ]\r
525   },\r
526   {\r
527     "id": "fb95619e.dd7a7",\r
528     "type": "block",\r
529     "name": "block : atomic",\r
530     "xml": "<block atomic=\"true\">",\r
531     "atomic": "true",\r
532     "outputs": 1,\r
533     "x": 1324.485752105713,\r
534     "y": 928.7015471458435,\r
535     "z": "e47fc805.c5c588",\r
536     "wires": [\r
537       [\r
538         "3cf6b4b1.6a71dc",\r
539         "ec079e89.408ea"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "3bbeaaa4.0cfa26",\r
545     "type": "switchNode",\r
546     "name": "switch allotted-resource-id",\r
547     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",\r
548     "comments": "",\r
549     "outputs": 1,\r
550     "x": 2168.3277740478516,\r
551     "y": 886.004029750824,\r
552     "z": "e47fc805.c5c588",\r
553     "wires": [\r
554       [\r
555         "3cfb776.1a6dc88",\r
556         "a6d574db.37ec88"\r
557       ]\r
558     ]\r
559   },\r
560   {\r
561     "id": "3cfb776.1a6dc88",\r
562     "type": "outcomeTrue",\r
563     "name": "true",\r
564     "xml": "<outcome value='true'>\n",\r
565     "comments": "",\r
566     "outputs": 1,\r
567     "x": 2341.1379890441895,\r
568     "y": 857.468644618988,\r
569     "z": "e47fc805.c5c588",\r
570     "wires": [\r
571       [\r
572         "4685a336.4a051c"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "fb81e999.e435b8",\r
578     "type": "block",\r
579     "name": "block : atomic",\r
580     "xml": "<block atomic=\"true\">",\r
581     "atomic": "true",\r
582     "outputs": 1,\r
583     "x": 2489.8984603881836,\r
584     "y": 914.325731754303,\r
585     "z": "e47fc805.c5c588",\r
586     "wires": [\r
587       [\r
588         "7ed4750e.b1d6fc"\r
589       ]\r
590     ]\r
591   },\r
592   {\r
593     "id": "7ed4750e.b1d6fc",\r
594     "type": "set",\r
595     "name": "set tmp.pidx and ptx.consumed-ar",\r
596     "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
597     "comments": "",\r
598     "x": 2724.755886077881,\r
599     "y": 912.8972640037537,\r
600     "z": "e47fc805.c5c588",\r
601     "wires": []\r
602   },\r
603   {\r
604     "id": "ee9aeb2c.6677a8",\r
605     "type": "comment",\r
606     "name": "Check existence of other AR in parent service data",\r
607     "info": "Check if other allotted resource is available.",\r
608     "comments": "",\r
609     "x": 759.9939079284668,\r
610     "y": 901.8929591178894,\r
611     "z": "e47fc805.c5c588",\r
612     "wires": []\r
613   },\r
614   {\r
615     "id": "ff1c3916.739028",\r
616     "type": "other",\r
617     "name": "outcome 1",\r
618     "xml": "<outcome value='1'>\n",\r
619     "comments": "",\r
620     "outputs": 1,\r
621     "x": 1155.0109596252441,\r
622     "y": 1008.6772217750549,\r
623     "z": "e47fc805.c5c588",\r
624     "wires": [\r
625       [\r
626         "d35c3b1d.717fa8"\r
627       ]\r
628     ]\r
629   },\r
630   {\r
631     "id": "499e037f.3c991c",\r
632     "type": "returnFailure",\r
633     "name": "return failure",\r
634     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: End points not available\" />\n    \n",\r
635     "comments": "",\r
636     "x": 1300.0108375549316,\r
637     "y": 1068.6774668693542,\r
638     "z": "e47fc805.c5c588",\r
639     "wires": []\r
640   },\r
641   {\r
642     "id": "d0c138a.b8484c8",\r
643     "type": "other",\r
644     "name": "outcome 2",\r
645     "xml": "<outcome value='2'>\n",\r
646     "comments": "",\r
647     "outputs": 1,\r
648     "x": 1150.0107727050781,\r
649     "y": 929.6772475242615,\r
650     "z": "e47fc805.c5c588",\r
651     "wires": [\r
652       [\r
653         "fb95619e.dd7a7"\r
654       ]\r
655     ]\r
656   },\r
657   {\r
658     "id": "4685a336.4a051c",\r
659     "type": "block",\r
660     "name": "block",\r
661     "xml": "<block>\n",\r
662     "atomic": "false",\r
663     "comments": "",\r
664     "outputs": 1,\r
665     "x": 2499.1222038269043,\r
666     "y": 856.677387714386,\r
667     "z": "e47fc805.c5c588",\r
668     "wires": [\r
669       []\r
670     ]\r
671   },\r
672   {\r
673     "id": "a6d574db.37ec88",\r
674     "type": "outcomeTrue",\r
675     "name": "false",\r
676     "xml": "<outcome value='false'>\n",\r
677     "comments": "",\r
678     "outputs": 1,\r
679     "x": 2348.1218452453613,\r
680     "y": 913.6772475242615,\r
681     "z": "e47fc805.c5c588",\r
682     "wires": [\r
683       [\r
684         "fb81e999.e435b8"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "ec079e89.408ea",\r
690     "type": "switchNode",\r
691     "name": "switch tmp.found-in-ar",\r
692     "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",\r
693     "comments": "",\r
694     "outputs": 1,\r
695     "x": 1537.0107498168945,\r
696     "y": 982.4550652503967,\r
697     "z": "e47fc805.c5c588",\r
698     "wires": [\r
699       [\r
700         "ad2dc2ca.dac11"\r
701       ]\r
702     ]\r
703   },\r
704   {\r
705     "id": "ad2dc2ca.dac11",\r
706     "type": "outcomeTrue",\r
707     "name": "true",\r
708     "xml": "<outcome value='true'>\n",\r
709     "comments": "",\r
710     "outputs": 1,\r
711     "x": 1708.01078414917,\r
712     "y": 983.5662865638733,\r
713     "z": "e47fc805.c5c588",\r
714     "wires": [\r
715       [\r
716         "94734e1b.67d7d"\r
717       ]\r
718     ]\r
719   },\r
720   {\r
721     "id": "94734e1b.67d7d",\r
722     "type": "block",\r
723     "name": "block : atomic",\r
724     "xml": "<block atomic=\"true\">",\r
725     "atomic": "true",\r
726     "outputs": 1,\r
727     "x": 1857.0108795166016,\r
728     "y": 983.566285610199,\r
729     "z": "e47fc805.c5c588",\r
730     "wires": [\r
731       [\r
732         "da051cb.7908ce",\r
733         "511eded7.ee48c"\r
734       ]\r
735     ]\r
736   },\r
737   {\r
738     "id": "df822a12.2f4cb8",\r
739     "type": "success",\r
740     "name": "success",\r
741     "xml": "<outcome value='success'>\n",\r
742     "comments": "",\r
743     "outputs": 1,\r
744     "x": 2603.128704071045,\r
745     "y": 999.7951397895813,\r
746     "z": "e47fc805.c5c588",\r
747     "wires": [\r
748       [\r
749         "8bd33391.e91a4"\r
750       ]\r
751     ]\r
752   },\r
753   {\r
754     "id": "6d247d3c.af7454",\r
755     "type": "other",\r
756     "name": "other",\r
757     "xml": "<outcome value='Other'>\n",\r
758     "comments": "",\r
759     "outputs": 1,\r
760     "x": 2594.9805068969727,\r
761     "y": 1034.8612246513367,\r
762     "z": "e47fc805.c5c588",\r
763     "wires": [\r
764       [\r
765         "c9893a00.c28658"\r
766       ]\r
767     ]\r
768   },\r
769   {\r
770     "id": "92501bf7.64e188",\r
771     "type": "switchNode",\r
772     "name": "switch mdsal-psd.service-data.networks_length",\r
773     "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",\r
774     "comments": "",\r
775     "outputs": 1,\r
776     "x": 1600.344253540039,\r
777     "y": 1083.89990568161,\r
778     "z": "e47fc805.c5c588",\r
779     "wires": [\r
780       [\r
781         "7eda2112.68c74",\r
782         "8c5ad16c.a0bce"\r
783       ]\r
784     ]\r
785   },\r
786   {\r
787     "id": "8c5ad16c.a0bce",\r
788     "type": "other",\r
789     "name": "outcome 1",\r
790     "xml": "<outcome value='1'>\n",\r
791     "comments": "",\r
792     "outputs": 1,\r
793     "x": 1864.3441009521484,\r
794     "y": 1063.7886519432068,\r
795     "z": "e47fc805.c5c588",\r
796     "wires": [\r
797       [\r
798         "c88c0702.2f3eb8"\r
799       ]\r
800     ]\r
801   },\r
802   {\r
803     "id": "7eda2112.68c74",\r
804     "type": "other",\r
805     "name": "other",\r
806     "xml": "<outcome value='Other'>\n",\r
807     "comments": "",\r
808     "outputs": 1,\r
809     "x": 1854.3441619873047,\r
810     "y": 1111.7886233329773,\r
811     "z": "e47fc805.c5c588",\r
812     "wires": [\r
813       [\r
814         "4b5ebe1.f906a4"\r
815       ]\r
816     ]\r
817   },\r
818   {\r
819     "id": "4b5ebe1.f906a4",\r
820     "type": "returnFailure",\r
821     "name": "return failure",\r
822     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n    \n",\r
823     "comments": "",\r
824     "x": 1992.9965057373047,\r
825     "y": 1113.890384197235,\r
826     "z": "e47fc805.c5c588",\r
827     "wires": []\r
828   },\r
829   {\r
830     "id": "8c1e1bd2.c7dff8",\r
831     "type": "set",\r
832     "name": "set tmp.network.",\r
833     "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",\r
834     "comments": "",\r
835     "x": 2225.788959503174,\r
836     "y": 1064.788821697235,\r
837     "z": "e47fc805.c5c588",\r
838     "wires": []\r
839   },\r
840   {\r
841     "id": "d35c3b1d.717fa8",\r
842     "type": "block",\r
843     "name": "block : atomic",\r
844     "xml": "<block atomic=\"true\">",\r
845     "atomic": "true",\r
846     "outputs": 1,\r
847     "x": 1322.4552688598633,\r
848     "y": 1007.7884888648987,\r
849     "z": "e47fc805.c5c588",\r
850     "wires": [\r
851       [\r
852         "92501bf7.64e188"\r
853       ]\r
854     ]\r
855   },\r
856   {\r
857     "id": "c88c0702.2f3eb8",\r
858     "type": "block",\r
859     "name": "block : atomic",\r
860     "xml": "<block atomic=\"true\">",\r
861     "atomic": "true",\r
862     "outputs": 1,\r
863     "x": 2023.1218719482422,\r
864     "y": 1066.7884860038757,\r
865     "z": "e47fc805.c5c588",\r
866     "wires": [\r
867       [\r
868         "8c1e1bd2.c7dff8",\r
869         "57349ad5.ce57b4"\r
870       ]\r
871     ]\r
872   },\r
873   {\r
874     "id": "57349ad5.ce57b4",\r
875     "type": "for",\r
876     "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",\r
877     "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",\r
878     "comments": "",\r
879     "outputs": 1,\r
880     "x": 2386.121910095215,\r
881     "y": 1112.788640499115,\r
882     "z": "e47fc805.c5c588",\r
883     "wires": [\r
884       [\r
885         "9ba86c57.e6af5"\r
886       ]\r
887     ]\r
888   },\r
889   {\r
890     "id": "9ba86c57.e6af5",\r
891     "type": "block",\r
892     "name": "block",\r
893     "xml": "<block>\n",\r
894     "atomic": "false",\r
895     "comments": "",\r
896     "outputs": 1,\r
897     "x": 2432.677978515625,\r
898     "y": 1343.7884497642517,\r
899     "z": "e47fc805.c5c588",\r
900     "wires": [\r
901       [\r
902         "919483e8.df2a",\r
903         "d15629b3.f55828",\r
904         "5656fc8f.8dd814",\r
905         "831174d3.18ba68",\r
906         "28da2331.d9adbc",\r
907         "5b35ac60.b06374",\r
908         "8c9ddaa9.6e1178",\r
909         "cc2b2a86.fe9858",\r
910         "95f6d795.6654c8",\r
911         "12d0e2b2.41538d"\r
912       ]\r
913     ]\r
914   },\r
915   {\r
916     "id": "919483e8.df2a",\r
917     "type": "switchNode",\r
918     "name": "switch access-node-id",\r
919     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",\r
920     "comments": "",\r
921     "outputs": 1,\r
922     "x": 2709.1881942749023,\r
923     "y": 1185.7991971969604,\r
924     "z": "e47fc805.c5c588",\r
925     "wires": [\r
926       [\r
927         "d89910f0.04363"\r
928       ]\r
929     ]\r
930   },\r
931   {\r
932     "id": "d89910f0.04363",\r
933     "type": "outcomeTrue",\r
934     "name": "true",\r
935     "xml": "<outcome value='true'>\n",\r
936     "comments": "",\r
937     "outputs": 1,\r
938     "x": 2898.1878204345703,\r
939     "y": 1187.7990617752075,\r
940     "z": "e47fc805.c5c588",\r
941     "wires": [\r
942       [\r
943         "7fb07ab0.8731f4"\r
944       ]\r
945     ]\r
946   },\r
947   {\r
948     "id": "7fb07ab0.8731f4",\r
949     "type": "set",\r
950     "name": "set tmp.found-in-network tmp.ep-available",\r
951     "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
952     "comments": "",\r
953     "x": 3151.1879959106445,\r
954     "y": 1187.3991079330444,\r
955     "z": "e47fc805.c5c588",\r
956     "wires": []\r
957   },\r
958   {\r
959     "id": "d15629b3.f55828",\r
960     "type": "returnSuccess",\r
961     "name": "return success",\r
962     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
963     "comments": "",\r
964     "x": 2683.177646636963,\r
965     "y": 1559.7884883880615,\r
966     "z": "e47fc805.c5c588",\r
967     "wires": []\r
968   },\r
969   {\r
970     "id": "8f0a4580.6d9e98",\r
971     "type": "switchNode",\r
972     "name": "switch tmp.ep-available",\r
973     "xml": "<switch test='`$tmp.ep-available`'>\n",\r
974     "comments": "",\r
975     "outputs": 1,\r
976     "x": 675.3440704345703,\r
977     "y": 1192.2327990531921,\r
978     "z": "e47fc805.c5c588",\r
979     "wires": [\r
980       [\r
981         "a1aab633.7afd48",\r
982         "17b3ac8c.83db93"\r
983       ]\r
984     ]\r
985   },\r
986   {\r
987     "id": "17b3ac8c.83db93",\r
988     "type": "outcomeTrue",\r
989     "name": "true",\r
990     "xml": "<outcome value='true'>\n",\r
991     "comments": "",\r
992     "outputs": 1,\r
993     "x": 894.0107898712158,\r
994     "y": 1241.566155910492,\r
995     "z": "e47fc805.c5c588",\r
996     "wires": [\r
997       [\r
998         "6fbe74b1.19033c"\r
999       ]\r
1000     ]\r
1001   },\r
1002   {\r
1003     "id": "a1aab633.7afd48",\r
1004     "type": "outcomeTrue",\r
1005     "name": "false",\r
1006     "xml": "<outcome value='false'>\n",\r
1007     "comments": "",\r
1008     "outputs": 1,\r
1009     "x": 898.8995914459229,\r
1010     "y": 1150.5662169456482,\r
1011     "z": "e47fc805.c5c588",\r
1012     "wires": [\r
1013       [\r
1014         "afc8882a.f41778"\r
1015       ]\r
1016     ]\r
1017   },\r
1018   {\r
1019     "id": "afc8882a.f41778",\r
1020     "type": "block",\r
1021     "name": "block",\r
1022     "xml": "<block>\n",\r
1023     "atomic": "false",\r
1024     "comments": "",\r
1025     "outputs": 1,\r
1026     "x": 1045.8995876312256,\r
1027     "y": 1152.455029964447,\r
1028     "z": "e47fc805.c5c588",\r
1029     "wires": [\r
1030       []\r
1031     ]\r
1032   },\r
1033   {\r
1034     "id": "6fbe74b1.19033c",\r
1035     "type": "block",\r
1036     "name": "block : atomic",\r
1037     "xml": "<block atomic=\"true\">",\r
1038     "atomic": "true",\r
1039     "outputs": 1,\r
1040     "x": 1064.121877670288,\r
1041     "y": 1239.566113948822,\r
1042     "z": "e47fc805.c5c588",\r
1043     "wires": [\r
1044       [\r
1045         "55f0cf15.57d45",\r
1046         "34353928.90fd66",\r
1047         "ef27420c.8613d"\r
1048       ]\r
1049     ]\r
1050   },\r
1051   {\r
1052     "id": "55f0cf15.57d45",\r
1053     "type": "switchNode",\r
1054     "name": "switch tmp.found-in-ar",\r
1055     "xml": "<switch test='`$tmp.found-in-ar`'>\n",\r
1056     "comments": "",\r
1057     "outputs": 1,\r
1058     "x": 1290.2328910827637,\r
1059     "y": 1206.566113948822,\r
1060     "z": "e47fc805.c5c588",\r
1061     "wires": [\r
1062       [\r
1063         "6afed8e9.c144d8",\r
1064         "d5770178.0518a"\r
1065       ]\r
1066     ]\r
1067   },\r
1068   {\r
1069     "id": "6afed8e9.c144d8",\r
1070     "type": "outcomeTrue",\r
1071     "name": "true",\r
1072     "xml": "<outcome value='true'>\n",\r
1073     "comments": "",\r
1074     "outputs": 1,\r
1075     "x": 1485.6773376464844,\r
1076     "y": 1184.5661749839783,\r
1077     "z": "e47fc805.c5c588",\r
1078     "wires": [\r
1079       [\r
1080         "1eed655b.bd97fb"\r
1081       ]\r
1082     ]\r
1083   },\r
1084   {\r
1085     "id": "d5770178.0518a",\r
1086     "type": "outcomeTrue",\r
1087     "name": "false",\r
1088     "xml": "<outcome value='false'>\n",\r
1089     "comments": "",\r
1090     "outputs": 1,\r
1091     "x": 1482.67724609375,\r
1092     "y": 1232.5661597251892,\r
1093     "z": "e47fc805.c5c588",\r
1094     "wires": [\r
1095       [\r
1096         "b7fae121.44ba7"\r
1097       ]\r
1098     ]\r
1099   },\r
1100   {\r
1101     "id": "1eed655b.bd97fb",\r
1102     "type": "block",\r
1103     "name": "block : atomic",\r
1104     "xml": "<block atomic=\"true\">",\r
1105     "atomic": "true",\r
1106     "outputs": 1,\r
1107     "x": 1673.2330017089844,\r
1108     "y": 1181.5661749839783,\r
1109     "z": "e47fc805.c5c588",\r
1110     "wires": [\r
1111       [\r
1112         "f7779e2d.37621"\r
1113       ]\r
1114     ]\r
1115   },\r
1116   {\r
1117     "id": "b7fae121.44ba7",\r
1118     "type": "block",\r
1119     "name": "block : atomic",\r
1120     "xml": "<block atomic=\"true\">",\r
1121     "atomic": "true",\r
1122     "outputs": 1,\r
1123     "x": 1670.23291015625,\r
1124     "y": 1231.5661597251892,\r
1125     "z": "e47fc805.c5c588",\r
1126     "wires": [\r
1127       [\r
1128         "b98ba5f6.13f1f8"\r
1129       ]\r
1130     ]\r
1131   },\r
1132   {\r
1133     "id": "62f66369.cc0c1c",\r
1134     "type": "comment",\r
1135     "name": "GET connection-attachment-ar to store AR data from mdsal",\r
1136     "info": "",\r
1137     "comments": "",\r
1138     "x": 2182.5040855407715,\r
1139     "y": 468.503945350647,\r
1140     "z": "e47fc805.c5c588",\r
1141     "wires": []\r
1142   },\r
1143   {\r
1144     "id": "9290cc56.5053",\r
1145     "type": "comment",\r
1146     "name": "Set source end point",\r
1147     "info": "",\r
1148     "comments": "",\r
1149     "x": 672.0039825439453,\r
1150     "y": 557.2539653778076,\r
1151     "z": "e47fc805.c5c588",\r
1152     "wires": []\r
1153   },\r
1154   {\r
1155     "id": "f5e8e1c8.46298",\r
1156     "type": "set",\r
1157     "name": "set tmp.ar.parent-service-instance-id",\r
1158     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",\r
1159     "comments": "",\r
1160     "x": 723.0000762939453,\r
1161     "y": 766.0000882148743,\r
1162     "z": "e47fc805.c5c588",\r
1163     "wires": []\r
1164   },\r
1165   {\r
1166     "id": "d0475d22.15b97",\r
1167     "type": "success",\r
1168     "name": "success",\r
1169     "xml": "<outcome value='success'>\n",\r
1170     "comments": "",\r
1171     "outputs": 1,\r
1172     "x": 1083.000228881836,\r
1173     "y": 837.0000748634338,\r
1174     "z": "e47fc805.c5c588",\r
1175     "wires": [\r
1176       [\r
1177         "623d8d28.212994"\r
1178       ]\r
1179     ]\r
1180   },\r
1181   {\r
1182     "id": "b0b29ede.9f732",\r
1183     "type": "other",\r
1184     "name": "other",\r
1185     "xml": "<outcome value='Other'>\n",\r
1186     "comments": "",\r
1187     "outputs": 1,\r
1188     "x": 1074.8520317077637,\r
1189     "y": 872.0661597251892,\r
1190     "z": "e47fc805.c5c588",\r
1191     "wires": [\r
1192       [\r
1193         "962f738f.25f05"\r
1194       ]\r
1195     ]\r
1196   },\r
1197   {\r
1198     "id": "962f738f.25f05",\r
1199     "type": "returnFailure",\r
1200     "name": "return failure",\r
1201     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n    \n",\r
1202     "comments": "",\r
1203     "x": 1221.0008125305176,\r
1204     "y": 871.3335709571838,\r
1205     "z": "e47fc805.c5c588",\r
1206     "wires": []\r
1207   },\r
1208   {\r
1209     "id": "623d8d28.212994",\r
1210     "type": "block",\r
1211     "name": "block",\r
1212     "xml": "<block>\n",\r
1213     "atomic": "false",\r
1214     "comments": "",\r
1215     "outputs": 1,\r
1216     "x": 1214.0003242492676,\r
1217     "y": 837.0001358985901,\r
1218     "z": "e47fc805.c5c588",\r
1219     "wires": [\r
1220       []\r
1221     ]\r
1222   },\r
1223   {\r
1224     "id": "c9893a00.c28658",\r
1225     "type": "returnFailure",\r
1226     "name": "return failure",\r
1227     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n    \n",\r
1228     "comments": "",\r
1229     "x": 2745.000556945801,\r
1230     "y": 1035.0002627372742,\r
1231     "z": "e47fc805.c5c588",\r
1232     "wires": []\r
1233   },\r
1234   {\r
1235     "id": "8bd33391.e91a4",\r
1236     "type": "block",\r
1237     "name": "block",\r
1238     "xml": "<block>\n",\r
1239     "atomic": "false",\r
1240     "comments": "",\r
1241     "outputs": 1,\r
1242     "x": 2730.0006790161133,\r
1243     "y": 1002.0002474784851,\r
1244     "z": "e47fc805.c5c588",\r
1245     "wires": [\r
1246       []\r
1247     ]\r
1248   },\r
1249   {\r
1250     "id": "e64a37c7.f66948",\r
1251     "type": "set",\r
1252     "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",\r
1253     "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",\r
1254     "comments": "",\r
1255     "x": 809.0000152587891,\r
1256     "y": 939.0000624656677,\r
1257     "z": "e47fc805.c5c588",\r
1258     "wires": []\r
1259   },\r
1260   {\r
1261     "id": "fc331758.5b2778",\r
1262     "type": "comment",\r
1263     "name": "If other EP exists set destination end point",\r
1264     "info": "Check if other allotted resource is available.",\r
1265     "comments": "",\r
1266     "x": 726.0000152587891,\r
1267     "y": 1117.0000109672546,\r
1268     "z": "e47fc805.c5c588",\r
1269     "wires": []\r
1270   },\r
1271   {\r
1272     "id": "93383afb.68afc8",\r
1273     "type": "block",\r
1274     "name": "block",\r
1275     "xml": "<block>\n",\r
1276     "atomic": "false",\r
1277     "comments": "",\r
1278     "outputs": 1,\r
1279     "x": 1466.0001373291016,\r
1280     "y": 1444.000292301178,\r
1281     "z": "e47fc805.c5c588",\r
1282     "wires": [\r
1283       [\r
1284         "23230d18.7a6212",\r
1285         "a2526066.96f0c",\r
1286         "93d759ca.c80638",\r
1287         "cfe2307e.244ab",\r
1288         "b727775.7f84888",\r
1289         "373cb481.0be6cc",\r
1290         "9ebd0cde.5ee4a",\r
1291         "3f0a30ad.0a05f"\r
1292       ]\r
1293     ]\r
1294   },\r
1295   {\r
1296     "id": "23230d18.7a6212",\r
1297     "type": "switchNode",\r
1298     "name": "switch access-node-id",\r
1299     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",\r
1300     "comments": "",\r
1301     "outputs": 1,\r
1302     "x": 1708.5104389190674,\r
1303     "y": 1314.0106887817383,\r
1304     "z": "e47fc805.c5c588",\r
1305     "wires": [\r
1306       [\r
1307         "6e6de50.27a681c"\r
1308       ]\r
1309     ]\r
1310   },\r
1311   {\r
1312     "id": "a2526066.96f0c",\r
1313     "type": "returnSuccess",\r
1314     "name": "return success",\r
1315     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
1316     "comments": "",\r
1317     "x": 1681.5003910064697,\r
1318     "y": 1619.0006523132324,\r
1319     "z": "e47fc805.c5c588",\r
1320     "wires": []\r
1321   },\r
1322   {\r
1323     "id": "93d759ca.c80638",\r
1324     "type": "switchNode",\r
1325     "name": "switch access-ltp-id",\r
1326     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",\r
1327     "comments": "",\r
1328     "outputs": 1,\r
1329     "x": 1700.0002689361572,\r
1330     "y": 1357.7782201766968,\r
1331     "z": "e47fc805.c5c588",\r
1332     "wires": [\r
1333       [\r
1334         "4537bdaa.d5e104"\r
1335       ]\r
1336     ]\r
1337   },\r
1338   {\r
1339     "id": "cfe2307e.244ab",\r
1340     "type": "switchNode",\r
1341     "name": "switch clientSignal",\r
1342     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",\r
1343     "comments": "",\r
1344     "outputs": 1,\r
1345     "x": 1694.0003070831299,\r
1346     "y": 1403.7782669067383,\r
1347     "z": "e47fc805.c5c588",\r
1348     "wires": [\r
1349       [\r
1350         "7a3fa09e.aa469"\r
1351       ]\r
1352     ]\r
1353   },\r
1354   {\r
1355     "id": "b727775.7f84888",\r
1356     "type": "switchNode",\r
1357     "name": "switch cVLAN",\r
1358     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",\r
1359     "comments": "",\r
1360     "outputs": 1,\r
1361     "x": 1677.9898090362549,\r
1362     "y": 1442.7677688598633,\r
1363     "z": "e47fc805.c5c588",\r
1364     "wires": [\r
1365       [\r
1366         "97596f16.2d148"\r
1367       ]\r
1368     ]\r
1369   },\r
1370   {\r
1371     "id": "6e6de50.27a681c",\r
1372     "type": "outcomeTrue",\r
1373     "name": "true",\r
1374     "xml": "<outcome value='true'>\n",\r
1375     "comments": "",\r
1376     "outputs": 1,\r
1377     "x": 1886.2223529815674,\r
1378     "y": 1314.6670608520508,\r
1379     "z": "e47fc805.c5c588",\r
1380     "wires": [\r
1381       [\r
1382         "98c866c4.5a0d58"\r
1383       ]\r
1384     ]\r
1385   },\r
1386   {\r
1387     "id": "98c866c4.5a0d58",\r
1388     "type": "set",\r
1389     "name": "set dst-access-node-id",\r
1390     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
1391     "comments": "",\r
1392     "x": 2061.2223529815674,\r
1393     "y": 1314.2670359611511,\r
1394     "z": "e47fc805.c5c588",\r
1395     "wires": []\r
1396   },\r
1397   {\r
1398     "id": "4537bdaa.d5e104",\r
1399     "type": "outcomeTrue",\r
1400     "name": "true",\r
1401     "xml": "<outcome value='true'>\n",\r
1402     "comments": "",\r
1403     "outputs": 1,\r
1404     "x": 1881.7122211456299,\r
1405     "y": 1357.4345169067383,\r
1406     "z": "e47fc805.c5c588",\r
1407     "wires": [\r
1408       [\r
1409         "779f9f70.9b8e"\r
1410       ]\r
1411     ]\r
1412   },\r
1413   {\r
1414     "id": "7a3fa09e.aa469",\r
1415     "type": "outcomeTrue",\r
1416     "name": "true",\r
1417     "xml": "<outcome value='true'>\n",\r
1418     "comments": "",\r
1419     "outputs": 1,\r
1420     "x": 1881.7122211456299,\r
1421     "y": 1403.4345169067383,\r
1422     "z": "e47fc805.c5c588",\r
1423     "wires": [\r
1424       [\r
1425         "f9bbfd69.a91aa"\r
1426       ]\r
1427     ]\r
1428   },\r
1429   {\r
1430     "id": "97596f16.2d148",\r
1431     "type": "outcomeTrue",\r
1432     "name": "true",\r
1433     "xml": "<outcome value='true'>\n",\r
1434     "comments": "",\r
1435     "outputs": 1,\r
1436     "x": 1881.7017230987549,\r
1437     "y": 1442.4241409301758,\r
1438     "z": "e47fc805.c5c588",\r
1439     "wires": [\r
1440       [\r
1441         "9e73cdad.1270d"\r
1442       ]\r
1443     ]\r
1444   },\r
1445   {\r
1446     "id": "34353928.90fd66",\r
1447     "type": "for",\r
1448     "name": "for idx..tmp.ep.parameters[]",\r
1449     "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",\r
1450     "comments": "",\r
1451     "outputs": 1,\r
1452     "x": 1319,\r
1453     "y": 1331.9999976158142,\r
1454     "z": "e47fc805.c5c588",\r
1455     "wires": [\r
1456       [\r
1457         "93383afb.68afc8"\r
1458       ]\r
1459     ]\r
1460   },\r
1461   {\r
1462     "id": "f7779e2d.37621",\r
1463     "type": "set",\r
1464     "name": "set tmp.ep.parameters",\r
1465     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",\r
1466     "comments": "",\r
1467     "x": 1885.0000553131104,\r
1468     "y": 1181.000072002411,\r
1469     "z": "e47fc805.c5c588",\r
1470     "wires": []\r
1471   },\r
1472   {\r
1473     "id": "b98ba5f6.13f1f8",\r
1474     "type": "set",\r
1475     "name": "set tmp.ep.parameters",\r
1476     "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",\r
1477     "comments": "",\r
1478     "x": 1881.999963760376,\r
1479     "y": 1227.0000567436218,\r
1480     "z": "e47fc805.c5c588",\r
1481     "wires": []\r
1482   },\r
1483   {\r
1484     "id": "779f9f70.9b8e",\r
1485     "type": "set",\r
1486     "name": "set dst-access-node-id",\r
1487     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
1488     "comments": "",\r
1489     "x": 2059.0001850128174,\r
1490     "y": 1357.0003128051758,\r
1491     "z": "e47fc805.c5c588",\r
1492     "wires": []\r
1493   },\r
1494   {\r
1495     "id": "f9bbfd69.a91aa",\r
1496     "type": "set",\r
1497     "name": "set dst-clientSignal",\r
1498     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
1499     "comments": "",\r
1500     "x": 2053.0001850128174,\r
1501     "y": 1401.0003128051758,\r
1502     "z": "e47fc805.c5c588",\r
1503     "wires": []\r
1504   },\r
1505   {\r
1506     "id": "9e73cdad.1270d",\r
1507     "type": "set",\r
1508     "name": "set dst-cVLAN",\r
1509     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
1510     "comments": "",\r
1511     "x": 2044.0001850128174,\r
1512     "y": 1440.0003128051758,\r
1513     "z": "e47fc805.c5c588",\r
1514     "wires": []\r
1515   },\r
1516   {\r
1517     "id": "9a68bff2.8c292",\r
1518     "type": "comment",\r
1519     "name": "Get controller info and send request",\r
1520     "info": "",\r
1521     "comments": "",\r
1522     "x": 1926.000057220459,\r
1523     "y": 1911.0001511573792,\r
1524     "z": "e47fc805.c5c588",\r
1525     "wires": []\r
1526   },\r
1527   {\r
1528     "id": "aa539917.f17c98",\r
1529     "type": "execute",\r
1530     "name": "execute RestApiCallNode Create ethernet Service",\r
1531     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
1532     "comments": "",\r
1533     "outputs": 1,\r
1534     "x": 2464.0008239746094,\r
1535     "y": 2179.0013360977173,\r
1536     "z": "e47fc805.c5c588",\r
1537     "wires": [\r
1538       [\r
1539         "129cac0c.055ac4",\r
1540         "470289f4.54d198"\r
1541       ]\r
1542     ]\r
1543   },\r
1544   {\r
1545     "id": "129cac0c.055ac4",\r
1546     "type": "success",\r
1547     "name": "success",\r
1548     "xml": "<outcome value='success'>\n",\r
1549     "comments": "",\r
1550     "outputs": 1,\r
1551     "x": 2797.000648498535,\r
1552     "y": 2188.0015811920166,\r
1553     "z": "e47fc805.c5c588",\r
1554     "wires": [\r
1555       [\r
1556         "540c8068.f38"\r
1557       ]\r
1558     ]\r
1559   },\r
1560   {\r
1561     "id": "540c8068.f38",\r
1562     "type": "block",\r
1563     "name": "block : atomic",\r
1564     "xml": "<block atomic=\"true\">",\r
1565     "atomic": "true",\r
1566     "comments": "",\r
1567     "outputs": 1,\r
1568     "x": 2945.000648498535,\r
1569     "y": 2186.001459121704,\r
1570     "z": "e47fc805.c5c588",\r
1571     "wires": [\r
1572       []\r
1573     ]\r
1574   },\r
1575   {\r
1576     "id": "86d52886.e02b08",\r
1577     "type": "returnFailure",\r
1578     "name": "return failure",\r
1579     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
1580     "comments": "",\r
1581     "x": 2927.0006790161133,\r
1582     "y": 2133.001519203186,\r
1583     "z": "e47fc805.c5c588",\r
1584     "wires": []\r
1585   },\r
1586   {\r
1587     "id": "470289f4.54d198",\r
1588     "type": "failure",\r
1589     "name": "failure",\r
1590     "xml": "<outcome value='failure'>\n",\r
1591     "comments": "",\r
1592     "outputs": 1,\r
1593     "x": 2788.000587463379,\r
1594     "y": 2133.001519203186,\r
1595     "z": "e47fc805.c5c588",\r
1596     "wires": [\r
1597       [\r
1598         "86d52886.e02b08"\r
1599       ]\r
1600     ]\r
1601   },\r
1602   {\r
1603     "id": "d001a7e2.45abd8",\r
1604     "type": "failure",\r
1605     "name": "failure",\r
1606     "xml": "<outcome value='failure'>\n",\r
1607     "comments": "",\r
1608     "outputs": 1,\r
1609     "x": 897.7624244689941,\r
1610     "y": 2134.953706264496,\r
1611     "z": "e47fc805.c5c588",\r
1612     "wires": [\r
1613       [\r
1614         "f4c6242e.026e78"\r
1615       ]\r
1616     ]\r
1617   },\r
1618   {\r
1619     "id": "f4c6242e.026e78",\r
1620     "type": "returnFailure",\r
1621     "name": "return failure",\r
1622     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"AAI failed\" />\n",\r
1623     "comments": "",\r
1624     "x": 1064.2862453460693,\r
1625     "y": 2161.5727133750916,\r
1626     "z": "e47fc805.c5c588",\r
1627     "wires": []\r
1628   },\r
1629   {\r
1630     "id": "5249365f.05f8c8",\r
1631     "type": "failure",\r
1632     "name": "not-found",\r
1633     "xml": "<outcome value='not-found'>\n",\r
1634     "comments": "",\r
1635     "outputs": 1,\r
1636     "x": 899.8576526641846,\r
1637     "y": 2182.715548992157,\r
1638     "z": "e47fc805.c5c588",\r
1639     "wires": [\r
1640       [\r
1641         "f4c6242e.026e78"\r
1642       ]\r
1643     ]\r
1644   },\r
1645   {\r
1646     "id": "f04e271d.103d68",\r
1647     "type": "comment",\r
1648     "name": "Save Resource to AAI",\r
1649     "info": "",\r
1650     "comments": "",\r
1651     "x": 671.8100681304932,\r
1652     "y": 2123.3028693199158,\r
1653     "z": "e47fc805.c5c588",\r
1654     "wires": []\r
1655   },\r
1656   {\r
1657     "id": "625b8a7b.c27e14",\r
1658     "type": "set",\r
1659     "name": "set output to api handler",\r
1660     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",\r
1661     "comments": "",\r
1662     "x": 686.5777645111084,\r
1663     "y": 2044.8283505439758,\r
1664     "z": "e47fc805.c5c588",\r
1665     "wires": []\r
1666   },\r
1667   {\r
1668     "id": "b625537f.a1fdd",\r
1669     "type": "returnSuccess",\r
1670     "name": "return success",\r
1671     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
1672     "comments": "",\r
1673     "x": 646.9909362792969,\r
1674     "y": 2230.4441390037537,\r
1675     "z": "e47fc805.c5c588",\r
1676     "wires": []\r
1677   },\r
1678   {\r
1679     "id": "e5693b1c.1aac88",\r
1680     "type": "execute",\r
1681     "name": "execute RestApiCallNode - PUT AR by id",\r
1682     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",\r
1683     "comments": "",\r
1684     "outputs": 1,\r
1685     "x": 739.3098468780518,\r
1686     "y": 1969.4692034721375,\r
1687     "z": "e47fc805.c5c588",\r
1688     "wires": [\r
1689       [\r
1690         "cfef9f3f.14c39",\r
1691         "72aa50f4.96321",\r
1692         "28a18b03.896b34"\r
1693       ]\r
1694     ]\r
1695   },\r
1696   {\r
1697     "id": "cfef9f3f.14c39",\r
1698     "type": "not-found",\r
1699     "name": "not-found",\r
1700     "xml": "<outcome value='not-found'>\n",\r
1701     "comments": "",\r
1702     "outputs": 1,\r
1703     "x": 993.9512691497803,\r
1704     "y": 2013.800597667694,\r
1705     "z": "e47fc805.c5c588",\r
1706     "wires": [\r
1707       [\r
1708         "492ba4ec.f6b39c"\r
1709       ]\r
1710     ]\r
1711   },\r
1712   {\r
1713     "id": "72aa50f4.96321",\r
1714     "type": "failure",\r
1715     "name": "failure",\r
1716     "xml": "<outcome value='failure'>\n",\r
1717     "comments": "",\r
1718     "outputs": 1,\r
1719     "x": 995.9512920379639,\r
1720     "y": 1972.3005618080497,\r
1721     "z": "e47fc805.c5c588",\r
1722     "wires": [\r
1723       [\r
1724         "492ba4ec.f6b39c"\r
1725       ]\r
1726     ]\r
1727   },\r
1728   {\r
1729     "id": "28a18b03.896b34",\r
1730     "type": "success",\r
1731     "name": "success",\r
1732     "xml": "<outcome value='success'>\n",\r
1733     "comments": "",\r
1734     "outputs": 1,\r
1735     "x": 999.7013759613037,\r
1736     "y": 1923.6577143669128,\r
1737     "z": "e47fc805.c5c588",\r
1738     "wires": [\r
1739       [\r
1740         "85d2ed51.1b8c4"\r
1741       ]\r
1742     ]\r
1743   },\r
1744   {\r
1745     "id": "492ba4ec.f6b39c",\r
1746     "type": "returnFailure",\r
1747     "name": "return failure",\r
1748     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",\r
1749     "comments": "",\r
1750     "x": 1154.70139503479,\r
1751     "y": 1992.0506281852722,\r
1752     "z": "e47fc805.c5c588",\r
1753     "wires": []\r
1754   },\r
1755   {\r
1756     "id": "85d2ed51.1b8c4",\r
1757     "type": "block",\r
1758     "name": "block",\r
1759     "xml": "<block>\n",\r
1760     "atomic": "false",\r
1761     "comments": "",\r
1762     "outputs": 1,\r
1763     "x": 1127.3573207855225,\r
1764     "y": 1925.8498826026917,\r
1765     "z": "e47fc805.c5c588",\r
1766     "wires": [\r
1767       []\r
1768     ]\r
1769   },\r
1770   {\r
1771     "id": "e420c4c5.b6aac8",\r
1772     "type": "set",\r
1773     "name": "set ar-data",\r
1774     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",\r
1775     "comments": "",\r
1776     "x": 641.5234622955322,\r
1777     "y": 1803.8501045703888,\r
1778     "z": "e47fc805.c5c588",\r
1779     "wires": []\r
1780   },\r
1781   {\r
1782     "id": "31063248.d169de",\r
1783     "type": "execute",\r
1784     "name": "execute getTime",\r
1785     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",\r
1786     "comments": "",\r
1787     "outputs": 1,\r
1788     "x": 658.80930519104,\r
1789     "y": 1876.469702243805,\r
1790     "z": "e47fc805.c5c588",\r
1791     "wires": [\r
1792       []\r
1793     ]\r
1794   },\r
1795   {\r
1796     "id": "f27d2f2b.5f557",\r
1797     "type": "set",\r
1798     "name": "set allotted-resource-oper-status",\r
1799     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",\r
1800     "comments": "",\r
1801     "x": 708.7963848114014,\r
1802     "y": 1913.4207825660706,\r
1803     "z": "e47fc805.c5c588",\r
1804     "wires": []\r
1805   },\r
1806   {\r
1807     "id": "9257aeaa.1b50e",\r
1808     "type": "set",\r
1809     "name": "set model-data",\r
1810     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",\r
1811     "comments": "",\r
1812     "x": 655.3650035858154,\r
1813     "y": 1843.0247550010681,\r
1814     "z": "e47fc805.c5c588",\r
1815     "wires": []\r
1816   },\r
1817   {\r
1818     "id": "32d6bb38.221fd4",\r
1819     "type": "comment",\r
1820     "name": "Prepare data for allotted-resource addition to MDSAL",\r
1821     "info": "This will add to allotted-resource which is present inside service.",\r
1822     "comments": "",\r
1823     "x": 768.69846534729,\r
1824     "y": 1764.0247070789337,\r
1825     "z": "e47fc805.c5c588",\r
1826     "wires": []\r
1827   },\r
1828   {\r
1829     "id": "8d90c1db.edb92",\r
1830     "type": "comment",\r
1831     "name": "Add to allotted-resources in mdsal",\r
1832     "info": "",\r
1833     "comments": "",\r
1834     "x": 710.2782917022705,\r
1835     "y": 1731.4380087852478,\r
1836     "z": "e47fc805.c5c588",\r
1837     "wires": []\r
1838   },\r
1839   {\r
1840     "id": "8bb4a5cf.68ff78",\r
1841     "type": "update",\r
1842     "name": "update AAI allotted-resource",\r
1843     "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.service-information.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",\r
1844     "comments": "",\r
1845     "outputs": 1,\r
1846     "x": 698.2543468475342,\r
1847     "y": 2160.75501203537,\r
1848     "z": "e47fc805.c5c588",\r
1849     "wires": [\r
1850       [\r
1851         "d001a7e2.45abd8",\r
1852         "5249365f.05f8c8"\r
1853       ]\r
1854     ]\r
1855   },\r
1856   {\r
1857     "id": "f242ac55.63689",\r
1858     "type": "execute",\r
1859     "name": "execute RestApiCallNode getPath from OOF",\r
1860     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
1861     "comments": "",\r
1862     "outputs": 1,\r
1863     "x": 1507.004306793213,\r
1864     "y": 1723.2546639442444,\r
1865     "z": "e47fc805.c5c588",\r
1866     "wires": [\r
1867       [\r
1868         "8ebd53f.a1c8db",\r
1869         "4a1f8620.db9dd8"\r
1870       ]\r
1871     ]\r
1872   },\r
1873   {\r
1874     "id": "8ebd53f.a1c8db",\r
1875     "type": "success",\r
1876     "name": "success",\r
1877     "xml": "<outcome value='success'>\n",\r
1878     "comments": "",\r
1879     "outputs": 1,\r
1880     "x": 1747.0044479370117,\r
1881     "y": 1747.2546334266663,\r
1882     "z": "e47fc805.c5c588",\r
1883     "wires": [\r
1884       [\r
1885         "386f994c.1e59a6"\r
1886       ]\r
1887     ]\r
1888   },\r
1889   {\r
1890     "id": "2728f3f1.18be8c",\r
1891     "type": "returnFailure",\r
1892     "name": "return failure",\r
1893     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",\r
1894     "comments": "",\r
1895     "x": 1886.004482269287,\r
1896     "y": 1696.2547249794006,\r
1897     "z": "e47fc805.c5c588",\r
1898     "wires": []\r
1899   },\r
1900   {\r
1901     "id": "4a1f8620.db9dd8",\r
1902     "type": "failure",\r
1903     "name": "failure",\r
1904     "xml": "<outcome value='failure'>\n",\r
1905     "comments": "",\r
1906     "outputs": 1,\r
1907     "x": 1746.0042343139648,\r
1908     "y": 1696.2547240257263,\r
1909     "z": "e47fc805.c5c588",\r
1910     "wires": [\r
1911       [\r
1912         "2728f3f1.18be8c"\r
1913       ]\r
1914     ]\r
1915   },\r
1916   {\r
1917     "id": "f4212815.8844c8",\r
1918     "type": "comment",\r
1919     "name": "Get VPNs from OOF",\r
1920     "info": "",\r
1921     "comments": "",\r
1922     "x": 1493.008228302002,\r
1923     "y": 1690.2586636543274,\r
1924     "z": "e47fc805.c5c588",\r
1925     "wires": []\r
1926   },\r
1927   {\r
1928     "id": "30312f10.31bce",\r
1929     "type": "for",\r
1930     "name": "for vidx..oof.vpns_length[]",\r
1931     "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",\r
1932     "comments": "",\r
1933     "outputs": 1,\r
1934     "x": 1447.004150390625,\r
1935     "y": 1805.5043921470642,\r
1936     "z": "e47fc805.c5c588",\r
1937     "wires": [\r
1938       [\r
1939         "6a968eb5.e990c"\r
1940       ]\r
1941     ]\r
1942   },\r
1943   {\r
1944     "id": "50ffe7da.bf4678",\r
1945     "type": "comment",\r
1946     "name": "Loop through VPN and configure them",\r
1947     "info": "",\r
1948     "comments": "",\r
1949     "x": 1493.0046005249023,\r
1950     "y": 1940.0047698020935,\r
1951     "z": "e47fc805.c5c588",\r
1952     "wires": []\r
1953   },\r
1954   {\r
1955     "id": "5656fc8f.8dd814",\r
1956     "type": "switchNode",\r
1957     "name": "switch name",\r
1958     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",\r
1959     "comments": "",\r
1960     "outputs": 1,\r
1961     "x": 2686.788330078125,\r
1962     "y": 1277.1218237876892,\r
1963     "z": "e47fc805.c5c588",\r
1964     "wires": [\r
1965       [\r
1966         "55653cd7.ec43f4"\r
1967       ]\r
1968     ]\r
1969   },\r
1970   {\r
1971     "id": "55653cd7.ec43f4",\r
1972     "type": "outcomeTrue",\r
1973     "name": "true",\r
1974     "xml": "<outcome value='true'>\n",\r
1975     "comments": "",\r
1976     "outputs": 1,\r
1977     "x": 2875.788299560547,\r
1978     "y": 1277.1218090057373,\r
1979     "z": "e47fc805.c5c588",\r
1980     "wires": [\r
1981       [\r
1982         "5525b0a7.6138f"\r
1983       ]\r
1984     ]\r
1985   },\r
1986   {\r
1987     "id": "5525b0a7.6138f",\r
1988     "type": "set",\r
1989     "name": "set etht-svc-name & bandwidth-profile-name",\r
1990     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
1991     "comments": "",\r
1992     "x": 3116.78861618042,\r
1993     "y": 1276.721863746643,\r
1994     "z": "e47fc805.c5c588",\r
1995     "wires": []\r
1996   },\r
1997   {\r
1998     "id": "831174d3.18ba68",\r
1999     "type": "switchNode",\r
2000     "name": "switch description",\r
2001     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",\r
2002     "comments": "",\r
2003     "outputs": 1,\r
2004     "x": 2699.6282081604004,\r
2005     "y": 1312.1219186782837,\r
2006     "z": "e47fc805.c5c588",\r
2007     "wires": [\r
2008       [\r
2009         "3b411fae.953a4"\r
2010       ]\r
2011     ]\r
2012   },\r
2013   {\r
2014     "id": "3b411fae.953a4",\r
2015     "type": "outcomeTrue",\r
2016     "name": "true",\r
2017     "xml": "<outcome value='true'>\n",\r
2018     "comments": "",\r
2019     "outputs": 1,\r
2020     "x": 2874.628273010254,\r
2021     "y": 1314.121904373169,\r
2022     "z": "e47fc805.c5c588",\r
2023     "wires": [\r
2024       [\r
2025         "8774460.14dcdb8"\r
2026       ]\r
2027     ]\r
2028   },\r
2029   {\r
2030     "id": "8774460.14dcdb8",\r
2031     "type": "set",\r
2032     "name": "set etht-svc-descr",\r
2033     "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2034     "comments": "",\r
2035     "x": 3030.9615898132324,\r
2036     "y": 1311.5829792022705,\r
2037     "z": "e47fc805.c5c588",\r
2038     "wires": []\r
2039   },\r
2040   {\r
2041     "id": "28da2331.d9adbc",\r
2042     "type": "switchNode",\r
2043     "name": "switch tenantId",\r
2044     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",\r
2045     "comments": "",\r
2046     "outputs": 1,\r
2047     "x": 2695.010471343994,\r
2048     "y": 1345.4553089141846,\r
2049     "z": "e47fc805.c5c588",\r
2050     "wires": [\r
2051       [\r
2052         "ada04353.d80d1"\r
2053       ]\r
2054     ]\r
2055   },\r
2056   {\r
2057     "id": "ada04353.d80d1",\r
2058     "type": "outcomeTrue",\r
2059     "name": "true",\r
2060     "xml": "<outcome value='true'>\n",\r
2061     "comments": "",\r
2062     "outputs": 1,\r
2063     "x": 2873.0104751586914,\r
2064     "y": 1349.455186843872,\r
2065     "z": "e47fc805.c5c588",\r
2066     "wires": [\r
2067       [\r
2068         "cee74467.1a9228"\r
2069       ]\r
2070     ]\r
2071   },\r
2072   {\r
2073     "id": "cee74467.1a9228",\r
2074     "type": "set",\r
2075     "name": "set tenantId",\r
2076     "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2077     "comments": "",\r
2078     "x": 3011.0106620788574,\r
2079     "y": 1346.0551624298096,\r
2080     "z": "e47fc805.c5c588",\r
2081     "wires": []\r
2082   },\r
2083   {\r
2084     "id": "8c9ddaa9.6e1178",\r
2085     "type": "switchNode",\r
2086     "name": "switch cir",\r
2087     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",\r
2088     "comments": "",\r
2089     "outputs": 1,\r
2090     "x": 2677.850070953369,\r
2091     "y": 1418.4552640914917,\r
2092     "z": "e47fc805.c5c588",\r
2093     "wires": [\r
2094       [\r
2095         "cd954fdf.ea0ed"\r
2096       ]\r
2097     ]\r
2098   },\r
2099   {\r
2100     "id": "cd954fdf.ea0ed",\r
2101     "type": "outcomeTrue",\r
2102     "name": "true",\r
2103     "xml": "<outcome value='true'>\n",\r
2104     "comments": "",\r
2105     "outputs": 1,\r
2106     "x": 2872.8501358032227,\r
2107     "y": 1419.4552640914917,\r
2108     "z": "e47fc805.c5c588",\r
2109     "wires": [\r
2110       [\r
2111         "31bd7e24.629462"\r
2112       ]\r
2113     ]\r
2114   },\r
2115   {\r
2116     "id": "31bd7e24.629462",\r
2117     "type": "set",\r
2118     "name": "set cir",\r
2119     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2120     "comments": "",\r
2121     "x": 2997.18363571167,\r
2122     "y": 1417.9163389205933,\r
2123     "z": "e47fc805.c5c588",\r
2124     "wires": []\r
2125   },\r
2126   {\r
2127     "id": "5b35ac60.b06374",\r
2128     "type": "switchNode",\r
2129     "name": "switch vpnType",\r
2130     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",\r
2131     "comments": "",\r
2132     "outputs": 1,\r
2133     "x": 2692.158359527588,\r
2134     "y": 1381.2329740524292,\r
2135     "z": "e47fc805.c5c588",\r
2136     "wires": [\r
2137       [\r
2138         "1d4c9619.a6669a"\r
2139       ]\r
2140     ]\r
2141   },\r
2142   {\r
2143     "id": "1d4c9619.a6669a",\r
2144     "type": "outcomeTrue",\r
2145     "name": "true",\r
2146     "xml": "<outcome value='true'>\n",\r
2147     "comments": "",\r
2148     "outputs": 1,\r
2149     "x": 2874.158546447754,\r
2150     "y": 1384.2329587936401,\r
2151     "z": "e47fc805.c5c588",\r
2152     "wires": [\r
2153       [\r
2154         "bd64b5e6.539838"\r
2155       ]\r
2156     ]\r
2157   },\r
2158   {\r
2159     "id": "bd64b5e6.539838",\r
2160     "type": "set",\r
2161     "name": "set vpnType",\r
2162     "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2163     "comments": "",\r
2164     "x": 3010.492290496826,\r
2165     "y": 1380.694200515747,\r
2166     "z": "e47fc805.c5c588",\r
2167     "wires": []\r
2168   },\r
2169   {\r
2170     "id": "cc2b2a86.fe9858",\r
2171     "type": "switchNode",\r
2172     "name": "switch eir",\r
2173     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",\r
2174     "comments": "",\r
2175     "outputs": 1,\r
2176     "x": 2673.1404151916504,\r
2177     "y": 1452.1531715393066,\r
2178     "z": "e47fc805.c5c588",\r
2179     "wires": [\r
2180       [\r
2181         "203ce537.bd8b2a"\r
2182       ]\r
2183     ]\r
2184   },\r
2185   {\r
2186     "id": "203ce537.bd8b2a",\r
2187     "type": "outcomeTrue",\r
2188     "name": "true",\r
2189     "xml": "<outcome value='true'>\n",\r
2190     "comments": "",\r
2191     "outputs": 1,\r
2192     "x": 2873.1406631469727,\r
2193     "y": 1455.1531105041504,\r
2194     "z": "e47fc805.c5c588",\r
2195     "wires": [\r
2196       [\r
2197         "7faf1119.e88e9"\r
2198       ]\r
2199     ]\r
2200   },\r
2201   {\r
2202     "id": "7faf1119.e88e9",\r
2203     "type": "set",\r
2204     "name": "set eir",\r
2205     "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2206     "comments": "",\r
2207     "x": 2996.4742851257324,\r
2208     "y": 1454.614170074463,\r
2209     "z": "e47fc805.c5c588",\r
2210     "wires": []\r
2211   },\r
2212   {\r
2213     "id": "95f6d795.6654c8",\r
2214     "type": "switchNode",\r
2215     "name": "switch colorAware",\r
2216     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",\r
2217     "comments": "",\r
2218     "outputs": 1,\r
2219     "x": 2698.141025543213,\r
2220     "y": 1486.1530504226685,\r
2221     "z": "e47fc805.c5c588",\r
2222     "wires": [\r
2223       [\r
2224         "b60ea4bb.5cc238"\r
2225       ]\r
2226     ]\r
2227   },\r
2228   {\r
2229     "id": "b60ea4bb.5cc238",\r
2230     "type": "outcomeTrue",\r
2231     "name": "true",\r
2232     "xml": "<outcome value='true'>\n",\r
2233     "comments": "",\r
2234     "outputs": 1,\r
2235     "x": 2869.1408462524414,\r
2236     "y": 1492.152988910675,\r
2237     "z": "e47fc805.c5c588",\r
2238     "wires": [\r
2239       [\r
2240         "6d5c307a.1a01c"\r
2241       ]\r
2242     ]\r
2243   },\r
2244   {\r
2245     "id": "6d5c307a.1a01c",\r
2246     "type": "set",\r
2247     "name": "set colorAware",\r
2248     "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2249     "comments": "",\r
2250     "x": 3017.47416305542,\r
2251     "y": 1492.6142015457153,\r
2252     "z": "e47fc805.c5c588",\r
2253     "wires": []\r
2254   },\r
2255   {\r
2256     "id": "12d0e2b2.41538d",\r
2257     "type": "switchNode",\r
2258     "name": "switch couplingFlag",\r
2259     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",\r
2260     "comments": "",\r
2261     "outputs": 1,\r
2262     "x": 2700.1409645080566,\r
2263     "y": 1522.153112411499,\r
2264     "z": "e47fc805.c5c588",\r
2265     "wires": [\r
2266       [\r
2267         "9768f5df.e54b58"\r
2268       ]\r
2269     ]\r
2270   },\r
2271   {\r
2272     "id": "9768f5df.e54b58",\r
2273     "type": "outcomeTrue",\r
2274     "name": "true",\r
2275     "xml": "<outcome value='true'>\n",\r
2276     "comments": "",\r
2277     "outputs": 1,\r
2278     "x": 2872.1408462524414,\r
2279     "y": 1531.153081893921,\r
2280     "z": "e47fc805.c5c588",\r
2281     "wires": [\r
2282       [\r
2283         "9d447a7c.f87728"\r
2284       ]\r
2285     ]\r
2286   },\r
2287   {\r
2288     "id": "9d447a7c.f87728",\r
2289     "type": "set",\r
2290     "name": "set couplingFlag",\r
2291     "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2292     "comments": "",\r
2293     "x": 3025.47416305542,\r
2294     "y": 1531.6142024993896,\r
2295     "z": "e47fc805.c5c588",\r
2296     "wires": []\r
2297   },\r
2298   {\r
2299     "id": "23c26849.b1be88",\r
2300     "type": "comment",\r
2301     "name": "Check if other EP exists in SOTNConnectionResource",\r
2302     "info": "",\r
2303     "comments": "",\r
2304     "x": 2831.343994140625,\r
2305     "y": 1140.7884497642517,\r
2306     "z": "e47fc805.c5c588",\r
2307     "wires": []\r
2308   },\r
2309   {\r
2310     "id": "1c7f6b36.0dde35",\r
2311     "type": "comment",\r
2312     "name": "Get other global parameters from network",\r
2313     "info": "",\r
2314     "comments": "",\r
2315     "x": 2767.34375,\r
2316     "y": 1226.7884497642517,\r
2317     "z": "e47fc805.c5c588",\r
2318     "wires": []\r
2319   },\r
2320   {\r
2321     "id": "373cb481.0be6cc",\r
2322     "type": "switchNode",\r
2323     "name": "switch access-provider-id",\r
2324     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",\r
2325     "comments": "",\r
2326     "outputs": 1,\r
2327     "x": 1715.5661029815674,\r
2328     "y": 1488.2329788208008,\r
2329     "z": "e47fc805.c5c588",\r
2330     "wires": [\r
2331       [\r
2332         "ff1ef452.ac6398"\r
2333       ]\r
2334     ]\r
2335   },\r
2336   {\r
2337     "id": "ff1ef452.ac6398",\r
2338     "type": "outcomeTrue",\r
2339     "name": "true",\r
2340     "xml": "<outcome value='true'>\n",\r
2341     "comments": "",\r
2342     "outputs": 1,\r
2343     "x": 1902.5661029815674,\r
2344     "y": 1484.2329788208008,\r
2345     "z": "e47fc805.c5c588",\r
2346     "wires": [\r
2347       [\r
2348         "ed2e9db3.52782"\r
2349       ]\r
2350     ]\r
2351   },\r
2352   {\r
2353     "id": "ed2e9db3.52782",\r
2354     "type": "set",\r
2355     "name": "set access-provider-id",\r
2356     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2357     "comments": "",\r
2358     "x": 2070.5661029815674,\r
2359     "y": 1484.8329849243164,\r
2360     "z": "e47fc805.c5c588",\r
2361     "wires": []\r
2362   },\r
2363   {\r
2364     "id": "9ebd0cde.5ee4a",\r
2365     "type": "switchNode",\r
2366     "name": "switch access-client-id",\r
2367     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",\r
2368     "comments": "",\r
2369     "outputs": 1,\r
2370     "x": 1706.5661182403564,\r
2371     "y": 1531.2434272766113,\r
2372     "z": "e47fc805.c5c588",\r
2373     "wires": [\r
2374       [\r
2375         "6a1f9494.a9099c"\r
2376       ]\r
2377     ]\r
2378   },\r
2379   {\r
2380     "id": "6a1f9494.a9099c",\r
2381     "type": "outcomeTrue",\r
2382     "name": "true",\r
2383     "xml": "<outcome value='true'>\n",\r
2384     "comments": "",\r
2385     "outputs": 1,\r
2386     "x": 1893.5661182403564,\r
2387     "y": 1527.2434272766113,\r
2388     "z": "e47fc805.c5c588",\r
2389     "wires": [\r
2390       [\r
2391         "5c104369.10385c"\r
2392       ]\r
2393     ]\r
2394   },\r
2395   {\r
2396     "id": "5c104369.10385c",\r
2397     "type": "set",\r
2398     "name": "set access-client-id",\r
2399     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2400     "comments": "",\r
2401     "x": 2061.5661182403564,\r
2402     "y": 1527.843433380127,\r
2403     "z": "e47fc805.c5c588",\r
2404     "wires": []\r
2405   },\r
2406   {\r
2407     "id": "3f0a30ad.0a05f",\r
2408     "type": "switchNode",\r
2409     "name": "switch access-topology-id",\r
2410     "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",\r
2411     "comments": "",\r
2412     "outputs": 1,\r
2413     "x": 1719.566062927246,\r
2414     "y": 1573.2434582710266,\r
2415     "z": "e47fc805.c5c588",\r
2416     "wires": [\r
2417       [\r
2418         "b8481b61.974128"\r
2419       ]\r
2420     ]\r
2421   },\r
2422   {\r
2423     "id": "b8481b61.974128",\r
2424     "type": "outcomeTrue",\r
2425     "name": "true",\r
2426     "xml": "<outcome value='true'>\n",\r
2427     "comments": "",\r
2428     "outputs": 1,\r
2429     "x": 1906.566062927246,\r
2430     "y": 1569.2434582710266,\r
2431     "z": "e47fc805.c5c588",\r
2432     "wires": [\r
2433       [\r
2434         "cd99ec59.16d01"\r
2435       ]\r
2436     ]\r
2437   },\r
2438   {\r
2439     "id": "cd99ec59.16d01",\r
2440     "type": "set",\r
2441     "name": "set access-topology-id",\r
2442     "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2443     "comments": "",\r
2444     "x": 2074.566062927246,\r
2445     "y": 1569.8434643745422,\r
2446     "z": "e47fc805.c5c588",\r
2447     "wires": []\r
2448   },\r
2449   {\r
2450     "id": "6a968eb5.e990c",\r
2451     "type": "block",\r
2452     "name": "block : atomic",\r
2453     "xml": "<block atomic=\"true\">",\r
2454     "atomic": "true",\r
2455     "outputs": 1,\r
2456     "x": 1670.121467590332,\r
2457     "y": 1842.3444514274597,\r
2458     "z": "e47fc805.c5c588",\r
2459     "wires": [\r
2460       [\r
2461         "25415b54.636c54",\r
2462         "a5206342.9aba",\r
2463         "51f40b71.957074",\r
2464         "f753496f.fd6098",\r
2465         "a5fc88b6.7da8a8",\r
2466         "48526f97.44c48",\r
2467         "e2b95315.238d5",\r
2468         "1f7c3b05.6c25b5",\r
2469         "15600759.2f8af9",\r
2470         "38b5d1f7.8043be",\r
2471         "3f572112.50e40e"\r
2472       ]\r
2473     ]\r
2474   },\r
2475   {\r
2476     "id": "94168d9.4338d7",\r
2477     "type": "set",\r
2478     "name": "set controller data",\r
2479     "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",\r
2480     "comments": "",\r
2481     "x": 2311.566131591797,\r
2482     "y": 1906.67764377594,\r
2483     "z": "e47fc805.c5c588",\r
2484     "wires": []\r
2485   },\r
2486   {\r
2487     "id": "1f7c3b05.6c25b5",\r
2488     "type": "get-resource",\r
2489     "name": "get-resource esr-thirdparty-sdnc",\r
2490     "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",\r
2491     "comments": "",\r
2492     "outputs": 1,\r
2493     "x": 1928.0660400390625,\r
2494     "y": 1943.6775832176208,\r
2495     "z": "e47fc805.c5c588",\r
2496     "wires": [\r
2497       [\r
2498         "530a02a.35bc5fc",\r
2499         "69cd2500.075b9c",\r
2500         "30e7132.e91f7ec"\r
2501       ]\r
2502     ]\r
2503   },\r
2504   {\r
2505     "id": "530a02a.35bc5fc",\r
2506     "type": "success",\r
2507     "name": "success",\r
2508     "xml": "<outcome value='success'>\n",\r
2509     "comments": "",\r
2510     "outputs": 1,\r
2511     "x": 2148.065975189209,\r
2512     "y": 1907.6775522232056,\r
2513     "z": "e47fc805.c5c588",\r
2514     "wires": [\r
2515       [\r
2516         "94168d9.4338d7"\r
2517       ]\r
2518     ]\r
2519   },\r
2520   {\r
2521     "id": "69cd2500.075b9c",\r
2522     "type": "not-found",\r
2523     "name": "not-found",\r
2524     "xml": "<outcome value='not-found'>\n",\r
2525     "comments": "",\r
2526     "outputs": 1,\r
2527     "x": 2157.556915283203,\r
2528     "y": 1948.251558303833,\r
2529     "z": "e47fc805.c5c588",\r
2530     "wires": [\r
2531       [\r
2532         "5bd73e6e.fe56f"\r
2533       ]\r
2534     ]\r
2535   },\r
2536   {\r
2537     "id": "30e7132.e91f7ec",\r
2538     "type": "other",\r
2539     "name": "other",\r
2540     "xml": "<outcome value='Other'>\n",\r
2541     "comments": "",\r
2542     "outputs": 1,\r
2543     "x": 2152.889892578125,\r
2544     "y": 1984.5848712921143,\r
2545     "z": "e47fc805.c5c588",\r
2546     "wires": [\r
2547       [\r
2548         "af020f5f.af078"\r
2549       ]\r
2550     ]\r
2551   },\r
2552   {\r
2553     "id": "5bd73e6e.fe56f",\r
2554     "type": "returnFailure",\r
2555     "name": "return failure",\r
2556     "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",\r
2557     "comments": "",\r
2558     "x": 2304.1282653808594,\r
2559     "y": 1944.5373849868774,\r
2560     "z": "e47fc805.c5c588",\r
2561     "wires": []\r
2562   },\r
2563   {\r
2564     "id": "af020f5f.af078",\r
2565     "type": "returnFailure",\r
2566     "name": "return failure",\r
2567     "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",\r
2568     "comments": "",\r
2569     "x": 2307.6625366210938,\r
2570     "y": 1986.024019241333,\r
2571     "z": "e47fc805.c5c588",\r
2572     "wires": []\r
2573   },\r
2574   {\r
2575     "id": "e2b95315.238d5",\r
2576     "type": "get-resource",\r
2577     "name": "get-resource pnf",\r
2578     "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",\r
2579     "comments": "",\r
2580     "outputs": 1,\r
2581     "x": 1873.565933227539,\r
2582     "y": 1852.6772270202637,\r
2583     "z": "e47fc805.c5c588",\r
2584     "wires": [\r
2585       [\r
2586         "14ef11a9.e55e2e",\r
2587         "226a17e2.188c38",\r
2588         "6e24acbd.f1e944"\r
2589       ]\r
2590     ]\r
2591   },\r
2592   {\r
2593     "id": "14ef11a9.e55e2e",\r
2594     "type": "success",\r
2595     "name": "success",\r
2596     "xml": "<outcome value='success'>\n",\r
2597     "comments": "",\r
2598     "outputs": 1,\r
2599     "x": 2055.5659790039062,\r
2600     "y": 1797.6773371696472,\r
2601     "z": "e47fc805.c5c588",\r
2602     "wires": [\r
2603       [\r
2604         "24ab4d52.5b5102"\r
2605       ]\r
2606     ]\r
2607   },\r
2608   {\r
2609     "id": "226a17e2.188c38",\r
2610     "type": "not-found",\r
2611     "name": "not-found",\r
2612     "xml": "<outcome value='not-found'>\n",\r
2613     "comments": "",\r
2614     "outputs": 1,\r
2615     "x": 2056.0568809509277,\r
2616     "y": 1835.2514338493347,\r
2617     "z": "e47fc805.c5c588",\r
2618     "wires": [\r
2619       [\r
2620         "c7278eff.a4e77"\r
2621       ]\r
2622     ]\r
2623   },\r
2624   {\r
2625     "id": "6e24acbd.f1e944",\r
2626     "type": "other",\r
2627     "name": "other",\r
2628     "xml": "<outcome value='Other'>\n",\r
2629     "comments": "",\r
2630     "outputs": 1,\r
2631     "x": 2047.389892578125,\r
2632     "y": 1868.5848088264465,\r
2633     "z": "e47fc805.c5c588",\r
2634     "wires": [\r
2635       [\r
2636         "86f1cee5.6a47d"\r
2637       ]\r
2638     ]\r
2639   },\r
2640   {\r
2641     "id": "c7278eff.a4e77",\r
2642     "type": "returnFailure",\r
2643     "name": "return failure",\r
2644     "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",\r
2645     "comments": "",\r
2646     "x": 2203.628505706787,\r
2647     "y": 1834.5373225212097,\r
2648     "z": "e47fc805.c5c588",\r
2649     "wires": []\r
2650   },\r
2651   {\r
2652     "id": "86f1cee5.6a47d",\r
2653     "type": "returnFailure",\r
2654     "name": "return failure",\r
2655     "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",\r
2656     "comments": "",\r
2657     "x": 2201.1625366210938,\r
2658     "y": 1868.0239567756653,\r
2659     "z": "e47fc805.c5c588",\r
2660     "wires": []\r
2661   },\r
2662   {\r
2663     "id": "24ab4d52.5b5102",\r
2664     "type": "set",\r
2665     "name": "set tmp.thirdparty-sdnc-id",\r
2666     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
2667     "comments": "",\r
2668     "x": 2240.5659790039062,\r
2669     "y": 1796.6774592399597,\r
2670     "z": "e47fc805.c5c588",\r
2671     "wires": []\r
2672   },\r
2673   {\r
2674     "id": "c836a451.421728",\r
2675     "type": "comment",\r
2676     "name": "get domain controller information",\r
2677     "info": "",\r
2678     "comments": "",\r
2679     "x": 1924.0698471069336,\r
2680     "y": 1819.681182384491,\r
2681     "z": "e47fc805.c5c588",\r
2682     "wires": []\r
2683   },\r
2684   {\r
2685     "id": "15600759.2f8af9",\r
2686     "type": "set",\r
2687     "name": "set oof.vpn",\r
2688     "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",\r
2689     "comments": "",\r
2690     "x": 1885.565933227539,\r
2691     "y": 1773.7883105278015,\r
2692     "z": "e47fc805.c5c588",\r
2693     "wires": []\r
2694   },\r
2695   {\r
2696     "id": "a5206342.9aba",\r
2697     "type": "save",\r
2698     "name": "save VPN resource in AAI",\r
2699     "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`' />",\r
2700     "comments": "",\r
2701     "outputs": 1,\r
2702     "x": 1900.0314102172852,\r
2703     "y": 2350.750671863556,\r
2704     "z": "e47fc805.c5c588",\r
2705     "wires": [\r
2706       []\r
2707     ]\r
2708   },\r
2709   {\r
2710     "id": "51f40b71.957074",\r
2711     "type": "set",\r
2712     "name": "set tmp.vpnName",\r
2713     "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",\r
2714     "comments": "",\r
2715     "x": 1876.5314102172852,\r
2716     "y": 2303.2503685951233,\r
2717     "z": "e47fc805.c5c588",\r
2718     "wires": []\r
2719   },\r
2720   {\r
2721     "id": "f753496f.fd6098",\r
2722     "type": "save",\r
2723     "name": "save connectivity relationship in AAI",\r
2724     "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`\" />",\r
2725     "comments": "",\r
2726     "outputs": 1,\r
2727     "x": 1935.0314102172852,\r
2728     "y": 2395.750427722931,\r
2729     "z": "e47fc805.c5c588",\r
2730     "wires": [\r
2731       []\r
2732     ]\r
2733   },\r
2734   {\r
2735     "id": "b6eef9a7.432da8",\r
2736     "type": "comment",\r
2737     "name": "save vpn and its relation to AAI",\r
2738     "info": "",\r
2739     "comments": "",\r
2740     "x": 1918.031608581543,\r
2741     "y": 2264.7506375312805,\r
2742     "z": "e47fc805.c5c588",\r
2743     "wires": []\r
2744   },\r
2745   {\r
2746     "id": "25415b54.636c54",\r
2747     "type": "set",\r
2748     "name": "set src-ltpId dst-ltpId",\r
2749     "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`\" />",\r
2750     "comments": "",\r
2751     "x": 1887.0314407348633,\r
2752     "y": 2435.750547885895,\r
2753     "z": "e47fc805.c5c588",\r
2754     "wires": []\r
2755   },\r
2756   {\r
2757     "id": "a5fc88b6.7da8a8",\r
2758     "type": "save",\r
2759     "name": "save srcLTP relationship in AAI",\r
2760     "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",\r
2761     "comments": "",\r
2762     "outputs": 1,\r
2763     "x": 1921.0316925048828,\r
2764     "y": 2475.50075674057,\r
2765     "z": "e47fc805.c5c588",\r
2766     "wires": [\r
2767       []\r
2768     ]\r
2769   },\r
2770   {\r
2771     "id": "48526f97.44c48",\r
2772     "type": "save",\r
2773     "name": "save dstLTP relationship in AAI",\r
2774     "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`\" />",\r
2775     "comments": "",\r
2776     "outputs": 1,\r
2777     "x": 1919.0315246582031,\r
2778     "y": 2521.2505955696106,\r
2779     "z": "e47fc805.c5c588",\r
2780     "wires": [\r
2781       []\r
2782     ]\r
2783   },\r
2784   {\r
2785     "id": "c941958.f53f068",\r
2786     "type": "execute",\r
2787     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
2788     "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",\r
2789     "comments": "",\r
2790     "outputs": 1,\r
2791     "x": 865.0351867675781,\r
2792     "y": 626.0039095878601,\r
2793     "z": "e47fc805.c5c588",\r
2794     "wires": [\r
2795       [\r
2796         "bf04a12d.5ab3a",\r
2797         "5803dc5e.f9b2f4"\r
2798       ]\r
2799     ]\r
2800   },\r
2801   {\r
2802     "id": "4e69710c.777f7",\r
2803     "type": "execute",\r
2804     "name": "execute RestApiCallNode - get-resource parent service data",\r
2805     "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",\r
2806     "comments": "",\r
2807     "outputs": 1,\r
2808     "x": 792.0353393554688,\r
2809     "y": 853.0040726661682,\r
2810     "z": "e47fc805.c5c588",\r
2811     "wires": [\r
2812       [\r
2813         "d0475d22.15b97",\r
2814         "b0b29ede.9f732"\r
2815       ]\r
2816     ]\r
2817   },\r
2818   {\r
2819     "id": "7b1a01af.62e07",\r
2820     "type": "execute",\r
2821     "name": "get parent-service-data url",\r
2822     "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",\r
2823     "comments": "",\r
2824     "outputs": 1,\r
2825     "x": 692.0352478027344,\r
2826     "y": 816.0039057731628,\r
2827     "z": "e47fc805.c5c588",\r
2828     "wires": [\r
2829       []\r
2830     ]\r
2831   },\r
2832   {\r
2833     "id": "da051cb.7908ce",\r
2834     "type": "execute",\r
2835     "name": "generate tmp.ar-other-url-connection",\r
2836     "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",\r
2837     "comments": "",\r
2838     "outputs": 1,\r
2839     "x": 2106.0316009521484,\r
2840     "y": 972.3334670066833,\r
2841     "z": "e47fc805.c5c588",\r
2842     "wires": [\r
2843       []\r
2844     ]\r
2845   },\r
2846   {\r
2847     "id": "511eded7.ee48c",\r
2848     "type": "execute",\r
2849     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
2850     "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",\r
2851     "comments": "",\r
2852     "outputs": 1,\r
2853     "x": 2243.032241821289,\r
2854     "y": 1014.8333315849304,\r
2855     "z": "e47fc805.c5c588",\r
2856     "wires": [\r
2857       [\r
2858         "df822a12.2f4cb8",\r
2859         "6d247d3c.af7454"\r
2860       ]\r
2861     ]\r
2862   },\r
2863   {\r
2864     "id": "386f994c.1e59a6",\r
2865     "type": "block",\r
2866     "name": "block",\r
2867     "xml": "<block>\n",\r
2868     "atomic": "false",\r
2869     "comments": "",\r
2870     "outputs": 1,\r
2871     "x": 1868.0315208435059,\r
2872     "y": 1738.0001168251038,\r
2873     "z": "e47fc805.c5c588",\r
2874     "wires": [\r
2875       []\r
2876     ]\r
2877   },\r
2878   {\r
2879     "id": "ef27420c.8613d",\r
2880     "type": "block",\r
2881     "name": "block : atomic",\r
2882     "xml": "<block atomic=\"true\">",\r
2883     "atomic": "true",\r
2884     "outputs": 1,\r
2885     "x": 1245.0001335144043,\r
2886     "y": 1763.0003008842468,\r
2887     "z": "e47fc805.c5c588",\r
2888     "wires": [\r
2889       [\r
2890         "f242ac55.63689",\r
2891         "30312f10.31bce"\r
2892       ]\r
2893     ]\r
2894   },\r
2895   {\r
2896     "id": "d906524b.eeb18",\r
2897     "type": "outcome",\r
2898     "name": "outcome PendingDelete",\r
2899     "xml": "<outcome value='PendingDelete'>\n",\r
2900     "comments": "",\r
2901     "outputs": 1,\r
2902     "x": 2319.0625915527344,\r
2903     "y": 578.03129529953,\r
2904     "z": "e47fc805.c5c588",\r
2905     "wires": [\r
2906       [\r
2907         "e6b0a51.a605158"\r
2908       ]\r
2909     ]\r
2910   },\r
2911   {\r
2912     "id": "e6b0a51.a605158",\r
2913     "type": "block",\r
2914     "name": "block",\r
2915     "xml": "<block>\n",\r
2916     "atomic": "false",\r
2917     "comments": "",\r
2918     "outputs": 1,\r
2919     "x": 2503.062602996826,\r
2920     "y": 574.03129529953,\r
2921     "z": "e47fc805.c5c588",\r
2922     "wires": [\r
2923       []\r
2924     ]\r
2925   },\r
2926   {\r
2927     "id": "38b5d1f7.8043be",\r
2928     "type": "execute",\r
2929     "name": "execute RestApiCallNode Get token",\r
2930     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
2931     "comments": "",\r
2932     "outputs": 1,\r
2933     "x": 1948.5351867675781,\r
2934     "y": 2070.003924846649,\r
2935     "z": "e47fc805.c5c588",\r
2936     "wires": [\r
2937       [\r
2938         "e9cfbd0.6beca4",\r
2939         "329096c7.0b55ba"\r
2940       ]\r
2941     ]\r
2942   },\r
2943   {\r
2944     "id": "e9cfbd0.6beca4",\r
2945     "type": "success",\r
2946     "name": "success",\r
2947     "xml": "<outcome value='success'>\n",\r
2948     "comments": "",\r
2949     "outputs": 1,\r
2950     "x": 2183.535186767578,\r
2951     "y": 2048.003924846649,\r
2952     "z": "e47fc805.c5c588",\r
2953     "wires": [\r
2954       [\r
2955         "44854a0f.60c554"\r
2956       ]\r
2957     ]\r
2958   },\r
2959   {\r
2960     "id": "329096c7.0b55ba",\r
2961     "type": "failure",\r
2962     "name": "failure",\r
2963     "xml": "<outcome value='failure'>\n",\r
2964     "comments": "",\r
2965     "outputs": 1,\r
2966     "x": 2175.785186767578,\r
2967     "y": 2101.6468081474304,\r
2968     "z": "e47fc805.c5c588",\r
2969     "wires": [\r
2970       [\r
2971         "8f0a300b.e6801"\r
2972       ]\r
2973     ]\r
2974   },\r
2975   {\r
2976     "id": "44854a0f.60c554",\r
2977     "type": "set",\r
2978     "name": "set token-id",\r
2979     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
2980     "comments": "",\r
2981     "x": 2337.535186767578,\r
2982     "y": 2049.003924846649,\r
2983     "z": "e47fc805.c5c588",\r
2984     "wires": []\r
2985   },\r
2986   {\r
2987     "id": "3f572112.50e40e",\r
2988     "type": "switchNode",\r
2989     "name": "switch prop.sdncRestApi.token_id",\r
2990     "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",\r
2991     "comments": "",\r
2992     "outputs": 1,\r
2993     "x": 1951.5312194824219,\r
2994     "y": 2167.031491279602,\r
2995     "z": "e47fc805.c5c588",\r
2996     "wires": [\r
2997       [\r
2998         "71416b24.4767f4",\r
2999         "95a4ed31.47c83"\r
3000       ]\r
3001     ]\r
3002   },\r
3003   {\r
3004     "id": "71416b24.4767f4",\r
3005     "type": "other",\r
3006     "name": "Null",\r
3007     "xml": "<outcome value=''>\n",\r
3008     "comments": "",\r
3009     "outputs": 1,\r
3010     "x": 2177.531467437744,\r
3011     "y": 2143.0313682556152,\r
3012     "z": "e47fc805.c5c588",\r
3013     "wires": [\r
3014       [\r
3015         "9a737a81.94bba8"\r
3016       ]\r
3017     ]\r
3018   },\r
3019   {\r
3020     "id": "95a4ed31.47c83",\r
3021     "type": "other",\r
3022     "name": "other",\r
3023     "xml": "<outcome value='Other'>\n",\r
3024     "comments": "",\r
3025     "outputs": 1,\r
3026     "x": 2171.5313453674316,\r
3027     "y": 2206.5313692092896,\r
3028     "z": "e47fc805.c5c588",\r
3029     "wires": [\r
3030       [\r
3031         "aa539917.f17c98"\r
3032       ]\r
3033     ]\r
3034   },\r
3035   {\r
3036     "id": "8f0a300b.e6801",\r
3037     "type": "block",\r
3038     "name": "block",\r
3039     "xml": "<block>\n",\r
3040     "atomic": "false",\r
3041     "comments": "",\r
3042     "outputs": 1,\r
3043     "x": 2334.53125,\r
3044     "y": 2099.03125,\r
3045     "z": "e47fc805.c5c588",\r
3046     "wires": [\r
3047       []\r
3048     ]\r
3049   },\r
3050   {\r
3051     "id": "9a737a81.94bba8",\r
3052     "type": "execute",\r
3053     "name": "execute RestApiCallNode Create ethernet Service",\r
3054     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
3055     "comments": "",\r
3056     "outputs": 1,\r
3057     "x": 2465.53125,\r
3058     "y": 2140.03125,\r
3059     "z": "e47fc805.c5c588",\r
3060     "wires": [\r
3061       [\r
3062         "470289f4.54d198",\r
3063         "129cac0c.055ac4"\r
3064       ]\r
3065     ]\r
3066   }\r
3067 ]\r