89e1e861bf20af841b65a5be75f6c616310742bf
[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": "856df3f7.e848d",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 287.9998779296875,\r
8         "y": 432.4548645019531,\r
9         "z": "457a744e.ed1b4c",\r
10         "wires": [\r
11             [\r
12                 "c3ac539a.75d23"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "c3ac539a.75d23",\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": 181.99988174438477,\r
26         "y": 504.4548816680908,\r
27         "z": "457a744e.ed1b4c",\r
28         "wires": [\r
29             [\r
30                 "42cf8419.06f25c"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "42cf8419.06f25c",\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": 170,\r
42         "y": 592.4548645019531,\r
43         "z": "457a744e.ed1b4c",\r
44         "wires": [\r
45             [\r
46                 "44229f8c.39b5a"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "44229f8c.39b5a",\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": 186,\r
59         "y": 1147.4551091194153,\r
60         "z": "457a744e.ed1b4c",\r
61         "wires": [\r
62             [\r
63                 "ba9e8375.777f",\r
64                 "15d45773.32c279",\r
65                 "a32bd31f.e0ecd",\r
66                 "d86c13ce.944c4",\r
67                 "47caa47d.16426c",\r
68                 "759ba274.db6d0c",\r
69                 "4c87cfa1.02c6c",\r
70                 "b760f3b3.babf2",\r
71                 "b571fb6b.8ab608",\r
72                 "b52dba2d.a71bc8",\r
73                 "76fbe2f6.cb133c",\r
74                 "c339c30c.1d058",\r
75                 "6927072b.434fa8",\r
76                 "fecc8e1.3af3a7",\r
77                 "71a15b15.32e354",\r
78                 "7f03f367.f1262c",\r
79                 "be2b6004.6abeb",\r
80                 "e4d724bf.bef2c8",\r
81                 "2c5393b4.18384c",\r
82                 "a54e0786.d45e68"\r
83             ]\r
84         ]\r
85     },\r
86     {\r
87         "id": "ba9e8375.777f",\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": 582.9934387207031,\r
93         "y": 546.4483513832092,\r
94         "z": "457a744e.ed1b4c",\r
95         "wires": []\r
96     },\r
97     {\r
98         "id": "8dfc51c4.4907a",\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": 597.4536285400391,\r
104         "y": 499.48014736175537,\r
105         "z": "457a744e.ed1b4c",\r
106         "wires": []\r
107     },\r
108     {\r
109         "id": "15d45773.32c279",\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": 536.9933776855469,\r
115         "y": 639.448356628418,\r
116         "z": "457a744e.ed1b4c",\r
117         "wires": []\r
118     },\r
119     {\r
120         "id": "47caa47d.16426c",\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": 543.2552680969238,\r
127         "y": 727.1150856018066,\r
128         "z": "457a744e.ed1b4c",\r
129         "wires": [\r
130             []\r
131         ]\r
132     },\r
133     {\r
134         "id": "a32bd31f.e0ecd",\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": 590.2553253173828,\r
141         "y": 815.1150894165039,\r
142         "z": "457a744e.ed1b4c",\r
143         "wires": [\r
144             []\r
145         ]\r
146     },\r
147     {\r
148         "id": "722a6658.bf16e8",\r
149         "type": "comment",\r
150         "name": "GET connection-attachment-allotted-resource from mdsal",\r
151         "info": "",\r
152         "comments": "",\r
153         "x": 622.3081359863281,\r
154         "y": 934.9935235977173,\r
155         "z": "457a744e.ed1b4c",\r
156         "wires": []\r
157     },\r
158     {\r
159         "id": "f15283c1.aa42d",\r
160         "type": "comment",\r
161         "name": "Used for setting output to API Handler",\r
162         "info": "",\r
163         "comments": "",\r
164         "x": 576.4932861328125,\r
165         "y": 595.4483661651611,\r
166         "z": "457a744e.ed1b4c",\r
167         "wires": []\r
168     },\r
169     {\r
170         "id": "56bc8415.3a63fc",\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": 594.4932518005371,\r
176         "y": 681.3372468948364,\r
177         "z": "457a744e.ed1b4c",\r
178         "wires": []\r
179     },\r
180     {\r
181         "id": "d454f4dd.1be708",\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": 620.4932708740234,\r
187         "y": 768.3372058868408,\r
188         "z": "457a744e.ed1b4c",\r
189         "wires": []\r
190     },\r
191     {\r
192         "id": "860a625.2d0bba",\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": 1096.666669845581,\r
199         "y": 963.4548492431641,\r
200         "z": "457a744e.ed1b4c",\r
201         "wires": [\r
202             [\r
203                 "23f7f9e5.e74c26"\r
204             ]\r
205         ]\r
206     },\r
207     {\r
208         "id": "23f7f9e5.e74c26",\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": 1240.666748046875,\r
216         "y": 920.9547672271729,\r
217         "z": "457a744e.ed1b4c",\r
218         "wires": [\r
219             [\r
220                 "50c8dc73.ad5724"\r
221             ]\r
222         ]\r
223     },\r
224     {\r
225         "id": "50c8dc73.ad5724",\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": 1409.5241718292236,\r
232         "y": 918.573938369751,\r
233         "z": "457a744e.ed1b4c",\r
234         "wires": [\r
235             [\r
236                 "c054c953.458078",\r
237                 "79145839.1bfe98"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "c054c953.458078",\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": 1564.857307434082,\r
249         "y": 890.5738534927368,\r
250         "z": "457a744e.ed1b4c",\r
251         "wires": [\r
252             [\r
253                 "46a60f4d.34912"\r
254             ]\r
255         ]\r
256     },\r
257     {\r
258         "id": "46a60f4d.34912",\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": 1723.3811111450195,\r
266         "y": 888.4787006378174,\r
267         "z": "457a744e.ed1b4c",\r
268         "wires": [\r
269             [\r
270                 "df6acc2d.ff6de",\r
271                 "612880e0.04607",\r
272                 "cfe330b5.d7e03"\r
273             ]\r
274         ]\r
275     },\r
276     {\r
277         "id": "bb2fd456.9a1798",\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": 1663.51904296875,\r
283         "y": 995.5209350585938,\r
284         "z": "457a744e.ed1b4c",\r
285         "wires": []\r
286     },\r
287     {\r
288         "id": "db78a108.063fb",\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": 1088.5184726715088,\r
295         "y": 998.5209341049194,\r
296         "z": "457a744e.ed1b4c",\r
297         "wires": [\r
298             [\r
299                 "333707db.05b3b8"\r
300             ]\r
301         ]\r
302     },\r
303     {\r
304         "id": "333707db.05b3b8",\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": 1268.5184230804443,\r
312         "y": 999.1874847412109,\r
313         "z": "457a744e.ed1b4c",\r
314         "wires": [\r
315             [\r
316                 "bb2fd456.9a1798"\r
317             ]\r
318         ]\r
319     },\r
320     {\r
321         "id": "79145839.1bfe98",\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": 1556.1853103637695,\r
328         "y": 949.8542280197144,\r
329         "z": "457a744e.ed1b4c",\r
330         "wires": [\r
331             [\r
332                 "bb2fd456.9a1798"\r
333             ]\r
334         ]\r
335     },\r
336     {\r
337         "id": "df6acc2d.ff6de",\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": 1970.444564819336,\r
343         "y": 861.4549527168274,\r
344         "z": "457a744e.ed1b4c",\r
345         "wires": []\r
346     },\r
347     {\r
348         "id": "cfe330b5.d7e03",\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": 1904.444595336914,\r
354         "y": 934.8834552764893,\r
355         "z": "457a744e.ed1b4c",\r
356         "wires": []\r
357     },\r
358     {\r
359         "id": "612880e0.04607",\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": 1914.4443740844727,\r
366         "y": 900.4548892974854,\r
367         "z": "457a744e.ed1b4c",\r
368         "wires": [\r
369             [\r
370                 "59d3ffeb.34439",\r
371                 "b4436494.1a02b8",\r
372                 "3d1a678c.8bbdd8"\r
373             ]\r
374         ]\r
375     },\r
376     {\r
377         "id": "59d3ffeb.34439",\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": 2150.0444564819336,\r
384         "y": 894.4549202919006,\r
385         "z": "457a744e.ed1b4c",\r
386         "wires": [\r
387             [\r
388                 "df7e0809.5f60a8"\r
389             ]\r
390         ]\r
391     },\r
392     {\r
393         "id": "3d1a678c.8bbdd8",\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": 2143.7589569091797,\r
400         "y": 974.8835549354553,\r
401         "z": "457a744e.ed1b4c",\r
402         "wires": [\r
403             [\r
404                 "29c5c973.948626"\r
405             ]\r
406         ]\r
407     },\r
408     {\r
409         "id": "df7e0809.5f60a8",\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": 2308.5151290893555,\r
417         "y": 894.8305759429932,\r
418         "z": "457a744e.ed1b4c",\r
419         "wires": [\r
420             []\r
421         ]\r
422     },\r
423     {\r
424         "id": "29c5c973.948626",\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": 2319.6667709350586,\r
430         "y": 973.4549541473389,\r
431         "z": "457a744e.ed1b4c",\r
432         "wires": []\r
433     },\r
434     {\r
435         "id": "e7c9e6c8.22ec78",\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": 807.3029289245605,\r
442         "y": 1045.9484691619873,\r
443         "z": "457a744e.ed1b4c",\r
444         "wires": [\r
445             []\r
446         ]\r
447     },\r
448     {\r
449         "id": "759ba274.db6d0c",\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": 501.3090286254883,\r
457         "y": 1046.954839706421,\r
458         "z": "457a744e.ed1b4c",\r
459         "wires": [\r
460             [\r
461                 "e7c9e6c8.22ec78"\r
462             ]\r
463         ]\r
464     },\r
465     {\r
466         "id": "a3f3b1ad.b0019",\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": 674.500244140625,\r
472         "y": 1080.9866170883179,\r
473         "z": "457a744e.ed1b4c",\r
474         "wires": []\r
475     },\r
476     {\r
477         "id": "76fcae92.3eed7",\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": 1580.185073852539,\r
484         "y": 1244.4590945243835,\r
485         "z": "457a744e.ed1b4c",\r
486         "wires": [\r
487             [\r
488                 "d5a80521.4971a8"\r
489             ]\r
490         ]\r
491     },\r
492     {\r
493         "id": "d86c13ce.944c4",\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": 664.1840972900391,\r
500         "y": 1352.1731309890747,\r
501         "z": "457a744e.ed1b4c",\r
502         "wires": [\r
503             [\r
504                 "2966b54a.501cfa",\r
505                 "a9c0a3da.bac0f",\r
506                 "90fbdee6.96522"\r
507             ]\r
508         ]\r
509     },\r
510     {\r
511         "id": "2966b54a.501cfa",\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": 992.3271179199219,\r
518         "y": 1425.0304050445557,\r
519         "z": "457a744e.ed1b4c",\r
520         "wires": [\r
521             [\r
522                 "e73ccbba.1ddf58"\r
523             ]\r
524         ]\r
525     },\r
526     {\r
527         "id": "70b1403b.56bf6",\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": 1176.4543800354004,\r
534         "y": 1284.1564140319824,\r
535         "z": "457a744e.ed1b4c",\r
536         "wires": [\r
537             [\r
538                 "76fcae92.3eed7",\r
539                 "4ca6c420.3d4d6c"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "d5a80521.4971a8",\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": 2020.296401977539,\r
551         "y": 1241.458896636963,\r
552         "z": "457a744e.ed1b4c",\r
553         "wires": [\r
554             [\r
555                 "fbf9bebd.108b5",\r
556                 "1701079a.547728"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "fbf9bebd.108b5",\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": 2193.106616973877,\r
568         "y": 1212.923511505127,\r
569         "z": "457a744e.ed1b4c",\r
570         "wires": [\r
571             [\r
572                 "d1d91e32.6cacd"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "ca9dd6b1.dea908",\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": 2341.867088317871,\r
584         "y": 1269.780598640442,\r
585         "z": "457a744e.ed1b4c",\r
586         "wires": [\r
587             [\r
588                 "74d65b2c.e08474"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "74d65b2c.e08474",\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": 2576.7245140075684,\r
599         "y": 1268.3521308898926,\r
600         "z": "457a744e.ed1b4c",\r
601         "wires": []\r
602     },\r
603     {\r
604         "id": "f9f17725.c60488",\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": 597.4624137878418,\r
610         "y": 1246.3478260040283,\r
611         "z": "457a744e.ed1b4c",\r
612         "wires": []\r
613     },\r
614     {\r
615         "id": "a9c0a3da.bac0f",\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": 1006.9795875549316,\r
622         "y": 1364.1320886611938,\r
623         "z": "457a744e.ed1b4c",\r
624         "wires": [\r
625             [\r
626                 "44d59200.c8af1c"\r
627             ]\r
628         ]\r
629     },\r
630     {\r
631         "id": "e73ccbba.1ddf58",\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": 1151.9794654846191,\r
637         "y": 1424.1323337554932,\r
638         "z": "457a744e.ed1b4c",\r
639         "wires": []\r
640     },\r
641     {\r
642         "id": "90fbdee6.96522",\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": 1001.9794006347656,\r
649         "y": 1285.1321144104004,\r
650         "z": "457a744e.ed1b4c",\r
651         "wires": [\r
652             [\r
653                 "70b1403b.56bf6"\r
654             ]\r
655         ]\r
656     },\r
657     {\r
658         "id": "d1d91e32.6cacd",\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": 2351.090831756592,\r
666         "y": 1212.132254600525,\r
667         "z": "457a744e.ed1b4c",\r
668         "wires": [\r
669             []\r
670         ]\r
671     },\r
672     {\r
673         "id": "1701079a.547728",\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": 2200.090473175049,\r
680         "y": 1269.1321144104004,\r
681         "z": "457a744e.ed1b4c",\r
682         "wires": [\r
683             [\r
684                 "ca9dd6b1.dea908"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "4ca6c420.3d4d6c",\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": 1388.979377746582,\r
696         "y": 1337.9099321365356,\r
697         "z": "457a744e.ed1b4c",\r
698         "wires": [\r
699             [\r
700                 "de2c4f3e.58ca2"\r
701             ]\r
702         ]\r
703     },\r
704     {\r
705         "id": "de2c4f3e.58ca2",\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": 1559.9794120788574,\r
712         "y": 1339.0211534500122,\r
713         "z": "457a744e.ed1b4c",\r
714         "wires": [\r
715             [\r
716                 "81e5e824.bbde88"\r
717             ]\r
718         ]\r
719     },\r
720     {\r
721         "id": "81e5e824.bbde88",\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": 1708.979507446289,\r
728         "y": 1339.021152496338,\r
729         "z": "457a744e.ed1b4c",\r
730         "wires": [\r
731             [\r
732                 "ef83619e.fcadf",\r
733                 "70f5ae0d.ee9ea"\r
734             ]\r
735         ]\r
736     },\r
737     {\r
738         "id": "a5795c00.0454b8",\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": 2455.0973320007324,\r
745         "y": 1355.2500066757202,\r
746         "z": "457a744e.ed1b4c",\r
747         "wires": [\r
748             [\r
749                 "acd4313a.acdba"\r
750             ]\r
751         ]\r
752     },\r
753     {\r
754         "id": "a870baef.09bb38",\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": 2446.94913482666,\r
761         "y": 1390.3160915374756,\r
762         "z": "457a744e.ed1b4c",\r
763         "wires": [\r
764             [\r
765                 "c23d6d08.4c9e6"\r
766             ]\r
767         ]\r
768     },\r
769     {\r
770         "id": "7afdbce8.a487b4",\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": 1452.3128814697266,\r
777         "y": 1439.354772567749,\r
778         "z": "457a744e.ed1b4c",\r
779         "wires": [\r
780             [\r
781                 "3ae2030c.2e369c",\r
782                 "35f89340.b0afec"\r
783             ]\r
784         ]\r
785     },\r
786     {\r
787         "id": "35f89340.b0afec",\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": 1716.312728881836,\r
794         "y": 1419.2435188293457,\r
795         "z": "457a744e.ed1b4c",\r
796         "wires": [\r
797             [\r
798                 "3440b31f.59dfbc"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "3ae2030c.2e369c",\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": 1706.3127899169922,\r
810         "y": 1467.2434902191162,\r
811         "z": "457a744e.ed1b4c",\r
812         "wires": [\r
813             [\r
814                 "41cb4081.5cc8b"\r
815             ]\r
816         ]\r
817     },\r
818     {\r
819         "id": "41cb4081.5cc8b",\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": 1844.9651336669922,\r
825         "y": 1469.345251083374,\r
826         "z": "457a744e.ed1b4c",\r
827         "wires": []\r
828     },\r
829     {\r
830         "id": "835a530e.7655e",\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": 2077.7575874328613,\r
836         "y": 1420.243688583374,\r
837         "z": "457a744e.ed1b4c",\r
838         "wires": []\r
839     },\r
840     {\r
841         "id": "44d59200.c8af1c",\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": 1174.4238967895508,\r
848         "y": 1363.2433557510376,\r
849         "z": "457a744e.ed1b4c",\r
850         "wires": [\r
851             [\r
852                 "7afdbce8.a487b4"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "3440b31f.59dfbc",\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": 1875.0904998779297,\r
864         "y": 1422.2433528900146,\r
865         "z": "457a744e.ed1b4c",\r
866         "wires": [\r
867             [\r
868                 "835a530e.7655e",\r
869                 "387084b4.ee101c"\r
870             ]\r
871         ]\r
872     },\r
873     {\r
874         "id": "387084b4.ee101c",\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": 2238.0905380249023,\r
881         "y": 1468.243507385254,\r
882         "z": "457a744e.ed1b4c",\r
883         "wires": [\r
884             [\r
885                 "b2211b9d.e49e88"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "b2211b9d.e49e88",\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": 2284.6466064453125,\r
898         "y": 1699.2433166503906,\r
899         "z": "457a744e.ed1b4c",\r
900         "wires": [\r
901             [\r
902                 "ce7f2d9.0fd97d",\r
903                 "296fd7a4.634998",\r
904                 "d50ba090.29ed",\r
905                 "66d0e4de.2681dc",\r
906                 "eec873e9.819a7",\r
907                 "1068d706.4b4119",\r
908                 "d21f1d66.9335f",\r
909                 "bee803df.af903",\r
910                 "45da451c.99e69c",\r
911                 "c3234be0.466328"\r
912             ]\r
913         ]\r
914     },\r
915     {\r
916         "id": "ce7f2d9.0fd97d",\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": 2561.15682220459,\r
923         "y": 1541.2540640830994,\r
924         "z": "457a744e.ed1b4c",\r
925         "wires": [\r
926             [\r
927                 "5cc6ea52.13cad4"\r
928             ]\r
929         ]\r
930     },\r
931     {\r
932         "id": "5cc6ea52.13cad4",\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": 2750.156448364258,\r
939         "y": 1543.2539286613464,\r
940         "z": "457a744e.ed1b4c",\r
941         "wires": [\r
942             [\r
943                 "dbd5e88a.b68d18"\r
944             ]\r
945         ]\r
946     },\r
947     {\r
948         "id": "dbd5e88a.b68d18",\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": 3003.156623840332,\r
954         "y": 1542.8539748191833,\r
955         "z": "457a744e.ed1b4c",\r
956         "wires": []\r
957     },\r
958     {\r
959         "id": "296fd7a4.634998",\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": 2535.1462745666504,\r
965         "y": 1915.2433552742004,\r
966         "z": "457a744e.ed1b4c",\r
967         "wires": []\r
968     },\r
969     {\r
970         "id": "c339c30c.1d058",\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": 527.3126983642578,\r
977         "y": 1547.687665939331,\r
978         "z": "457a744e.ed1b4c",\r
979         "wires": [\r
980             [\r
981                 "66f8b762.86d108",\r
982                 "9cb4ba0f.749ab8"\r
983             ]\r
984         ]\r
985     },\r
986     {\r
987         "id": "9cb4ba0f.749ab8",\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": 745.9794178009033,\r
994         "y": 1597.0210227966309,\r
995         "z": "457a744e.ed1b4c",\r
996         "wires": [\r
997             [\r
998                 "27a77fa0.c4aee"\r
999             ]\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "66f8b762.86d108",\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": 750.8682193756104,\r
1010         "y": 1506.021083831787,\r
1011         "z": "457a744e.ed1b4c",\r
1012         "wires": [\r
1013             [\r
1014                 "a01acdad.7b848"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "a01acdad.7b848",\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": 897.8682155609131,\r
1027         "y": 1507.909896850586,\r
1028         "z": "457a744e.ed1b4c",\r
1029         "wires": [\r
1030             []\r
1031         ]\r
1032     },\r
1033     {\r
1034         "id": "27a77fa0.c4aee",\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": 916.0905055999756,\r
1041         "y": 1595.020980834961,\r
1042         "z": "457a744e.ed1b4c",\r
1043         "wires": [\r
1044             [\r
1045                 "36228b5c.1add84",\r
1046                 "c3a3291b.9f4668",\r
1047                 "2222673c.9be3c8"\r
1048             ]\r
1049         ]\r
1050     },\r
1051     {\r
1052         "id": "36228b5c.1add84",\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": 1142.2015190124512,\r
1059         "y": 1562.020980834961,\r
1060         "z": "457a744e.ed1b4c",\r
1061         "wires": [\r
1062             [\r
1063                 "8ea65101.30d46",\r
1064                 "d5079913.80c4d8"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "8ea65101.30d46",\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": 1337.6459655761719,\r
1076         "y": 1540.0210418701172,\r
1077         "z": "457a744e.ed1b4c",\r
1078         "wires": [\r
1079             [\r
1080                 "68265a71.7dde04"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "d5079913.80c4d8",\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": 1334.6458740234375,\r
1092         "y": 1588.0210266113281,\r
1093         "z": "457a744e.ed1b4c",\r
1094         "wires": [\r
1095             [\r
1096                 "f6ff2749.20d6b8"\r
1097             ]\r
1098         ]\r
1099     },\r
1100     {\r
1101         "id": "68265a71.7dde04",\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": 1525.2016296386719,\r
1108         "y": 1537.0210418701172,\r
1109         "z": "457a744e.ed1b4c",\r
1110         "wires": [\r
1111             [\r
1112                 "1e10edac.a57b22"\r
1113             ]\r
1114         ]\r
1115     },\r
1116     {\r
1117         "id": "f6ff2749.20d6b8",\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": 1522.2015380859375,\r
1124         "y": 1587.0210266113281,\r
1125         "z": "457a744e.ed1b4c",\r
1126         "wires": [\r
1127             [\r
1128                 "63596c05.8bab04"\r
1129             ]\r
1130         ]\r
1131     },\r
1132     {\r
1133         "id": "3cd1669e.2956fa",\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": 2019.9725914001465,\r
1139         "y": 812.9588122367859,\r
1140         "z": "457a744e.ed1b4c",\r
1141         "wires": []\r
1142     },\r
1143     {\r
1144         "id": "96f74137.f7998",\r
1145         "type": "comment",\r
1146         "name": "Set source end point",\r
1147         "info": "",\r
1148         "comments": "",\r
1149         "x": 509.4724884033203,\r
1150         "y": 901.7088322639465,\r
1151         "z": "457a744e.ed1b4c",\r
1152         "wires": []\r
1153     },\r
1154     {\r
1155         "id": "4c87cfa1.02c6c",\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": 574.9687042236328,\r
1161         "y": 1121.4549551010132,\r
1162         "z": "457a744e.ed1b4c",\r
1163         "wires": []\r
1164     },\r
1165     {\r
1166         "id": "f3f93c79.0dcb",\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": 934.9688568115234,\r
1173         "y": 1192.4549417495728,\r
1174         "z": "457a744e.ed1b4c",\r
1175         "wires": [\r
1176             [\r
1177                 "71285b35.a93954"\r
1178             ]\r
1179         ]\r
1180     },\r
1181     {\r
1182         "id": "b078a619.3c13b8",\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": 926.8206596374512,\r
1189         "y": 1227.5210266113281,\r
1190         "z": "457a744e.ed1b4c",\r
1191         "wires": [\r
1192             [\r
1193                 "42089f0a.93012"\r
1194             ]\r
1195         ]\r
1196     },\r
1197     {\r
1198         "id": "42089f0a.93012",\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": 1072.969440460205,\r
1204         "y": 1226.7884378433228,\r
1205         "z": "457a744e.ed1b4c",\r
1206         "wires": []\r
1207     },\r
1208     {\r
1209         "id": "71285b35.a93954",\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": 1065.968952178955,\r
1217         "y": 1192.455002784729,\r
1218         "z": "457a744e.ed1b4c",\r
1219         "wires": [\r
1220             []\r
1221         ]\r
1222     },\r
1223     {\r
1224         "id": "c23d6d08.4c9e6",\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": 2596.9691848754883,\r
1230         "y": 1390.455129623413,\r
1231         "z": "457a744e.ed1b4c",\r
1232         "wires": []\r
1233     },\r
1234     {\r
1235         "id": "acd4313a.acdba",\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": 2581.969306945801,\r
1243         "y": 1357.455114364624,\r
1244         "z": "457a744e.ed1b4c",\r
1245         "wires": [\r
1246             []\r
1247         ]\r
1248     },\r
1249     {\r
1250         "id": "b760f3b3.babf2",\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": 660.9686431884766,\r
1256         "y": 1294.4549293518066,\r
1257         "z": "457a744e.ed1b4c",\r
1258         "wires": []\r
1259     },\r
1260     {\r
1261         "id": "61c0c66f.9cb2e8",\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": 563.4685211181641,\r
1267         "y": 1461.4548778533936,\r
1268         "z": "457a744e.ed1b4c",\r
1269         "wires": []\r
1270     },\r
1271     {\r
1272         "id": "f95e3456.773938",\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": 1317.968765258789,\r
1280         "y": 1799.455159187317,\r
1281         "z": "457a744e.ed1b4c",\r
1282         "wires": [\r
1283             [\r
1284                 "bd500845.16ea38",\r
1285                 "349a9a1b.d2e8f6",\r
1286                 "9dd5c1cd.85633",\r
1287                 "c65490b9.9fe9b",\r
1288                 "145d9915.1a14e7",\r
1289                 "14b60e62.9552e2",\r
1290                 "44bf4a7c.708044",\r
1291                 "b84af987.adba08"\r
1292             ]\r
1293         ]\r
1294     },\r
1295     {\r
1296         "id": "bd500845.16ea38",\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": 1560.4790668487549,\r
1303         "y": 1669.4655556678772,\r
1304         "z": "457a744e.ed1b4c",\r
1305         "wires": [\r
1306             [\r
1307                 "4565f3d5.aafebc"\r
1308             ]\r
1309         ]\r
1310     },\r
1311     {\r
1312         "id": "349a9a1b.d2e8f6",\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": 1533.4690189361572,\r
1318         "y": 1974.4555191993713,\r
1319         "z": "457a744e.ed1b4c",\r
1320         "wires": []\r
1321     },\r
1322     {\r
1323         "id": "9dd5c1cd.85633",\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": 1551.9688968658447,\r
1330         "y": 1713.2330870628357,\r
1331         "z": "457a744e.ed1b4c",\r
1332         "wires": [\r
1333             [\r
1334                 "80dc869e.ab7a58"\r
1335             ]\r
1336         ]\r
1337     },\r
1338     {\r
1339         "id": "c65490b9.9fe9b",\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": 1545.9689350128174,\r
1346         "y": 1759.2331337928772,\r
1347         "z": "457a744e.ed1b4c",\r
1348         "wires": [\r
1349             [\r
1350                 "257fa4da.2cce3c"\r
1351             ]\r
1352         ]\r
1353     },\r
1354     {\r
1355         "id": "145d9915.1a14e7",\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": 1529.9584369659424,\r
1362         "y": 1798.2226357460022,\r
1363         "z": "457a744e.ed1b4c",\r
1364         "wires": [\r
1365             [\r
1366                 "52fd3d94.d7d2a4"\r
1367             ]\r
1368         ]\r
1369     },\r
1370     {\r
1371         "id": "4565f3d5.aafebc",\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": 1738.1909809112549,\r
1378         "y": 1670.1219277381897,\r
1379         "z": "457a744e.ed1b4c",\r
1380         "wires": [\r
1381             [\r
1382                 "ef2e4180.488b9"\r
1383             ]\r
1384         ]\r
1385     },\r
1386     {\r
1387         "id": "ef2e4180.488b9",\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": 1913.1909809112549,\r
1393         "y": 1669.72190284729,\r
1394         "z": "457a744e.ed1b4c",\r
1395         "wires": []\r
1396     },\r
1397     {\r
1398         "id": "80dc869e.ab7a58",\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": 1733.6808490753174,\r
1405         "y": 1712.8893837928772,\r
1406         "z": "457a744e.ed1b4c",\r
1407         "wires": [\r
1408             [\r
1409                 "5c8d584.21faba8"\r
1410             ]\r
1411         ]\r
1412     },\r
1413     {\r
1414         "id": "257fa4da.2cce3c",\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": 1733.6808490753174,\r
1421         "y": 1758.8893837928772,\r
1422         "z": "457a744e.ed1b4c",\r
1423         "wires": [\r
1424             [\r
1425                 "8b8a921e.bd895"\r
1426             ]\r
1427         ]\r
1428     },\r
1429     {\r
1430         "id": "52fd3d94.d7d2a4",\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": 1733.6703510284424,\r
1437         "y": 1797.8790078163147,\r
1438         "z": "457a744e.ed1b4c",\r
1439         "wires": [\r
1440             [\r
1441                 "cb174273.1b4b"\r
1442             ]\r
1443         ]\r
1444     },\r
1445     {\r
1446         "id": "c3a3291b.9f4668",\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": 1170.9686279296875,\r
1453         "y": 1687.4548645019531,\r
1454         "z": "457a744e.ed1b4c",\r
1455         "wires": [\r
1456             [\r
1457                 "f95e3456.773938"\r
1458             ]\r
1459         ]\r
1460     },\r
1461     {\r
1462         "id": "1e10edac.a57b22",\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": 1736.9686832427979,\r
1468         "y": 1536.4549388885498,\r
1469         "z": "457a744e.ed1b4c",\r
1470         "wires": []\r
1471     },\r
1472     {\r
1473         "id": "63596c05.8bab04",\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": 1733.9685916900635,\r
1479         "y": 1582.4549236297607,\r
1480         "z": "457a744e.ed1b4c",\r
1481         "wires": []\r
1482     },\r
1483     {\r
1484         "id": "5c8d584.21faba8",\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": 1910.9688129425049,\r
1490         "y": 1712.4551796913147,\r
1491         "z": "457a744e.ed1b4c",\r
1492         "wires": []\r
1493     },\r
1494     {\r
1495         "id": "8b8a921e.bd895",\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": 1904.9688129425049,\r
1501         "y": 1756.4551796913147,\r
1502         "z": "457a744e.ed1b4c",\r
1503         "wires": []\r
1504     },\r
1505     {\r
1506         "id": "cb174273.1b4b",\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": 1895.9688129425049,\r
1512         "y": 1795.4551796913147,\r
1513         "z": "457a744e.ed1b4c",\r
1514         "wires": []\r
1515     },\r
1516     {\r
1517         "id": "8ac4c29d.af442",\r
1518         "type": "comment",\r
1519         "name": "Get controller info and send request",\r
1520         "info": "",\r
1521         "comments": "",\r
1522         "x": 1736,\r
1523         "y": 2300,\r
1524         "z": "457a744e.ed1b4c",\r
1525         "wires": []\r
1526     },\r
1527     {\r
1528         "id": "e30487d9.fc40e8",\r
1529         "type": "failure",\r
1530         "name": "failure",\r
1531         "xml": "<outcome value='failure'>\n",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 749.7310523986816,\r
1535         "y": 2490.4085731506348,\r
1536         "z": "457a744e.ed1b4c",\r
1537         "wires": [\r
1538             [\r
1539                 "b5950a83.64a2e8"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "b5950a83.64a2e8",\r
1545         "type": "returnFailure",\r
1546         "name": "return failure",\r
1547         "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
1548         "comments": "",\r
1549         "x": 916.2548732757568,\r
1550         "y": 2517.0275802612305,\r
1551         "z": "457a744e.ed1b4c",\r
1552         "wires": []\r
1553     },\r
1554     {\r
1555         "id": "3b646004.2813c",\r
1556         "type": "failure",\r
1557         "name": "not-found",\r
1558         "xml": "<outcome value='not-found'>\n",\r
1559         "comments": "",\r
1560         "outputs": 1,\r
1561         "x": 751.8262805938721,\r
1562         "y": 2538.170415878296,\r
1563         "z": "457a744e.ed1b4c",\r
1564         "wires": [\r
1565             [\r
1566                 "b5950a83.64a2e8"\r
1567             ]\r
1568         ]\r
1569     },\r
1570     {\r
1571         "id": "804e67f7.f5fcb8",\r
1572         "type": "comment",\r
1573         "name": "Save Resource to AAI",\r
1574         "info": "",\r
1575         "comments": "",\r
1576         "x": 509.27857398986816,\r
1577         "y": 2467.7577362060547,\r
1578         "z": "457a744e.ed1b4c",\r
1579         "wires": []\r
1580     },\r
1581     {\r
1582         "id": "e4d724bf.bef2c8",\r
1583         "type": "set",\r
1584         "name": "set output to api handler",\r
1585         "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
1586         "comments": "",\r
1587         "x": 538.5463924407959,\r
1588         "y": 2400.2832174301147,\r
1589         "z": "457a744e.ed1b4c",\r
1590         "wires": []\r
1591     },\r
1592     {\r
1593         "id": "a54e0786.d45e68",\r
1594         "type": "returnSuccess",\r
1595         "name": "return success",\r
1596         "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
1597         "comments": "",\r
1598         "x": 498.9595642089844,\r
1599         "y": 2585.8990058898926,\r
1600         "z": "457a744e.ed1b4c",\r
1601         "wires": []\r
1602     },\r
1603     {\r
1604         "id": "be2b6004.6abeb",\r
1605         "type": "execute",\r
1606         "name": "execute RestApiCallNode - PUT AR by id",\r
1607         "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\" />",\r
1608         "comments": "",\r
1609         "outputs": 1,\r
1610         "x": 591.2784748077393,\r
1611         "y": 2324.9240703582764,\r
1612         "z": "457a744e.ed1b4c",\r
1613         "wires": [\r
1614             [\r
1615                 "d7bb7d7e.e7376",\r
1616                 "7647bebc.d34c5",\r
1617                 "f09cf18.f872f1"\r
1618             ]\r
1619         ]\r
1620     },\r
1621     {\r
1622         "id": "d7bb7d7e.e7376",\r
1623         "type": "not-found",\r
1624         "name": "not-found",\r
1625         "xml": "<outcome value='not-found'>\n",\r
1626         "comments": "",\r
1627         "outputs": 1,\r
1628         "x": 845.9198970794678,\r
1629         "y": 2369.255464553833,\r
1630         "z": "457a744e.ed1b4c",\r
1631         "wires": [\r
1632             [\r
1633                 "a250aba9.a5bd58"\r
1634             ]\r
1635         ]\r
1636     },\r
1637     {\r
1638         "id": "7647bebc.d34c5",\r
1639         "type": "failure",\r
1640         "name": "failure",\r
1641         "xml": "<outcome value='failure'>\n",\r
1642         "comments": "",\r
1643         "outputs": 1,\r
1644         "x": 847.9199199676514,\r
1645         "y": 2327.7554286941886,\r
1646         "z": "457a744e.ed1b4c",\r
1647         "wires": [\r
1648             [\r
1649                 "a250aba9.a5bd58"\r
1650             ]\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "f09cf18.f872f1",\r
1655         "type": "success",\r
1656         "name": "success",\r
1657         "xml": "<outcome value='success'>\n",\r
1658         "comments": "",\r
1659         "outputs": 1,\r
1660         "x": 851.6700038909912,\r
1661         "y": 2279.1125812530518,\r
1662         "z": "457a744e.ed1b4c",\r
1663         "wires": [\r
1664             [\r
1665                 "6472d85a.5caad8"\r
1666             ]\r
1667         ]\r
1668     },\r
1669     {\r
1670         "id": "a250aba9.a5bd58",\r
1671         "type": "returnFailure",\r
1672         "name": "return failure",\r
1673         "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
1674         "comments": "",\r
1675         "x": 1006.6700229644775,\r
1676         "y": 2347.505495071411,\r
1677         "z": "457a744e.ed1b4c",\r
1678         "wires": []\r
1679     },\r
1680     {\r
1681         "id": "6472d85a.5caad8",\r
1682         "type": "block",\r
1683         "name": "block",\r
1684         "xml": "<block>\n",\r
1685         "atomic": "false",\r
1686         "comments": "",\r
1687         "outputs": 1,\r
1688         "x": 979.32594871521,\r
1689         "y": 2281.3047494888306,\r
1690         "z": "457a744e.ed1b4c",\r
1691         "wires": [\r
1692             []\r
1693         ]\r
1694     },\r
1695     {\r
1696         "id": "6927072b.434fa8",\r
1697         "type": "set",\r
1698         "name": "set ar-data",\r
1699         "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
1700         "comments": "",\r
1701         "x": 493.4920902252197,\r
1702         "y": 2159.3049714565277,\r
1703         "z": "457a744e.ed1b4c",\r
1704         "wires": []\r
1705     },\r
1706     {\r
1707         "id": "71a15b15.32e354",\r
1708         "type": "execute",\r
1709         "name": "execute getTime",\r
1710         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",\r
1711         "comments": "",\r
1712         "outputs": 1,\r
1713         "x": 510.77793312072754,\r
1714         "y": 2231.924569129944,\r
1715         "z": "457a744e.ed1b4c",\r
1716         "wires": [\r
1717             []\r
1718         ]\r
1719     },\r
1720     {\r
1721         "id": "7f03f367.f1262c",\r
1722         "type": "set",\r
1723         "name": "set allotted-resource-oper-status",\r
1724         "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
1725         "comments": "",\r
1726         "x": 560.7650127410889,\r
1727         "y": 2268.8756494522095,\r
1728         "z": "457a744e.ed1b4c",\r
1729         "wires": []\r
1730     },\r
1731     {\r
1732         "id": "fecc8e1.3af3a7",\r
1733         "type": "set",\r
1734         "name": "set model-data",\r
1735         "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
1736         "comments": "",\r
1737         "x": 507.33363151550293,\r
1738         "y": 2198.479621887207,\r
1739         "z": "457a744e.ed1b4c",\r
1740         "wires": []\r
1741     },\r
1742     {\r
1743         "id": "185d06d5.752689",\r
1744         "type": "comment",\r
1745         "name": "Prepare data for allotted-resource addition to MDSAL",\r
1746         "info": "This will add to allotted-resource which is present inside service.",\r
1747         "comments": "",\r
1748         "x": 606.166971206665,\r
1749         "y": 2108.4795739650726,\r
1750         "z": "457a744e.ed1b4c",\r
1751         "wires": []\r
1752     },\r
1753     {\r
1754         "id": "5da46f5f.98698",\r
1755         "type": "comment",\r
1756         "name": "Add to allotted-resources in mdsal",\r
1757         "info": "",\r
1758         "comments": "",\r
1759         "x": 547.7467975616455,\r
1760         "y": 2075.8928756713867,\r
1761         "z": "457a744e.ed1b4c",\r
1762         "wires": []\r
1763     },\r
1764     {\r
1765         "id": "2c5393b4.18384c",\r
1766         "type": "update",\r
1767         "name": "update AAI allotted-resource",\r
1768         "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
1769         "comments": "",\r
1770         "outputs": 1,\r
1771         "x": 550.2229747772217,\r
1772         "y": 2516.209878921509,\r
1773         "z": "457a744e.ed1b4c",\r
1774         "wires": [\r
1775             [\r
1776                 "e30487d9.fc40e8",\r
1777                 "3b646004.2813c"\r
1778             ]\r
1779         ]\r
1780     },\r
1781     {\r
1782         "id": "43e51eef.5c25b",\r
1783         "type": "execute",\r
1784         "name": "execute RestApiCallNode getPath from OOF",\r
1785         "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
1786         "comments": "",\r
1787         "outputs": 1,\r
1788         "x": 1358.9729347229004,\r
1789         "y": 2078.7095308303833,\r
1790         "z": "457a744e.ed1b4c",\r
1791         "wires": [\r
1792             [\r
1793                 "84ee042e.6dc228",\r
1794                 "cb8b1fc5.da16f"\r
1795             ]\r
1796         ]\r
1797     },\r
1798     {\r
1799         "id": "84ee042e.6dc228",\r
1800         "type": "success",\r
1801         "name": "success",\r
1802         "xml": "<outcome value='success'>\n",\r
1803         "comments": "",\r
1804         "outputs": 1,\r
1805         "x": 1598.9730758666992,\r
1806         "y": 2102.709500312805,\r
1807         "z": "457a744e.ed1b4c",\r
1808         "wires": [\r
1809             [\r
1810                 "b5dd8e8d.014ad"\r
1811             ]\r
1812         ]\r
1813     },\r
1814     {\r
1815         "id": "b48e311d.c6bea",\r
1816         "type": "returnFailure",\r
1817         "name": "return failure",\r
1818         "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
1819         "comments": "",\r
1820         "x": 1737.9731101989746,\r
1821         "y": 2051.7095918655396,\r
1822         "z": "457a744e.ed1b4c",\r
1823         "wires": []\r
1824     },\r
1825     {\r
1826         "id": "cb8b1fc5.da16f",\r
1827         "type": "failure",\r
1828         "name": "failure",\r
1829         "xml": "<outcome value='failure'>\n",\r
1830         "comments": "",\r
1831         "outputs": 1,\r
1832         "x": 1597.9728622436523,\r
1833         "y": 2051.7095909118652,\r
1834         "z": "457a744e.ed1b4c",\r
1835         "wires": [\r
1836             [\r
1837                 "b48e311d.c6bea"\r
1838             ]\r
1839         ]\r
1840     },\r
1841     {\r
1842         "id": "916454e5.0a4a68",\r
1843         "type": "comment",\r
1844         "name": "Get VPNs from OOF",\r
1845         "info": "",\r
1846         "comments": "",\r
1847         "x": 1330.476734161377,\r
1848         "y": 2034.7135305404663,\r
1849         "z": "457a744e.ed1b4c",\r
1850         "wires": []\r
1851     },\r
1852     {\r
1853         "id": "402ffb02.0bfaf4",\r
1854         "type": "for",\r
1855         "name": "for vidx..oof.vpns_length[]",\r
1856         "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",\r
1857         "comments": "",\r
1858         "outputs": 1,\r
1859         "x": 1298.9727783203125,\r
1860         "y": 2160.959259033203,\r
1861         "z": "457a744e.ed1b4c",\r
1862         "wires": [\r
1863             [\r
1864                 "6b7692da.e3386c"\r
1865             ]\r
1866         ]\r
1867     },\r
1868     {\r
1869         "id": "e2733493.b8ec78",\r
1870         "type": "comment",\r
1871         "name": "Loop through VPN and configure them",\r
1872         "info": "",\r
1873         "comments": "",\r
1874         "x": 1330.4731063842773,\r
1875         "y": 2284.4596366882324,\r
1876         "z": "457a744e.ed1b4c",\r
1877         "wires": []\r
1878     },\r
1879     {\r
1880         "id": "d50ba090.29ed",\r
1881         "type": "switchNode",\r
1882         "name": "switch name",\r
1883         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",\r
1884         "comments": "",\r
1885         "outputs": 1,\r
1886         "x": 2538.7569580078125,\r
1887         "y": 1632.5766906738281,\r
1888         "z": "457a744e.ed1b4c",\r
1889         "wires": [\r
1890             [\r
1891                 "d52279cb.ede198"\r
1892             ]\r
1893         ]\r
1894     },\r
1895     {\r
1896         "id": "d52279cb.ede198",\r
1897         "type": "outcomeTrue",\r
1898         "name": "true",\r
1899         "xml": "<outcome value='true'>\n",\r
1900         "comments": "",\r
1901         "outputs": 1,\r
1902         "x": 2727.7569274902344,\r
1903         "y": 1632.5766758918762,\r
1904         "z": "457a744e.ed1b4c",\r
1905         "wires": [\r
1906             [\r
1907                 "cebd51a0.93918"\r
1908             ]\r
1909         ]\r
1910     },\r
1911     {\r
1912         "id": "cebd51a0.93918",\r
1913         "type": "set",\r
1914         "name": "set etht-svc-name & bandwidth-profile-name",\r
1915         "xml": "<set>\n<parameter name='ietf-etht-instance0' value='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].' />\n<parameter name='ietf-bw-profile0' value='ietf-eth-tran-service:etht-svc.globals.etht-svc-bandwidth-profiles[0].' />\n<parameter name='ietf-etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-name'`\" value='`$ietf-etht-svc-name`' />\n<parameter name=\"`$ietf-bw-profile0 + 'bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
1916         "comments": "",\r
1917         "x": 2968.7572441101074,\r
1918         "y": 1632.176730632782,\r
1919         "z": "457a744e.ed1b4c",\r
1920         "wires": []\r
1921     },\r
1922     {\r
1923         "id": "66d0e4de.2681dc",\r
1924         "type": "switchNode",\r
1925         "name": "switch description",\r
1926         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",\r
1927         "comments": "",\r
1928         "outputs": 1,\r
1929         "x": 2551.596836090088,\r
1930         "y": 1667.5767855644226,\r
1931         "z": "457a744e.ed1b4c",\r
1932         "wires": [\r
1933             [\r
1934                 "1de9071b.f26c59"\r
1935             ]\r
1936         ]\r
1937     },\r
1938     {\r
1939         "id": "1de9071b.f26c59",\r
1940         "type": "outcomeTrue",\r
1941         "name": "true",\r
1942         "xml": "<outcome value='true'>\n",\r
1943         "comments": "",\r
1944         "outputs": 1,\r
1945         "x": 2726.5969009399414,\r
1946         "y": 1669.5767712593079,\r
1947         "z": "457a744e.ed1b4c",\r
1948         "wires": [\r
1949             [\r
1950                 "159dd4c7.a1cdeb"\r
1951             ]\r
1952         ]\r
1953     },\r
1954     {\r
1955         "id": "159dd4c7.a1cdeb",\r
1956         "type": "set",\r
1957         "name": "set etht-svc-descr",\r
1958         "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
1959         "comments": "",\r
1960         "x": 2882.93021774292,\r
1961         "y": 1667.0378460884094,\r
1962         "z": "457a744e.ed1b4c",\r
1963         "wires": []\r
1964     },\r
1965     {\r
1966         "id": "eec873e9.819a7",\r
1967         "type": "switchNode",\r
1968         "name": "switch tenantId",\r
1969         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",\r
1970         "comments": "",\r
1971         "outputs": 1,\r
1972         "x": 2546.9790992736816,\r
1973         "y": 1700.9101758003235,\r
1974         "z": "457a744e.ed1b4c",\r
1975         "wires": [\r
1976             [\r
1977                 "13291279.e6fefe"\r
1978             ]\r
1979         ]\r
1980     },\r
1981     {\r
1982         "id": "13291279.e6fefe",\r
1983         "type": "outcomeTrue",\r
1984         "name": "true",\r
1985         "xml": "<outcome value='true'>\n",\r
1986         "comments": "",\r
1987         "outputs": 1,\r
1988         "x": 2724.979103088379,\r
1989         "y": 1704.910053730011,\r
1990         "z": "457a744e.ed1b4c",\r
1991         "wires": [\r
1992             [\r
1993                 "9bcc7bab.93fce8"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "9bcc7bab.93fce8",\r
1999         "type": "set",\r
2000         "name": "set tenantId",\r
2001         "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
2002         "comments": "",\r
2003         "x": 2862.979290008545,\r
2004         "y": 1701.5100293159485,\r
2005         "z": "457a744e.ed1b4c",\r
2006         "wires": []\r
2007     },\r
2008     {\r
2009         "id": "d21f1d66.9335f",\r
2010         "type": "switchNode",\r
2011         "name": "switch cir",\r
2012         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",\r
2013         "comments": "",\r
2014         "outputs": 1,\r
2015         "x": 2529.8186988830566,\r
2016         "y": 1773.9101309776306,\r
2017         "z": "457a744e.ed1b4c",\r
2018         "wires": [\r
2019             [\r
2020                 "5d9c8a66.558544"\r
2021             ]\r
2022         ]\r
2023     },\r
2024     {\r
2025         "id": "5d9c8a66.558544",\r
2026         "type": "outcomeTrue",\r
2027         "name": "true",\r
2028         "xml": "<outcome value='true'>\n",\r
2029         "comments": "",\r
2030         "outputs": 1,\r
2031         "x": 2724.81876373291,\r
2032         "y": 1774.9101309776306,\r
2033         "z": "457a744e.ed1b4c",\r
2034         "wires": [\r
2035             [\r
2036                 "e6e553ba.8c38f"\r
2037             ]\r
2038         ]\r
2039     },\r
2040     {\r
2041         "id": "e6e553ba.8c38f",\r
2042         "type": "set",\r
2043         "name": "set cir",\r
2044         "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'CIR'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2045         "comments": "",\r
2046         "x": 2849.1522636413574,\r
2047         "y": 1773.3712058067322,\r
2048         "z": "457a744e.ed1b4c",\r
2049         "wires": []\r
2050     },\r
2051     {\r
2052         "id": "1068d706.4b4119",\r
2053         "type": "switchNode",\r
2054         "name": "switch vpnType",\r
2055         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",\r
2056         "comments": "",\r
2057         "outputs": 1,\r
2058         "x": 2544.1269874572754,\r
2059         "y": 1736.6878409385681,\r
2060         "z": "457a744e.ed1b4c",\r
2061         "wires": [\r
2062             [\r
2063                 "eafe0a88.2abeb8"\r
2064             ]\r
2065         ]\r
2066     },\r
2067     {\r
2068         "id": "eafe0a88.2abeb8",\r
2069         "type": "outcomeTrue",\r
2070         "name": "true",\r
2071         "xml": "<outcome value='true'>\n",\r
2072         "comments": "",\r
2073         "outputs": 1,\r
2074         "x": 2726.1271743774414,\r
2075         "y": 1739.687825679779,\r
2076         "z": "457a744e.ed1b4c",\r
2077         "wires": [\r
2078             [\r
2079                 "b55361c7.d529b"\r
2080             ]\r
2081         ]\r
2082     },\r
2083     {\r
2084         "id": "b55361c7.d529b",\r
2085         "type": "set",\r
2086         "name": "set vpnType",\r
2087         "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
2088         "comments": "",\r
2089         "x": 2865.4609375,\r
2090         "y": 1736.1490783691406,\r
2091         "z": "457a744e.ed1b4c",\r
2092         "wires": []\r
2093     },\r
2094     {\r
2095         "id": "bee803df.af903",\r
2096         "type": "switchNode",\r
2097         "name": "switch eir",\r
2098         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",\r
2099         "comments": "",\r
2100         "outputs": 1,\r
2101         "x": 2525.109043121338,\r
2102         "y": 1807.6080384254456,\r
2103         "z": "457a744e.ed1b4c",\r
2104         "wires": [\r
2105             [\r
2106                 "5335406d.46439"\r
2107             ]\r
2108         ]\r
2109     },\r
2110     {\r
2111         "id": "5335406d.46439",\r
2112         "type": "outcomeTrue",\r
2113         "name": "true",\r
2114         "xml": "<outcome value='true'>\n",\r
2115         "comments": "",\r
2116         "outputs": 1,\r
2117         "x": 2725.10929107666,\r
2118         "y": 1810.6079773902893,\r
2119         "z": "457a744e.ed1b4c",\r
2120         "wires": [\r
2121             [\r
2122                 "2c7f791a.111c46"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "2c7f791a.111c46",\r
2128         "type": "set",\r
2129         "name": "set eir",\r
2130         "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'EIR'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2131         "comments": "",\r
2132         "x": 2848.44291305542,\r
2133         "y": 1810.0690369606018,\r
2134         "z": "457a744e.ed1b4c",\r
2135         "wires": []\r
2136     },\r
2137     {\r
2138         "id": "45da451c.99e69c",\r
2139         "type": "switchNode",\r
2140         "name": "switch colorAware",\r
2141         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",\r
2142         "comments": "",\r
2143         "outputs": 1,\r
2144         "x": 2550.1096534729004,\r
2145         "y": 1841.6079173088074,\r
2146         "z": "457a744e.ed1b4c",\r
2147         "wires": [\r
2148             [\r
2149                 "449dd2b2.97f33c"\r
2150             ]\r
2151         ]\r
2152     },\r
2153     {\r
2154         "id": "449dd2b2.97f33c",\r
2155         "type": "outcomeTrue",\r
2156         "name": "true",\r
2157         "xml": "<outcome value='true'>\n",\r
2158         "comments": "",\r
2159         "outputs": 1,\r
2160         "x": 2721.109474182129,\r
2161         "y": 1847.607855796814,\r
2162         "z": "457a744e.ed1b4c",\r
2163         "wires": [\r
2164             [\r
2165                 "169755c8.79e75a"\r
2166             ]\r
2167         ]\r
2168     },\r
2169     {\r
2170         "id": "169755c8.79e75a",\r
2171         "type": "set",\r
2172         "name": "set colorAware",\r
2173         "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'color-aware'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2174         "comments": "",\r
2175         "x": 2869.4427909851074,\r
2176         "y": 1848.0690684318542,\r
2177         "z": "457a744e.ed1b4c",\r
2178         "wires": []\r
2179     },\r
2180     {\r
2181         "id": "c3234be0.466328",\r
2182         "type": "switchNode",\r
2183         "name": "switch couplingFlag",\r
2184         "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",\r
2185         "comments": "",\r
2186         "outputs": 1,\r
2187         "x": 2552.109592437744,\r
2188         "y": 1877.607979297638,\r
2189         "z": "457a744e.ed1b4c",\r
2190         "wires": [\r
2191             [\r
2192                 "b42d9413.a57f98"\r
2193             ]\r
2194         ]\r
2195     },\r
2196     {\r
2197         "id": "b42d9413.a57f98",\r
2198         "type": "outcomeTrue",\r
2199         "name": "true",\r
2200         "xml": "<outcome value='true'>\n",\r
2201         "comments": "",\r
2202         "outputs": 1,\r
2203         "x": 2724.109474182129,\r
2204         "y": 1886.6079487800598,\r
2205         "z": "457a744e.ed1b4c",\r
2206         "wires": [\r
2207             [\r
2208                 "8aa66130.b6da6"\r
2209             ]\r
2210         ]\r
2211     },\r
2212     {\r
2213         "id": "8aa66130.b6da6",\r
2214         "type": "set",\r
2215         "name": "set couplingFlag",\r
2216         "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'coupling-flag'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2217         "comments": "",\r
2218         "x": 2877.4427909851074,\r
2219         "y": 1887.0690693855286,\r
2220         "z": "457a744e.ed1b4c",\r
2221         "wires": []\r
2222     },\r
2223     {\r
2224         "id": "fb9249ce.b8b3a8",\r
2225         "type": "comment",\r
2226         "name": "Check if other EP exists in SOTNConnectionResource",\r
2227         "info": "",\r
2228         "comments": "",\r
2229         "x": 2668.8125,\r
2230         "y": 1485.2433166503906,\r
2231         "z": "457a744e.ed1b4c",\r
2232         "wires": []\r
2233     },\r
2234     {\r
2235         "id": "bd5b1d98.86a9b",\r
2236         "type": "comment",\r
2237         "name": "Get other global parameters from network",\r
2238         "info": "",\r
2239         "comments": "",\r
2240         "x": 2604.812255859375,\r
2241         "y": 1571.2433166503906,\r
2242         "z": "457a744e.ed1b4c",\r
2243         "wires": []\r
2244     },\r
2245     {\r
2246         "id": "14b60e62.9552e2",\r
2247         "type": "switchNode",\r
2248         "name": "switch access-provider-id",\r
2249         "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",\r
2250         "comments": "",\r
2251         "outputs": 1,\r
2252         "x": 1567.5347309112549,\r
2253         "y": 1843.6878457069397,\r
2254         "z": "457a744e.ed1b4c",\r
2255         "wires": [\r
2256             [\r
2257                 "6fdddbf2.363454"\r
2258             ]\r
2259         ]\r
2260     },\r
2261     {\r
2262         "id": "6fdddbf2.363454",\r
2263         "type": "outcomeTrue",\r
2264         "name": "true",\r
2265         "xml": "<outcome value='true'>\n",\r
2266         "comments": "",\r
2267         "outputs": 1,\r
2268         "x": 1754.5347309112549,\r
2269         "y": 1839.6878457069397,\r
2270         "z": "457a744e.ed1b4c",\r
2271         "wires": [\r
2272             [\r
2273                 "74c7de35.e3e86"\r
2274             ]\r
2275         ]\r
2276     },\r
2277     {\r
2278         "id": "74c7de35.e3e86",\r
2279         "type": "set",\r
2280         "name": "set access-provider-id",\r
2281         "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2282         "comments": "",\r
2283         "x": 1922.5347309112549,\r
2284         "y": 1840.2878518104553,\r
2285         "z": "457a744e.ed1b4c",\r
2286         "wires": []\r
2287     },\r
2288     {\r
2289         "id": "44bf4a7c.708044",\r
2290         "type": "switchNode",\r
2291         "name": "switch access-client-id",\r
2292         "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",\r
2293         "comments": "",\r
2294         "outputs": 1,\r
2295         "x": 1558.534746170044,\r
2296         "y": 1886.6982941627502,\r
2297         "z": "457a744e.ed1b4c",\r
2298         "wires": [\r
2299             [\r
2300                 "563fe70a.3d75e8"\r
2301             ]\r
2302         ]\r
2303     },\r
2304     {\r
2305         "id": "563fe70a.3d75e8",\r
2306         "type": "outcomeTrue",\r
2307         "name": "true",\r
2308         "xml": "<outcome value='true'>\n",\r
2309         "comments": "",\r
2310         "outputs": 1,\r
2311         "x": 1745.534746170044,\r
2312         "y": 1882.6982941627502,\r
2313         "z": "457a744e.ed1b4c",\r
2314         "wires": [\r
2315             [\r
2316                 "ce19687f.748618"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "ce19687f.748618",\r
2322         "type": "set",\r
2323         "name": "set access-client-id",\r
2324         "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2325         "comments": "",\r
2326         "x": 1913.534746170044,\r
2327         "y": 1883.2983002662659,\r
2328         "z": "457a744e.ed1b4c",\r
2329         "wires": []\r
2330     },\r
2331     {\r
2332         "id": "b84af987.adba08",\r
2333         "type": "switchNode",\r
2334         "name": "switch access-topology-id",\r
2335         "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",\r
2336         "comments": "",\r
2337         "outputs": 1,\r
2338         "x": 1571.5346908569336,\r
2339         "y": 1928.6983251571655,\r
2340         "z": "457a744e.ed1b4c",\r
2341         "wires": [\r
2342             [\r
2343                 "59f4f928.e35438"\r
2344             ]\r
2345         ]\r
2346     },\r
2347     {\r
2348         "id": "59f4f928.e35438",\r
2349         "type": "outcomeTrue",\r
2350         "name": "true",\r
2351         "xml": "<outcome value='true'>\n",\r
2352         "comments": "",\r
2353         "outputs": 1,\r
2354         "x": 1758.5346908569336,\r
2355         "y": 1924.6983251571655,\r
2356         "z": "457a744e.ed1b4c",\r
2357         "wires": [\r
2358             [\r
2359                 "561aa1a7.127"\r
2360             ]\r
2361         ]\r
2362     },\r
2363     {\r
2364         "id": "561aa1a7.127",\r
2365         "type": "set",\r
2366         "name": "set access-topology-id",\r
2367         "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
2368         "comments": "",\r
2369         "x": 1926.5346908569336,\r
2370         "y": 1925.2983312606812,\r
2371         "z": "457a744e.ed1b4c",\r
2372         "wires": []\r
2373     },\r
2374     {\r
2375         "id": "6b7692da.e3386c",\r
2376         "type": "block",\r
2377         "name": "block : atomic",\r
2378         "xml": "<block atomic=\"true\">",\r
2379         "atomic": "true",\r
2380         "outputs": 1,\r
2381         "x": 1391.5,\r
2382         "y": 2580,\r
2383         "z": "457a744e.ed1b4c",\r
2384         "wires": [\r
2385             [\r
2386                 "10a67ef2.fe14c1",\r
2387                 "a7c30844.d5a778",\r
2388                 "7ac9bf5f.eb2bb",\r
2389                 "ecc36fcf.c4875",\r
2390                 "a76f6a40.d4cee8",\r
2391                 "edafd0b0.6224d",\r
2392                 "5247b131.16685",\r
2393                 "e27ff4ee.65f258",\r
2394                 "1d2e0089.80d0ff",\r
2395                 "961fa84a.89d648",\r
2396                 "3cad4115.c1792e",\r
2397                 "64d85461.e5001c",\r
2398                 "62b19acd.4aec84"\r
2399             ]\r
2400         ]\r
2401     },\r
2402     {\r
2403         "id": "c28d378e.41d1d8",\r
2404         "type": "set",\r
2405         "name": "set controller data",\r
2406         "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
2407         "comments": "",\r
2408         "x": 2144,\r
2409         "y": 2300,\r
2410         "z": "457a744e.ed1b4c",\r
2411         "wires": []\r
2412     },\r
2413     {\r
2414         "id": "e27ff4ee.65f258",\r
2415         "type": "get-resource",\r
2416         "name": "get-resource esr-thirdparty-sdnc",\r
2417         "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
2418         "comments": "",\r
2419         "outputs": 1,\r
2420         "x": 1728,\r
2421         "y": 2340,\r
2422         "z": "457a744e.ed1b4c",\r
2423         "wires": [\r
2424             [\r
2425                 "a1b1b4fc.a93fb8",\r
2426                 "74526f9.33f9b9",\r
2427                 "cec138d1.5a00d8"\r
2428             ]\r
2429         ]\r
2430     },\r
2431     {\r
2432         "id": "a1b1b4fc.a93fb8",\r
2433         "type": "success",\r
2434         "name": "success",\r
2435         "xml": "<outcome value='success'>\n",\r
2436         "comments": "",\r
2437         "outputs": 1,\r
2438         "x": 1974,\r
2439         "y": 2300,\r
2440         "z": "457a744e.ed1b4c",\r
2441         "wires": [\r
2442             [\r
2443                 "c28d378e.41d1d8"\r
2444             ]\r
2445         ]\r
2446     },\r
2447     {\r
2448         "id": "74526f9.33f9b9",\r
2449         "type": "not-found",\r
2450         "name": "not-found",\r
2451         "xml": "<outcome value='not-found'>\n",\r
2452         "comments": "",\r
2453         "outputs": 1,\r
2454         "x": 1978,\r
2455         "y": 2340,\r
2456         "z": "457a744e.ed1b4c",\r
2457         "wires": [\r
2458             [\r
2459                 "6e8b6c66.c5e0f4"\r
2460             ]\r
2461         ]\r
2462     },\r
2463     {\r
2464         "id": "cec138d1.5a00d8",\r
2465         "type": "other",\r
2466         "name": "other",\r
2467         "xml": "<outcome value='Other'>\n",\r
2468         "comments": "",\r
2469         "outputs": 1,\r
2470         "x": 1970,\r
2471         "y": 2380,\r
2472         "z": "457a744e.ed1b4c",\r
2473         "wires": [\r
2474             [\r
2475                 "681da62f.282d18"\r
2476             ]\r
2477         ]\r
2478     },\r
2479     {\r
2480         "id": "6e8b6c66.c5e0f4",\r
2481         "type": "returnFailure",\r
2482         "name": "return failure",\r
2483         "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
2484         "comments": "",\r
2485         "x": 2128,\r
2486         "y": 2340,\r
2487         "z": "457a744e.ed1b4c",\r
2488         "wires": []\r
2489     },\r
2490     {\r
2491         "id": "681da62f.282d18",\r
2492         "type": "returnFailure",\r
2493         "name": "return failure",\r
2494         "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
2495         "comments": "",\r
2496         "x": 2128,\r
2497         "y": 2380,\r
2498         "z": "457a744e.ed1b4c",\r
2499         "wires": []\r
2500     },\r
2501     {\r
2502         "id": "5247b131.16685",\r
2503         "type": "get-resource",\r
2504         "name": "get-resource pnf",\r
2505         "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
2506         "comments": "",\r
2507         "outputs": 1,\r
2508         "x": 1679.5,\r
2509         "y": 2220,\r
2510         "z": "457a744e.ed1b4c",\r
2511         "wires": [\r
2512             [\r
2513                 "b0e582b1.978d3",\r
2514                 "b63f814e.25c35",\r
2515                 "ba9909ab.268d18"\r
2516             ]\r
2517         ]\r
2518     },\r
2519     {\r
2520         "id": "b0e582b1.978d3",\r
2521         "type": "success",\r
2522         "name": "success",\r
2523         "xml": "<outcome value='success'>\n",\r
2524         "comments": "",\r
2525         "outputs": 1,\r
2526         "x": 1974,\r
2527         "y": 2180,\r
2528         "z": "457a744e.ed1b4c",\r
2529         "wires": [\r
2530             [\r
2531                 "b2fced81.55aa5"\r
2532             ]\r
2533         ]\r
2534     },\r
2535     {\r
2536         "id": "b63f814e.25c35",\r
2537         "type": "not-found",\r
2538         "name": "not-found",\r
2539         "xml": "<outcome value='not-found'>\n",\r
2540         "comments": "",\r
2541         "outputs": 1,\r
2542         "x": 1978,\r
2543         "y": 2220,\r
2544         "z": "457a744e.ed1b4c",\r
2545         "wires": [\r
2546             [\r
2547                 "bc035593.0004d8"\r
2548             ]\r
2549         ]\r
2550     },\r
2551     {\r
2552         "id": "ba9909ab.268d18",\r
2553         "type": "other",\r
2554         "name": "other",\r
2555         "xml": "<outcome value='Other'>\n",\r
2556         "comments": "",\r
2557         "outputs": 1,\r
2558         "x": 1970,\r
2559         "y": 2260,\r
2560         "z": "457a744e.ed1b4c",\r
2561         "wires": [\r
2562             [\r
2563                 "b490ab94.5b0298"\r
2564             ]\r
2565         ]\r
2566     },\r
2567     {\r
2568         "id": "bc035593.0004d8",\r
2569         "type": "returnFailure",\r
2570         "name": "return failure",\r
2571         "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
2572         "comments": "",\r
2573         "x": 2128,\r
2574         "y": 2220,\r
2575         "z": "457a744e.ed1b4c",\r
2576         "wires": []\r
2577     },\r
2578     {\r
2579         "id": "b490ab94.5b0298",\r
2580         "type": "returnFailure",\r
2581         "name": "return failure",\r
2582         "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
2583         "comments": "",\r
2584         "x": 2128,\r
2585         "y": 2260,\r
2586         "z": "457a744e.ed1b4c",\r
2587         "wires": []\r
2588     },\r
2589     {\r
2590         "id": "b2fced81.55aa5",\r
2591         "type": "set",\r
2592         "name": "set tmp.thirdparty-sdnc-id",\r
2593         "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
2594         "comments": "",\r
2595         "x": 2167.5,\r
2596         "y": 2180,\r
2597         "z": "457a744e.ed1b4c",\r
2598         "wires": []\r
2599     },\r
2600     {\r
2601         "id": "ba207179.afcc1",\r
2602         "type": "comment",\r
2603         "name": "get domain controller information",\r
2604         "info": "",\r
2605         "comments": "",\r
2606         "x": 1726.5,\r
2607         "y": 2180,\r
2608         "z": "457a744e.ed1b4c",\r
2609         "wires": []\r
2610     },\r
2611     {\r
2612         "id": "1d2e0089.80d0ff",\r
2613         "type": "set",\r
2614         "name": "set oof.vpn",\r
2615         "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",\r
2616         "comments": "",\r
2617         "x": 1663,\r
2618         "y": 2140,\r
2619         "z": "457a744e.ed1b4c",\r
2620         "wires": []\r
2621     },\r
2622     {\r
2623         "id": "a7c30844.d5a778",\r
2624         "type": "save",\r
2625         "name": "save VPN resource in AAI",\r
2626         "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
2627         "comments": "",\r
2628         "outputs": 1,\r
2629         "x": 1709.5,\r
2630         "y": 2700,\r
2631         "z": "457a744e.ed1b4c",\r
2632         "wires": [\r
2633             []\r
2634         ]\r
2635     },\r
2636     {\r
2637         "id": "7ac9bf5f.eb2bb",\r
2638         "type": "set",\r
2639         "name": "set tmp.vpnName",\r
2640         "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $ietf-etht-svc-name`\" />",\r
2641         "comments": "",\r
2642         "x": 1683.5,\r
2643         "y": 2660,\r
2644         "z": "457a744e.ed1b4c",\r
2645         "wires": []\r
2646     },\r
2647     {\r
2648         "id": "ecc36fcf.c4875",\r
2649         "type": "save",\r
2650         "name": "save connectivity relationship in AAI",\r
2651         "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
2652         "comments": "",\r
2653         "outputs": 1,\r
2654         "x": 1740,\r
2655         "y": 2740,\r
2656         "z": "457a744e.ed1b4c",\r
2657         "wires": [\r
2658             []\r
2659         ]\r
2660     },\r
2661     {\r
2662         "id": "10a67ef2.fe14c1",\r
2663         "type": "set",\r
2664         "name": "set src-ltpId dst-ltpId",\r
2665         "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
2666         "comments": "",\r
2667         "x": 1691.5,\r
2668         "y": 2780,\r
2669         "z": "457a744e.ed1b4c",\r
2670         "wires": []\r
2671     },\r
2672     {\r
2673         "id": "a76f6a40.d4cee8",\r
2674         "type": "save",\r
2675         "name": "save srcLTP relationship in AAI",\r
2676         "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
2677         "comments": "",\r
2678         "outputs": 1,\r
2679         "x": 1725,\r
2680         "y": 2820,\r
2681         "z": "457a744e.ed1b4c",\r
2682         "wires": [\r
2683             []\r
2684         ]\r
2685     },\r
2686     {\r
2687         "id": "edafd0b0.6224d",\r
2688         "type": "save",\r
2689         "name": "save dstLTP relationship in AAI",\r
2690         "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
2691         "comments": "",\r
2692         "outputs": 1,\r
2693         "x": 1725,\r
2694         "y": 2860,\r
2695         "z": "457a744e.ed1b4c",\r
2696         "wires": [\r
2697             []\r
2698         ]\r
2699     },\r
2700     {\r
2701         "id": "b571fb6b.8ab608",\r
2702         "type": "execute",\r
2703         "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
2704         "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
2705         "comments": "",\r
2706         "outputs": 1,\r
2707         "x": 717.0038146972656,\r
2708         "y": 981.458776473999,\r
2709         "z": "457a744e.ed1b4c",\r
2710         "wires": [\r
2711             [\r
2712                 "860a625.2d0bba",\r
2713                 "db78a108.063fb"\r
2714             ]\r
2715         ]\r
2716     },\r
2717     {\r
2718         "id": "b52dba2d.a71bc8",\r
2719         "type": "execute",\r
2720         "name": "execute RestApiCallNode - get-resource parent service data",\r
2721         "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
2722         "comments": "",\r
2723         "outputs": 1,\r
2724         "x": 644.0039672851562,\r
2725         "y": 1208.4589395523071,\r
2726         "z": "457a744e.ed1b4c",\r
2727         "wires": [\r
2728             [\r
2729                 "f3f93c79.0dcb",\r
2730                 "b078a619.3c13b8"\r
2731             ]\r
2732         ]\r
2733     },\r
2734     {\r
2735         "id": "76fbe2f6.cb133c",\r
2736         "type": "execute",\r
2737         "name": "get parent-service-data url",\r
2738         "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
2739         "comments": "",\r
2740         "outputs": 1,\r
2741         "x": 544.0038757324219,\r
2742         "y": 1171.4587726593018,\r
2743         "z": "457a744e.ed1b4c",\r
2744         "wires": [\r
2745             []\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "ef83619e.fcadf",\r
2750         "type": "execute",\r
2751         "name": "generate tmp.ar-other-url-connection",\r
2752         "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
2753         "comments": "",\r
2754         "outputs": 1,\r
2755         "x": 1958.000228881836,\r
2756         "y": 1327.7883338928223,\r
2757         "z": "457a744e.ed1b4c",\r
2758         "wires": [\r
2759             []\r
2760         ]\r
2761     },\r
2762     {\r
2763         "id": "70f5ae0d.ee9ea",\r
2764         "type": "execute",\r
2765         "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
2766         "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
2767         "comments": "",\r
2768         "outputs": 1,\r
2769         "x": 2095.0008697509766,\r
2770         "y": 1370.2881984710693,\r
2771         "z": "457a744e.ed1b4c",\r
2772         "wires": [\r
2773             [\r
2774                 "a5795c00.0454b8",\r
2775                 "a870baef.09bb38"\r
2776             ]\r
2777         ]\r
2778     },\r
2779     {\r
2780         "id": "b5dd8e8d.014ad",\r
2781         "type": "block",\r
2782         "name": "block",\r
2783         "xml": "<block>\n",\r
2784         "atomic": "false",\r
2785         "comments": "",\r
2786         "outputs": 1,\r
2787         "x": 1720.0001487731934,\r
2788         "y": 2093.4549837112427,\r
2789         "z": "457a744e.ed1b4c",\r
2790         "wires": [\r
2791             []\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "2222673c.9be3c8",\r
2796         "type": "block",\r
2797         "name": "block : atomic",\r
2798         "xml": "<block atomic=\"true\">",\r
2799         "atomic": "true",\r
2800         "outputs": 1,\r
2801         "x": 1096.9687614440918,\r
2802         "y": 2118.4551677703857,\r
2803         "z": "457a744e.ed1b4c",\r
2804         "wires": [\r
2805             [\r
2806                 "43e51eef.5c25b",\r
2807                 "402ffb02.0bfaf4"\r
2808             ]\r
2809         ]\r
2810     },\r
2811     {\r
2812         "id": "b4436494.1a02b8",\r
2813         "type": "outcome",\r
2814         "name": "outcome PendingDelete",\r
2815         "xml": "<outcome value='PendingDelete'>\n",\r
2816         "comments": "",\r
2817         "outputs": 1,\r
2818         "x": 2171.031219482422,\r
2819         "y": 933.486162185669,\r
2820         "z": "457a744e.ed1b4c",\r
2821         "wires": [\r
2822             [\r
2823                 "7b132c2c.5ce604"\r
2824             ]\r
2825         ]\r
2826     },\r
2827     {\r
2828         "id": "7b132c2c.5ce604",\r
2829         "type": "block",\r
2830         "name": "block",\r
2831         "xml": "<block>\n",\r
2832         "atomic": "false",\r
2833         "comments": "",\r
2834         "outputs": 1,\r
2835         "x": 2355.0312309265137,\r
2836         "y": 929.486162185669,\r
2837         "z": "457a744e.ed1b4c",\r
2838         "wires": [\r
2839             []\r
2840         ]\r
2841     },\r
2842     {\r
2843         "id": "3cad4115.c1792e",\r
2844         "type": "set",\r
2845         "name": "set attachment_param",\r
2846         "xml": "<set>\n<parameter name=\"`$ietf-etht-instance0 + 'access-provider-id'`\" value='`$oof.vpn.access-provider-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'access-client-id'`\" value='`$oof.vpn.access-client-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'access-topology-id'`\" value='`$oof.vpn.access-topology-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-node-id'`\" value='`$oof.vpn.access-node-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-ltp-id'`\" value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-node-id'`\" value='`$oof.vpn.access-node-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-ltp-id'`\" value='`$oof.vpn.dst-access-ltp-id`' />\n",\r
2847         "comments": "",\r
2848         "x": 1698,\r
2849         "y": 2540,\r
2850         "z": "457a744e.ed1b4c",\r
2851         "wires": []\r
2852     },\r
2853     {\r
2854         "id": "961fa84a.89d648",\r
2855         "type": "set",\r
2856         "name": "set sotn_value",\r
2857         "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'bandwidth-profile-type'`\" value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-type'`\" value='ietf-eth-tran-types:p2p-svc' />\n<parameter name=\"`$ietf-etht-instance0 + 'admin-status'`\" value='ietf-te-types:tunnel-state-up' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-port-id'`\" value='0' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].service-classification-type'`\" value='ietf-eth-tran-types:port-classification' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-port-id'`\" value='1' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].service-classification-type'`\" value='ietf-eth-tran-types:port-classification' />",\r
2858         "comments": "",\r
2859         "x": 1673.5,\r
2860         "y": 2500,\r
2861         "z": "457a744e.ed1b4c",\r
2862         "wires": []\r
2863     },\r
2864     {\r
2865         "id": "64d85461.e5001c",\r
2866         "type": "execute",\r
2867         "name": "execute RestApiCallNode Get token",\r
2868         "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
2869         "comments": "",\r
2870         "outputs": 1,\r
2871         "x": 1740.5,\r
2872         "y": 2440,\r
2873         "z": "457a744e.ed1b4c",\r
2874         "wires": [\r
2875             [\r
2876                 "a0d2cca5.2d5be",\r
2877                 "c52b8c6d.ecc5c"\r
2878             ]\r
2879         ]\r
2880     },\r
2881     {\r
2882         "id": "a0d2cca5.2d5be",\r
2883         "type": "success",\r
2884         "name": "success",\r
2885         "xml": "<outcome value='success'>\n",\r
2886         "comments": "",\r
2887         "outputs": 1,\r
2888         "x": 1974,\r
2889         "y": 2420,\r
2890         "z": "457a744e.ed1b4c",\r
2891         "wires": [\r
2892             [\r
2893                 "3e07440b.43da4c"\r
2894             ]\r
2895         ]\r
2896     },\r
2897     {\r
2898         "id": "c52b8c6d.ecc5c",\r
2899         "type": "failure",\r
2900         "name": "failure",\r
2901         "xml": "<outcome value='failure'>\n",\r
2902         "comments": "",\r
2903         "outputs": 1,\r
2904         "x": 1970,\r
2905         "y": 2460,\r
2906         "z": "457a744e.ed1b4c",\r
2907         "wires": [\r
2908             [\r
2909                 "f8066f4a.4c47c"\r
2910             ]\r
2911         ]\r
2912     },\r
2913     {\r
2914         "id": "f8066f4a.4c47c",\r
2915         "type": "returnFailure",\r
2916         "name": "return failure",\r
2917         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",\r
2918         "comments": "",\r
2919         "x": 2128,\r
2920         "y": 2460,\r
2921         "z": "457a744e.ed1b4c",\r
2922         "wires": []\r
2923     },\r
2924     {\r
2925         "id": "3e07440b.43da4c",\r
2926         "type": "set",\r
2927         "name": "set token-id",\r
2928         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
2929         "comments": "",\r
2930         "x": 2124.5,\r
2931         "y": 2420,\r
2932         "z": "457a744e.ed1b4c",\r
2933         "wires": []\r
2934     },\r
2935     {\r
2936         "id": "50328916.399a68",\r
2937         "type": "execute",\r
2938         "name": "execute RestconfApiCallNode Create ethernet Service with token",\r
2939         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\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='dirPath' value=\"/opt/sdnc/restapi/yang\" />\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
2940         "comments": "",\r
2941         "outputs": 1,\r
2942         "x": 2250.5,\r
2943         "y": 2600,\r
2944         "z": "457a744e.ed1b4c",\r
2945         "wires": [\r
2946             [\r
2947                 "aefb806d.da2a4",\r
2948                 "1cddc506.88b81b"\r
2949             ]\r
2950         ]\r
2951     },\r
2952     {\r
2953         "id": "aefb806d.da2a4",\r
2954         "type": "success",\r
2955         "name": "success",\r
2956         "xml": "<outcome value='success'>\n",\r
2957         "comments": "",\r
2958         "outputs": 1,\r
2959         "x": 2594,\r
2960         "y": 2600,\r
2961         "z": "457a744e.ed1b4c",\r
2962         "wires": [\r
2963             [\r
2964                 "8e77bda1.dcd9a"\r
2965             ]\r
2966         ]\r
2967     },\r
2968     {\r
2969         "id": "8e77bda1.dcd9a",\r
2970         "type": "block",\r
2971         "name": "block : atomic",\r
2972         "xml": "<block atomic=\"true\">",\r
2973         "atomic": "true",\r
2974         "comments": "",\r
2975         "outputs": 1,\r
2976         "x": 2751.5,\r
2977         "y": 2600,\r
2978         "z": "457a744e.ed1b4c",\r
2979         "wires": [\r
2980             []\r
2981         ]\r
2982     },\r
2983     {\r
2984         "id": "23ed7381.faa5dc",\r
2985         "type": "returnFailure",\r
2986         "name": "return failure",\r
2987         "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
2988         "comments": "",\r
2989         "x": 2748,\r
2990         "y": 2560,\r
2991         "z": "457a744e.ed1b4c",\r
2992         "wires": []\r
2993     },\r
2994     {\r
2995         "id": "1cddc506.88b81b",\r
2996         "type": "failure",\r
2997         "name": "failure",\r
2998         "xml": "<outcome value='failure'>\n",\r
2999         "comments": "",\r
3000         "outputs": 1,\r
3001         "x": 2590,\r
3002         "y": 2560,\r
3003         "z": "457a744e.ed1b4c",\r
3004         "wires": [\r
3005             [\r
3006                 "23ed7381.faa5dc"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "62b19acd.4aec84",\r
3012         "type": "switchNode",\r
3013         "name": "switch prop.sdncRestApi.token_id",\r
3014         "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",\r
3015         "comments": "",\r
3016         "outputs": 1,\r
3017         "x": 1733.5,\r
3018         "y": 2580,\r
3019         "z": "457a744e.ed1b4c",\r
3020         "wires": [\r
3021             [\r
3022                 "ab1d58b3.091298",\r
3023                 "6b742a39.c27114"\r
3024             ]\r
3025         ]\r
3026     },\r
3027     {\r
3028         "id": "ab1d58b3.091298",\r
3029         "type": "other",\r
3030         "name": "Null",\r
3031         "xml": "<outcome value=''>\n",\r
3032         "comments": "",\r
3033         "outputs": 1,\r
3034         "x": 1946.3438301086426,\r
3035         "y": 2560.121898651123,\r
3036         "z": "457a744e.ed1b4c",\r
3037         "wires": [\r
3038             [\r
3039                 "c3954e01.62cf4"\r
3040             ]\r
3041         ]\r
3042     },\r
3043     {\r
3044         "id": "6b742a39.c27114",\r
3045         "type": "other",\r
3046         "name": "other",\r
3047         "xml": "<outcome value='Other'>\n",\r
3048         "comments": "",\r
3049         "outputs": 1,\r
3050         "x": 1950,\r
3051         "y": 2600,\r
3052         "z": "457a744e.ed1b4c",\r
3053         "wires": [\r
3054             [\r
3055                 "50328916.399a68"\r
3056             ]\r
3057         ]\r
3058     },\r
3059     {\r
3060         "id": "c3954e01.62cf4",\r
3061         "type": "execute",\r
3062         "name": "execute RestconfApiCallNode Create ethernet Service without token",\r
3063         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\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='dirPath' value=\"/opt/sdnc/restapi/yang\" />\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\"/>",\r
3064         "comments": "",\r
3065         "outputs": 1,\r
3066         "x": 2260.5,\r
3067         "y": 2560,\r
3068         "z": "457a744e.ed1b4c",\r
3069         "wires": [\r
3070             [\r
3071                 "1cddc506.88b81b",\r
3072                 "aefb806d.da2a4"\r
3073             ]\r
3074         ]\r
3075     },\r
3076     {\r
3077         "id": "47c68bcd.5a1f24",\r
3078         "type": "comment",\r
3079         "name": "save vpn and its relation to AAI",\r
3080         "info": "",\r
3081         "comments": "",\r
3082         "x": 1721.5,\r
3083         "y": 2620,\r
3084         "z": "457a744e.ed1b4c",\r
3085         "wires": []\r
3086     }\r
3087 ]