Changing the DG param to use "_"
[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": "28d275a.bfe138a",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 288.4998779296875,\r
8         "y": 71.99999904632568,\r
9         "z": "3660ec4d.8a3b84",\r
10         "wires": [\r
11             [\r
12                 "d19f3a06.022368"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "d19f3a06.022368",\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": 182.49988174438477,\r
26         "y": 144.00001621246338,\r
27         "z": "3660ec4d.8a3b84",\r
28         "wires": [\r
29             [\r
30                 "7a2f1ce2.d27b24"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "7a2f1ce2.d27b24",\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.5,\r
42         "y": 231.99999904632568,\r
43         "z": "3660ec4d.8a3b84",\r
44         "wires": [\r
45             [\r
46                 "70eb8f94.914be"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "70eb8f94.914be",\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.5,\r
59         "y": 787.0002436637878,\r
60         "z": "3660ec4d.8a3b84",\r
61         "wires": [\r
62             [\r
63                 "30d38659.9ca3da",\r
64                 "18dde1e3.9567be",\r
65                 "a87c2e3.9552cd",\r
66                 "dd042947.596178",\r
67                 "8aa20f0d.2f659",\r
68                 "2b23bd9b.6febb2",\r
69                 "cff1f9f1.a56e28",\r
70                 "e801191.dd549e8",\r
71                 "b2d7beb8.50e79",\r
72                 "c2e744b7.2f7498",\r
73                 "c7b09f9c.c261d",\r
74                 "f53c2230.a7af7",\r
75                 "c7e83767.1962b8",\r
76                 "cce9c4ca.7b8858",\r
77                 "46437a86.852124",\r
78                 "755ed1f3.fd5e1",\r
79                 "9c164258.b89ac",\r
80                 "8cebe888.0f36b8",\r
81                 "55e9e37.ce7981c",\r
82                 "fc04a841.669f18"\r
83             ]\r
84         ]\r
85     },\r
86     {\r
87         "id": "30d38659.9ca3da",\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": 583.4934387207031,\r
93         "y": 185.9934859275818,\r
94         "z": "3660ec4d.8a3b84",\r
95         "wires": []\r
96     },\r
97     {\r
98         "id": "1674cd93.86fde2",\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.9536285400391,\r
104         "y": 139.02528190612793,\r
105         "z": "3660ec4d.8a3b84",\r
106         "wires": []\r
107     },\r
108     {\r
109         "id": "18dde1e3.9567be",\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": 537.4933776855469,\r
115         "y": 278.9934911727905,\r
116         "z": "3660ec4d.8a3b84",\r
117         "wires": []\r
118     },\r
119     {\r
120         "id": "8aa20f0d.2f659",\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.7552680969238,\r
127         "y": 366.6602201461792,\r
128         "z": "3660ec4d.8a3b84",\r
129         "wires": [\r
130             []\r
131         ]\r
132     },\r
133     {\r
134         "id": "a87c2e3.9552cd",\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.7553253173828,\r
141         "y": 454.66022396087646,\r
142         "z": "3660ec4d.8a3b84",\r
143         "wires": [\r
144             []\r
145         ]\r
146     },\r
147     {\r
148         "id": "1ee3af2.4b29351",\r
149         "type": "comment",\r
150         "name": "GET connection-attachment-allotted-resource from mdsal",\r
151         "info": "",\r
152         "comments": "",\r
153         "x": 622.8081359863281,\r
154         "y": 574.5386581420898,\r
155         "z": "3660ec4d.8a3b84",\r
156         "wires": []\r
157     },\r
158     {\r
159         "id": "68f1c514.ded31c",\r
160         "type": "comment",\r
161         "name": "Used for setting output to API Handler",\r
162         "info": "",\r
163         "comments": "",\r
164         "x": 576.9932861328125,\r
165         "y": 234.9935007095337,\r
166         "z": "3660ec4d.8a3b84",\r
167         "wires": []\r
168     },\r
169     {\r
170         "id": "bb16939f.0bb2",\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.9932518005371,\r
176         "y": 320.882381439209,\r
177         "z": "3660ec4d.8a3b84",\r
178         "wires": []\r
179     },\r
180     {\r
181         "id": "b570954a.774d68",\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.9932708740234,\r
187         "y": 407.8823404312134,\r
188         "z": "3660ec4d.8a3b84",\r
189         "wires": []\r
190     },\r
191     {\r
192         "id": "cc101fab.4516e",\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": 1097.166669845581,\r
199         "y": 602.9999837875366,\r
200         "z": "3660ec4d.8a3b84",\r
201         "wires": [\r
202             [\r
203                 "9738f108.898b7"\r
204             ]\r
205         ]\r
206     },\r
207     {\r
208         "id": "9738f108.898b7",\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": 1241.166748046875,\r
216         "y": 560.4999017715454,\r
217         "z": "3660ec4d.8a3b84",\r
218         "wires": [\r
219             [\r
220                 "8a16f689.6b7ae8"\r
221             ]\r
222         ]\r
223     },\r
224     {\r
225         "id": "8a16f689.6b7ae8",\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": 1410.0241718292236,\r
232         "y": 558.1190729141235,\r
233         "z": "3660ec4d.8a3b84",\r
234         "wires": [\r
235             [\r
236                 "6caeb4d0.5e023c",\r
237                 "5d2c0047.75c77"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "6caeb4d0.5e023c",\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": 1565.357307434082,\r
249         "y": 530.1189880371094,\r
250         "z": "3660ec4d.8a3b84",\r
251         "wires": [\r
252             [\r
253                 "5c4df4f9.cc097c"\r
254             ]\r
255         ]\r
256     },\r
257     {\r
258         "id": "5c4df4f9.cc097c",\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.8811111450195,\r
266         "y": 528.0238351821899,\r
267         "z": "3660ec4d.8a3b84",\r
268         "wires": [\r
269             [\r
270                 "1e89f07a.c151d",\r
271                 "eb1d752c.cdd658",\r
272                 "5ff280be.365f2"\r
273             ]\r
274         ]\r
275     },\r
276     {\r
277         "id": "51eebf2c.9c9cc",\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": 1664.01904296875,\r
283         "y": 635.0660696029663,\r
284         "z": "3660ec4d.8a3b84",\r
285         "wires": []\r
286     },\r
287     {\r
288         "id": "687f563.00b84a8",\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": 1089.0184726715088,\r
295         "y": 638.066068649292,\r
296         "z": "3660ec4d.8a3b84",\r
297         "wires": [\r
298             [\r
299                 "82a2b9aa.fbc138"\r
300             ]\r
301         ]\r
302     },\r
303     {\r
304         "id": "82a2b9aa.fbc138",\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": 1269.0184230804443,\r
312         "y": 638.7326192855835,\r
313         "z": "3660ec4d.8a3b84",\r
314         "wires": [\r
315             [\r
316                 "51eebf2c.9c9cc"\r
317             ]\r
318         ]\r
319     },\r
320     {\r
321         "id": "5d2c0047.75c77",\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.6853103637695,\r
328         "y": 589.3993625640869,\r
329         "z": "3660ec4d.8a3b84",\r
330         "wires": [\r
331             [\r
332                 "51eebf2c.9c9cc"\r
333             ]\r
334         ]\r
335     },\r
336     {\r
337         "id": "1e89f07a.c151d",\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.944564819336,\r
343         "y": 501.00008726119995,\r
344         "z": "3660ec4d.8a3b84",\r
345         "wires": []\r
346     },\r
347     {\r
348         "id": "5ff280be.365f2",\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.944595336914,\r
354         "y": 574.4285898208618,\r
355         "z": "3660ec4d.8a3b84",\r
356         "wires": []\r
357     },\r
358     {\r
359         "id": "eb1d752c.cdd658",\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.9443740844727,\r
366         "y": 540.0000238418579,\r
367         "z": "3660ec4d.8a3b84",\r
368         "wires": [\r
369             [\r
370                 "bd6b8fd9.7425f",\r
371                 "de760411.78f278",\r
372                 "7125493.f496eb8"\r
373             ]\r
374         ]\r
375     },\r
376     {\r
377         "id": "bd6b8fd9.7425f",\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.5444564819336,\r
384         "y": 534.0000548362732,\r
385         "z": "3660ec4d.8a3b84",\r
386         "wires": [\r
387             [\r
388                 "1316c298.882dad"\r
389             ]\r
390         ]\r
391     },\r
392     {\r
393         "id": "7125493.f496eb8",\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": 2144.2589569091797,\r
400         "y": 614.4286894798279,\r
401         "z": "3660ec4d.8a3b84",\r
402         "wires": [\r
403             [\r
404                 "4ad5b58c.e9d9dc"\r
405             ]\r
406         ]\r
407     },\r
408     {\r
409         "id": "1316c298.882dad",\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": 2309.0151290893555,\r
417         "y": 534.3757104873657,\r
418         "z": "3660ec4d.8a3b84",\r
419         "wires": [\r
420             []\r
421         ]\r
422     },\r
423     {\r
424         "id": "4ad5b58c.e9d9dc",\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": 2320.1667709350586,\r
430         "y": 613.0000886917114,\r
431         "z": "3660ec4d.8a3b84",\r
432         "wires": []\r
433     },\r
434     {\r
435         "id": "aa47ad2e.19ee1",\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.8029289245605,\r
442         "y": 685.4936037063599,\r
443         "z": "3660ec4d.8a3b84",\r
444         "wires": [\r
445             []\r
446         ]\r
447     },\r
448     {\r
449         "id": "2b23bd9b.6febb2",\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.8090286254883,\r
457         "y": 686.4999742507935,\r
458         "z": "3660ec4d.8a3b84",\r
459         "wires": [\r
460             [\r
461                 "aa47ad2e.19ee1"\r
462             ]\r
463         ]\r
464     },\r
465     {\r
466         "id": "741f9620.416278",\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": 675.000244140625,\r
472         "y": 720.5317516326904,\r
473         "z": "3660ec4d.8a3b84",\r
474         "wires": []\r
475     },\r
476     {\r
477         "id": "1599946a.f42bac",\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.685073852539,\r
484         "y": 884.0042290687561,\r
485         "z": "3660ec4d.8a3b84",\r
486         "wires": [\r
487             [\r
488                 "ceda6a9c.0a4ec8"\r
489             ]\r
490         ]\r
491     },\r
492     {\r
493         "id": "dd042947.596178",\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.6840972900391,\r
500         "y": 991.7182655334473,\r
501         "z": "3660ec4d.8a3b84",\r
502         "wires": [\r
503             [\r
504                 "247c1aa6.c1a456",\r
505                 "fbb0b1cd.ea157",\r
506                 "74dbd737.e80688"\r
507             ]\r
508         ]\r
509     },\r
510     {\r
511         "id": "247c1aa6.c1a456",\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.8271179199219,\r
518         "y": 1064.5755395889282,\r
519         "z": "3660ec4d.8a3b84",\r
520         "wires": [\r
521             [\r
522                 "9f78b17.958795"\r
523             ]\r
524         ]\r
525     },\r
526     {\r
527         "id": "bf10870f.24b968",\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.9543800354004,\r
534         "y": 923.701548576355,\r
535         "z": "3660ec4d.8a3b84",\r
536         "wires": [\r
537             [\r
538                 "1599946a.f42bac",\r
539                 "ea370c09.3b25a"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "ceda6a9c.0a4ec8",\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.796401977539,\r
551         "y": 881.0040311813354,\r
552         "z": "3660ec4d.8a3b84",\r
553         "wires": [\r
554             [\r
555                 "be801959.a0ebf8",\r
556                 "84824bc9.d75b28"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "be801959.a0ebf8",\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.606616973877,\r
568         "y": 852.4686460494995,\r
569         "z": "3660ec4d.8a3b84",\r
570         "wires": [\r
571             [\r
572                 "a1af2e87.6244d"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "3e8f5d5b.fa5fe2",\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": 2342.367088317871,\r
584         "y": 909.3257331848145,\r
585         "z": "3660ec4d.8a3b84",\r
586         "wires": [\r
587             [\r
588                 "427ccd7c.897854"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "427ccd7c.897854",\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": 2577.2245140075684,\r
599         "y": 907.8972654342651,\r
600         "z": "3660ec4d.8a3b84",\r
601         "wires": []\r
602     },\r
603     {\r
604         "id": "65595641.ab8308",\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.9624137878418,\r
610         "y": 885.8929605484009,\r
611         "z": "3660ec4d.8a3b84",\r
612         "wires": []\r
613     },\r
614     {\r
615         "id": "fbb0b1cd.ea157",\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": 1007.4795875549316,\r
622         "y": 1003.6772232055664,\r
623         "z": "3660ec4d.8a3b84",\r
624         "wires": [\r
625             [\r
626                 "248004a9.093adc"\r
627             ]\r
628         ]\r
629     },\r
630     {\r
631         "id": "9f78b17.958795",\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": 1152.4794654846191,\r
637         "y": 1063.6774682998657,\r
638         "z": "3660ec4d.8a3b84",\r
639         "wires": []\r
640     },\r
641     {\r
642         "id": "74dbd737.e80688",\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": 1002.4794006347656,\r
649         "y": 924.677248954773,\r
650         "z": "3660ec4d.8a3b84",\r
651         "wires": [\r
652             [\r
653                 "bf10870f.24b968"\r
654             ]\r
655         ]\r
656     },\r
657     {\r
658         "id": "a1af2e87.6244d",\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.590831756592,\r
666         "y": 851.6773891448975,\r
667         "z": "3660ec4d.8a3b84",\r
668         "wires": [\r
669             []\r
670         ]\r
671     },\r
672     {\r
673         "id": "84824bc9.d75b28",\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.590473175049,\r
680         "y": 908.677248954773,\r
681         "z": "3660ec4d.8a3b84",\r
682         "wires": [\r
683             [\r
684                 "3e8f5d5b.fa5fe2"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "ea370c09.3b25a",\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": 1389.479377746582,\r
696         "y": 977.4550666809082,\r
697         "z": "3660ec4d.8a3b84",\r
698         "wires": [\r
699             [\r
700                 "8b1d9769.993e78"\r
701             ]\r
702         ]\r
703     },\r
704     {\r
705         "id": "8b1d9769.993e78",\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": 1560.4794120788574,\r
712         "y": 978.5662879943848,\r
713         "z": "3660ec4d.8a3b84",\r
714         "wires": [\r
715             [\r
716                 "68fe21b8.c4eab"\r
717             ]\r
718         ]\r
719     },\r
720     {\r
721         "id": "68fe21b8.c4eab",\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": 1709.479507446289,\r
728         "y": 978.5662870407104,\r
729         "z": "3660ec4d.8a3b84",\r
730         "wires": [\r
731             [\r
732                 "251f1840.c6f158",\r
733                 "549841eb.86ecc"\r
734             ]\r
735         ]\r
736     },\r
737     {\r
738         "id": "dc9bc603.157798",\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.5973320007324,\r
745         "y": 994.7951412200928,\r
746         "z": "3660ec4d.8a3b84",\r
747         "wires": [\r
748             [\r
749                 "965d8d48.7805f"\r
750             ]\r
751         ]\r
752     },\r
753     {\r
754         "id": "75f7d9fa.a34b78",\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": 2447.44913482666,\r
761         "y": 1029.8612260818481,\r
762         "z": "3660ec4d.8a3b84",\r
763         "wires": [\r
764             [\r
765                 "4a793fb6.ab4b7"\r
766             ]\r
767         ]\r
768     },\r
769     {\r
770         "id": "8d42ade.e26d95",\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.8128814697266,\r
777         "y": 1078.8999071121216,\r
778         "z": "3660ec4d.8a3b84",\r
779         "wires": [\r
780             [\r
781                 "d9748223.b24bd",\r
782                 "2f9960ae.38ac6"\r
783             ]\r
784         ]\r
785     },\r
786     {\r
787         "id": "2f9960ae.38ac6",\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.812728881836,\r
794         "y": 1058.7886533737183,\r
795         "z": "3660ec4d.8a3b84",\r
796         "wires": [\r
797             [\r
798                 "8d657d74.58d7f"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "d9748223.b24bd",\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.8127899169922,\r
810         "y": 1106.7886247634888,\r
811         "z": "3660ec4d.8a3b84",\r
812         "wires": [\r
813             [\r
814                 "fad1ef7b.80f8a"\r
815             ]\r
816         ]\r
817     },\r
818     {\r
819         "id": "fad1ef7b.80f8a",\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": 1845.4651336669922,\r
825         "y": 1108.8903856277466,\r
826         "z": "3660ec4d.8a3b84",\r
827         "wires": []\r
828     },\r
829     {\r
830         "id": "5006afab.cadb6",\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": 2078.2575874328613,\r
836         "y": 1059.7888231277466,\r
837         "z": "3660ec4d.8a3b84",\r
838         "wires": []\r
839     },\r
840     {\r
841         "id": "248004a9.093adc",\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.9238967895508,\r
848         "y": 1002.7884902954102,\r
849         "z": "3660ec4d.8a3b84",\r
850         "wires": [\r
851             [\r
852                 "8d42ade.e26d95"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "8d657d74.58d7f",\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.5904998779297,\r
864         "y": 1061.7884874343872,\r
865         "z": "3660ec4d.8a3b84",\r
866         "wires": [\r
867             [\r
868                 "5006afab.cadb6",\r
869                 "7723439d.bbc16c"\r
870             ]\r
871         ]\r
872     },\r
873     {\r
874         "id": "7723439d.bbc16c",\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.5905380249023,\r
881         "y": 1107.7886419296265,\r
882         "z": "3660ec4d.8a3b84",\r
883         "wires": [\r
884             [\r
885                 "86fce2c3.6fc9d"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "86fce2c3.6fc9d",\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": 2285.1466064453125,\r
898         "y": 1338.7884511947632,\r
899         "z": "3660ec4d.8a3b84",\r
900         "wires": [\r
901             [\r
902                 "e105a5a2.2f7b98",\r
903                 "9c142ff7.067fe",\r
904                 "470eb4bc.6d184c",\r
905                 "c871a6bc.0143b8",\r
906                 "7b6d81b.a5ab68",\r
907                 "dec5f89d.21ec28",\r
908                 "a76964d2.4b9b68",\r
909                 "dffaf7ff.147ed8",\r
910                 "115d9d26.3e7bf3",\r
911                 "a00f1f4a.4aa95"\r
912             ]\r
913         ]\r
914     },\r
915     {\r
916         "id": "e105a5a2.2f7b98",\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.65682220459,\r
923         "y": 1180.799198627472,\r
924         "z": "3660ec4d.8a3b84",\r
925         "wires": [\r
926             [\r
927                 "b1b8c2c9.c3461"\r
928             ]\r
929         ]\r
930     },\r
931     {\r
932         "id": "b1b8c2c9.c3461",\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.656448364258,\r
939         "y": 1182.799063205719,\r
940         "z": "3660ec4d.8a3b84",\r
941         "wires": [\r
942             [\r
943                 "3f017ee2.db2552"\r
944             ]\r
945         ]\r
946     },\r
947     {\r
948         "id": "3f017ee2.db2552",\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.656623840332,\r
954         "y": 1182.399109363556,\r
955         "z": "3660ec4d.8a3b84",\r
956         "wires": []\r
957     },\r
958     {\r
959         "id": "9c142ff7.067fe",\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.6462745666504,\r
965         "y": 1554.788489818573,\r
966         "z": "3660ec4d.8a3b84",\r
967         "wires": []\r
968     },\r
969     {\r
970         "id": "f53c2230.a7af7",\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.8126983642578,\r
977         "y": 1187.2328004837036,\r
978         "z": "3660ec4d.8a3b84",\r
979         "wires": [\r
980             [\r
981                 "847cd254.11771",\r
982                 "4bd705da.fbac0c"\r
983             ]\r
984         ]\r
985     },\r
986     {\r
987         "id": "4bd705da.fbac0c",\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": 746.4794178009033,\r
994         "y": 1236.5661573410034,\r
995         "z": "3660ec4d.8a3b84",\r
996         "wires": [\r
997             [\r
998                 "78f22b09.6eaaa4"\r
999             ]\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "847cd254.11771",\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": 751.3682193756104,\r
1010         "y": 1145.5662183761597,\r
1011         "z": "3660ec4d.8a3b84",\r
1012         "wires": [\r
1013             [\r
1014                 "7cd85d88.d7ff24"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "7cd85d88.d7ff24",\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": 898.3682155609131,\r
1027         "y": 1147.4550313949585,\r
1028         "z": "3660ec4d.8a3b84",\r
1029         "wires": [\r
1030             []\r
1031         ]\r
1032     },\r
1033     {\r
1034         "id": "78f22b09.6eaaa4",\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.5905055999756,\r
1041         "y": 1234.5661153793335,\r
1042         "z": "3660ec4d.8a3b84",\r
1043         "wires": [\r
1044             [\r
1045                 "702cd8ea.493bf8",\r
1046                 "ce13182f.f335c8",\r
1047                 "42d59123.90775"\r
1048             ]\r
1049         ]\r
1050     },\r
1051     {\r
1052         "id": "702cd8ea.493bf8",\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.7015190124512,\r
1059         "y": 1201.5661153793335,\r
1060         "z": "3660ec4d.8a3b84",\r
1061         "wires": [\r
1062             [\r
1063                 "59a7ccc9.66c004",\r
1064                 "482c54c8.82d1fc"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "59a7ccc9.66c004",\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": 1338.1459655761719,\r
1076         "y": 1179.5661764144897,\r
1077         "z": "3660ec4d.8a3b84",\r
1078         "wires": [\r
1079             [\r
1080                 "e04463db.e3c67"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "482c54c8.82d1fc",\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": 1335.1458740234375,\r
1092         "y": 1227.5661611557007,\r
1093         "z": "3660ec4d.8a3b84",\r
1094         "wires": [\r
1095             [\r
1096                 "9233120c.931c3"\r
1097             ]\r
1098         ]\r
1099     },\r
1100     {\r
1101         "id": "e04463db.e3c67",\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.7016296386719,\r
1108         "y": 1176.5661764144897,\r
1109         "z": "3660ec4d.8a3b84",\r
1110         "wires": [\r
1111             [\r
1112                 "3473260a.97afba"\r
1113             ]\r
1114         ]\r
1115     },\r
1116     {\r
1117         "id": "9233120c.931c3",\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.7015380859375,\r
1124         "y": 1226.5661611557007,\r
1125         "z": "3660ec4d.8a3b84",\r
1126         "wires": [\r
1127             [\r
1128                 "e4df70f8.b836a"\r
1129             ]\r
1130         ]\r
1131     },\r
1132     {\r
1133         "id": "6528c05d.2ba6d",\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": 2020.4725914001465,\r
1139         "y": 452.50394678115845,\r
1140         "z": "3660ec4d.8a3b84",\r
1141         "wires": []\r
1142     },\r
1143     {\r
1144         "id": "3af289a7.e9a336",\r
1145         "type": "comment",\r
1146         "name": "Set source end point",\r
1147         "info": "",\r
1148         "comments": "",\r
1149         "x": 509.9724884033203,\r
1150         "y": 541.2539668083191,\r
1151         "z": "3660ec4d.8a3b84",\r
1152         "wires": []\r
1153     },\r
1154     {\r
1155         "id": "cff1f9f1.a56e28",\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": 575.4687042236328,\r
1161         "y": 761.0000896453857,\r
1162         "z": "3660ec4d.8a3b84",\r
1163         "wires": []\r
1164     },\r
1165     {\r
1166         "id": "1d25b8f7.cfcd87",\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": 935.4688568115234,\r
1173         "y": 832.0000762939453,\r
1174         "z": "3660ec4d.8a3b84",\r
1175         "wires": [\r
1176             [\r
1177                 "da5c7fe.8a1128"\r
1178             ]\r
1179         ]\r
1180     },\r
1181     {\r
1182         "id": "2f1fd4bf.dca39c",\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": 927.3206596374512,\r
1189         "y": 867.0661611557007,\r
1190         "z": "3660ec4d.8a3b84",\r
1191         "wires": [\r
1192             [\r
1193                 "961aa14.d3aaa6"\r
1194             ]\r
1195         ]\r
1196     },\r
1197     {\r
1198         "id": "961aa14.d3aaa6",\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": 1073.469440460205,\r
1204         "y": 866.3335723876953,\r
1205         "z": "3660ec4d.8a3b84",\r
1206         "wires": []\r
1207     },\r
1208     {\r
1209         "id": "da5c7fe.8a1128",\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": 1066.468952178955,\r
1217         "y": 832.0001373291016,\r
1218         "z": "3660ec4d.8a3b84",\r
1219         "wires": [\r
1220             []\r
1221         ]\r
1222     },\r
1223     {\r
1224         "id": "4a793fb6.ab4b7",\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": 2597.4691848754883,\r
1230         "y": 1030.0002641677856,\r
1231         "z": "3660ec4d.8a3b84",\r
1232         "wires": []\r
1233     },\r
1234     {\r
1235         "id": "965d8d48.7805f",\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": 2582.469306945801,\r
1243         "y": 997.0002489089966,\r
1244         "z": "3660ec4d.8a3b84",\r
1245         "wires": [\r
1246             []\r
1247         ]\r
1248     },\r
1249     {\r
1250         "id": "e801191.dd549e8",\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": 661.4686431884766,\r
1256         "y": 934.0000638961792,\r
1257         "z": "3660ec4d.8a3b84",\r
1258         "wires": []\r
1259     },\r
1260     {\r
1261         "id": "e8347ae1.b06d68",\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.9685211181641,\r
1267         "y": 1101.000012397766,\r
1268         "z": "3660ec4d.8a3b84",\r
1269         "wires": []\r
1270     },\r
1271     {\r
1272         "id": "32309aad.dc4a36",\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": 1318.468765258789,\r
1280         "y": 1439.0002937316895,\r
1281         "z": "3660ec4d.8a3b84",\r
1282         "wires": [\r
1283             [\r
1284                 "1c444b96.94ce94",\r
1285                 "9787f92e.e7a0a8",\r
1286                 "5973e9be.996c78",\r
1287                 "3648deeb.22cb92",\r
1288                 "9991696c.24c968",\r
1289                 "ead2dbb.da50128",\r
1290                 "1de89b8b.ae1fe4",\r
1291                 "28391843.34c238"\r
1292             ]\r
1293         ]\r
1294     },\r
1295     {\r
1296         "id": "1c444b96.94ce94",\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.9790668487549,\r
1303         "y": 1309.0106902122498,\r
1304         "z": "3660ec4d.8a3b84",\r
1305         "wires": [\r
1306             [\r
1307                 "453231ca.78fc5"\r
1308             ]\r
1309         ]\r
1310     },\r
1311     {\r
1312         "id": "9787f92e.e7a0a8",\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.9690189361572,\r
1318         "y": 1614.000653743744,\r
1319         "z": "3660ec4d.8a3b84",\r
1320         "wires": []\r
1321     },\r
1322     {\r
1323         "id": "5973e9be.996c78",\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": 1552.4688968658447,\r
1330         "y": 1352.7782216072083,\r
1331         "z": "3660ec4d.8a3b84",\r
1332         "wires": [\r
1333             [\r
1334                 "ae90dd46.3da8"\r
1335             ]\r
1336         ]\r
1337     },\r
1338     {\r
1339         "id": "3648deeb.22cb92",\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": 1546.4689350128174,\r
1346         "y": 1398.7782683372498,\r
1347         "z": "3660ec4d.8a3b84",\r
1348         "wires": [\r
1349             [\r
1350                 "c5571a75.670ac8"\r
1351             ]\r
1352         ]\r
1353     },\r
1354     {\r
1355         "id": "9991696c.24c968",\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": 1530.4584369659424,\r
1362         "y": 1437.7677702903748,\r
1363         "z": "3660ec4d.8a3b84",\r
1364         "wires": [\r
1365             [\r
1366                 "9082d877.8426d8"\r
1367             ]\r
1368         ]\r
1369     },\r
1370     {\r
1371         "id": "453231ca.78fc5",\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.6909809112549,\r
1378         "y": 1309.6670622825623,\r
1379         "z": "3660ec4d.8a3b84",\r
1380         "wires": [\r
1381             [\r
1382                 "9276313d.ff195"\r
1383             ]\r
1384         ]\r
1385     },\r
1386     {\r
1387         "id": "9276313d.ff195",\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.6909809112549,\r
1393         "y": 1309.2670373916626,\r
1394         "z": "3660ec4d.8a3b84",\r
1395         "wires": []\r
1396     },\r
1397     {\r
1398         "id": "ae90dd46.3da8",\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": 1734.1808490753174,\r
1405         "y": 1352.4345183372498,\r
1406         "z": "3660ec4d.8a3b84",\r
1407         "wires": [\r
1408             [\r
1409                 "f3a1ad87.cb17a"\r
1410             ]\r
1411         ]\r
1412     },\r
1413     {\r
1414         "id": "c5571a75.670ac8",\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": 1734.1808490753174,\r
1421         "y": 1398.4345183372498,\r
1422         "z": "3660ec4d.8a3b84",\r
1423         "wires": [\r
1424             [\r
1425                 "eafcae3e.34cbe"\r
1426             ]\r
1427         ]\r
1428     },\r
1429     {\r
1430         "id": "9082d877.8426d8",\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": 1734.1703510284424,\r
1437         "y": 1437.4241423606873,\r
1438         "z": "3660ec4d.8a3b84",\r
1439         "wires": [\r
1440             [\r
1441                 "38d388af.749418"\r
1442             ]\r
1443         ]\r
1444     },\r
1445     {\r
1446         "id": "ce13182f.f335c8",\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": 1171.4686279296875,\r
1453         "y": 1326.9999990463257,\r
1454         "z": "3660ec4d.8a3b84",\r
1455         "wires": [\r
1456             [\r
1457                 "32309aad.dc4a36"\r
1458             ]\r
1459         ]\r
1460     },\r
1461     {\r
1462         "id": "3473260a.97afba",\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": 1737.4686832427979,\r
1468         "y": 1176.0000734329224,\r
1469         "z": "3660ec4d.8a3b84",\r
1470         "wires": []\r
1471     },\r
1472     {\r
1473         "id": "e4df70f8.b836a",\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": 1734.4685916900635,\r
1479         "y": 1222.0000581741333,\r
1480         "z": "3660ec4d.8a3b84",\r
1481         "wires": []\r
1482     },\r
1483     {\r
1484         "id": "f3a1ad87.cb17a",\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": 1911.4688129425049,\r
1490         "y": 1352.0003142356873,\r
1491         "z": "3660ec4d.8a3b84",\r
1492         "wires": []\r
1493     },\r
1494     {\r
1495         "id": "eafcae3e.34cbe",\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": 1905.4688129425049,\r
1501         "y": 1396.0003142356873,\r
1502         "z": "3660ec4d.8a3b84",\r
1503         "wires": []\r
1504     },\r
1505     {\r
1506         "id": "38d388af.749418",\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": 1896.4688129425049,\r
1512         "y": 1435.0003142356873,\r
1513         "z": "3660ec4d.8a3b84",\r
1514         "wires": []\r
1515     },\r
1516     {\r
1517         "id": "16fadb68.da33b5",\r
1518         "type": "comment",\r
1519         "name": "Get controller info and send request",\r
1520         "info": "",\r
1521         "comments": "",\r
1522         "x": 1736.5,\r
1523         "y": 1939.5451345443726,\r
1524         "z": "3660ec4d.8a3b84",\r
1525         "wires": []\r
1526     },\r
1527     {\r
1528         "id": "301d4a69.a91c16",\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": 750.2310523986816,\r
1535         "y": 2129.9537076950073,\r
1536         "z": "3660ec4d.8a3b84",\r
1537         "wires": [\r
1538             [\r
1539                 "58a1647f.bc22bc"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "58a1647f.bc22bc",\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.7548732757568,\r
1550         "y": 2156.572714805603,\r
1551         "z": "3660ec4d.8a3b84",\r
1552         "wires": []\r
1553     },\r
1554     {\r
1555         "id": "c19471ac.c730b",\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": 752.3262805938721,\r
1562         "y": 2177.7155504226685,\r
1563         "z": "3660ec4d.8a3b84",\r
1564         "wires": [\r
1565             [\r
1566                 "58a1647f.bc22bc"\r
1567             ]\r
1568         ]\r
1569     },\r
1570     {\r
1571         "id": "708117e5.cf3178",\r
1572         "type": "comment",\r
1573         "name": "Save Resource to AAI",\r
1574         "info": "",\r
1575         "comments": "",\r
1576         "x": 509.77857398986816,\r
1577         "y": 2107.3028707504272,\r
1578         "z": "3660ec4d.8a3b84",\r
1579         "wires": []\r
1580     },\r
1581     {\r
1582         "id": "8cebe888.0f36b8",\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": 539.0463924407959,\r
1588         "y": 2039.8283519744873,\r
1589         "z": "3660ec4d.8a3b84",\r
1590         "wires": []\r
1591     },\r
1592     {\r
1593         "id": "fc04a841.669f18",\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": 499.4595642089844,\r
1599         "y": 2225.444140434265,\r
1600         "z": "3660ec4d.8a3b84",\r
1601         "wires": []\r
1602     },\r
1603     {\r
1604         "id": "9c164258.b89ac",\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.7784748077393,\r
1611         "y": 1964.469204902649,\r
1612         "z": "3660ec4d.8a3b84",\r
1613         "wires": [\r
1614             [\r
1615                 "835eb842.099b48",\r
1616                 "2f2f8f6f.269b1",\r
1617                 "d5209fa7.88bcb"\r
1618             ]\r
1619         ]\r
1620     },\r
1621     {\r
1622         "id": "835eb842.099b48",\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": 846.4198970794678,\r
1629         "y": 2008.8005990982056,\r
1630         "z": "3660ec4d.8a3b84",\r
1631         "wires": [\r
1632             [\r
1633                 "142acad1.a7ff95"\r
1634             ]\r
1635         ]\r
1636     },\r
1637     {\r
1638         "id": "2f2f8f6f.269b1",\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": 848.4199199676514,\r
1645         "y": 1967.3005632385612,\r
1646         "z": "3660ec4d.8a3b84",\r
1647         "wires": [\r
1648             [\r
1649                 "142acad1.a7ff95"\r
1650             ]\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "d5209fa7.88bcb",\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": 852.1700038909912,\r
1661         "y": 1918.6577157974243,\r
1662         "z": "3660ec4d.8a3b84",\r
1663         "wires": [\r
1664             [\r
1665                 "68e4ac49.a93174"\r
1666             ]\r
1667         ]\r
1668     },\r
1669     {\r
1670         "id": "142acad1.a7ff95",\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": 1007.1700229644775,\r
1676         "y": 1987.0506296157837,\r
1677         "z": "3660ec4d.8a3b84",\r
1678         "wires": []\r
1679     },\r
1680     {\r
1681         "id": "68e4ac49.a93174",\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.82594871521,\r
1689         "y": 1920.8498840332031,\r
1690         "z": "3660ec4d.8a3b84",\r
1691         "wires": [\r
1692             []\r
1693         ]\r
1694     },\r
1695     {\r
1696         "id": "c7e83767.1962b8",\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.9920902252197,\r
1702         "y": 1798.8501060009003,\r
1703         "z": "3660ec4d.8a3b84",\r
1704         "wires": []\r
1705     },\r
1706     {\r
1707         "id": "46437a86.852124",\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": 511.27793312072754,\r
1714         "y": 1871.4697036743164,\r
1715         "z": "3660ec4d.8a3b84",\r
1716         "wires": [\r
1717             []\r
1718         ]\r
1719     },\r
1720     {\r
1721         "id": "755ed1f3.fd5e1",\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": 561.2650127410889,\r
1727         "y": 1908.420783996582,\r
1728         "z": "3660ec4d.8a3b84",\r
1729         "wires": []\r
1730     },\r
1731     {\r
1732         "id": "cce9c4ca.7b8858",\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.83363151550293,\r
1738         "y": 1838.0247564315796,\r
1739         "z": "3660ec4d.8a3b84",\r
1740         "wires": []\r
1741     },\r
1742     {\r
1743         "id": "f294fd58.b71aa",\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.666971206665,\r
1749         "y": 1748.0247085094452,\r
1750         "z": "3660ec4d.8a3b84",\r
1751         "wires": []\r
1752     },\r
1753     {\r
1754         "id": "d0dd0868.62b7f8",\r
1755         "type": "comment",\r
1756         "name": "Add to allotted-resources in mdsal",\r
1757         "info": "",\r
1758         "comments": "",\r
1759         "x": 548.2467975616455,\r
1760         "y": 1715.4380102157593,\r
1761         "z": "3660ec4d.8a3b84",\r
1762         "wires": []\r
1763     },\r
1764     {\r
1765         "id": "55e9e37.ce7981c",\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.7229747772217,\r
1772         "y": 2155.7550134658813,\r
1773         "z": "3660ec4d.8a3b84",\r
1774         "wires": [\r
1775             [\r
1776                 "301d4a69.a91c16",\r
1777                 "c19471ac.c730b"\r
1778             ]\r
1779         ]\r
1780     },\r
1781     {\r
1782         "id": "f1aaec6d.a3626",\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": 1359.4729347229004,\r
1789         "y": 1718.2546653747559,\r
1790         "z": "3660ec4d.8a3b84",\r
1791         "wires": [\r
1792             [\r
1793                 "af15ec6e.a82fc",\r
1794                 "6cd7d919.bfcce8"\r
1795             ]\r
1796         ]\r
1797     },\r
1798     {\r
1799         "id": "af15ec6e.a82fc",\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": 1599.4730758666992,\r
1806         "y": 1742.2546348571777,\r
1807         "z": "3660ec4d.8a3b84",\r
1808         "wires": [\r
1809             [\r
1810                 "cc641f45.d8576"\r
1811             ]\r
1812         ]\r
1813     },\r
1814     {\r
1815         "id": "a1670fc8.9985a",\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": 1738.4731101989746,\r
1821         "y": 1691.254726409912,\r
1822         "z": "3660ec4d.8a3b84",\r
1823         "wires": []\r
1824     },\r
1825     {\r
1826         "id": "6cd7d919.bfcce8",\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": 1598.4728622436523,\r
1833         "y": 1691.2547254562378,\r
1834         "z": "3660ec4d.8a3b84",\r
1835         "wires": [\r
1836             [\r
1837                 "a1670fc8.9985a"\r
1838             ]\r
1839         ]\r
1840     },\r
1841     {\r
1842         "id": "691b56c8.1d0978",\r
1843         "type": "comment",\r
1844         "name": "Get VPNs from OOF",\r
1845         "info": "",\r
1846         "comments": "",\r
1847         "x": 1330.976734161377,\r
1848         "y": 1674.2586650848389,\r
1849         "z": "3660ec4d.8a3b84",\r
1850         "wires": []\r
1851     },\r
1852     {\r
1853         "id": "f0f701e7.65ce3",\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": 1299.4727783203125,\r
1860         "y": 1800.5043935775757,\r
1861         "z": "3660ec4d.8a3b84",\r
1862         "wires": [\r
1863             [\r
1864                 "5d2b8bd5.68b4d4"\r
1865             ]\r
1866         ]\r
1867     },\r
1868     {\r
1869         "id": "2d912679.d5bf8a",\r
1870         "type": "comment",\r
1871         "name": "Loop through VPN and configure them",\r
1872         "info": "",\r
1873         "comments": "",\r
1874         "x": 1330.9731063842773,\r
1875         "y": 1924.004771232605,\r
1876         "z": "3660ec4d.8a3b84",\r
1877         "wires": []\r
1878     },\r
1879     {\r
1880         "id": "470eb4bc.6d184c",\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": 2539.2569580078125,\r
1887         "y": 1272.1218252182007,\r
1888         "z": "3660ec4d.8a3b84",\r
1889         "wires": [\r
1890             [\r
1891                 "5a944da.7069fb4"\r
1892             ]\r
1893         ]\r
1894     },\r
1895     {\r
1896         "id": "5a944da.7069fb4",\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": 2728.2569274902344,\r
1903         "y": 1272.1218104362488,\r
1904         "z": "3660ec4d.8a3b84",\r
1905         "wires": [\r
1906             [\r
1907                 "20c4a13a.86cbee"\r
1908             ]\r
1909         ]\r
1910     },\r
1911     {\r
1912         "id": "20c4a13a.86cbee",\r
1913         "type": "set",\r
1914         "name": "set etht-svc-name & bandwidth-profile-name",\r
1915         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].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-eth-tran-service:etht-svc.etht-svc-instances[0].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": 2969.2572441101074,\r
1918         "y": 1271.7218651771545,\r
1919         "z": "3660ec4d.8a3b84",\r
1920         "wires": []\r
1921     },\r
1922     {\r
1923         "id": "c871a6bc.0143b8",\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": 2552.096836090088,\r
1930         "y": 1307.1219201087952,\r
1931         "z": "3660ec4d.8a3b84",\r
1932         "wires": [\r
1933             [\r
1934                 "81ef29bd.59d398"\r
1935             ]\r
1936         ]\r
1937     },\r
1938     {\r
1939         "id": "81ef29bd.59d398",\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": 2727.0969009399414,\r
1946         "y": 1309.1219058036804,\r
1947         "z": "3660ec4d.8a3b84",\r
1948         "wires": [\r
1949             [\r
1950                 "7539507e.b6dca"\r
1951             ]\r
1952         ]\r
1953     },\r
1954     {\r
1955         "id": "7539507e.b6dca",\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": 2883.43021774292,\r
1961         "y": 1306.582980632782,\r
1962         "z": "3660ec4d.8a3b84",\r
1963         "wires": []\r
1964     },\r
1965     {\r
1966         "id": "7b6d81b.a5ab68",\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": 2547.4790992736816,\r
1973         "y": 1340.455310344696,\r
1974         "z": "3660ec4d.8a3b84",\r
1975         "wires": [\r
1976             [\r
1977                 "26460ef1.c345e2"\r
1978             ]\r
1979         ]\r
1980     },\r
1981     {\r
1982         "id": "26460ef1.c345e2",\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": 2725.479103088379,\r
1989         "y": 1344.4551882743835,\r
1990         "z": "3660ec4d.8a3b84",\r
1991         "wires": [\r
1992             [\r
1993                 "631daf90.b15a7"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "631daf90.b15a7",\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": 2863.479290008545,\r
2004         "y": 1341.055163860321,\r
2005         "z": "3660ec4d.8a3b84",\r
2006         "wires": []\r
2007     },\r
2008     {\r
2009         "id": "a76964d2.4b9b68",\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": 2530.3186988830566,\r
2016         "y": 1413.4552655220032,\r
2017         "z": "3660ec4d.8a3b84",\r
2018         "wires": [\r
2019             [\r
2020                 "8dcd1765.bbf1a8"\r
2021             ]\r
2022         ]\r
2023     },\r
2024     {\r
2025         "id": "8dcd1765.bbf1a8",\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": 2725.31876373291,\r
2032         "y": 1414.4552655220032,\r
2033         "z": "3660ec4d.8a3b84",\r
2034         "wires": [\r
2035             [\r
2036                 "baa8e616.d85108"\r
2037             ]\r
2038         ]\r
2039     },\r
2040     {\r
2041         "id": "baa8e616.d85108",\r
2042         "type": "set",\r
2043         "name": "set cir",\r
2044         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].CIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
2045         "comments": "",\r
2046         "x": 2849.6522636413574,\r
2047         "y": 1412.9163403511047,\r
2048         "z": "3660ec4d.8a3b84",\r
2049         "wires": []\r
2050     },\r
2051     {\r
2052         "id": "dec5f89d.21ec28",\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.6269874572754,\r
2059         "y": 1376.2329754829407,\r
2060         "z": "3660ec4d.8a3b84",\r
2061         "wires": [\r
2062             [\r
2063                 "dbef898b.5a04d8"\r
2064             ]\r
2065         ]\r
2066     },\r
2067     {\r
2068         "id": "dbef898b.5a04d8",\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.6271743774414,\r
2075         "y": 1379.2329602241516,\r
2076         "z": "3660ec4d.8a3b84",\r
2077         "wires": [\r
2078             [\r
2079                 "bccd7b78.4d84c8"\r
2080             ]\r
2081         ]\r
2082     },\r
2083     {\r
2084         "id": "bccd7b78.4d84c8",\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.9609375,\r
2090         "y": 1375.6942129135132,\r
2091         "z": "3660ec4d.8a3b84",\r
2092         "wires": []\r
2093     },\r
2094     {\r
2095         "id": "dffaf7ff.147ed8",\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.609043121338,\r
2102         "y": 1447.1531729698181,\r
2103         "z": "3660ec4d.8a3b84",\r
2104         "wires": [\r
2105             [\r
2106                 "1816402d.acc71"\r
2107             ]\r
2108         ]\r
2109     },\r
2110     {\r
2111         "id": "1816402d.acc71",\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.60929107666,\r
2118         "y": 1450.1531119346619,\r
2119         "z": "3660ec4d.8a3b84",\r
2120         "wires": [\r
2121             [\r
2122                 "9a8734c7.d242a8"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "9a8734c7.d242a8",\r
2128         "type": "set",\r
2129         "name": "set eir",\r
2130         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].EIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
2131         "comments": "",\r
2132         "x": 2848.94291305542,\r
2133         "y": 1449.6141715049744,\r
2134         "z": "3660ec4d.8a3b84",\r
2135         "wires": []\r
2136     },\r
2137     {\r
2138         "id": "115d9d26.3e7bf3",\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.6096534729004,\r
2145         "y": 1481.15305185318,\r
2146         "z": "3660ec4d.8a3b84",\r
2147         "wires": [\r
2148             [\r
2149                 "7a3ef206.eac13c"\r
2150             ]\r
2151         ]\r
2152     },\r
2153     {\r
2154         "id": "7a3ef206.eac13c",\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.609474182129,\r
2161         "y": 1487.1529903411865,\r
2162         "z": "3660ec4d.8a3b84",\r
2163         "wires": [\r
2164             [\r
2165                 "b70d496a.5ddb78"\r
2166             ]\r
2167         ]\r
2168     },\r
2169     {\r
2170         "id": "b70d496a.5ddb78",\r
2171         "type": "set",\r
2172         "name": "set colorAware",\r
2173         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].color-aware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
2174         "comments": "",\r
2175         "x": 2869.9427909851074,\r
2176         "y": 1487.6142029762268,\r
2177         "z": "3660ec4d.8a3b84",\r
2178         "wires": []\r
2179     },\r
2180     {\r
2181         "id": "a00f1f4a.4aa95",\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.609592437744,\r
2188         "y": 1517.1531138420105,\r
2189         "z": "3660ec4d.8a3b84",\r
2190         "wires": [\r
2191             [\r
2192                 "d142d3b7.6ab09"\r
2193             ]\r
2194         ]\r
2195     },\r
2196     {\r
2197         "id": "d142d3b7.6ab09",\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.609474182129,\r
2204         "y": 1526.1530833244324,\r
2205         "z": "3660ec4d.8a3b84",\r
2206         "wires": [\r
2207             [\r
2208                 "bd3153ab.0a327"\r
2209             ]\r
2210         ]\r
2211     },\r
2212     {\r
2213         "id": "bd3153ab.0a327",\r
2214         "type": "set",\r
2215         "name": "set couplingFlag",\r
2216         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].coupling-flag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
2217         "comments": "",\r
2218         "x": 2877.9427909851074,\r
2219         "y": 1526.6142039299011,\r
2220         "z": "3660ec4d.8a3b84",\r
2221         "wires": []\r
2222     },\r
2223     {\r
2224         "id": "6c12cf01.2131c",\r
2225         "type": "comment",\r
2226         "name": "Check if other EP exists in SOTNConnectionResource",\r
2227         "info": "",\r
2228         "comments": "",\r
2229         "x": 2669.3125,\r
2230         "y": 1124.7884511947632,\r
2231         "z": "3660ec4d.8a3b84",\r
2232         "wires": []\r
2233     },\r
2234     {\r
2235         "id": "99d96253.bd948",\r
2236         "type": "comment",\r
2237         "name": "Get other global parameters from network",\r
2238         "info": "",\r
2239         "comments": "",\r
2240         "x": 2605.312255859375,\r
2241         "y": 1210.7884511947632,\r
2242         "z": "3660ec4d.8a3b84",\r
2243         "wires": []\r
2244     },\r
2245     {\r
2246         "id": "ead2dbb.da50128",\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": 1568.0347309112549,\r
2253         "y": 1483.2329802513123,\r
2254         "z": "3660ec4d.8a3b84",\r
2255         "wires": [\r
2256             [\r
2257                 "890e21ce.aabcf"\r
2258             ]\r
2259         ]\r
2260     },\r
2261     {\r
2262         "id": "890e21ce.aabcf",\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": 1755.0347309112549,\r
2269         "y": 1479.2329802513123,\r
2270         "z": "3660ec4d.8a3b84",\r
2271         "wires": [\r
2272             [\r
2273                 "efb43d68.4d0dc"\r
2274             ]\r
2275         ]\r
2276     },\r
2277     {\r
2278         "id": "efb43d68.4d0dc",\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": 1923.0347309112549,\r
2284         "y": 1479.8329863548279,\r
2285         "z": "3660ec4d.8a3b84",\r
2286         "wires": []\r
2287     },\r
2288     {\r
2289         "id": "1de89b8b.ae1fe4",\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": 1559.034746170044,\r
2296         "y": 1526.2434287071228,\r
2297         "z": "3660ec4d.8a3b84",\r
2298         "wires": [\r
2299             [\r
2300                 "338021e9.e44afe"\r
2301             ]\r
2302         ]\r
2303     },\r
2304     {\r
2305         "id": "338021e9.e44afe",\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": 1746.034746170044,\r
2312         "y": 1522.2434287071228,\r
2313         "z": "3660ec4d.8a3b84",\r
2314         "wires": [\r
2315             [\r
2316                 "7c6aa850.28a988"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "7c6aa850.28a988",\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": 1914.034746170044,\r
2327         "y": 1522.8434348106384,\r
2328         "z": "3660ec4d.8a3b84",\r
2329         "wires": []\r
2330     },\r
2331     {\r
2332         "id": "28391843.34c238",\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": 1572.0346908569336,\r
2339         "y": 1568.243459701538,\r
2340         "z": "3660ec4d.8a3b84",\r
2341         "wires": [\r
2342             [\r
2343                 "b4d675ca.5b6ad8"\r
2344             ]\r
2345         ]\r
2346     },\r
2347     {\r
2348         "id": "b4d675ca.5b6ad8",\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": 1759.0346908569336,\r
2355         "y": 1564.243459701538,\r
2356         "z": "3660ec4d.8a3b84",\r
2357         "wires": [\r
2358             [\r
2359                 "fc323cd8.740fd"\r
2360             ]\r
2361         ]\r
2362     },\r
2363     {\r
2364         "id": "fc323cd8.740fd",\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": 1927.0346908569336,\r
2370         "y": 1564.8434658050537,\r
2371         "z": "3660ec4d.8a3b84",\r
2372         "wires": []\r
2373     },\r
2374     {\r
2375         "id": "5d2b8bd5.68b4d4",\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": 1392,\r
2382         "y": 2219.5451345443726,\r
2383         "z": "3660ec4d.8a3b84",\r
2384         "wires": [\r
2385             [\r
2386                 "558b1788.84f928",\r
2387                 "e3c138d5.699fb8",\r
2388                 "f9bc1226.8fbd4",\r
2389                 "da01646a.3c6258",\r
2390                 "44291211.776dfc",\r
2391                 "3d211e6e.0978a2",\r
2392                 "ad5fec05.7fe24",\r
2393                 "b291bc09.341f8",\r
2394                 "ff79c756.7c8268",\r
2395                 "968f06ac.a3c588",\r
2396                 "f677be49.bd949",\r
2397                 "51f13ce4.5572f4",\r
2398                 "8409f905.b1b958"\r
2399             ]\r
2400         ]\r
2401     },\r
2402     {\r
2403         "id": "11f32b12.47cdd5",\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.5,\r
2409         "y": 1939.5451345443726,\r
2410         "z": "3660ec4d.8a3b84",\r
2411         "wires": []\r
2412     },\r
2413     {\r
2414         "id": "b291bc09.341f8",\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.5,\r
2421         "y": 1979.5451345443726,\r
2422         "z": "3660ec4d.8a3b84",\r
2423         "wires": [\r
2424             [\r
2425                 "80d78dba.97bcb",\r
2426                 "4ce354f7.2d687c",\r
2427                 "c3caaad8.698c48"\r
2428             ]\r
2429         ]\r
2430     },\r
2431     {\r
2432         "id": "80d78dba.97bcb",\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.5,\r
2439         "y": 1939.5451345443726,\r
2440         "z": "3660ec4d.8a3b84",\r
2441         "wires": [\r
2442             [\r
2443                 "11f32b12.47cdd5"\r
2444             ]\r
2445         ]\r
2446     },\r
2447     {\r
2448         "id": "4ce354f7.2d687c",\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.5,\r
2455         "y": 1979.5451345443726,\r
2456         "z": "3660ec4d.8a3b84",\r
2457         "wires": [\r
2458             [\r
2459                 "4c6d9850.53db08"\r
2460             ]\r
2461         ]\r
2462     },\r
2463     {\r
2464         "id": "c3caaad8.698c48",\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.5,\r
2471         "y": 2019.5451345443726,\r
2472         "z": "3660ec4d.8a3b84",\r
2473         "wires": [\r
2474             [\r
2475                 "f9f72f2b.1b4fc"\r
2476             ]\r
2477         ]\r
2478     },\r
2479     {\r
2480         "id": "4c6d9850.53db08",\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.5,\r
2486         "y": 1979.5451345443726,\r
2487         "z": "3660ec4d.8a3b84",\r
2488         "wires": []\r
2489     },\r
2490     {\r
2491         "id": "f9f72f2b.1b4fc",\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.5,\r
2497         "y": 2019.5451345443726,\r
2498         "z": "3660ec4d.8a3b84",\r
2499         "wires": []\r
2500     },\r
2501     {\r
2502         "id": "ad5fec05.7fe24",\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": 1680,\r
2509         "y": 1859.5451345443726,\r
2510         "z": "3660ec4d.8a3b84",\r
2511         "wires": [\r
2512             [\r
2513                 "1d72a12f.fe6a2f",\r
2514                 "193e4330.27658d",\r
2515                 "f33105ee.d40068"\r
2516             ]\r
2517         ]\r
2518     },\r
2519     {\r
2520         "id": "1d72a12f.fe6a2f",\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.5,\r
2527         "y": 1819.5451345443726,\r
2528         "z": "3660ec4d.8a3b84",\r
2529         "wires": [\r
2530             [\r
2531                 "5a57731d.d86b9c"\r
2532             ]\r
2533         ]\r
2534     },\r
2535     {\r
2536         "id": "193e4330.27658d",\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.5,\r
2543         "y": 1859.5451345443726,\r
2544         "z": "3660ec4d.8a3b84",\r
2545         "wires": [\r
2546             [\r
2547                 "9cd7dd7e.3b197"\r
2548             ]\r
2549         ]\r
2550     },\r
2551     {\r
2552         "id": "f33105ee.d40068",\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.5,\r
2559         "y": 1899.5451345443726,\r
2560         "z": "3660ec4d.8a3b84",\r
2561         "wires": [\r
2562             [\r
2563                 "64060034.5c7ab"\r
2564             ]\r
2565         ]\r
2566     },\r
2567     {\r
2568         "id": "9cd7dd7e.3b197",\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.5,\r
2574         "y": 1859.5451345443726,\r
2575         "z": "3660ec4d.8a3b84",\r
2576         "wires": []\r
2577     },\r
2578     {\r
2579         "id": "64060034.5c7ab",\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.5,\r
2585         "y": 1899.5451345443726,\r
2586         "z": "3660ec4d.8a3b84",\r
2587         "wires": []\r
2588     },\r
2589     {\r
2590         "id": "5a57731d.d86b9c",\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": 2168,\r
2596         "y": 1819.5451345443726,\r
2597         "z": "3660ec4d.8a3b84",\r
2598         "wires": []\r
2599     },\r
2600     {\r
2601         "id": "a8e87a1c.5dd4d8",\r
2602         "type": "comment",\r
2603         "name": "get domain controller information",\r
2604         "info": "",\r
2605         "comments": "",\r
2606         "x": 1727,\r
2607         "y": 1819.5451345443726,\r
2608         "z": "3660ec4d.8a3b84",\r
2609         "wires": []\r
2610     },\r
2611     {\r
2612         "id": "ff79c756.7c8268",\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.5,\r
2618         "y": 1779.5451345443726,\r
2619         "z": "3660ec4d.8a3b84",\r
2620         "wires": []\r
2621     },\r
2622     {\r
2623         "id": "e3c138d5.699fb8",\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": 1710,\r
2630         "y": 2339.5451345443726,\r
2631         "z": "3660ec4d.8a3b84",\r
2632         "wires": [\r
2633             []\r
2634         ]\r
2635     },\r
2636     {\r
2637         "id": "f9bc1226.8fbd4",\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-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name`\" />",\r
2641         "comments": "",\r
2642         "x": 1684,\r
2643         "y": 2299.5451345443726,\r
2644         "z": "3660ec4d.8a3b84",\r
2645         "wires": []\r
2646     },\r
2647     {\r
2648         "id": "da01646a.3c6258",\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.5,\r
2655         "y": 2379.5451345443726,\r
2656         "z": "3660ec4d.8a3b84",\r
2657         "wires": [\r
2658             []\r
2659         ]\r
2660     },\r
2661     {\r
2662         "id": "558b1788.84f928",\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": 1692,\r
2668         "y": 2419.5451345443726,\r
2669         "z": "3660ec4d.8a3b84",\r
2670         "wires": []\r
2671     },\r
2672     {\r
2673         "id": "44291211.776dfc",\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.5,\r
2680         "y": 2459.5451345443726,\r
2681         "z": "3660ec4d.8a3b84",\r
2682         "wires": [\r
2683             []\r
2684         ]\r
2685     },\r
2686     {\r
2687         "id": "3d211e6e.0978a2",\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.5,\r
2694         "y": 2499.5451345443726,\r
2695         "z": "3660ec4d.8a3b84",\r
2696         "wires": [\r
2697             []\r
2698         ]\r
2699     },\r
2700     {\r
2701         "id": "b2d7beb8.50e79",\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.5038146972656,\r
2708         "y": 621.0039110183716,\r
2709         "z": "3660ec4d.8a3b84",\r
2710         "wires": [\r
2711             [\r
2712                 "cc101fab.4516e",\r
2713                 "687f563.00b84a8"\r
2714             ]\r
2715         ]\r
2716     },\r
2717     {\r
2718         "id": "c2e744b7.2f7498",\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.5039672851562,\r
2725         "y": 848.0040740966797,\r
2726         "z": "3660ec4d.8a3b84",\r
2727         "wires": [\r
2728             [\r
2729                 "1d25b8f7.cfcd87",\r
2730                 "2f1fd4bf.dca39c"\r
2731             ]\r
2732         ]\r
2733     },\r
2734     {\r
2735         "id": "c7b09f9c.c261d",\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.5038757324219,\r
2742         "y": 811.0039072036743,\r
2743         "z": "3660ec4d.8a3b84",\r
2744         "wires": [\r
2745             []\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "251f1840.c6f158",\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.500228881836,\r
2756         "y": 967.3334684371948,\r
2757         "z": "3660ec4d.8a3b84",\r
2758         "wires": [\r
2759             []\r
2760         ]\r
2761     },\r
2762     {\r
2763         "id": "549841eb.86ecc",\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.5008697509766,\r
2770         "y": 1009.8333330154419,\r
2771         "z": "3660ec4d.8a3b84",\r
2772         "wires": [\r
2773             [\r
2774                 "dc9bc603.157798",\r
2775                 "75f7d9fa.a34b78"\r
2776             ]\r
2777         ]\r
2778     },\r
2779     {\r
2780         "id": "cc641f45.d8576",\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.5001487731934,\r
2788         "y": 1733.0001182556152,\r
2789         "z": "3660ec4d.8a3b84",\r
2790         "wires": [\r
2791             []\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "42d59123.90775",\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": 1097.4687614440918,\r
2802         "y": 1758.0003023147583,\r
2803         "z": "3660ec4d.8a3b84",\r
2804         "wires": [\r
2805             [\r
2806                 "f1aaec6d.a3626",\r
2807                 "f0f701e7.65ce3"\r
2808             ]\r
2809         ]\r
2810     },\r
2811     {\r
2812         "id": "de760411.78f278",\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.531219482422,\r
2819         "y": 573.0312967300415,\r
2820         "z": "3660ec4d.8a3b84",\r
2821         "wires": [\r
2822             [\r
2823                 "ae12c3e3.17f33"\r
2824             ]\r
2825         ]\r
2826     },\r
2827     {\r
2828         "id": "ae12c3e3.17f33",\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.5312309265137,\r
2836         "y": 569.0312967300415,\r
2837         "z": "3660ec4d.8a3b84",\r
2838         "wires": [\r
2839             []\r
2840         ]\r
2841     },\r
2842     {\r
2843         "id": "f677be49.bd949",\r
2844         "type": "set",\r
2845         "name": "set attachment_param",\r
2846         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n",\r
2847         "comments": "",\r
2848         "x": 1698.5,\r
2849         "y": 2179.5451345443726,\r
2850         "z": "3660ec4d.8a3b84",\r
2851         "wires": []\r
2852     },\r
2853     {\r
2854         "id": "968f06ac.a3c588",\r
2855         "type": "set",\r
2856         "name": "set sotn_value",\r
2857         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",\r
2858         "comments": "",\r
2859         "x": 1674,\r
2860         "y": 2139.5451345443726,\r
2861         "z": "3660ec4d.8a3b84",\r
2862         "wires": []\r
2863     },\r
2864     {\r
2865         "id": "51f13ce4.5572f4",\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": 1741,\r
2872         "y": 2079.5451345443726,\r
2873         "z": "3660ec4d.8a3b84",\r
2874         "wires": [\r
2875             [\r
2876                 "4c647719.273c38",\r
2877                 "8bcc471b.d27148"\r
2878             ]\r
2879         ]\r
2880     },\r
2881     {\r
2882         "id": "4c647719.273c38",\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.5,\r
2889         "y": 2059.5451345443726,\r
2890         "z": "3660ec4d.8a3b84",\r
2891         "wires": [\r
2892             [\r
2893                 "3ea7de86.e655e2"\r
2894             ]\r
2895         ]\r
2896     },\r
2897     {\r
2898         "id": "8bcc471b.d27148",\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.5,\r
2905         "y": 2099.5451345443726,\r
2906         "z": "3660ec4d.8a3b84",\r
2907         "wires": [\r
2908             [\r
2909                 "6576cfae.4e38"\r
2910             ]\r
2911         ]\r
2912     },\r
2913     {\r
2914         "id": "6576cfae.4e38",\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.5,\r
2920         "y": 2099.5451345443726,\r
2921         "z": "3660ec4d.8a3b84",\r
2922         "wires": []\r
2923     },\r
2924     {\r
2925         "id": "3ea7de86.e655e2",\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": 2125,\r
2931         "y": 2059.5451345443726,\r
2932         "z": "3660ec4d.8a3b84",\r
2933         "wires": []\r
2934     },\r
2935     {\r
2936         "id": "2e5fde4b.379992",\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": 2251,\r
2943         "y": 2239.5451345443726,\r
2944         "z": "3660ec4d.8a3b84",\r
2945         "wires": [\r
2946             [\r
2947                 "2999e04e.bf614",\r
2948                 "ac50d499.0a7ac8"\r
2949             ]\r
2950         ]\r
2951     },\r
2952     {\r
2953         "id": "2999e04e.bf614",\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.5,\r
2960         "y": 2239.5451345443726,\r
2961         "z": "3660ec4d.8a3b84",\r
2962         "wires": [\r
2963             [\r
2964                 "c3a8f950.46bbb8"\r
2965             ]\r
2966         ]\r
2967     },\r
2968     {\r
2969         "id": "c3a8f950.46bbb8",\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": 2752,\r
2977         "y": 2239.5451345443726,\r
2978         "z": "3660ec4d.8a3b84",\r
2979         "wires": [\r
2980             []\r
2981         ]\r
2982     },\r
2983     {\r
2984         "id": "a85733e7.5f14",\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.5,\r
2990         "y": 2199.5451345443726,\r
2991         "z": "3660ec4d.8a3b84",\r
2992         "wires": []\r
2993     },\r
2994     {\r
2995         "id": "ac50d499.0a7ac8",\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.5,\r
3002         "y": 2199.5451345443726,\r
3003         "z": "3660ec4d.8a3b84",\r
3004         "wires": [\r
3005             [\r
3006                 "a85733e7.5f14"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "8409f905.b1b958",\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": 1734,\r
3018         "y": 2219.5451345443726,\r
3019         "z": "3660ec4d.8a3b84",\r
3020         "wires": [\r
3021             [\r
3022                 "92b81083.05be9",\r
3023                 "5a6898a5.b1b498"\r
3024             ]\r
3025         ]\r
3026     },\r
3027     {\r
3028         "id": "92b81083.05be9",\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.8438301086426,\r
3035         "y": 2199.6670331954956,\r
3036         "z": "3660ec4d.8a3b84",\r
3037         "wires": [\r
3038             [\r
3039                 "a62b7bca.977d88"\r
3040             ]\r
3041         ]\r
3042     },\r
3043     {\r
3044         "id": "5a6898a5.b1b498",\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.5,\r
3051         "y": 2239.5451345443726,\r
3052         "z": "3660ec4d.8a3b84",\r
3053         "wires": [\r
3054             [\r
3055                 "2e5fde4b.379992"\r
3056             ]\r
3057         ]\r
3058     },\r
3059     {\r
3060         "id": "a62b7bca.977d88",\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": 2261,\r
3067         "y": 2199.5451345443726,\r
3068         "z": "3660ec4d.8a3b84",\r
3069         "wires": [\r
3070             [\r
3071                 "ac50d499.0a7ac8",\r
3072                 "2999e04e.bf614"\r
3073             ]\r
3074         ]\r
3075     },\r
3076     {\r
3077         "id": "61db4e39.8fc44",\r
3078         "type": "comment",\r
3079         "name": "save vpn and its relation to AAI",\r
3080         "info": "",\r
3081         "comments": "",\r
3082         "x": 1722,\r
3083         "y": 2259.5451345443726,\r
3084         "z": "3660ec4d.8a3b84",\r
3085         "wires": []\r
3086     }\r
3087 ]