0d4161a1a7bfdf1bd588c3341726b44969754558
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
1 [\r
2     {\r
3         "id": "874ff500.a76198",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 129,\r
8         "y": 77,\r
9         "z": "a1c94a24.22ed9",\r
10         "wires": [\r
11             [\r
12                 "d5019c0d.28df28"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "d5019c0d.28df28",\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": 354.2856903076172,\r
26         "y": 151.23810863494873,\r
27         "z": "a1c94a24.22ed9",\r
28         "wires": [\r
29             [\r
30                 "cf3663ab.d505b8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "cf3663ab.d505b8",\r
36         "type": "method",\r
37         "name": "method tsli-vnf-topology-operation-trans-slice-modify",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 360.42860412597656,\r
42         "y": 236.00003051757812,\r
43         "z": "a1c94a24.22ed9",\r
44         "wires": [\r
45             [\r
46                 "13ea815e.0d1c3f"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "13ea815e.0d1c3f",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 730.238037109375,\r
58         "y": 260.66668701171875,\r
59         "z": "a1c94a24.22ed9",\r
60         "wires": [\r
61             [\r
62                 "5ce9625d.05d25c",\r
63                 "98411814.65c58",\r
64                 "48043489.9f26f4"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "5ce9625d.05d25c",\r
70         "type": "returnSuccess",\r
71         "name": "return success",\r
72         "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
73         "comments": "",\r
74         "x": 985.571533203125,\r
75         "y": 414.59698486328125,\r
76         "z": "a1c94a24.22ed9",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "98411814.65c58",\r
81         "type": "save",\r
82         "name": "get service-instance from aai",\r
83         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
84         "comments": "",\r
85         "outputs": 1,\r
86         "x": 1053,\r
87         "y": 234,\r
88         "z": "a1c94a24.22ed9",\r
89         "wires": [\r
90             [\r
91                 "899f7de0.012718",\r
92                 "bf5ca541.5b386",\r
93                 "44585e79.6d35d"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "899f7de0.012718",\r
99         "type": "success",\r
100         "name": "success",\r
101         "xml": "<outcome value='success'>\n",\r
102         "comments": "",\r
103         "outputs": 1,\r
104         "x": 1278,\r
105         "y": 92,\r
106         "z": "a1c94a24.22ed9",\r
107         "wires": [\r
108             [\r
109                 "63a35dfa.733074"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "bf5ca541.5b386",\r
115         "type": "not-found",\r
116         "name": "not-found",\r
117         "xml": "<outcome value='not-found'>\n",\r
118         "comments": "",\r
119         "outputs": 1,\r
120         "x": 1273.490966796875,\r
121         "y": 161.57403564453125,\r
122         "z": "a1c94a24.22ed9",\r
123         "wires": [\r
124             [\r
125                 "5ca7f827.5517"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "44585e79.6d35d",\r
131         "type": "failure",\r
132         "name": "failure",\r
133         "xml": "<outcome value='failure'>\n",\r
134         "comments": "",\r
135         "outputs": 1,\r
136         "x": 1262,\r
137         "y": 208,\r
138         "z": "a1c94a24.22ed9",\r
139         "wires": [\r
140             [\r
141                 "f51f087e.0d87d8"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "63a35dfa.733074",\r
147         "type": "switchNode",\r
148         "name": "switch allotted-resources_length != 0",\r
149         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 1517,\r
153         "y": 89,\r
154         "z": "a1c94a24.22ed9",\r
155         "wires": [\r
156             [\r
157                 "8b5f7eec.f199b",\r
158                 "d7dba561.3c951"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "5ca7f827.5517",\r
164         "type": "returnFailure",\r
165         "name": "return failure",\r
166         "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.l3vpn.pe1_id`\" />\n\n",\r
167         "comments": "",\r
168         "x": 1427.0623779296875,\r
169         "y": 164.85977172851562,\r
170         "z": "a1c94a24.22ed9",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "f51f087e.0d87d8",\r
175         "type": "returnFailure",\r
176         "name": "return failure",\r
177         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
178         "comments": "",\r
179         "x": 1431,\r
180         "y": 209,\r
181         "z": "a1c94a24.22ed9",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "8b5f7eec.f199b",\r
186         "type": "outcomeTrue",\r
187         "name": "true",\r
188         "xml": "<outcome value='true'>\n",\r
189         "comments": "",\r
190         "outputs": 1,\r
191         "x": 1730,\r
192         "y": 113,\r
193         "z": "a1c94a24.22ed9",\r
194         "wires": [\r
195             [\r
196                 "8ecf6cbb.a31c18"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "d7dba561.3c951",\r
202         "type": "outcomeFalse",\r
203         "name": "false",\r
204         "xml": "<outcome value='false'>\n",\r
205         "comments": "",\r
206         "outputs": 1,\r
207         "x": 1732,\r
208         "y": 53,\r
209         "z": "a1c94a24.22ed9",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "b7af42d7.d75c5",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1032,\r
221         "y": 122,\r
222         "z": "a1c94a24.22ed9",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "8ecf6cbb.a31c18",\r
227         "type": "block",\r
228         "name": "block",\r
229         "xml": "<block>\n",\r
230         "atomic": "false",\r
231         "comments": "",\r
232         "outputs": 1,\r
233         "x": 1675,\r
234         "y": 295,\r
235         "z": "a1c94a24.22ed9",\r
236         "wires": [\r
237             [\r
238                 "8f80cd4e.6bb588",\r
239                 "1ad0a363.7d61cd",\r
240                 "2ea54daa.f8c89a",\r
241                 "19fc5975.9c891f",\r
242                 "30222136.8f9b9e",\r
243                 "d51e1ac2.752b08"\r
244             ]\r
245         ]\r
246     },\r
247     {\r
248         "id": "4de4347b.ee4a6c",\r
249         "type": "set",\r
250         "name": "set network-route-A",\r
251         "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
252         "comments": "",\r
253         "x": 4244,\r
254         "y": 802,\r
255         "z": "a1c94a24.22ed9",\r
256         "wires": []\r
257     },\r
258     {\r
259         "id": "195d5c42.a96a64",\r
260         "type": "set",\r
261         "name": "set network-route-B",\r
262         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
263         "comments": "",\r
264         "x": 4245,\r
265         "y": 857,\r
266         "z": "a1c94a24.22ed9",\r
267         "wires": []\r
268     },\r
269     {\r
270         "id": "8f1217ff.70176",\r
271         "type": "save",\r
272         "name": "get allotted-resource from aai",\r
273         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 2201,\r
277         "y": 252,\r
278         "z": "a1c94a24.22ed9",\r
279         "wires": [\r
280             [\r
281                 "56c46d50.0cfc0c",\r
282                 "c740637e.1508b",\r
283                 "d63f588b.18e9"\r
284             ]\r
285         ]\r
286     },\r
287     {\r
288         "id": "56c46d50.0cfc0c",\r
289         "type": "success",\r
290         "name": "success",\r
291         "xml": "<outcome value='success'>\n",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 2417,\r
295         "y": 319,\r
296         "z": "a1c94a24.22ed9",\r
297         "wires": [\r
298             [\r
299                 "576d8604.8f2d9"\r
300             ]\r
301         ]\r
302     },\r
303     {\r
304         "id": "c740637e.1508b",\r
305         "type": "not-found",\r
306         "name": "not-found",\r
307         "xml": "<outcome value='not-found'>\n",\r
308         "comments": "",\r
309         "outputs": 1,\r
310         "x": 2417.490966796875,\r
311         "y": 218.573974609375,\r
312         "z": "a1c94a24.22ed9",\r
313         "wires": [\r
314             [\r
315                 "4e6f8b98.289464"\r
316             ]\r
317         ]\r
318     },\r
319     {\r
320         "id": "d63f588b.18e9",\r
321         "type": "failure",\r
322         "name": "failure",\r
323         "xml": "<outcome value='failure'>\n",\r
324         "comments": "",\r
325         "outputs": 1,\r
326         "x": 2413,\r
327         "y": 268,\r
328         "z": "a1c94a24.22ed9",\r
329         "wires": [\r
330             [\r
331                 "cf03fd08.161968"\r
332             ]\r
333         ]\r
334     },\r
335     {\r
336         "id": "4e6f8b98.289464",\r
337         "type": "returnFailure",\r
338         "name": "return failure",\r
339         "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.l3vpn.pe1_id`\" />\n\n",\r
340         "comments": "",\r
341         "x": 2595.0625,\r
342         "y": 218.8597412109375,\r
343         "z": "a1c94a24.22ed9",\r
344         "wires": []\r
345     },\r
346     {\r
347         "id": "cf03fd08.161968",\r
348         "type": "returnFailure",\r
349         "name": "return failure",\r
350         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
351         "comments": "",\r
352         "x": 2595,\r
353         "y": 268,\r
354         "z": "a1c94a24.22ed9",\r
355         "wires": []\r
356     },\r
357     {\r
358         "id": "520d2541.742f3c",\r
359         "type": "save",\r
360         "name": "get logical-link from aai",\r
361         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
362         "comments": "",\r
363         "outputs": 1,\r
364         "x": 3470,\r
365         "y": 773,\r
366         "z": "a1c94a24.22ed9",\r
367         "wires": [\r
368             [\r
369                 "862d85b.a4a94f8",\r
370                 "1732a1e5.237d0e",\r
371                 "20df7142.af18a6"\r
372             ]\r
373         ]\r
374     },\r
375     {\r
376         "id": "862d85b.a4a94f8",\r
377         "type": "not-found",\r
378         "name": "not-found",\r
379         "xml": "<outcome value='not-found'>\n",\r
380         "comments": "",\r
381         "outputs": 1,\r
382         "x": 3761.490966796875,\r
383         "y": 751.573974609375,\r
384         "z": "a1c94a24.22ed9",\r
385         "wires": [\r
386             [\r
387                 "b900c0cd.a71608"\r
388             ]\r
389         ]\r
390     },\r
391     {\r
392         "id": "1732a1e5.237d0e",\r
393         "type": "failure",\r
394         "name": "failure",\r
395         "xml": "<outcome value='failure'>\n",\r
396         "comments": "",\r
397         "outputs": 1,\r
398         "x": 3750,\r
399         "y": 796,\r
400         "z": "a1c94a24.22ed9",\r
401         "wires": [\r
402             [\r
403                 "b39978ef.c4e1"\r
404             ]\r
405         ]\r
406     },\r
407     {\r
408         "id": "b900c0cd.a71608",\r
409         "type": "returnFailure",\r
410         "name": "return failure",\r
411         "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.l3vpn.pe1_id`\" />\n\n",\r
412         "comments": "",\r
413         "x": 3910.0625,\r
414         "y": 751.8597412109375,\r
415         "z": "a1c94a24.22ed9",\r
416         "wires": []\r
417     },\r
418     {\r
419         "id": "b39978ef.c4e1",\r
420         "type": "returnFailure",\r
421         "name": "return failure",\r
422         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
423         "comments": "",\r
424         "x": 3909,\r
425         "y": 796,\r
426         "z": "a1c94a24.22ed9",\r
427         "wires": []\r
428     },\r
429     {\r
430         "id": "20df7142.af18a6",\r
431         "type": "success",\r
432         "name": "success",\r
433         "xml": "<outcome value='success'>\n",\r
434         "comments": "",\r
435         "outputs": 1,\r
436         "x": 3756,\r
437         "y": 843,\r
438         "z": "a1c94a24.22ed9",\r
439         "wires": [\r
440             []\r
441         ]\r
442     },\r
443     {\r
444         "id": "b394b52b.88d4f8",\r
445         "type": "block",\r
446         "name": "block",\r
447         "xml": "<block>\n",\r
448         "atomic": "false",\r
449         "comments": "",\r
450         "outputs": 1,\r
451         "x": 3910,\r
452         "y": 882,\r
453         "z": "a1c94a24.22ed9",\r
454         "wires": [\r
455             [\r
456                 "4de4347b.ee4a6c",\r
457                 "195d5c42.a96a64",\r
458                 "f201f9ee.69f46",\r
459                 "922f6ba7.94fc9",\r
460                 "5c94cc42.b4c6e4",\r
461                 "898ec19e.6e281",\r
462                 "f986e215.6b3c08",\r
463                 "4e189d8f.8297c4",\r
464                 "c6ccb3e9.91ea18",\r
465                 "6963f6fb.4a135",\r
466                 "40ae5836.eda238",\r
467                 "31cde3.5ded021e"\r
468             ]\r
469         ]\r
470     },\r
471     {\r
472         "id": "f201f9ee.69f46",\r
473         "type": "save",\r
474         "name": "get network-route-A from aai",\r
475         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
476         "comments": "",\r
477         "outputs": 1,\r
478         "x": 4257,\r
479         "y": 925,\r
480         "z": "a1c94a24.22ed9",\r
481         "wires": [\r
482             [\r
483                 "84f44b11.dfd248",\r
484                 "cde6943a.45f4c",\r
485                 "c0c26e2b.b056f"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "922f6ba7.94fc9",\r
491         "type": "save",\r
492         "name": "get network-route-B from aai",\r
493         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
494         "comments": "",\r
495         "outputs": 1,\r
496         "x": 4236,\r
497         "y": 1526.9998779296875,\r
498         "z": "a1c94a24.22ed9",\r
499         "wires": [\r
500             [\r
501                 "13feb8ce.6f8f6f",\r
502                 "6f75f930.e4c9a8",\r
503                 "f4b40172.6e734"\r
504             ]\r
505         ]\r
506     },\r
507     {\r
508         "id": "84f44b11.dfd248",\r
509         "type": "not-found",\r
510         "name": "not-found",\r
511         "xml": "<outcome value='not-found'>\n",\r
512         "comments": "",\r
513         "outputs": 1,\r
514         "x": 4458,\r
515         "y": 809,\r
516         "z": "a1c94a24.22ed9",\r
517         "wires": [\r
518             [\r
519                 "d5ccfec3.15cf68"\r
520             ]\r
521         ]\r
522     },\r
523     {\r
524         "id": "cde6943a.45f4c",\r
525         "type": "failure",\r
526         "name": "failure",\r
527         "xml": "<outcome value='failure'>\n",\r
528         "comments": "",\r
529         "outputs": 1,\r
530         "x": 4453.509033203125,\r
531         "y": 858.426025390625,\r
532         "z": "a1c94a24.22ed9",\r
533         "wires": [\r
534             [\r
535                 "83e64e5.e0d02b"\r
536             ]\r
537         ]\r
538     },\r
539     {\r
540         "id": "c0c26e2b.b056f",\r
541         "type": "success",\r
542         "name": "success",\r
543         "xml": "<outcome value='success'>\n",\r
544         "comments": "",\r
545         "outputs": 1,\r
546         "x": 4457.509033203125,\r
547         "y": 909.426025390625,\r
548         "z": "a1c94a24.22ed9",\r
549         "wires": [\r
550             [\r
551                 "fb264c22.bb1ad8"\r
552             ]\r
553         ]\r
554     },\r
555     {\r
556         "id": "d5ccfec3.15cf68",\r
557         "type": "returnFailure",\r
558         "name": "return failure",\r
559         "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.l3vpn.pe1_id`\" />\n\n",\r
560         "comments": "",\r
561         "x": 4606.571533203125,\r
562         "y": 808.2857666015625,\r
563         "z": "a1c94a24.22ed9",\r
564         "wires": []\r
565     },\r
566     {\r
567         "id": "83e64e5.e0d02b",\r
568         "type": "returnFailure",\r
569         "name": "return failure",\r
570         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
571         "comments": "",\r
572         "x": 4596.509033203125,\r
573         "y": 858.426025390625,\r
574         "z": "a1c94a24.22ed9",\r
575         "wires": []\r
576     },\r
577     {\r
578         "id": "13feb8ce.6f8f6f",\r
579         "type": "not-found",\r
580         "name": "not-found",\r
581         "xml": "<outcome value='not-found'>\n",\r
582         "comments": "",\r
583         "outputs": 1,\r
584         "x": 4459,\r
585         "y": 1496.9998779296875,\r
586         "z": "a1c94a24.22ed9",\r
587         "wires": [\r
588             [\r
589                 "ff077827.d85f38"\r
590             ]\r
591         ]\r
592     },\r
593     {\r
594         "id": "6f75f930.e4c9a8",\r
595         "type": "failure",\r
596         "name": "failure",\r
597         "xml": "<outcome value='failure'>\n",\r
598         "comments": "",\r
599         "outputs": 1,\r
600         "x": 4454.509033203125,\r
601         "y": 1546.4259033203125,\r
602         "z": "a1c94a24.22ed9",\r
603         "wires": [\r
604             [\r
605                 "509006fc.9b56c"\r
606             ]\r
607         ]\r
608     },\r
609     {\r
610         "id": "f4b40172.6e734",\r
611         "type": "success",\r
612         "name": "success",\r
613         "xml": "<outcome value='success'>\n",\r
614         "comments": "",\r
615         "outputs": 1,\r
616         "x": 4458.509033203125,\r
617         "y": 1597.4259033203125,\r
618         "z": "a1c94a24.22ed9",\r
619         "wires": [\r
620             [\r
621                 "43958ec8.7b7b1"\r
622             ]\r
623         ]\r
624     },\r
625     {\r
626         "id": "ff077827.d85f38",\r
627         "type": "returnFailure",\r
628         "name": "return failure",\r
629         "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.l3vpn.pe1_id`\" />\n\n",\r
630         "comments": "",\r
631         "x": 4607.571533203125,\r
632         "y": 1496.28564453125,\r
633         "z": "a1c94a24.22ed9",\r
634         "wires": []\r
635     },\r
636     {\r
637         "id": "509006fc.9b56c",\r
638         "type": "returnFailure",\r
639         "name": "return failure",\r
640         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
641         "comments": "",\r
642         "x": 4597.509033203125,\r
643         "y": 1546.4259033203125,\r
644         "z": "a1c94a24.22ed9",\r
645         "wires": []\r
646     },\r
647     {\r
648         "id": "5e4b48a2.ecf978",\r
649         "type": "block",\r
650         "name": "block : atomic",\r
651         "xml": "<block atomic=\"true\">",\r
652         "atomic": "true",\r
653         "outputs": 1,\r
654         "x": 5271.66650390625,\r
655         "y": 953,\r
656         "z": "a1c94a24.22ed9",\r
657         "wires": [\r
658             [\r
659                 "3d7f3635.a666da",\r
660                 "5948d066.6a7168",\r
661                 "92d55b48.2c361",\r
662                 "60b689f0.bdfe6",\r
663                 "363286ce.e60c2a"\r
664             ]\r
665         ]\r
666     },\r
667     {\r
668         "id": "8fdbb83e.80931",\r
669         "type": "success",\r
670         "name": "success",\r
671         "xml": "<outcome value='success'>\n",\r
672         "comments": "",\r
673         "outputs": 1,\r
674         "x": 5099,\r
675         "y": 954,\r
676         "z": "a1c94a24.22ed9",\r
677         "wires": [\r
678             [\r
679                 "5e4b48a2.ecf978"\r
680             ]\r
681         ]\r
682     },\r
683     {\r
684         "id": "c2d11145.5c5cb",\r
685         "type": "not-found",\r
686         "name": "not-found",\r
687         "xml": "<outcome value='not-found'>\n",\r
688         "comments": "",\r
689         "outputs": 1,\r
690         "x": 5108.490966796875,\r
691         "y": 996.5740356445312,\r
692         "z": "a1c94a24.22ed9",\r
693         "wires": [\r
694             [\r
695                 "f49eb8b9.2e621"\r
696             ]\r
697         ]\r
698     },\r
699     {\r
700         "id": "15000269.771dce",\r
701         "type": "failure",\r
702         "name": "failure",\r
703         "xml": "<outcome value='failure'>\n",\r
704         "comments": "",\r
705         "outputs": 1,\r
706         "x": 5097,\r
707         "y": 1043,\r
708         "z": "a1c94a24.22ed9",\r
709         "wires": [\r
710             [\r
711                 "941ca63b.315eb8"\r
712             ]\r
713         ]\r
714     },\r
715     {\r
716         "id": "f49eb8b9.2e621",\r
717         "type": "returnFailure",\r
718         "name": "return failure",\r
719         "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.l3vpn.pe1_id`\" />\n\n",\r
720         "comments": "",\r
721         "x": 5262.0623779296875,\r
722         "y": 999.8597717285156,\r
723         "z": "a1c94a24.22ed9",\r
724         "wires": []\r
725     },\r
726     {\r
727         "id": "941ca63b.315eb8",\r
728         "type": "returnFailure",\r
729         "name": "return failure",\r
730         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
731         "comments": "",\r
732         "x": 5266,\r
733         "y": 1044,\r
734         "z": "a1c94a24.22ed9",\r
735         "wires": []\r
736     },\r
737     {\r
738         "id": "fb264c22.bb1ad8",\r
739         "type": "block",\r
740         "name": "block : atomic",\r
741         "xml": "<block atomic=\"true\">",\r
742         "atomic": "true",\r
743         "outputs": 1,\r
744         "x": 4619,\r
745         "y": 911,\r
746         "z": "a1c94a24.22ed9",\r
747         "wires": [\r
748             [\r
749                 "eb451f8e.4fb418",\r
750                 "bf3f1942.662798"\r
751             ]\r
752         ]\r
753     },\r
754     {\r
755         "id": "43958ec8.7b7b1",\r
756         "type": "block",\r
757         "name": "block : atomic",\r
758         "xml": "<block atomic=\"true\">",\r
759         "atomic": "true",\r
760         "outputs": 1,\r
761         "x": 4609,\r
762         "y": 1598.9998779296875,\r
763         "z": "a1c94a24.22ed9",\r
764         "wires": [\r
765             [\r
766                 "e17370f4.daf058",\r
767                 "42ee84a0.63aa24"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "9695016a.9d52a8",\r
773         "type": "block",\r
774         "name": "block : atomic",\r
775         "xml": "<block atomic=\"true\">",\r
776         "atomic": "true",\r
777         "outputs": 1,\r
778         "x": 5239.66650390625,\r
779         "y": 1789,\r
780         "z": "a1c94a24.22ed9",\r
781         "wires": [\r
782             [\r
783                 "798301ec.6e9398",\r
784                 "e16e0955.66caa8",\r
785                 "7dce5f2e.284a1",\r
786                 "ff4b33a5.59c68",\r
787                 "6468f05e.9836a8"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "ae7e9c7a.b5cf4",\r
793         "type": "success",\r
794         "name": "success",\r
795         "xml": "<outcome value='success'>\n",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 5067,\r
799         "y": 1790,\r
800         "z": "a1c94a24.22ed9",\r
801         "wires": [\r
802             [\r
803                 "9695016a.9d52a8"\r
804             ]\r
805         ]\r
806     },\r
807     {\r
808         "id": "ff1945a1.5b3fb8",\r
809         "type": "not-found",\r
810         "name": "not-found",\r
811         "xml": "<outcome value='not-found'>\n",\r
812         "comments": "",\r
813         "outputs": 1,\r
814         "x": 5076.490966796875,\r
815         "y": 1832.5740356445312,\r
816         "z": "a1c94a24.22ed9",\r
817         "wires": [\r
818             [\r
819                 "1d67971d.5148d9"\r
820             ]\r
821         ]\r
822     },\r
823     {\r
824         "id": "11aaad7f.ae123b",\r
825         "type": "failure",\r
826         "name": "failure",\r
827         "xml": "<outcome value='failure'>\n",\r
828         "comments": "",\r
829         "outputs": 1,\r
830         "x": 5065,\r
831         "y": 1879,\r
832         "z": "a1c94a24.22ed9",\r
833         "wires": [\r
834             [\r
835                 "cd2d5016.41656"\r
836             ]\r
837         ]\r
838     },\r
839     {\r
840         "id": "1d67971d.5148d9",\r
841         "type": "returnFailure",\r
842         "name": "return failure",\r
843         "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.l3vpn.pe1_id`\" />\n\n",\r
844         "comments": "",\r
845         "x": 5230.0623779296875,\r
846         "y": 1835.8597717285156,\r
847         "z": "a1c94a24.22ed9",\r
848         "wires": []\r
849     },\r
850     {\r
851         "id": "cd2d5016.41656",\r
852         "type": "returnFailure",\r
853         "name": "return failure",\r
854         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
855         "comments": "",\r
856         "x": 5234,\r
857         "y": 1880,\r
858         "z": "a1c94a24.22ed9",\r
859         "wires": []\r
860     },\r
861     {\r
862         "id": "3d7f3635.a666da",\r
863         "type": "execute",\r
864         "name": "execute split tp-id to get pnf-name",\r
865         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
866         "comments": "",\r
867         "outputs": 1,\r
868         "x": 5536,\r
869         "y": 937,\r
870         "z": "a1c94a24.22ed9",\r
871         "wires": [\r
872             [\r
873                 "3cfd3bad.5a9524",\r
874                 "5da469b2.dc3e8"\r
875             ]\r
876         ]\r
877     },\r
878     {\r
879         "id": "5da469b2.dc3e8",\r
880         "type": "failure",\r
881         "name": "success",\r
882         "xml": "<outcome value='success'>\n",\r
883         "comments": "",\r
884         "outputs": 1,\r
885         "x": 5759,\r
886         "y": 892,\r
887         "z": "a1c94a24.22ed9",\r
888         "wires": [\r
889             [\r
890                 "688536c6.06de6"\r
891             ]\r
892         ]\r
893     },\r
894     {\r
895         "id": "3cfd3bad.5a9524",\r
896         "type": "failure",\r
897         "name": "failure",\r
898         "xml": "<outcome value='failure'>\n",\r
899         "comments": "",\r
900         "outputs": 1,\r
901         "x": 5761,\r
902         "y": 956,\r
903         "z": "a1c94a24.22ed9",\r
904         "wires": [\r
905             [\r
906                 "d7550296.6875"\r
907             ]\r
908         ]\r
909     },\r
910     {\r
911         "id": "8343d32.4aa5eb",\r
912         "type": "set",\r
913         "name": "set ltpId",\r
914         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
915         "comments": "",\r
916         "x": 6094,\r
917         "y": 847,\r
918         "z": "a1c94a24.22ed9",\r
919         "wires": []\r
920     },\r
921     {\r
922         "id": "d7550296.6875",\r
923         "type": "returnFailure",\r
924         "name": "return failure",\r
925         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
926         "comments": "",\r
927         "x": 5923,\r
928         "y": 952,\r
929         "z": "a1c94a24.22ed9",\r
930         "wires": []\r
931     },\r
932     {\r
933         "id": "688536c6.06de6",\r
934         "type": "block",\r
935         "name": "block : atomic",\r
936         "xml": "<block atomic=\"true\">",\r
937         "atomic": "true",\r
938         "outputs": 1,\r
939         "x": 5924,\r
940         "y": 889,\r
941         "z": "a1c94a24.22ed9",\r
942         "wires": [\r
943             [\r
944                 "643d5e30.3c83d8",\r
945                 "8343d32.4aa5eb"\r
946             ]\r
947         ]\r
948     },\r
949     {\r
950         "id": "643d5e30.3c83d8",\r
951         "type": "set",\r
952         "name": "set pnf-name",\r
953         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
954         "comments": "",\r
955         "x": 6095,\r
956         "y": 955,\r
957         "z": "a1c94a24.22ed9",\r
958         "wires": []\r
959     },\r
960     {\r
961         "id": "d03d942d.9c94e8",\r
962         "type": "comment",\r
963         "name": "TODO: FIXME",\r
964         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
965         "comments": "",\r
966         "x": 6096,\r
967         "y": 904,\r
968         "z": "a1c94a24.22ed9",\r
969         "wires": []\r
970     },\r
971     {\r
972         "id": "5948d066.6a7168",\r
973         "type": "execute",\r
974         "name": "execute UUID generator for connectivity domainA",\r
975         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
976         "comments": "",\r
977         "outputs": 1,\r
978         "x": 5583,\r
979         "y": 1006,\r
980         "z": "a1c94a24.22ed9",\r
981         "wires": [\r
982             []\r
983         ]\r
984     },\r
985     {\r
986         "id": "270e5bf.d3c68a4",\r
987         "type": "comment",\r
988         "name": "TODO: FIXME",\r
989         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
990         "comments": "",\r
991         "x": 5472,\r
992         "y": 1047,\r
993         "z": "a1c94a24.22ed9",\r
994         "wires": []\r
995     },\r
996     {\r
997         "id": "798301ec.6e9398",\r
998         "type": "execute",\r
999         "name": "execute split tp-id to get pnf-name",\r
1000         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
1001         "comments": "",\r
1002         "outputs": 1,\r
1003         "x": 5526,\r
1004         "y": 1793.0001220703125,\r
1005         "z": "a1c94a24.22ed9",\r
1006         "wires": [\r
1007             [\r
1008                 "17eb4057.5c41d8",\r
1009                 "986119ae.163bd"\r
1010             ]\r
1011         ]\r
1012     },\r
1013     {\r
1014         "id": "986119ae.163bd",\r
1015         "type": "failure",\r
1016         "name": "success",\r
1017         "xml": "<outcome value='success'>\n",\r
1018         "comments": "",\r
1019         "outputs": 1,\r
1020         "x": 5749,\r
1021         "y": 1748.0001220703125,\r
1022         "z": "a1c94a24.22ed9",\r
1023         "wires": [\r
1024             [\r
1025                 "554f229b.2ed824"\r
1026             ]\r
1027         ]\r
1028     },\r
1029     {\r
1030         "id": "17eb4057.5c41d8",\r
1031         "type": "failure",\r
1032         "name": "failure",\r
1033         "xml": "<outcome value='failure'>\n",\r
1034         "comments": "",\r
1035         "outputs": 1,\r
1036         "x": 5751,\r
1037         "y": 1812.0001220703125,\r
1038         "z": "a1c94a24.22ed9",\r
1039         "wires": [\r
1040             [\r
1041                 "e5820266.08c2b"\r
1042             ]\r
1043         ]\r
1044     },\r
1045     {\r
1046         "id": "59292690.4b166",\r
1047         "type": "set",\r
1048         "name": "set ltpId",\r
1049         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1050         "comments": "",\r
1051         "x": 6084,\r
1052         "y": 1706.0001220703125,\r
1053         "z": "a1c94a24.22ed9",\r
1054         "wires": []\r
1055     },\r
1056     {\r
1057         "id": "e5820266.08c2b",\r
1058         "type": "returnFailure",\r
1059         "name": "return failure",\r
1060         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1061         "comments": "",\r
1062         "x": 5910,\r
1063         "y": 1831.0001220703125,\r
1064         "z": "a1c94a24.22ed9",\r
1065         "wires": []\r
1066     },\r
1067     {\r
1068         "id": "554f229b.2ed824",\r
1069         "type": "block",\r
1070         "name": "block : atomic",\r
1071         "xml": "<block atomic=\"true\">",\r
1072         "atomic": "true",\r
1073         "outputs": 1,\r
1074         "x": 5914,\r
1075         "y": 1745.0001220703125,\r
1076         "z": "a1c94a24.22ed9",\r
1077         "wires": [\r
1078             [\r
1079                 "59292690.4b166",\r
1080                 "a60da831.30b3f"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "a60da831.30b3f",\r
1086         "type": "set",\r
1087         "name": "set pnf-name",\r
1088         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1089         "comments": "",\r
1090         "x": 6085,\r
1091         "y": 1811.0001220703125,\r
1092         "z": "a1c94a24.22ed9",\r
1093         "wires": []\r
1094     },\r
1095     {\r
1096         "id": "bb10fbc2.a10ec8",\r
1097         "type": "comment",\r
1098         "name": "TODO: FIXME",\r
1099         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
1100         "comments": "",\r
1101         "x": 6080,\r
1102         "y": 1760.0001220703125,\r
1103         "z": "a1c94a24.22ed9",\r
1104         "wires": []\r
1105     },\r
1106     {\r
1107         "id": "7dce5f2e.284a1",\r
1108         "type": "save",\r
1109         "name": "save connectivity resource in AAI",\r
1110         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1111         "comments": "",\r
1112         "outputs": 1,\r
1113         "x": 5528,\r
1114         "y": 1952.0001220703125,\r
1115         "z": "a1c94a24.22ed9",\r
1116         "wires": [\r
1117             []\r
1118         ]\r
1119     },\r
1120     {\r
1121         "id": "e16e0955.66caa8",\r
1122         "type": "execute",\r
1123         "name": "execute UUID generator for connectivity domainB",\r
1124         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1125         "comments": "",\r
1126         "outputs": 1,\r
1127         "x": 5573,\r
1128         "y": 1862.0001220703125,\r
1129         "z": "a1c94a24.22ed9",\r
1130         "wires": [\r
1131             []\r
1132         ]\r
1133     },\r
1134     {\r
1135         "id": "a786769.ba9bd08",\r
1136         "type": "comment",\r
1137         "name": "TODO: FIXME",\r
1138         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
1139         "comments": "",\r
1140         "x": 5462,\r
1141         "y": 1900.0001220703125,\r
1142         "z": "a1c94a24.22ed9",\r
1143         "wires": []\r
1144     },\r
1145     {\r
1146         "id": "5c94cc42.b4c6e4",\r
1147         "type": "call",\r
1148         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1149         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1150         "comments": "",\r
1151         "outputs": 1,\r
1152         "x": 4457,\r
1153         "y": 2197,\r
1154         "z": "a1c94a24.22ed9",\r
1155         "wires": [\r
1156             []\r
1157         ]\r
1158     },\r
1159     {\r
1160         "id": "898ec19e.6e281",\r
1161         "type": "set",\r
1162         "name": "set attachment_param",\r
1163         "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
1164         "comments": "",\r
1165         "x": 4251,\r
1166         "y": 2098,\r
1167         "z": "a1c94a24.22ed9",\r
1168         "wires": []\r
1169     },\r
1170     {\r
1171         "id": "4cbb6f6d.e8bed",\r
1172         "type": "comment",\r
1173         "name": "TODO: FIXME",\r
1174         "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
1175         "comments": "",\r
1176         "x": 4225,\r
1177         "y": 2051,\r
1178         "z": "a1c94a24.22ed9",\r
1179         "wires": []\r
1180     },\r
1181     {\r
1182         "id": "92d55b48.2c361",\r
1183         "type": "save",\r
1184         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1185         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $uuid.connectivity-domainA-uuid`\" />\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=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",\r
1186         "comments": "",\r
1187         "outputs": 1,\r
1188         "x": 5666,\r
1189         "y": 1144,\r
1190         "z": "a1c94a24.22ed9",\r
1191         "wires": [\r
1192             []\r
1193         ]\r
1194     },\r
1195     {\r
1196         "id": "ff4b33a5.59c68",\r
1197         "type": "save",\r
1198         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1199         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $prop.connectivity-domainB-uuid`\" />\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=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",\r
1200         "comments": "",\r
1201         "outputs": 1,\r
1202         "x": 5655,\r
1203         "y": 2017.0001220703125,\r
1204         "z": "a1c94a24.22ed9",\r
1205         "wires": [\r
1206             []\r
1207         ]\r
1208     },\r
1209     {\r
1210         "id": "c675da0b.5461c8",\r
1211         "type": "execute",\r
1212         "name": "get esr-thirdparty-sdnc",\r
1213         "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.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
1214         "comments": "",\r
1215         "outputs": 1,\r
1216         "x": 6710,\r
1217         "y": 664,\r
1218         "z": "a1c94a24.22ed9",\r
1219         "wires": [\r
1220             [\r
1221                 "bb4a9deb.45b028",\r
1222                 "7bfedf54.b55d88",\r
1223                 "d4dc18e1.4b9fa8"\r
1224             ]\r
1225         ]\r
1226     },\r
1227     {\r
1228         "id": "576d8604.8f2d9",\r
1229         "type": "block",\r
1230         "name": "block : atomic",\r
1231         "xml": "<block atomic=\"true\">",\r
1232         "atomic": "true",\r
1233         "outputs": 1,\r
1234         "x": 2597,\r
1235         "y": 319,\r
1236         "z": "a1c94a24.22ed9",\r
1237         "wires": [\r
1238             [\r
1239                 "8047c637.b43eb"\r
1240             ]\r
1241         ]\r
1242     },\r
1243     {\r
1244         "id": "bcb352a5.999038",\r
1245         "type": "outcome",\r
1246         "name": "logical-link",\r
1247         "xml": "<outcome value='logical-link'>\n",\r
1248         "comments": "",\r
1249         "outputs": 1,\r
1250         "x": 994.0001220703125,\r
1251         "y": 714.0001220703125,\r
1252         "z": "a1c94a24.22ed9",\r
1253         "wires": [\r
1254             [\r
1255                 "77e7cd5a.50c41c"\r
1256             ]\r
1257         ]\r
1258     },\r
1259     {\r
1260         "id": "64e2c5c1.d42b2c",\r
1261         "type": "switchNode",\r
1262         "name": "switch allotted-resource.relationship-list not empty",\r
1263         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1264         "comments": "",\r
1265         "outputs": 1,\r
1266         "x": 2160,\r
1267         "y": 413,\r
1268         "z": "a1c94a24.22ed9",\r
1269         "wires": [\r
1270             [\r
1271                 "550b6611.97dc",\r
1272                 "d80de88d.6f84f"\r
1273             ]\r
1274         ]\r
1275     },\r
1276     {\r
1277         "id": "d80de88d.6f84f",\r
1278         "type": "outcomeFalse",\r
1279         "name": "false",\r
1280         "xml": "<outcome value='false'>\n",\r
1281         "comments": "",\r
1282         "outputs": 1,\r
1283         "x": 2481,\r
1284         "y": 395,\r
1285         "z": "a1c94a24.22ed9",\r
1286         "wires": [\r
1287             []\r
1288         ]\r
1289     },\r
1290     {\r
1291         "id": "550b6611.97dc",\r
1292         "type": "outcomeTrue",\r
1293         "name": "true",\r
1294         "xml": "<outcome value='true'>\n",\r
1295         "comments": "",\r
1296         "outputs": 1,\r
1297         "x": 2463,\r
1298         "y": 493,\r
1299         "z": "a1c94a24.22ed9",\r
1300         "wires": [\r
1301             [\r
1302                 "bcacdfd4.14c6d"\r
1303             ]\r
1304         ]\r
1305     },\r
1306     {\r
1307         "id": "c443600d.94faa8",\r
1308         "type": "set",\r
1309         "name": "set the current logical-link-name",\r
1310         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
1311         "comments": "",\r
1312         "x": 1417,\r
1313         "y": 617,\r
1314         "z": "a1c94a24.22ed9",\r
1315         "wires": []\r
1316     },\r
1317     {\r
1318         "id": "77e7cd5a.50c41c",\r
1319         "type": "block",\r
1320         "name": "block : atomic",\r
1321         "xml": "<block atomic=\"true\">",\r
1322         "atomic": "true",\r
1323         "outputs": 1,\r
1324         "x": 1171,\r
1325         "y": 707,\r
1326         "z": "a1c94a24.22ed9",\r
1327         "wires": [\r
1328             [\r
1329                 "c443600d.94faa8",\r
1330                 "adcb7aad.70c0d",\r
1331                 "7947ec90.0b2fbc"\r
1332             ]\r
1333         ]\r
1334     },\r
1335     {\r
1336         "id": "b29eb633.564108",\r
1337         "type": "comment",\r
1338         "name": "Question?",\r
1339         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1340         "comments": "",\r
1341         "x": 4799,\r
1342         "y": 916,\r
1343         "z": "a1c94a24.22ed9",\r
1344         "wires": []\r
1345     },\r
1346     {\r
1347         "id": "eb451f8e.4fb418",\r
1348         "type": "save",\r
1349         "name": "get p-interface-src from aai",\r
1350         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1351         "comments": "",\r
1352         "outputs": 1,\r
1353         "x": 4842,\r
1354         "y": 981,\r
1355         "z": "a1c94a24.22ed9",\r
1356         "wires": [\r
1357             [\r
1358                 "8fdbb83e.80931",\r
1359                 "c2d11145.5c5cb",\r
1360                 "15000269.771dce"\r
1361             ]\r
1362         ]\r
1363     },\r
1364     {\r
1365         "id": "e17370f4.daf058",\r
1366         "type": "save",\r
1367         "name": "get p-interface-dst from aai",\r
1368         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1369         "comments": "",\r
1370         "outputs": 1,\r
1371         "x": 4839,\r
1372         "y": 1825,\r
1373         "z": "a1c94a24.22ed9",\r
1374         "wires": [\r
1375             [\r
1376                 "ae7e9c7a.b5cf4",\r
1377                 "ff1945a1.5b3fb8",\r
1378                 "11aaad7f.ae123b"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "dcd9fb09.ef46f8",\r
1384         "type": "comment",\r
1385         "name": "Question?",\r
1386         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1387         "comments": "",\r
1388         "x": 4800,\r
1389         "y": 1769,\r
1390         "z": "a1c94a24.22ed9",\r
1391         "wires": []\r
1392     },\r
1393     {\r
1394         "id": "8047c637.b43eb",\r
1395         "type": "save",\r
1396         "name": "get allotted-resource relationship from aai",\r
1397         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
1398         "comments": "",\r
1399         "outputs": 1,\r
1400         "x": 2890,\r
1401         "y": 266,\r
1402         "z": "a1c94a24.22ed9",\r
1403         "wires": [\r
1404             [\r
1405                 "d1511c62.9f2f08",\r
1406                 "1f77347e.42dfe4",\r
1407                 "64ec23f4.ba3244"\r
1408             ]\r
1409         ]\r
1410     },\r
1411     {\r
1412         "id": "1f77347e.42dfe4",\r
1413         "type": "not-found",\r
1414         "name": "not-found",\r
1415         "xml": "<outcome value='not-found'>\n",\r
1416         "comments": "",\r
1417         "outputs": 1,\r
1418         "x": 3163.490966796875,\r
1419         "y": 158.573974609375,\r
1420         "z": "a1c94a24.22ed9",\r
1421         "wires": [\r
1422             [\r
1423                 "45b306de.298a5"\r
1424             ]\r
1425         ]\r
1426     },\r
1427     {\r
1428         "id": "45b306de.298a5",\r
1429         "type": "returnFailure",\r
1430         "name": "return failure",\r
1431         "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.l3vpn.pe1_id`\" />\n\n",\r
1432         "comments": "",\r
1433         "x": 3341.0625,\r
1434         "y": 158.8597412109375,\r
1435         "z": "a1c94a24.22ed9",\r
1436         "wires": []\r
1437     },\r
1438     {\r
1439         "id": "64ec23f4.ba3244",\r
1440         "type": "failure",\r
1441         "name": "failure",\r
1442         "xml": "<outcome value='failure'>\n",\r
1443         "comments": "",\r
1444         "outputs": 1,\r
1445         "x": 3159,\r
1446         "y": 208,\r
1447         "z": "a1c94a24.22ed9",\r
1448         "wires": [\r
1449             [\r
1450                 "fd23c3a.05df04"\r
1451             ]\r
1452         ]\r
1453     },\r
1454     {\r
1455         "id": "fd23c3a.05df04",\r
1456         "type": "returnFailure",\r
1457         "name": "return failure",\r
1458         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1459         "comments": "",\r
1460         "x": 3341,\r
1461         "y": 208,\r
1462         "z": "a1c94a24.22ed9",\r
1463         "wires": []\r
1464     },\r
1465     {\r
1466         "id": "d1511c62.9f2f08",\r
1467         "type": "success",\r
1468         "name": "success",\r
1469         "xml": "<outcome value='success'>\n",\r
1470         "comments": "",\r
1471         "outputs": 1,\r
1472         "x": 3163,\r
1473         "y": 259,\r
1474         "z": "a1c94a24.22ed9",\r
1475         "wires": [\r
1476             [\r
1477                 "a1083b0f.8f91b8"\r
1478             ]\r
1479         ]\r
1480     },\r
1481     {\r
1482         "id": "a1083b0f.8f91b8",\r
1483         "type": "block",\r
1484         "name": "block : atomic",\r
1485         "xml": "<block atomic=\"true\">",\r
1486         "atomic": "true",\r
1487         "outputs": 1,\r
1488         "x": 3343,\r
1489         "y": 259,\r
1490         "z": "a1c94a24.22ed9",\r
1491         "wires": [\r
1492             [\r
1493                 "64e2c5c1.d42b2c"\r
1494             ]\r
1495         ]\r
1496     },\r
1497     {\r
1498         "id": "1a6f80e4.595e77",\r
1499         "type": "for",\r
1500         "name": "for each allotted-resource relationship",\r
1501         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1502         "comments": "",\r
1503         "outputs": 1,\r
1504         "x": 769,\r
1505         "y": 643,\r
1506         "z": "a1c94a24.22ed9",\r
1507         "wires": [\r
1508             [\r
1509                 "3a09f79.98a6388"\r
1510             ]\r
1511         ]\r
1512     },\r
1513     {\r
1514         "id": "3a09f79.98a6388",\r
1515         "type": "switchNode",\r
1516         "name": "switch related-to",\r
1517         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1518         "comments": "",\r
1519         "outputs": 1,\r
1520         "x": 1040,\r
1521         "y": 639,\r
1522         "z": "a1c94a24.22ed9",\r
1523         "wires": [\r
1524             [\r
1525                 "bcb352a5.999038"\r
1526             ]\r
1527         ]\r
1528     },\r
1529     {\r
1530         "id": "77ab35ed.5d2284",\r
1531         "type": "outcome",\r
1532         "name": "network-policy",\r
1533         "xml": "<outcome value='network-policy'>\n",\r
1534         "comments": "",\r
1535         "outputs": 1,\r
1536         "x": 3319,\r
1537         "y": 457,\r
1538         "z": "a1c94a24.22ed9",\r
1539         "wires": [\r
1540             [\r
1541                 "b58a3427.b81d38"\r
1542             ]\r
1543         ]\r
1544     },\r
1545     {\r
1546         "id": "b58a3427.b81d38",\r
1547         "type": "block",\r
1548         "name": "block : atomic",\r
1549         "xml": "<block atomic=\"true\">",\r
1550         "atomic": "true",\r
1551         "outputs": 1,\r
1552         "x": 3495.9998779296875,\r
1553         "y": 449.9998779296875,\r
1554         "z": "a1c94a24.22ed9",\r
1555         "wires": [\r
1556             [\r
1557                 "362b1182.0bd166",\r
1558                 "6c82d6c3.fedf4"\r
1559             ]\r
1560         ]\r
1561     },\r
1562     {\r
1563         "id": "362b1182.0bd166",\r
1564         "type": "set",\r
1565         "name": "set the 1st network-policy-id",\r
1566         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
1567         "comments": "",\r
1568         "x": 3738.9998779296875,\r
1569         "y": 406.9998779296875,\r
1570         "z": "a1c94a24.22ed9",\r
1571         "wires": []\r
1572     },\r
1573     {\r
1574         "id": "6c82d6c3.fedf4",\r
1575         "type": "save",\r
1576         "name": "get network-policy from aai",\r
1577         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
1578         "comments": "",\r
1579         "outputs": 1,\r
1580         "x": 3727.9998779296875,\r
1581         "y": 461.9998779296875,\r
1582         "z": "a1c94a24.22ed9",\r
1583         "wires": [\r
1584             [\r
1585                 "1ff2fa25.6c9396",\r
1586                 "e4e601c1.f5d79",\r
1587                 "758d093f.dcc028"\r
1588             ]\r
1589         ]\r
1590     },\r
1591     {\r
1592         "id": "758d093f.dcc028",\r
1593         "type": "not-found",\r
1594         "name": "not-found",\r
1595         "xml": "<outcome value='not-found'>\n",\r
1596         "comments": "",\r
1597         "outputs": 1,\r
1598         "x": 3981,\r
1599         "y": 348,\r
1600         "z": "a1c94a24.22ed9",\r
1601         "wires": [\r
1602             [\r
1603                 "a8089973.873718"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "a8089973.873718",\r
1609         "type": "returnFailure",\r
1610         "name": "return failure",\r
1611         "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.l3vpn.pe1_id`\" />\n\n",\r
1612         "comments": "",\r
1613         "x": 4129.571533203125,\r
1614         "y": 348.2857666015625,\r
1615         "z": "a1c94a24.22ed9",\r
1616         "wires": []\r
1617     },\r
1618     {\r
1619         "id": "d2216009.d4e938",\r
1620         "type": "returnFailure",\r
1621         "name": "return failure",\r
1622         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1623         "comments": "",\r
1624         "x": 4128.509033203125,\r
1625         "y": 392.426025390625,\r
1626         "z": "a1c94a24.22ed9",\r
1627         "wires": []\r
1628     },\r
1629     {\r
1630         "id": "e4e601c1.f5d79",\r
1631         "type": "failure",\r
1632         "name": "failure",\r
1633         "xml": "<outcome value='failure'>\n",\r
1634         "comments": "",\r
1635         "outputs": 1,\r
1636         "x": 3969.509033203125,\r
1637         "y": 392.426025390625,\r
1638         "z": "a1c94a24.22ed9",\r
1639         "wires": [\r
1640             [\r
1641                 "d2216009.d4e938"\r
1642             ]\r
1643         ]\r
1644     },\r
1645     {\r
1646         "id": "1ff2fa25.6c9396",\r
1647         "type": "success",\r
1648         "name": "success",\r
1649         "xml": "<outcome value='success'>\n",\r
1650         "comments": "",\r
1651         "outputs": 1,\r
1652         "x": 3976.509033203125,\r
1653         "y": 471.426025390625,\r
1654         "z": "a1c94a24.22ed9",\r
1655         "wires": [\r
1656             [\r
1657                 "9a187669.a984"\r
1658             ]\r
1659         ]\r
1660     },\r
1661     {\r
1662         "id": "9a187669.a984",\r
1663         "type": "block",\r
1664         "name": "block",\r
1665         "xml": "<block>\n",\r
1666         "atomic": "false",\r
1667         "comments": "",\r
1668         "outputs": 1,\r
1669         "x": 4115.509033203125,\r
1670         "y": 471.426025390625,\r
1671         "z": "a1c94a24.22ed9",\r
1672         "wires": [\r
1673             [\r
1674                 "83c9fbd0.4ea53",\r
1675                 "9b904bff.ec9058"\r
1676             ]\r
1677         ]\r
1678     },\r
1679     {\r
1680         "id": "83c9fbd0.4ea53",\r
1681         "type": "set",\r
1682         "name": "set the max bandwidth",\r
1683         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
1684         "comments": "",\r
1685         "x": 4321,\r
1686         "y": 469,\r
1687         "z": "a1c94a24.22ed9",\r
1688         "wires": []\r
1689     },\r
1690     {\r
1691         "id": "bf3f1942.662798",\r
1692         "type": "execute",\r
1693         "name": "execute split tp-id to get pnf-name",\r
1694         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
1695         "comments": "",\r
1696         "outputs": 1,\r
1697         "x": 4843,\r
1698         "y": 651,\r
1699         "z": "a1c94a24.22ed9",\r
1700         "wires": [\r
1701             [\r
1702                 "47a119b0.eb6fa8",\r
1703                 "52820edd.aa4a2"\r
1704             ]\r
1705         ]\r
1706     },\r
1707     {\r
1708         "id": "52820edd.aa4a2",\r
1709         "type": "failure",\r
1710         "name": "success",\r
1711         "xml": "<outcome value='success'>\n",\r
1712         "comments": "",\r
1713         "outputs": 1,\r
1714         "x": 5066,\r
1715         "y": 637,\r
1716         "z": "a1c94a24.22ed9",\r
1717         "wires": [\r
1718             [\r
1719                 "7649e490.475914"\r
1720             ]\r
1721         ]\r
1722     },\r
1723     {\r
1724         "id": "47a119b0.eb6fa8",\r
1725         "type": "failure",\r
1726         "name": "failure",\r
1727         "xml": "<outcome value='failure'>\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 5068,\r
1731         "y": 670,\r
1732         "z": "a1c94a24.22ed9",\r
1733         "wires": [\r
1734             [\r
1735                 "86cbcc23.726e88"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "86cbcc23.726e88",\r
1741         "type": "returnFailure",\r
1742         "name": "return failure",\r
1743         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1744         "comments": "",\r
1745         "x": 5211,\r
1746         "y": 667,\r
1747         "z": "a1c94a24.22ed9",\r
1748         "wires": []\r
1749     },\r
1750     {\r
1751         "id": "7649e490.475914",\r
1752         "type": "block",\r
1753         "name": "block : atomic",\r
1754         "xml": "<block atomic=\"true\">",\r
1755         "atomic": "true",\r
1756         "outputs": 1,\r
1757         "x": 5214,\r
1758         "y": 630,\r
1759         "z": "a1c94a24.22ed9",\r
1760         "wires": [\r
1761             [\r
1762                 "ff121e57.29292",\r
1763                 "450151c8.427488"\r
1764             ]\r
1765         ]\r
1766     },\r
1767     {\r
1768         "id": "ff121e57.29292",\r
1769         "type": "set",\r
1770         "name": "set pnf-name",\r
1771         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
1772         "comments": "",\r
1773         "x": 5376,\r
1774         "y": 625,\r
1775         "z": "a1c94a24.22ed9",\r
1776         "wires": []\r
1777     },\r
1778     {\r
1779         "id": "42ee84a0.63aa24",\r
1780         "type": "execute",\r
1781         "name": "execute split tp-id to get pnf-name",\r
1782         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
1783         "comments": "",\r
1784         "outputs": 1,\r
1785         "x": 4857,\r
1786         "y": 1487.9998779296875,\r
1787         "z": "a1c94a24.22ed9",\r
1788         "wires": [\r
1789             [\r
1790                 "1ca058bb.f36a17",\r
1791                 "11f9a295.aa46bd"\r
1792             ]\r
1793         ]\r
1794     },\r
1795     {\r
1796         "id": "11f9a295.aa46bd",\r
1797         "type": "failure",\r
1798         "name": "success",\r
1799         "xml": "<outcome value='success'>\n",\r
1800         "comments": "",\r
1801         "outputs": 1,\r
1802         "x": 5080,\r
1803         "y": 1473.9998779296875,\r
1804         "z": "a1c94a24.22ed9",\r
1805         "wires": [\r
1806             [\r
1807                 "49fa7605.34063"\r
1808             ]\r
1809         ]\r
1810     },\r
1811     {\r
1812         "id": "1ca058bb.f36a17",\r
1813         "type": "failure",\r
1814         "name": "failure",\r
1815         "xml": "<outcome value='failure'>\n",\r
1816         "comments": "",\r
1817         "outputs": 1,\r
1818         "x": 5082,\r
1819         "y": 1506.9998779296875,\r
1820         "z": "a1c94a24.22ed9",\r
1821         "wires": [\r
1822             [\r
1823                 "45cb9702.942408"\r
1824             ]\r
1825         ]\r
1826     },\r
1827     {\r
1828         "id": "45cb9702.942408",\r
1829         "type": "returnFailure",\r
1830         "name": "return failure",\r
1831         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1832         "comments": "",\r
1833         "x": 5225,\r
1834         "y": 1503.9998779296875,\r
1835         "z": "a1c94a24.22ed9",\r
1836         "wires": []\r
1837     },\r
1838     {\r
1839         "id": "49fa7605.34063",\r
1840         "type": "block",\r
1841         "name": "block : atomic",\r
1842         "xml": "<block atomic=\"true\">",\r
1843         "atomic": "true",\r
1844         "outputs": 1,\r
1845         "x": 5228,\r
1846         "y": 1466.9998779296875,\r
1847         "z": "a1c94a24.22ed9",\r
1848         "wires": [\r
1849             [\r
1850                 "875267c0.cfa878",\r
1851                 "15dbb018.1ec0a8"\r
1852             ]\r
1853         ]\r
1854     },\r
1855     {\r
1856         "id": "875267c0.cfa878",\r
1857         "type": "set",\r
1858         "name": "set pnf-name",\r
1859         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
1860         "comments": "",\r
1861         "x": 5422,\r
1862         "y": 1470,\r
1863         "z": "a1c94a24.22ed9",\r
1864         "wires": []\r
1865     },\r
1866     {\r
1867         "id": "48043489.9f26f4",\r
1868         "type": "execute",\r
1869         "name": "execute properties",\r
1870         "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' />",\r
1871         "comments": "",\r
1872         "outputs": 1,\r
1873         "x": 1020,\r
1874         "y": 174,\r
1875         "z": "a1c94a24.22ed9",\r
1876         "wires": [\r
1877             []\r
1878         ]\r
1879     },\r
1880     {\r
1881         "id": "60b689f0.bdfe6",\r
1882         "type": "for",\r
1883         "name": "for each relationship",\r
1884         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1885         "comments": "",\r
1886         "outputs": 1,\r
1887         "x": 5490,\r
1888         "y": 1221,\r
1889         "z": "a1c94a24.22ed9",\r
1890         "wires": [\r
1891             [\r
1892                 "d6de59ef.b305d8"\r
1893             ]\r
1894         ]\r
1895     },\r
1896     {\r
1897         "id": "d6de59ef.b305d8",\r
1898         "type": "switchNode",\r
1899         "name": "switch related-to",\r
1900         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1901         "comments": "",\r
1902         "outputs": 1,\r
1903         "x": 5696,\r
1904         "y": 1221,\r
1905         "z": "a1c94a24.22ed9",\r
1906         "wires": [\r
1907             [\r
1908                 "8fe7cd4d.34b2f"\r
1909             ]\r
1910         ]\r
1911     },\r
1912     {\r
1913         "id": "8fe7cd4d.34b2f",\r
1914         "type": "outcome",\r
1915         "name": "tunnel-termination-point",\r
1916         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1917         "comments": "",\r
1918         "outputs": 1,\r
1919         "x": 5911.28564453125,\r
1920         "y": 1220.82177734375,\r
1921         "z": "a1c94a24.22ed9",\r
1922         "wires": [\r
1923             [\r
1924                 "a0e0dfef.59beb"\r
1925             ]\r
1926         ]\r
1927     },\r
1928     {\r
1929         "id": "a0e0dfef.59beb",\r
1930         "type": "block",\r
1931         "name": "block : atomic",\r
1932         "xml": "<block atomic=\"true\">",\r
1933         "atomic": "true",\r
1934         "outputs": 1,\r
1935         "x": 6118.1171875,\r
1936         "y": 1221.34033203125,\r
1937         "z": "a1c94a24.22ed9",\r
1938         "wires": [\r
1939             [\r
1940                 "2cceafd0.237718",\r
1941                 "c79a44fd.7a419",\r
1942                 "b0ce172f.4e793"\r
1943             ]\r
1944         ]\r
1945     },\r
1946     {\r
1947         "id": "2cceafd0.237718",\r
1948         "type": "set",\r
1949         "name": "set source ttp-id",\r
1950         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
1951         "comments": "",\r
1952         "x": 6333.1171875,\r
1953         "y": 1183.34033203125,\r
1954         "z": "a1c94a24.22ed9",\r
1955         "wires": []\r
1956     },\r
1957     {\r
1958         "id": "c79a44fd.7a419",\r
1959         "type": "get-resource",\r
1960         "name": "get-resource src TTP",\r
1961         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
1962         "comments": "",\r
1963         "outputs": 1,\r
1964         "x": 6330.1171875,\r
1965         "y": 1222.34033203125,\r
1966         "z": "a1c94a24.22ed9",\r
1967         "wires": [\r
1968             [\r
1969                 "6b7d00f0.0adfa"\r
1970             ]\r
1971         ]\r
1972     },\r
1973     {\r
1974         "id": "b0ce172f.4e793",\r
1975         "type": "break",\r
1976         "name": "break",\r
1977         "xml": "<break>\n",\r
1978         "comments": "",\r
1979         "x": 6285.6171875,\r
1980         "y": 1264.34033203125,\r
1981         "z": "a1c94a24.22ed9",\r
1982         "wires": []\r
1983     },\r
1984     {\r
1985         "id": "6b7d00f0.0adfa",\r
1986         "type": "success",\r
1987         "name": "success",\r
1988         "xml": "<outcome value='success'>\n",\r
1989         "comments": "",\r
1990         "outputs": 1,\r
1991         "x": 6510.6171875,\r
1992         "y": 1221.34033203125,\r
1993         "z": "a1c94a24.22ed9",\r
1994         "wires": [\r
1995             [\r
1996                 "646cdf92.8cc9e8"\r
1997             ]\r
1998         ]\r
1999     },\r
2000     {\r
2001         "id": "646cdf92.8cc9e8",\r
2002         "type": "block",\r
2003         "name": "block : atomic",\r
2004         "xml": "<block atomic=\"true\">",\r
2005         "atomic": "true",\r
2006         "outputs": 1,\r
2007         "x": 6668.6171875,\r
2008         "y": 1221.34033203125,\r
2009         "z": "a1c94a24.22ed9",\r
2010         "wires": [\r
2011             [\r
2012                 "6ef1cda7.04969c"\r
2013             ]\r
2014         ]\r
2015     },\r
2016     {\r
2017         "id": "6ef1cda7.04969c",\r
2018         "type": "set",\r
2019         "name": "set source tunnel tp ip",\r
2020         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2021         "comments": "",\r
2022         "x": 6875.6171875,\r
2023         "y": 1221.34033203125,\r
2024         "z": "a1c94a24.22ed9",\r
2025         "wires": []\r
2026     },\r
2027     {\r
2028         "id": "6468f05e.9836a8",\r
2029         "type": "for",\r
2030         "name": "for each relationship",\r
2031         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2032         "comments": "",\r
2033         "outputs": 1,\r
2034         "x": 5487,\r
2035         "y": 2090.0001220703125,\r
2036         "z": "a1c94a24.22ed9",\r
2037         "wires": [\r
2038             [\r
2039                 "592b262a.d8a79"\r
2040             ]\r
2041         ]\r
2042     },\r
2043     {\r
2044         "id": "592b262a.d8a79",\r
2045         "type": "switchNode",\r
2046         "name": "switch related-to",\r
2047         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2048         "comments": "",\r
2049         "outputs": 1,\r
2050         "x": 5693,\r
2051         "y": 2090.0001220703125,\r
2052         "z": "a1c94a24.22ed9",\r
2053         "wires": [\r
2054             [\r
2055                 "24f444c6.f34f94"\r
2056             ]\r
2057         ]\r
2058     },\r
2059     {\r
2060         "id": "24f444c6.f34f94",\r
2061         "type": "outcome",\r
2062         "name": "tunnel-termination-point",\r
2063         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2064         "comments": "",\r
2065         "outputs": 1,\r
2066         "x": 5908.28564453125,\r
2067         "y": 2089.8218994140625,\r
2068         "z": "a1c94a24.22ed9",\r
2069         "wires": [\r
2070             [\r
2071                 "82538773.d9e69"\r
2072             ]\r
2073         ]\r
2074     },\r
2075     {\r
2076         "id": "82538773.d9e69",\r
2077         "type": "block",\r
2078         "name": "block : atomic",\r
2079         "xml": "<block atomic=\"true\">",\r
2080         "atomic": "true",\r
2081         "outputs": 1,\r
2082         "x": 6115.1171875,\r
2083         "y": 2090.3404541015625,\r
2084         "z": "a1c94a24.22ed9",\r
2085         "wires": [\r
2086             [\r
2087                 "f8555c72.503248",\r
2088                 "ccee56e4.07c16",\r
2089                 "c641b1.139d865"\r
2090             ]\r
2091         ]\r
2092     },\r
2093     {\r
2094         "id": "f8555c72.503248",\r
2095         "type": "set",\r
2096         "name": "set destination ttp-id",\r
2097         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
2098         "comments": "",\r
2099         "x": 6330.1171875,\r
2100         "y": 2052.3404541015625,\r
2101         "z": "a1c94a24.22ed9",\r
2102         "wires": []\r
2103     },\r
2104     {\r
2105         "id": "ccee56e4.07c16",\r
2106         "type": "get-resource",\r
2107         "name": "get-resource src TTP",\r
2108         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
2109         "comments": "",\r
2110         "outputs": 1,\r
2111         "x": 6327.1171875,\r
2112         "y": 2091.3404541015625,\r
2113         "z": "a1c94a24.22ed9",\r
2114         "wires": [\r
2115             [\r
2116                 "c03544bc.a4758"\r
2117             ]\r
2118         ]\r
2119     },\r
2120     {\r
2121         "id": "c641b1.139d865",\r
2122         "type": "break",\r
2123         "name": "break",\r
2124         "xml": "<break>\n",\r
2125         "comments": "",\r
2126         "x": 6282.6171875,\r
2127         "y": 2133.3404541015625,\r
2128         "z": "a1c94a24.22ed9",\r
2129         "wires": []\r
2130     },\r
2131     {\r
2132         "id": "c03544bc.a4758",\r
2133         "type": "success",\r
2134         "name": "success",\r
2135         "xml": "<outcome value='success'>\n",\r
2136         "comments": "",\r
2137         "outputs": 1,\r
2138         "x": 6507.6171875,\r
2139         "y": 2090.3404541015625,\r
2140         "z": "a1c94a24.22ed9",\r
2141         "wires": [\r
2142             [\r
2143                 "e9ccbcc0.192618"\r
2144             ]\r
2145         ]\r
2146     },\r
2147     {\r
2148         "id": "e9ccbcc0.192618",\r
2149         "type": "block",\r
2150         "name": "block : atomic",\r
2151         "xml": "<block atomic=\"true\">",\r
2152         "atomic": "true",\r
2153         "outputs": 1,\r
2154         "x": 6665.6171875,\r
2155         "y": 2090.3404541015625,\r
2156         "z": "a1c94a24.22ed9",\r
2157         "wires": [\r
2158             [\r
2159                 "8cb4312f.1b7fd"\r
2160             ]\r
2161         ]\r
2162     },\r
2163     {\r
2164         "id": "8cb4312f.1b7fd",\r
2165         "type": "set",\r
2166         "name": "set destination tunnel tp ip",\r
2167         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2168         "comments": "",\r
2169         "x": 6872.6171875,\r
2170         "y": 2090.3404541015625,\r
2171         "z": "a1c94a24.22ed9",\r
2172         "wires": []\r
2173     },\r
2174     {\r
2175         "id": "450151c8.427488",\r
2176         "type": "get-resource",\r
2177         "name": "get-resource src pnf",\r
2178         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2179         "comments": "",\r
2180         "outputs": 1,\r
2181         "x": 5403,\r
2182         "y": 697,\r
2183         "z": "a1c94a24.22ed9",\r
2184         "wires": [\r
2185             [\r
2186                 "a23d1a8f.c26b88",\r
2187                 "378c450d.9f83ea",\r
2188                 "dfbd70ce.dcae1"\r
2189             ]\r
2190         ]\r
2191     },\r
2192     {\r
2193         "id": "a23d1a8f.c26b88",\r
2194         "type": "success",\r
2195         "name": "success",\r
2196         "xml": "<outcome value='success'>\n",\r
2197         "comments": "",\r
2198         "outputs": 1,\r
2199         "x": 5598.5001220703125,\r
2200         "y": 649,\r
2201         "z": "a1c94a24.22ed9",\r
2202         "wires": [\r
2203             [\r
2204                 "47f12a0.7fd7dd8"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "378c450d.9f83ea",\r
2210         "type": "not-found",\r
2211         "name": "not-found",\r
2212         "xml": "<outcome value='not-found'>\n",\r
2213         "comments": "",\r
2214         "outputs": 1,\r
2215         "x": 5590.5001220703125,\r
2216         "y": 704,\r
2217         "z": "a1c94a24.22ed9",\r
2218         "wires": [\r
2219             [\r
2220                 "aa90c931.1acf78"\r
2221             ]\r
2222         ]\r
2223     },\r
2224     {\r
2225         "id": "dfbd70ce.dcae1",\r
2226         "type": "other",\r
2227         "name": "other",\r
2228         "xml": "<outcome value='Other'>\n",\r
2229         "comments": "",\r
2230         "outputs": 1,\r
2231         "x": 5595.5001220703125,\r
2232         "y": 761,\r
2233         "z": "a1c94a24.22ed9",\r
2234         "wires": [\r
2235             [\r
2236                 "23762cf6.ae956c"\r
2237             ]\r
2238         ]\r
2239     },\r
2240     {\r
2241         "id": "23762cf6.ae956c",\r
2242         "type": "returnFailure",\r
2243         "name": "return failure",\r
2244         "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
2245         "comments": "",\r
2246         "x": 5747.5001220703125,\r
2247         "y": 762,\r
2248         "z": "a1c94a24.22ed9",\r
2249         "wires": []\r
2250     },\r
2251     {\r
2252         "id": "aa90c931.1acf78",\r
2253         "type": "returnFailure",\r
2254         "name": "return failure",\r
2255         "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
2256         "comments": "",\r
2257         "x": 5758.5001220703125,\r
2258         "y": 707,\r
2259         "z": "a1c94a24.22ed9",\r
2260         "wires": []\r
2261     },\r
2262     {\r
2263         "id": "47f12a0.7fd7dd8",\r
2264         "type": "block",\r
2265         "name": "block",\r
2266         "xml": "<block>\n",\r
2267         "atomic": "false",\r
2268         "comments": "",\r
2269         "outputs": 1,\r
2270         "x": 5742.8824462890625,\r
2271         "y": 646.6556701660156,\r
2272         "z": "a1c94a24.22ed9",\r
2273         "wires": [\r
2274             [\r
2275                 "7098fc9f.d79a4c"\r
2276             ]\r
2277         ]\r
2278     },\r
2279     {\r
2280         "id": "afa8e9ca.a2ff88",\r
2281         "type": "outcome",\r
2282         "name": "esr-thirdparty-sdnc",\r
2283         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2284         "comments": "",\r
2285         "outputs": 1,\r
2286         "x": 6325,\r
2287         "y": 665,\r
2288         "z": "a1c94a24.22ed9",\r
2289         "wires": [\r
2290             [\r
2291                 "fcbb91a5.b44ad8"\r
2292             ]\r
2293         ]\r
2294     },\r
2295     {\r
2296         "id": "fcbb91a5.b44ad8",\r
2297         "type": "block",\r
2298         "name": "block : atomic",\r
2299         "xml": "<block atomic=\"true\">",\r
2300         "atomic": "true",\r
2301         "outputs": 1,\r
2302         "x": 6502,\r
2303         "y": 657,\r
2304         "z": "a1c94a24.22ed9",\r
2305         "wires": [\r
2306             [\r
2307                 "81752885.eb63a8",\r
2308                 "c675da0b.5461c8"\r
2309             ]\r
2310         ]\r
2311     },\r
2312     {\r
2313         "id": "7098fc9f.d79a4c",\r
2314         "type": "for",\r
2315         "name": "for each relationship",\r
2316         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2317         "comments": "",\r
2318         "outputs": 1,\r
2319         "x": 5927,\r
2320         "y": 661,\r
2321         "z": "a1c94a24.22ed9",\r
2322         "wires": [\r
2323             [\r
2324                 "4474e908.078af8"\r
2325             ]\r
2326         ]\r
2327     },\r
2328     {\r
2329         "id": "4474e908.078af8",\r
2330         "type": "switchNode",\r
2331         "name": "switch related-to",\r
2332         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2333         "comments": "",\r
2334         "outputs": 1,\r
2335         "x": 6122,\r
2336         "y": 661,\r
2337         "z": "a1c94a24.22ed9",\r
2338         "wires": [\r
2339             [\r
2340                 "afa8e9ca.a2ff88",\r
2341                 "82783d37.d452a8"\r
2342             ]\r
2343         ]\r
2344     },\r
2345     {\r
2346         "id": "81752885.eb63a8",\r
2347         "type": "set",\r
2348         "name": "set esr-thirdparty-sdnc domainA id",\r
2349         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2350         "comments": "",\r
2351         "x": 6740,\r
2352         "y": 612,\r
2353         "z": "a1c94a24.22ed9",\r
2354         "wires": []\r
2355     },\r
2356     {\r
2357         "id": "bb4a9deb.45b028",\r
2358         "type": "success",\r
2359         "name": "success",\r
2360         "xml": "<outcome value='success'>\n",\r
2361         "comments": "",\r
2362         "outputs": 1,\r
2363         "x": 6920,\r
2364         "y": 655,\r
2365         "z": "a1c94a24.22ed9",\r
2366         "wires": [\r
2367             [\r
2368                 "afb3d4f9.ba93a"\r
2369             ]\r
2370         ]\r
2371     },\r
2372     {\r
2373         "id": "7bfedf54.b55d88",\r
2374         "type": "not-found",\r
2375         "name": "not-found",\r
2376         "xml": "<outcome value='not-found'>\n",\r
2377         "comments": "",\r
2378         "outputs": 1,\r
2379         "x": 6912,\r
2380         "y": 710,\r
2381         "z": "a1c94a24.22ed9",\r
2382         "wires": [\r
2383             [\r
2384                 "4c9ef7f7.e20878"\r
2385             ]\r
2386         ]\r
2387     },\r
2388     {\r
2389         "id": "d4dc18e1.4b9fa8",\r
2390         "type": "other",\r
2391         "name": "other",\r
2392         "xml": "<outcome value='Other'>\n",\r
2393         "comments": "",\r
2394         "outputs": 1,\r
2395         "x": 6917,\r
2396         "y": 767,\r
2397         "z": "a1c94a24.22ed9",\r
2398         "wires": [\r
2399             [\r
2400                 "af0e4e29.c0c348"\r
2401             ]\r
2402         ]\r
2403     },\r
2404     {\r
2405         "id": "af0e4e29.c0c348",\r
2406         "type": "returnFailure",\r
2407         "name": "return failure",\r
2408         "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
2409         "comments": "",\r
2410         "x": 7069,\r
2411         "y": 768,\r
2412         "z": "a1c94a24.22ed9",\r
2413         "wires": []\r
2414     },\r
2415     {\r
2416         "id": "4c9ef7f7.e20878",\r
2417         "type": "returnFailure",\r
2418         "name": "return failure",\r
2419         "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
2420         "comments": "",\r
2421         "x": 7080,\r
2422         "y": 713,\r
2423         "z": "a1c94a24.22ed9",\r
2424         "wires": []\r
2425     },\r
2426     {\r
2427         "id": "afb3d4f9.ba93a",\r
2428         "type": "block",\r
2429         "name": "block",\r
2430         "xml": "<block>\n",\r
2431         "atomic": "false",\r
2432         "comments": "",\r
2433         "outputs": 1,\r
2434         "x": 7064.38232421875,\r
2435         "y": 652.6556701660156,\r
2436         "z": "a1c94a24.22ed9",\r
2437         "wires": [\r
2438             [\r
2439                 "48d857d6.23bcb8"\r
2440             ]\r
2441         ]\r
2442     },\r
2443     {\r
2444         "id": "48d857d6.23bcb8",\r
2445         "type": "set",\r
2446         "name": "set controller domainA data",\r
2447         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2448         "comments": "",\r
2449         "x": 7279,\r
2450         "y": 649,\r
2451         "z": "a1c94a24.22ed9",\r
2452         "wires": []\r
2453     },\r
2454     {\r
2455         "id": "15dbb018.1ec0a8",\r
2456         "type": "get-resource",\r
2457         "name": "get-resource src pnf",\r
2458         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2459         "comments": "",\r
2460         "outputs": 1,\r
2461         "x": 5444,\r
2462         "y": 1538,\r
2463         "z": "a1c94a24.22ed9",\r
2464         "wires": [\r
2465             [\r
2466                 "ddbec5c8.9e7b8",\r
2467                 "79a0af8f.4ef61",\r
2468                 "7e842000.99ad5"\r
2469             ]\r
2470         ]\r
2471     },\r
2472     {\r
2473         "id": "ddbec5c8.9e7b8",\r
2474         "type": "success",\r
2475         "name": "success",\r
2476         "xml": "<outcome value='success'>\n",\r
2477         "comments": "",\r
2478         "outputs": 1,\r
2479         "x": 5639.5001220703125,\r
2480         "y": 1490,\r
2481         "z": "a1c94a24.22ed9",\r
2482         "wires": [\r
2483             [\r
2484                 "dd9e895a.d361b8"\r
2485             ]\r
2486         ]\r
2487     },\r
2488     {\r
2489         "id": "79a0af8f.4ef61",\r
2490         "type": "not-found",\r
2491         "name": "not-found",\r
2492         "xml": "<outcome value='not-found'>\n",\r
2493         "comments": "",\r
2494         "outputs": 1,\r
2495         "x": 5631.5001220703125,\r
2496         "y": 1545,\r
2497         "z": "a1c94a24.22ed9",\r
2498         "wires": [\r
2499             [\r
2500                 "bac9dfa5.acb0b8"\r
2501             ]\r
2502         ]\r
2503     },\r
2504     {\r
2505         "id": "7e842000.99ad5",\r
2506         "type": "other",\r
2507         "name": "other",\r
2508         "xml": "<outcome value='Other'>\n",\r
2509         "comments": "",\r
2510         "outputs": 1,\r
2511         "x": 5636.5001220703125,\r
2512         "y": 1602,\r
2513         "z": "a1c94a24.22ed9",\r
2514         "wires": [\r
2515             [\r
2516                 "39141e3c.f5c4ba"\r
2517             ]\r
2518         ]\r
2519     },\r
2520     {\r
2521         "id": "39141e3c.f5c4ba",\r
2522         "type": "returnFailure",\r
2523         "name": "return failure",\r
2524         "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
2525         "comments": "",\r
2526         "x": 5788.5001220703125,\r
2527         "y": 1603,\r
2528         "z": "a1c94a24.22ed9",\r
2529         "wires": []\r
2530     },\r
2531     {\r
2532         "id": "bac9dfa5.acb0b8",\r
2533         "type": "returnFailure",\r
2534         "name": "return failure",\r
2535         "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
2536         "comments": "",\r
2537         "x": 5799.5001220703125,\r
2538         "y": 1548,\r
2539         "z": "a1c94a24.22ed9",\r
2540         "wires": []\r
2541     },\r
2542     {\r
2543         "id": "dd9e895a.d361b8",\r
2544         "type": "block",\r
2545         "name": "block",\r
2546         "xml": "<block>\n",\r
2547         "atomic": "false",\r
2548         "comments": "",\r
2549         "outputs": 1,\r
2550         "x": 5783.8824462890625,\r
2551         "y": 1487.6556701660156,\r
2552         "z": "a1c94a24.22ed9",\r
2553         "wires": [\r
2554             [\r
2555                 "73633cf3.366dcc"\r
2556             ]\r
2557         ]\r
2558     },\r
2559     {\r
2560         "id": "f9e8a04.0c1b9e",\r
2561         "type": "outcome",\r
2562         "name": "esr-thirdparty-sdnc",\r
2563         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2564         "comments": "",\r
2565         "outputs": 1,\r
2566         "x": 6366,\r
2567         "y": 1506,\r
2568         "z": "a1c94a24.22ed9",\r
2569         "wires": [\r
2570             [\r
2571                 "858146ac.41a8b8"\r
2572             ]\r
2573         ]\r
2574     },\r
2575     {\r
2576         "id": "858146ac.41a8b8",\r
2577         "type": "block",\r
2578         "name": "block : atomic",\r
2579         "xml": "<block atomic=\"true\">",\r
2580         "atomic": "true",\r
2581         "outputs": 1,\r
2582         "x": 6543,\r
2583         "y": 1498,\r
2584         "z": "a1c94a24.22ed9",\r
2585         "wires": [\r
2586             [\r
2587                 "b9f112f1.16fa48",\r
2588                 "8777efed.45e25"\r
2589             ]\r
2590         ]\r
2591     },\r
2592     {\r
2593         "id": "73633cf3.366dcc",\r
2594         "type": "for",\r
2595         "name": "for each relationship",\r
2596         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2597         "comments": "",\r
2598         "outputs": 1,\r
2599         "x": 5968,\r
2600         "y": 1502,\r
2601         "z": "a1c94a24.22ed9",\r
2602         "wires": [\r
2603             [\r
2604                 "84157579.d2bb08"\r
2605             ]\r
2606         ]\r
2607     },\r
2608     {\r
2609         "id": "84157579.d2bb08",\r
2610         "type": "switchNode",\r
2611         "name": "switch related-to",\r
2612         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2613         "comments": "",\r
2614         "outputs": 1,\r
2615         "x": 6163,\r
2616         "y": 1502,\r
2617         "z": "a1c94a24.22ed9",\r
2618         "wires": [\r
2619             [\r
2620                 "f9e8a04.0c1b9e",\r
2621                 "bf377915.b45748"\r
2622             ]\r
2623         ]\r
2624     },\r
2625     {\r
2626         "id": "8777efed.45e25",\r
2627         "type": "execute",\r
2628         "name": "get esr-thirdparty-sdnc",\r
2629         "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.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
2630         "comments": "",\r
2631         "outputs": 1,\r
2632         "x": 6751,\r
2633         "y": 1505,\r
2634         "z": "a1c94a24.22ed9",\r
2635         "wires": [\r
2636             [\r
2637                 "2ab532d7.7f1fb6",\r
2638                 "e8de40ac.67f83",\r
2639                 "24548740.4d9e68"\r
2640             ]\r
2641         ]\r
2642     },\r
2643     {\r
2644         "id": "b9f112f1.16fa48",\r
2645         "type": "set",\r
2646         "name": "set esr-thirdparty-sdnc domainB id",\r
2647         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
2648         "comments": "",\r
2649         "x": 6781,\r
2650         "y": 1453,\r
2651         "z": "a1c94a24.22ed9",\r
2652         "wires": []\r
2653     },\r
2654     {\r
2655         "id": "2ab532d7.7f1fb6",\r
2656         "type": "success",\r
2657         "name": "success",\r
2658         "xml": "<outcome value='success'>\n",\r
2659         "comments": "",\r
2660         "outputs": 1,\r
2661         "x": 6961,\r
2662         "y": 1496,\r
2663         "z": "a1c94a24.22ed9",\r
2664         "wires": [\r
2665             [\r
2666                 "feff3b5.5e8b948"\r
2667             ]\r
2668         ]\r
2669     },\r
2670     {\r
2671         "id": "e8de40ac.67f83",\r
2672         "type": "not-found",\r
2673         "name": "not-found",\r
2674         "xml": "<outcome value='not-found'>\n",\r
2675         "comments": "",\r
2676         "outputs": 1,\r
2677         "x": 6953,\r
2678         "y": 1551,\r
2679         "z": "a1c94a24.22ed9",\r
2680         "wires": [\r
2681             [\r
2682                 "8e635e5c.8adab"\r
2683             ]\r
2684         ]\r
2685     },\r
2686     {\r
2687         "id": "24548740.4d9e68",\r
2688         "type": "other",\r
2689         "name": "other",\r
2690         "xml": "<outcome value='Other'>\n",\r
2691         "comments": "",\r
2692         "outputs": 1,\r
2693         "x": 6958,\r
2694         "y": 1608,\r
2695         "z": "a1c94a24.22ed9",\r
2696         "wires": [\r
2697             [\r
2698                 "13ac8b5c.0cfaed"\r
2699             ]\r
2700         ]\r
2701     },\r
2702     {\r
2703         "id": "13ac8b5c.0cfaed",\r
2704         "type": "returnFailure",\r
2705         "name": "return failure",\r
2706         "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
2707         "comments": "",\r
2708         "x": 7110,\r
2709         "y": 1609,\r
2710         "z": "a1c94a24.22ed9",\r
2711         "wires": []\r
2712     },\r
2713     {\r
2714         "id": "8e635e5c.8adab",\r
2715         "type": "returnFailure",\r
2716         "name": "return failure",\r
2717         "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
2718         "comments": "",\r
2719         "x": 7121,\r
2720         "y": 1554,\r
2721         "z": "a1c94a24.22ed9",\r
2722         "wires": []\r
2723     },\r
2724     {\r
2725         "id": "feff3b5.5e8b948",\r
2726         "type": "block",\r
2727         "name": "block",\r
2728         "xml": "<block>\n",\r
2729         "atomic": "false",\r
2730         "comments": "",\r
2731         "outputs": 1,\r
2732         "x": 7105.38232421875,\r
2733         "y": 1493.6556701660156,\r
2734         "z": "a1c94a24.22ed9",\r
2735         "wires": [\r
2736             [\r
2737                 "953167d4.139688"\r
2738             ]\r
2739         ]\r
2740     },\r
2741     {\r
2742         "id": "953167d4.139688",\r
2743         "type": "set",\r
2744         "name": "set controller domainB data",\r
2745         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2746         "comments": "",\r
2747         "x": 7320,\r
2748         "y": 1490,\r
2749         "z": "a1c94a24.22ed9",\r
2750         "wires": []\r
2751     },\r
2752     {\r
2753         "id": "bcacdfd4.14c6d",\r
2754         "type": "block",\r
2755         "name": "block : atomic",\r
2756         "xml": "<block atomic=\"true\">",\r
2757         "atomic": "true",\r
2758         "outputs": 1,\r
2759         "x": 317,\r
2760         "y": 619,\r
2761         "z": "a1c94a24.22ed9",\r
2762         "wires": [\r
2763             [\r
2764                 "403b2da3.dcfec4",\r
2765                 "1a6f80e4.595e77"\r
2766             ]\r
2767         ]\r
2768     },\r
2769     {\r
2770         "id": "403b2da3.dcfec4",\r
2771         "type": "for",\r
2772         "name": "for each allotted-resource relationship",\r
2773         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
2774         "comments": "",\r
2775         "outputs": 1,\r
2776         "x": 763,\r
2777         "y": 478,\r
2778         "z": "a1c94a24.22ed9",\r
2779         "wires": [\r
2780             [\r
2781                 "9653f59e.977668"\r
2782             ]\r
2783         ]\r
2784     },\r
2785     {\r
2786         "id": "9653f59e.977668",\r
2787         "type": "switchNode",\r
2788         "name": "switch related-to",\r
2789         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
2790         "comments": "",\r
2791         "outputs": 1,\r
2792         "x": 3128,\r
2793         "y": 460,\r
2794         "z": "a1c94a24.22ed9",\r
2795         "wires": [\r
2796             [\r
2797                 "77ab35ed.5d2284"\r
2798             ]\r
2799         ]\r
2800     },\r
2801     {\r
2802         "id": "82783d37.d452a8",\r
2803         "type": "outcome",\r
2804         "name": "network-resource",\r
2805         "xml": "<outcome value='network-resource'>",\r
2806         "comments": "",\r
2807         "outputs": 1,\r
2808         "x": 6328,\r
2809         "y": 739,\r
2810         "z": "a1c94a24.22ed9",\r
2811         "wires": [\r
2812             [\r
2813                 "3ce4b168.0164de"\r
2814             ]\r
2815         ]\r
2816     },\r
2817     {\r
2818         "id": "3ce4b168.0164de",\r
2819         "type": "block",\r
2820         "name": "block : atomic",\r
2821         "xml": "<block atomic=\"true\">",\r
2822         "atomic": "true",\r
2823         "outputs": 1,\r
2824         "x": 6505,\r
2825         "y": 731,\r
2826         "z": "a1c94a24.22ed9",\r
2827         "wires": [\r
2828             [\r
2829                 "963d2fd4.6da64"\r
2830             ]\r
2831         ]\r
2832     },\r
2833     {\r
2834         "id": "963d2fd4.6da64",\r
2835         "type": "set",\r
2836         "name": "set domainA ethernet layer network-id",\r
2837         "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2838         "comments": "",\r
2839         "x": 6740,\r
2840         "y": 855,\r
2841         "z": "a1c94a24.22ed9",\r
2842         "wires": []\r
2843     },\r
2844     {\r
2845         "id": "8e0afe4a.b34a6",\r
2846         "type": "set",\r
2847         "name": "set domainB ethernet layer network-id",\r
2848         "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
2849         "comments": "",\r
2850         "x": 6780,\r
2851         "y": 1695,\r
2852         "z": "a1c94a24.22ed9",\r
2853         "wires": []\r
2854     },\r
2855     {\r
2856         "id": "249ec401.31a03c",\r
2857         "type": "block",\r
2858         "name": "block : atomic",\r
2859         "xml": "<block atomic=\"true\">",\r
2860         "atomic": "true",\r
2861         "outputs": 1,\r
2862         "x": 6545,\r
2863         "y": 1571,\r
2864         "z": "a1c94a24.22ed9",\r
2865         "wires": [\r
2866             [\r
2867                 "8e0afe4a.b34a6"\r
2868             ]\r
2869         ]\r
2870     },\r
2871     {\r
2872         "id": "bf377915.b45748",\r
2873         "type": "outcome",\r
2874         "name": "network-resource",\r
2875         "xml": "<outcome value='network-resource'>",\r
2876         "comments": "",\r
2877         "outputs": 1,\r
2878         "x": 6368,\r
2879         "y": 1579,\r
2880         "z": "a1c94a24.22ed9",\r
2881         "wires": [\r
2882             [\r
2883                 "249ec401.31a03c"\r
2884             ]\r
2885         ]\r
2886     },\r
2887     {\r
2888         "id": "9b904bff.ec9058",\r
2889         "type": "set",\r
2890         "name": "set the max bandwidth",\r
2891         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
2892         "comments": "",\r
2893         "x": 4320,\r
2894         "y": 515,\r
2895         "z": "a1c94a24.22ed9",\r
2896         "wires": []\r
2897     },\r
2898     {\r
2899         "id": "64d793c7.441b84",\r
2900         "type": "execute",\r
2901         "name": "execute UUID generator for ethernet-service-name",\r
2902         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
2903         "comments": "",\r
2904         "outputs": 1,\r
2905         "x": 4342,\r
2906         "y": 650,\r
2907         "z": "a1c94a24.22ed9",\r
2908         "wires": [\r
2909             []\r
2910         ]\r
2911     },\r
2912     {\r
2913         "id": "c6ccb3e9.91ea18",\r
2914         "type": "execute",\r
2915         "name": "execute UUID generator for otn-tunnel-name",\r
2916         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
2917         "comments": "",\r
2918         "outputs": 1,\r
2919         "x": 4323,\r
2920         "y": 700,\r
2921         "z": "a1c94a24.22ed9",\r
2922         "wires": [\r
2923             []\r
2924         ]\r
2925     },\r
2926     {\r
2927         "id": "8f80cd4e.6bb588",\r
2928         "type": "for",\r
2929         "name": "for each allotted-resource",\r
2930         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
2931         "comments": "",\r
2932         "outputs": 1,\r
2933         "x": 1933,\r
2934         "y": 248,\r
2935         "z": "a1c94a24.22ed9",\r
2936         "wires": [\r
2937             [\r
2938                 "f465bd8c.ba2628",\r
2939                 "8f1217ff.70176"\r
2940             ]\r
2941         ]\r
2942     },\r
2943     {\r
2944         "id": "f465bd8c.ba2628",\r
2945         "type": "set",\r
2946         "name": "set the current allotted-resource-id",\r
2947         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
2948         "comments": "",\r
2949         "x": 2198,\r
2950         "y": 171,\r
2951         "z": "a1c94a24.22ed9",\r
2952         "wires": []\r
2953     },\r
2954     {\r
2955         "id": "f986e215.6b3c08",\r
2956         "type": "set",\r
2957         "name": "set query_param",\r
2958         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
2959         "comments": "",\r
2960         "x": 4240,\r
2961         "y": 2150,\r
2962         "z": "a1c94a24.22ed9",\r
2963         "wires": []\r
2964     },\r
2965     {\r
2966         "id": "4e189d8f.8297c4",\r
2967         "type": "set",\r
2968         "name": "unset parameters",\r
2969         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
2970         "comments": "",\r
2971         "x": 4223,\r
2972         "y": 3908,\r
2973         "z": "a1c94a24.22ed9",\r
2974         "wires": []\r
2975     },\r
2976     {\r
2977         "id": "6963f6fb.4a135",\r
2978         "type": "set",\r
2979         "name": "set new ethernet-service-name",\r
2980         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
2981         "comments": "",\r
2982         "x": 4280,\r
2983         "y": 745,\r
2984         "z": "a1c94a24.22ed9",\r
2985         "wires": []\r
2986     },\r
2987     {\r
2988         "id": "40ae5836.eda238",\r
2989         "type": "for",\r
2990         "name": "for vidx..tmp.otninfo_length[]",\r
2991         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
2992         "comments": "",\r
2993         "outputs": 1,\r
2994         "x": 4274,\r
2995         "y": 2329,\r
2996         "z": "a1c94a24.22ed9",\r
2997         "wires": [\r
2998             [\r
2999                 "2e490e87.e61d42"\r
3000             ]\r
3001         ]\r
3002     },\r
3003     {\r
3004         "id": "5b2c57a6.c56358",\r
3005         "type": "save",\r
3006         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3007         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\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`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3008         "comments": "",\r
3009         "outputs": 1,\r
3010         "x": 5397,\r
3011         "y": 2897,\r
3012         "z": "a1c94a24.22ed9",\r
3013         "wires": [\r
3014             [\r
3015                 "9802e598.7a08e"\r
3016             ]\r
3017         ]\r
3018     },\r
3019     {\r
3020         "id": "457942f4.bfb36c",\r
3021         "type": "save",\r
3022         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3023         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-domainA-uuid`\" />\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=\"`$uuid.connectivity-domainA-uuid`\" />",\r
3024         "comments": "",\r
3025         "outputs": 1,\r
3026         "x": 5969.5,\r
3027         "y": 3001,\r
3028         "z": "a1c94a24.22ed9",\r
3029         "wires": [\r
3030             []\r
3031         ]\r
3032     },\r
3033     {\r
3034         "id": "9802e598.7a08e",\r
3035         "type": "success",\r
3036         "name": "success",\r
3037         "xml": "<outcome value='success'>\n",\r
3038         "comments": "",\r
3039         "outputs": 1,\r
3040         "x": 5703,\r
3041         "y": 2896,\r
3042         "z": "a1c94a24.22ed9",\r
3043         "wires": [\r
3044             [\r
3045                 "c8f4f504.510ca8"\r
3046             ]\r
3047         ]\r
3048     },\r
3049     {\r
3050         "id": "c8f4f504.510ca8",\r
3051         "type": "block",\r
3052         "name": "block",\r
3053         "xml": "<block>\n",\r
3054         "atomic": "false",\r
3055         "comments": "",\r
3056         "outputs": 1,\r
3057         "x": 5912.5,\r
3058         "y": 2896.25390625,\r
3059         "z": "a1c94a24.22ed9",\r
3060         "wires": [\r
3061             []\r
3062         ]\r
3063     },\r
3064     {\r
3065         "id": "dc51f3dc.862168",\r
3066         "type": "execute",\r
3067         "name": "execute UUID generator for vpn-binding $otnidx",\r
3068         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
3069         "comments": "",\r
3070         "outputs": 1,\r
3071         "x": 5433,\r
3072         "y": 2361,\r
3073         "z": "a1c94a24.22ed9",\r
3074         "wires": [\r
3075             []\r
3076         ]\r
3077     },\r
3078     {\r
3079         "id": "8f203418.5717c8",\r
3080         "type": "switchNode",\r
3081         "name": "switch otnidx == 0",\r
3082         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3083         "comments": "",\r
3084         "outputs": 1,\r
3085         "x": 5306,\r
3086         "y": 3014,\r
3087         "z": "a1c94a24.22ed9",\r
3088         "wires": [\r
3089             [\r
3090                 "22c6b3cb.e79214",\r
3091                 "862cb9a5.5437d"\r
3092             ]\r
3093         ]\r
3094     },\r
3095     {\r
3096         "id": "22c6b3cb.e79214",\r
3097         "type": "outcomeTrue",\r
3098         "name": "true",\r
3099         "xml": "<outcome value='true'>\n",\r
3100         "comments": "",\r
3101         "outputs": 1,\r
3102         "x": 5489,\r
3103         "y": 3014,\r
3104         "z": "a1c94a24.22ed9",\r
3105         "wires": [\r
3106             [\r
3107                 "2ad37e70.de6eda"\r
3108             ]\r
3109         ]\r
3110     },\r
3111     {\r
3112         "id": "862cb9a5.5437d",\r
3113         "type": "outcomeFalse",\r
3114         "name": "false",\r
3115         "xml": "<outcome value='false'>\n",\r
3116         "comments": "",\r
3117         "outputs": 1,\r
3118         "x": 5314,\r
3119         "y": 3161,\r
3120         "z": "a1c94a24.22ed9",\r
3121         "wires": [\r
3122             [\r
3123                 "6c8b8ef6.d3a3"\r
3124             ]\r
3125         ]\r
3126     },\r
3127     {\r
3128         "id": "886d3de7.c041d",\r
3129         "type": "switchNode",\r
3130         "name": "switch otnidx == last",\r
3131         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3132         "comments": "",\r
3133         "outputs": 1,\r
3134         "x": 5655,\r
3135         "y": 3242,\r
3136         "z": "a1c94a24.22ed9",\r
3137         "wires": [\r
3138             [\r
3139                 "521941d1.ae6f7",\r
3140                 "6f826e7d.af0fc8"\r
3141             ]\r
3142         ]\r
3143     },\r
3144     {\r
3145         "id": "521941d1.ae6f7",\r
3146         "type": "outcomeTrue",\r
3147         "name": "true",\r
3148         "xml": "<outcome value='true'>\n",\r
3149         "comments": "",\r
3150         "outputs": 1,\r
3151         "x": 5840,\r
3152         "y": 3243,\r
3153         "z": "a1c94a24.22ed9",\r
3154         "wires": [\r
3155             [\r
3156                 "7726ccce.f0f08c"\r
3157             ]\r
3158         ]\r
3159     },\r
3160     {\r
3161         "id": "6f826e7d.af0fc8",\r
3162         "type": "outcomeFalse",\r
3163         "name": "false",\r
3164         "xml": "<outcome value='false'>\n",\r
3165         "comments": "",\r
3166         "outputs": 1,\r
3167         "x": 5859,\r
3168         "y": 3509,\r
3169         "z": "a1c94a24.22ed9",\r
3170         "wires": [\r
3171             [\r
3172                 "49c1c5c0.4e8b8c"\r
3173             ]\r
3174         ]\r
3175     },\r
3176     {\r
3177         "id": "905b732c.f0ad98",\r
3178         "type": "save",\r
3179         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3180         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $prop.connectivity-domainB-uuid`\" />\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=\"`$prop.connectivity-domainB-uuid`\" />",\r
3181         "comments": "",\r
3182         "outputs": 1,\r
3183         "x": 6270,\r
3184         "y": 3244,\r
3185         "z": "a1c94a24.22ed9",\r
3186         "wires": [\r
3187             []\r
3188         ]\r
3189     },\r
3190     {\r
3191         "id": "dd09a90e.7899b",\r
3192         "type": "execute",\r
3193         "name": "execute UUID generator for connectivity domain otnidx",\r
3194         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3195         "comments": "",\r
3196         "outputs": 1,\r
3197         "x": 6344,\r
3198         "y": 3542,\r
3199         "z": "a1c94a24.22ed9",\r
3200         "wires": [\r
3201             []\r
3202         ]\r
3203     },\r
3204     {\r
3205         "id": "fc11577c.3662e8",\r
3206         "type": "save",\r
3207         "name": "save connectivity resource in AAI",\r
3208         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='CBS' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='EBS' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3209         "comments": "",\r
3210         "outputs": 1,\r
3211         "x": 6280,\r
3212         "y": 3593,\r
3213         "z": "a1c94a24.22ed9",\r
3214         "wires": [\r
3215             []\r
3216         ]\r
3217     },\r
3218     {\r
3219         "id": "a3be8dfb.ebcf2",\r
3220         "type": "save",\r
3221         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3222         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $uuid.connectivity-otnidx-uuid`\" />\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=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",\r
3223         "comments": "",\r
3224         "outputs": 1,\r
3225         "x": 6409,\r
3226         "y": 3643,\r
3227         "z": "a1c94a24.22ed9",\r
3228         "wires": [\r
3229             []\r
3230         ]\r
3231     },\r
3232     {\r
3233         "id": "28e97ea9.3189d2",\r
3234         "type": "comment",\r
3235         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3236         "info": "",\r
3237         "comments": "",\r
3238         "x": 6419,\r
3239         "y": 3486,\r
3240         "z": "a1c94a24.22ed9",\r
3241         "wires": []\r
3242     },\r
3243     {\r
3244         "id": "3c225fc2.333288",\r
3245         "type": "save",\r
3246         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3247         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-otnidx-uuid`\" />\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=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
3248         "comments": "",\r
3249         "outputs": 1,\r
3250         "x": 6377,\r
3251         "y": 3702,\r
3252         "z": "a1c94a24.22ed9",\r
3253         "wires": [\r
3254             []\r
3255         ]\r
3256     },\r
3257     {\r
3258         "id": "49c1c5c0.4e8b8c",\r
3259         "type": "block",\r
3260         "name": "block : atomic",\r
3261         "xml": "<block atomic='true'>",\r
3262         "atomic": "true",\r
3263         "comments": "",\r
3264         "outputs": 1,\r
3265         "x": 6016,\r
3266         "y": 3510,\r
3267         "z": "a1c94a24.22ed9",\r
3268         "wires": [\r
3269             [\r
3270                 "dd09a90e.7899b",\r
3271                 "fc11577c.3662e8",\r
3272                 "a3be8dfb.ebcf2",\r
3273                 "3c225fc2.333288",\r
3274                 "6f9b661d.d75948"\r
3275             ]\r
3276         ]\r
3277     },\r
3278     {\r
3279         "id": "2e490e87.e61d42",\r
3280         "type": "block",\r
3281         "name": "block : atomic",\r
3282         "xml": "<block atomic='true'>",\r
3283         "atomic": "true",\r
3284         "comments": "",\r
3285         "outputs": 1,\r
3286         "x": 4526,\r
3287         "y": 2390,\r
3288         "z": "a1c94a24.22ed9",\r
3289         "wires": [\r
3290             [\r
3291                 "dc51f3dc.862168",\r
3292                 "5b2c57a6.c56358",\r
3293                 "8f203418.5717c8",\r
3294                 "c3673769.ff0828",\r
3295                 "3b94d9a7.b824be",\r
3296                 "e2ccb618.b8a8d",\r
3297                 "77665e36.902488"\r
3298             ]\r
3299         ]\r
3300     },\r
3301     {\r
3302         "id": "c5c2060f.16d9c8",\r
3303         "type": "set",\r
3304         "name": "set attachment_param domain A",\r
3305         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
3306         "comments": "",\r
3307         "x": 5894,\r
3308         "y": 3058,\r
3309         "z": "a1c94a24.22ed9",\r
3310         "wires": []\r
3311     },\r
3312     {\r
3313         "id": "db559808.bd4158",\r
3314         "type": "execute",\r
3315         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3316         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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
3317         "comments": "",\r
3318         "outputs": 1,\r
3319         "x": 5947,\r
3320         "y": 3102,\r
3321         "z": "a1c94a24.22ed9",\r
3322         "wires": [\r
3323             [\r
3324                 "3a25adfa.fa5c4a",\r
3325                 "1deeb503.94e2fb"\r
3326             ]\r
3327         ]\r
3328     },\r
3329     {\r
3330         "id": "1deeb503.94e2fb",\r
3331         "type": "failure",\r
3332         "name": "failure",\r
3333         "xml": "<outcome value='failure'>\n",\r
3334         "comments": "",\r
3335         "outputs": 1,\r
3336         "x": 6218,\r
3337         "y": 3087,\r
3338         "z": "a1c94a24.22ed9",\r
3339         "wires": [\r
3340             [\r
3341                 "9df348c2.491e88"\r
3342             ]\r
3343         ]\r
3344     },\r
3345     {\r
3346         "id": "3a25adfa.fa5c4a",\r
3347         "type": "success",\r
3348         "name": "success",\r
3349         "xml": "<outcome value='success'>\n",\r
3350         "comments": "",\r
3351         "outputs": 1,\r
3352         "x": 6216.000213623047,\r
3353         "y": 3144.99990940094,\r
3354         "z": "a1c94a24.22ed9",\r
3355         "wires": [\r
3356             [\r
3357                 "6842e2ab.cc6dcc"\r
3358             ]\r
3359         ]\r
3360     },\r
3361     {\r
3362         "id": "9df348c2.491e88",\r
3363         "type": "returnFailure",\r
3364         "name": "return failure",\r
3365         "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 UNI Coloring for domain A\" />\n",\r
3366         "comments": "",\r
3367         "x": 6358.000247955322,\r
3368         "y": 3087.0000009536743,\r
3369         "z": "a1c94a24.22ed9",\r
3370         "wires": []\r
3371     },\r
3372     {\r
3373         "id": "6842e2ab.cc6dcc",\r
3374         "type": "block",\r
3375         "name": "block",\r
3376         "xml": "<block>\n",\r
3377         "atomic": "false",\r
3378         "comments": "",\r
3379         "outputs": 1,\r
3380         "x": 6364.02725982666,\r
3381         "y": 3135.745394706726,\r
3382         "z": "a1c94a24.22ed9",\r
3383         "wires": [\r
3384             []\r
3385         ]\r
3386     },\r
3387     {\r
3388         "id": "2ad37e70.de6eda",\r
3389         "type": "block",\r
3390         "name": "block",\r
3391         "xml": "<block>\n",\r
3392         "atomic": "false",\r
3393         "comments": "",\r
3394         "outputs": 1,\r
3395         "x": 5630,\r
3396         "y": 3004,\r
3397         "z": "a1c94a24.22ed9",\r
3398         "wires": [\r
3399             [\r
3400                 "457942f4.bfb36c",\r
3401                 "db559808.bd4158",\r
3402                 "c5c2060f.16d9c8"\r
3403             ]\r
3404         ]\r
3405     },\r
3406     {\r
3407         "id": "7726ccce.f0f08c",\r
3408         "type": "block",\r
3409         "name": "block",\r
3410         "xml": "<block>\n",\r
3411         "atomic": "false",\r
3412         "comments": "",\r
3413         "outputs": 1,\r
3414         "x": 5974,\r
3415         "y": 3244,\r
3416         "z": "a1c94a24.22ed9",\r
3417         "wires": [\r
3418             [\r
3419                 "905b732c.f0ad98",\r
3420                 "7d99b03d.258298",\r
3421                 "45df9551.f0104c"\r
3422             ]\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "45df9551.f0104c",\r
3427         "type": "set",\r
3428         "name": "set attachment_param domain B",\r
3429         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3430         "comments": "",\r
3431         "x": 6194,\r
3432         "y": 3288,\r
3433         "z": "a1c94a24.22ed9",\r
3434         "wires": []\r
3435     },\r
3436     {\r
3437         "id": "7d99b03d.258298",\r
3438         "type": "execute",\r
3439         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3440         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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
3441         "comments": "",\r
3442         "outputs": 1,\r
3443         "x": 6245,\r
3444         "y": 3332,\r
3445         "z": "a1c94a24.22ed9",\r
3446         "wires": [\r
3447             [\r
3448                 "bd0a7a36.9d20c8",\r
3449                 "dca7fdc6.a617b"\r
3450             ]\r
3451         ]\r
3452     },\r
3453     {\r
3454         "id": "dca7fdc6.a617b",\r
3455         "type": "failure",\r
3456         "name": "failure",\r
3457         "xml": "<outcome value='failure'>\n",\r
3458         "comments": "",\r
3459         "outputs": 1,\r
3460         "x": 6508,\r
3461         "y": 3312,\r
3462         "z": "a1c94a24.22ed9",\r
3463         "wires": [\r
3464             [\r
3465                 "fccd3cd5.48582"\r
3466             ]\r
3467         ]\r
3468     },\r
3469     {\r
3470         "id": "bd0a7a36.9d20c8",\r
3471         "type": "success",\r
3472         "name": "success",\r
3473         "xml": "<outcome value='success'>\n",\r
3474         "comments": "",\r
3475         "outputs": 1,\r
3476         "x": 6509.000213623047,\r
3477         "y": 3362.99990940094,\r
3478         "z": "a1c94a24.22ed9",\r
3479         "wires": [\r
3480             [\r
3481                 "21901264.638a9e"\r
3482             ]\r
3483         ]\r
3484     },\r
3485     {\r
3486         "id": "fccd3cd5.48582",\r
3487         "type": "returnFailure",\r
3488         "name": "return failure",\r
3489         "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 UNI coloring for domain B\" />\n",\r
3490         "comments": "",\r
3491         "x": 6648.000247955322,\r
3492         "y": 3312.0000009536743,\r
3493         "z": "a1c94a24.22ed9",\r
3494         "wires": []\r
3495     },\r
3496     {\r
3497         "id": "21901264.638a9e",\r
3498         "type": "block",\r
3499         "name": "block",\r
3500         "xml": "<block>\n",\r
3501         "atomic": "false",\r
3502         "comments": "",\r
3503         "outputs": 1,\r
3504         "x": 6654.02725982666,\r
3505         "y": 3360.745394706726,\r
3506         "z": "a1c94a24.22ed9",\r
3507         "wires": [\r
3508             []\r
3509         ]\r
3510     },\r
3511     {\r
3512         "id": "6f9b661d.d75948",\r
3513         "type": "set",\r
3514         "name": "set attachment_param domain otnidx",\r
3515         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3516         "comments": "",\r
3517         "x": 6291,\r
3518         "y": 3762,\r
3519         "z": "a1c94a24.22ed9",\r
3520         "wires": []\r
3521     },\r
3522     {\r
3523         "id": "19fc5975.9c891f",\r
3524         "type": "save",\r
3525         "name": "get all-vpn-bindings from aai",\r
3526         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
3527         "comments": "",\r
3528         "outputs": 1,\r
3529         "x": 3610,\r
3530         "y": 4109,\r
3531         "z": "a1c94a24.22ed9",\r
3532         "wires": [\r
3533             [\r
3534                 "3b17ad03.4221a2",\r
3535                 "d69cd907.6aa748",\r
3536                 "2274d619.b436c2"\r
3537             ]\r
3538         ]\r
3539     },\r
3540     {\r
3541         "id": "3b17ad03.4221a2",\r
3542         "type": "success",\r
3543         "name": "success",\r
3544         "xml": "<outcome value='success'>\n",\r
3545         "comments": "",\r
3546         "outputs": 1,\r
3547         "x": 3798,\r
3548         "y": 4122,\r
3549         "z": "a1c94a24.22ed9",\r
3550         "wires": [\r
3551             [\r
3552                 "c84d9923.4faed"\r
3553             ]\r
3554         ]\r
3555     },\r
3556     {\r
3557         "id": "d69cd907.6aa748",\r
3558         "type": "not-found",\r
3559         "name": "not-found",\r
3560         "xml": "<outcome value='not-found'>\n",\r
3561         "comments": "",\r
3562         "outputs": 1,\r
3563         "x": 3798.490966796875,\r
3564         "y": 4167.574035644531,\r
3565         "z": "a1c94a24.22ed9",\r
3566         "wires": [\r
3567             [\r
3568                 "ab55f6d5.77c7d"\r
3569             ]\r
3570         ]\r
3571     },\r
3572     {\r
3573         "id": "2274d619.b436c2",\r
3574         "type": "failure",\r
3575         "name": "failure",\r
3576         "xml": "<outcome value='failure'>\n",\r
3577         "comments": "",\r
3578         "outputs": 1,\r
3579         "x": 3796,\r
3580         "y": 4211,\r
3581         "z": "a1c94a24.22ed9",\r
3582         "wires": [\r
3583             [\r
3584                 "7380e8da.afb22"\r
3585             ]\r
3586         ]\r
3587     },\r
3588     {\r
3589         "id": "c84d9923.4faed",\r
3590         "type": "block",\r
3591         "name": "block : atomic",\r
3592         "xml": "<block atomic=\"true\">",\r
3593         "atomic": "true",\r
3594         "outputs": 1,\r
3595         "x": 3971,\r
3596         "y": 4120,\r
3597         "z": "a1c94a24.22ed9",\r
3598         "wires": [\r
3599             [\r
3600                 "4f7659f.9cf48a8"\r
3601             ]\r
3602         ]\r
3603     },\r
3604     {\r
3605         "id": "ab55f6d5.77c7d",\r
3606         "type": "returnFailure",\r
3607         "name": "return failure",\r
3608         "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.l3vpn.pe1_id`\" />\n\n",\r
3609         "comments": "",\r
3610         "x": 3961.0623779296875,\r
3611         "y": 4167.859771728516,\r
3612         "z": "a1c94a24.22ed9",\r
3613         "wires": []\r
3614     },\r
3615     {\r
3616         "id": "7380e8da.afb22",\r
3617         "type": "returnFailure",\r
3618         "name": "return failure",\r
3619         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3620         "comments": "",\r
3621         "x": 3963,\r
3622         "y": 4210,\r
3623         "z": "a1c94a24.22ed9",\r
3624         "wires": []\r
3625     },\r
3626     {\r
3627         "id": "2ea54daa.f8c89a",\r
3628         "type": "for",\r
3629         "name": "for vidx..tmp.otninfo_length[]",\r
3630         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
3631         "comments": "",\r
3632         "outputs": 1,\r
3633         "x": 3599,\r
3634         "y": 4300,\r
3635         "z": "a1c94a24.22ed9",\r
3636         "wires": [\r
3637             [\r
3638                 "1b14a9d6.5d5776"\r
3639             ]\r
3640         ]\r
3641     },\r
3642     {\r
3643         "id": "ae6235d1.274b2",\r
3644         "type": "block",\r
3645         "name": "block : atomic",\r
3646         "xml": "<block atomic='true'>",\r
3647         "atomic": "true",\r
3648         "comments": "",\r
3649         "outputs": 1,\r
3650         "x": 4409,\r
3651         "y": 4300,\r
3652         "z": "a1c94a24.22ed9",\r
3653         "wires": [\r
3654             [\r
3655                 "b2a4c6eb.8f6fb8"\r
3656             ]\r
3657         ]\r
3658     },\r
3659     {\r
3660         "id": "c8a00103.c44878",\r
3661         "type": "for",\r
3662         "name": "for vidx..tmp.otninfo_length[]",\r
3663         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
3664         "comments": "",\r
3665         "outputs": 1,\r
3666         "x": 4181,\r
3667         "y": 4300,\r
3668         "z": "a1c94a24.22ed9",\r
3669         "wires": [\r
3670             [\r
3671                 "ae6235d1.274b2"\r
3672             ]\r
3673         ]\r
3674     },\r
3675     {\r
3676         "id": "315b6688.54502a",\r
3677         "type": "set",\r
3678         "name": "set providerValue",\r
3679         "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
3680         "comments": "",\r
3681         "x": 5301,\r
3682         "y": 4067,\r
3683         "z": "a1c94a24.22ed9",\r
3684         "wires": []\r
3685     },\r
3686     {\r
3687         "id": "ea932ad5.e0e7e8",\r
3688         "type": "set",\r
3689         "name": "set",\r
3690         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
3691         "comments": "",\r
3692         "x": 5603,\r
3693         "y": 3193,\r
3694         "z": "a1c94a24.22ed9",\r
3695         "wires": []\r
3696     },\r
3697     {\r
3698         "id": "6c8b8ef6.d3a3",\r
3699         "type": "block",\r
3700         "name": "block",\r
3701         "xml": "<block>\n",\r
3702         "atomic": "false",\r
3703         "comments": "",\r
3704         "outputs": 1,\r
3705         "x": 5438,\r
3706         "y": 3168,\r
3707         "z": "a1c94a24.22ed9",\r
3708         "wires": [\r
3709             [\r
3710                 "ea932ad5.e0e7e8",\r
3711                 "886d3de7.c041d"\r
3712             ]\r
3713         ]\r
3714     },\r
3715     {\r
3716         "id": "1ad0a363.7d61cd",\r
3717         "type": "set",\r
3718         "name": "set tmp.arr",\r
3719         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",\r
3720         "comments": "",\r
3721         "x": 1892,\r
3722         "y": 198,\r
3723         "z": "a1c94a24.22ed9",\r
3724         "wires": []\r
3725     },\r
3726     {\r
3727         "id": "4f7659f.9cf48a8",\r
3728         "type": "for",\r
3729         "name": "for vpnidx in all-vpn-bindings",\r
3730         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
3731         "comments": "",\r
3732         "outputs": 1,\r
3733         "x": 4200,\r
3734         "y": 4121,\r
3735         "z": "a1c94a24.22ed9",\r
3736         "wires": [\r
3737             [\r
3738                 "39723735.013e2"\r
3739             ]\r
3740         ]\r
3741     },\r
3742     {\r
3743         "id": "39723735.013e2",\r
3744         "type": "block",\r
3745         "name": "block : atomic",\r
3746         "xml": "<block atomic='true'>",\r
3747         "atomic": "true",\r
3748         "comments": "",\r
3749         "outputs": 1,\r
3750         "x": 4415,\r
3751         "y": 4122,\r
3752         "z": "a1c94a24.22ed9",\r
3753         "wires": [\r
3754             [\r
3755                 "a85f98e7.7e0e3"\r
3756             ]\r
3757         ]\r
3758     },\r
3759     {\r
3760         "id": "45b1bc5.a80fac4",\r
3761         "type": "for",\r
3762         "name": "for arridx in tmp.arr",\r
3763         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
3764         "comments": "",\r
3765         "outputs": 1,\r
3766         "x": 5868,\r
3767         "y": 4042,\r
3768         "z": "a1c94a24.22ed9",\r
3769         "wires": [\r
3770             [\r
3771                 "6b77cda7.20313c"\r
3772             ]\r
3773         ]\r
3774     },\r
3775     {\r
3776         "id": "2e1bb3dd.371e44",\r
3777         "type": "switchNode",\r
3778         "name": "switch $tmp.arr_length != 0",\r
3779         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
3780         "comments": "",\r
3781         "outputs": 1,\r
3782         "x": 5334,\r
3783         "y": 4122,\r
3784         "z": "a1c94a24.22ed9",\r
3785         "wires": [\r
3786             [\r
3787                 "24502626.aaa1ba",\r
3788                 "5f3af9a.344a808"\r
3789             ]\r
3790         ]\r
3791     },\r
3792     {\r
3793         "id": "24502626.aaa1ba",\r
3794         "type": "outcomeTrue",\r
3795         "name": "true",\r
3796         "xml": "<outcome value='true'>\n",\r
3797         "comments": "",\r
3798         "outputs": 1,\r
3799         "x": 5530,\r
3800         "y": 4092,\r
3801         "z": "a1c94a24.22ed9",\r
3802         "wires": [\r
3803             [\r
3804                 "d529614e.bbdc5"\r
3805             ]\r
3806         ]\r
3807     },\r
3808     {\r
3809         "id": "5f3af9a.344a808",\r
3810         "type": "outcomeFalse",\r
3811         "name": "false",\r
3812         "xml": "<outcome value='false'>\n",\r
3813         "comments": "",\r
3814         "outputs": 1,\r
3815         "x": 5531,\r
3816         "y": 4163,\r
3817         "z": "a1c94a24.22ed9",\r
3818         "wires": [\r
3819             [\r
3820                 "ec475a9a.8eb8b8"\r
3821             ]\r
3822         ]\r
3823     },\r
3824     {\r
3825         "id": "d529614e.bbdc5",\r
3826         "type": "block",\r
3827         "name": "block : atomic",\r
3828         "xml": "<block atomic='true'>",\r
3829         "atomic": "true",\r
3830         "comments": "",\r
3831         "outputs": 1,\r
3832         "x": 5681,\r
3833         "y": 4090,\r
3834         "z": "a1c94a24.22ed9",\r
3835         "wires": [\r
3836             [\r
3837                 "45b1bc5.a80fac4",\r
3838                 "c40fb6f1.31454"\r
3839             ]\r
3840         ]\r
3841     },\r
3842     {\r
3843         "id": "6b77cda7.20313c",\r
3844         "type": "switchNode",\r
3845         "name": "switch tmp.arr[$arridx] == $providerValue",\r
3846         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
3847         "comments": "",\r
3848         "outputs": 1,\r
3849         "x": 6159,\r
3850         "y": 4042,\r
3851         "z": "a1c94a24.22ed9",\r
3852         "wires": [\r
3853             [\r
3854                 "de5fc252.aa8c8",\r
3855                 "5ea06666.14b488"\r
3856             ]\r
3857         ]\r
3858     },\r
3859     {\r
3860         "id": "de5fc252.aa8c8",\r
3861         "type": "outcomeTrue",\r
3862         "name": "true",\r
3863         "xml": "<outcome value='true'>\n",\r
3864         "comments": "",\r
3865         "outputs": 1,\r
3866         "x": 6434,\r
3867         "y": 4011,\r
3868         "z": "a1c94a24.22ed9",\r
3869         "wires": [\r
3870             [\r
3871                 "171b52be.079295"\r
3872             ]\r
3873         ]\r
3874     },\r
3875     {\r
3876         "id": "5ea06666.14b488",\r
3877         "type": "outcomeFalse",\r
3878         "name": "false",\r
3879         "xml": "<outcome value='false'>\n",\r
3880         "comments": "",\r
3881         "outputs": 1,\r
3882         "x": 6435,\r
3883         "y": 4082,\r
3884         "z": "a1c94a24.22ed9",\r
3885         "wires": [\r
3886             [\r
3887                 "9281ca71.e773a"\r
3888             ]\r
3889         ]\r
3890     },\r
3891     {\r
3892         "id": "171b52be.079295",\r
3893         "type": "block",\r
3894         "name": "block : atomic",\r
3895         "xml": "<block atomic='true'>",\r
3896         "atomic": "true",\r
3897         "comments": "",\r
3898         "outputs": 1,\r
3899         "x": 6585,\r
3900         "y": 4009,\r
3901         "z": "a1c94a24.22ed9",\r
3902         "wires": [\r
3903             [\r
3904                 "e713eb27.04e0e8",\r
3905                 "321eb6fe.b414b2",\r
3906                 "2f73393e.94f68e",\r
3907                 "3f07f766.243a2",\r
3908                 "ef925dc2.f8f9f"\r
3909             ]\r
3910         ]\r
3911     },\r
3912     {\r
3913         "id": "e713eb27.04e0e8",\r
3914         "type": "set",\r
3915         "name": "set found to true",\r
3916         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
3917         "comments": "",\r
3918         "x": 6773,\r
3919         "y": 3969,\r
3920         "z": "a1c94a24.22ed9",\r
3921         "wires": []\r
3922     },\r
3923     {\r
3924         "id": "321eb6fe.b414b2",\r
3925         "type": "save",\r
3926         "name": "store $arridx somewhere in vpn-binding",\r
3927         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
3928         "comments": "",\r
3929         "outputs": 1,\r
3930         "x": 6845,\r
3931         "y": 4014,\r
3932         "z": "a1c94a24.22ed9",\r
3933         "wires": [\r
3934             []\r
3935         ]\r
3936     },\r
3937     {\r
3938         "id": "ef925dc2.f8f9f",\r
3939         "type": "set",\r
3940         "name": "set twoD arr",\r
3941         "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
3942         "comments": "",\r
3943         "x": 6760,\r
3944         "y": 4141,\r
3945         "z": "a1c94a24.22ed9",\r
3946         "wires": []\r
3947     },\r
3948     {\r
3949         "id": "3f07f766.243a2",\r
3950         "type": "set",\r
3951         "name": "set sizeOfSliceList",\r
3952         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
3953         "comments": "",\r
3954         "x": 6781,\r
3955         "y": 4077,\r
3956         "z": "a1c94a24.22ed9",\r
3957         "wires": []\r
3958     },\r
3959     {\r
3960         "id": "ec475a9a.8eb8b8",\r
3961         "type": "block",\r
3962         "name": "block : atomic",\r
3963         "xml": "<block atomic='true'>",\r
3964         "atomic": "true",\r
3965         "comments": "",\r
3966         "outputs": 1,\r
3967         "x": 5683,\r
3968         "y": 4163,\r
3969         "z": "a1c94a24.22ed9",\r
3970         "wires": [\r
3971             [\r
3972                 "1e5d0b07.cb12bd",\r
3973                 "6806bbfa.adddec"\r
3974             ]\r
3975         ]\r
3976     },\r
3977     {\r
3978         "id": "1e5d0b07.cb12bd",\r
3979         "type": "save",\r
3980         "name": "store $arridx somewhere in vpn-binding",\r
3981         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
3982         "comments": "",\r
3983         "outputs": 1,\r
3984         "x": 5938,\r
3985         "y": 4156,\r
3986         "z": "a1c94a24.22ed9",\r
3987         "wires": [\r
3988             []\r
3989         ]\r
3990     },\r
3991     {\r
3992         "id": "6806bbfa.adddec",\r
3993         "type": "set",\r
3994         "name": "set twoD array",\r
3995         "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
3996         "comments": "",\r
3997         "x": 5866,\r
3998         "y": 4203,\r
3999         "z": "a1c94a24.22ed9",\r
4000         "wires": []\r
4001     },\r
4002     {\r
4003         "id": "c40fb6f1.31454",\r
4004         "type": "switchNode",\r
4005         "name": "switch found?",\r
4006         "xml": "<switch test='`$found`'>\n",\r
4007         "comments": "",\r
4008         "outputs": 1,\r
4009         "x": 5859,\r
4010         "y": 4087,\r
4011         "z": "a1c94a24.22ed9",\r
4012         "wires": [\r
4013             [\r
4014                 "58a78c2e.66d86c",\r
4015                 "d7b2b4c.94059c8"\r
4016             ]\r
4017         ]\r
4018     },\r
4019     {\r
4020         "id": "58a78c2e.66d86c",\r
4021         "type": "outcomeTrue",\r
4022         "name": "true",\r
4023         "xml": "<outcome value='true'>\n",\r
4024         "comments": "",\r
4025         "outputs": 1,\r
4026         "x": 6019,\r
4027         "y": 4079,\r
4028         "z": "a1c94a24.22ed9",\r
4029         "wires": [\r
4030             [\r
4031                 "cde5de2c.7d36b8"\r
4032             ]\r
4033         ]\r
4034     },\r
4035     {\r
4036         "id": "d7b2b4c.94059c8",\r
4037         "type": "outcomeFalse",\r
4038         "name": "false",\r
4039         "xml": "<outcome value='false'>\n",\r
4040         "comments": "",\r
4041         "outputs": 1,\r
4042         "x": 6017,\r
4043         "y": 4116,\r
4044         "z": "a1c94a24.22ed9",\r
4045         "wires": [\r
4046             [\r
4047                 "74309960.8d777"\r
4048             ]\r
4049         ]\r
4050     },\r
4051     {\r
4052         "id": "cde5de2c.7d36b8",\r
4053         "type": "block",\r
4054         "name": "block",\r
4055         "xml": "<block>\n",\r
4056         "atomic": "false",\r
4057         "comments": "",\r
4058         "outputs": 1,\r
4059         "x": 6144,\r
4060         "y": 4079,\r
4061         "z": "a1c94a24.22ed9",\r
4062         "wires": [\r
4063             []\r
4064         ]\r
4065     },\r
4066     {\r
4067         "id": "6b083096.f77d9",\r
4068         "type": "save",\r
4069         "name": "store $arridx+1 somewhere in vpn-binding",\r
4070         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
4071         "comments": "",\r
4072         "outputs": 1,\r
4073         "x": 6451,\r
4074         "y": 4137,\r
4075         "z": "a1c94a24.22ed9",\r
4076         "wires": [\r
4077             []\r
4078         ]\r
4079     },\r
4080     {\r
4081         "id": "74309960.8d777",\r
4082         "type": "block",\r
4083         "name": "block : atomic",\r
4084         "xml": "<block atomic='true'>",\r
4085         "atomic": "true",\r
4086         "comments": "",\r
4087         "outputs": 1,\r
4088         "x": 6177,\r
4089         "y": 4124,\r
4090         "z": "a1c94a24.22ed9",\r
4091         "wires": [\r
4092             [\r
4093                 "6b083096.f77d9",\r
4094                 "b4ddb8c9.5ca64"\r
4095             ]\r
4096         ]\r
4097     },\r
4098     {\r
4099         "id": "b4ddb8c9.5ca64",\r
4100         "type": "set",\r
4101         "name": "set twoD array",\r
4102         "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
4103         "comments": "",\r
4104         "x": 6368,\r
4105         "y": 4183,\r
4106         "z": "a1c94a24.22ed9",\r
4107         "wires": []\r
4108     },\r
4109     {\r
4110         "id": "9281ca71.e773a",\r
4111         "type": "block",\r
4112         "name": "block",\r
4113         "xml": "<block>\n",\r
4114         "atomic": "false",\r
4115         "comments": "",\r
4116         "outputs": 1,\r
4117         "x": 6568,\r
4118         "y": 4081,\r
4119         "z": "a1c94a24.22ed9",\r
4120         "wires": [\r
4121             []\r
4122         ]\r
4123     },\r
4124     {\r
4125         "id": "2f73393e.94f68e",\r
4126         "type": "break",\r
4127         "name": "break",\r
4128         "xml": "<break>\n",\r
4129         "comments": "",\r
4130         "x": 6739,\r
4131         "y": 4208,\r
4132         "z": "a1c94a24.22ed9",\r
4133         "wires": []\r
4134     },\r
4135     {\r
4136         "id": "c3673769.ff0828",\r
4137         "type": "switchNode",\r
4138         "name": "switch dstPort == NULL",\r
4139         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4140         "comments": "",\r
4141         "outputs": 1,\r
4142         "x": 5136,\r
4143         "y": 2420,\r
4144         "z": "a1c94a24.22ed9",\r
4145         "wires": [\r
4146             [\r
4147                 "354051ca.f807c6",\r
4148                 "2ad9a102.280abe"\r
4149             ]\r
4150         ]\r
4151     },\r
4152     {\r
4153         "id": "354051ca.f807c6",\r
4154         "type": "outcomeTrue",\r
4155         "name": "true",\r
4156         "xml": "<outcome value='true'>\n",\r
4157         "comments": "",\r
4158         "outputs": 1,\r
4159         "x": 5525,\r
4160         "y": 2398,\r
4161         "z": "a1c94a24.22ed9",\r
4162         "wires": [\r
4163             [\r
4164                 "dcf8c46b.cd2d9"\r
4165             ]\r
4166         ]\r
4167     },\r
4168     {\r
4169         "id": "2ad9a102.280abe",\r
4170         "type": "outcomeFalse",\r
4171         "name": "false",\r
4172         "xml": "<outcome value='false'>\n",\r
4173         "comments": "",\r
4174         "outputs": 1,\r
4175         "x": 5526,\r
4176         "y": 2444,\r
4177         "z": "a1c94a24.22ed9",\r
4178         "wires": [\r
4179             [\r
4180                 "d548eb8f.ae0418"\r
4181             ]\r
4182         ]\r
4183     },\r
4184     {\r
4185         "id": "dcf8c46b.cd2d9",\r
4186         "type": "set",\r
4187         "name": "set access-provider-id and client-id",\r
4188         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
4189         "comments": "",\r
4190         "x": 5739,\r
4191         "y": 2397,\r
4192         "z": "a1c94a24.22ed9",\r
4193         "wires": []\r
4194     },\r
4195     {\r
4196         "id": "d548eb8f.ae0418",\r
4197         "type": "set",\r
4198         "name": "set access-provider-id and client-id",\r
4199         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
4200         "comments": "",\r
4201         "x": 5737,\r
4202         "y": 2442,\r
4203         "z": "a1c94a24.22ed9",\r
4204         "wires": []\r
4205     },\r
4206     {\r
4207         "id": "b2a4c6eb.8f6fb8",\r
4208         "type": "set",\r
4209         "name": "set attachment_param sliceG",\r
4210         "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
4211         "comments": "",\r
4212         "x": 4662,\r
4213         "y": 4298,\r
4214         "z": "a1c94a24.22ed9",\r
4215         "wires": []\r
4216     },\r
4217     {\r
4218         "id": "83baeacb.444588",\r
4219         "type": "execute",\r
4220         "name": "execute RestApiCallNode sliceG creation domainG",\r
4221         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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`\" />\n",\r
4222         "comments": "",\r
4223         "outputs": 1,\r
4224         "x": 4247,\r
4225         "y": 4406,\r
4226         "z": "a1c94a24.22ed9",\r
4227         "wires": [\r
4228             [\r
4229                 "27e27e6a.f2ce82",\r
4230                 "450c3617.7079e"\r
4231             ]\r
4232         ]\r
4233     },\r
4234     {\r
4235         "id": "450c3617.7079e",\r
4236         "type": "failure",\r
4237         "name": "failure",\r
4238         "xml": "<outcome value='failure'>\n",\r
4239         "comments": "",\r
4240         "outputs": 1,\r
4241         "x": 4530,\r
4242         "y": 4386,\r
4243         "z": "a1c94a24.22ed9",\r
4244         "wires": [\r
4245             [\r
4246                 "2c8d1c7a.f387cc"\r
4247             ]\r
4248         ]\r
4249     },\r
4250     {\r
4251         "id": "27e27e6a.f2ce82",\r
4252         "type": "success",\r
4253         "name": "success",\r
4254         "xml": "<outcome value='success'>\n",\r
4255         "comments": "",\r
4256         "outputs": 1,\r
4257         "x": 4531.000213623047,\r
4258         "y": 4436.99990940094,\r
4259         "z": "a1c94a24.22ed9",\r
4260         "wires": [\r
4261             [\r
4262                 "2b775544.0b0442"\r
4263             ]\r
4264         ]\r
4265     },\r
4266     {\r
4267         "id": "2c8d1c7a.f387cc",\r
4268         "type": "returnFailure",\r
4269         "name": "return failure",\r
4270         "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 slice creation api for domain A\" />\n",\r
4271         "comments": "",\r
4272         "x": 4670.000247955322,\r
4273         "y": 4386.000000953674,\r
4274         "z": "a1c94a24.22ed9",\r
4275         "wires": []\r
4276     },\r
4277     {\r
4278         "id": "2b775544.0b0442",\r
4279         "type": "block",\r
4280         "name": "block",\r
4281         "xml": "<block>\n",\r
4282         "atomic": "false",\r
4283         "comments": "",\r
4284         "outputs": 1,\r
4285         "x": 4676.02725982666,\r
4286         "y": 4434.745394706726,\r
4287         "z": "a1c94a24.22ed9",\r
4288         "wires": [\r
4289             []\r
4290         ]\r
4291     },\r
4292     {\r
4293         "id": "3b94d9a7.b824be",\r
4294         "type": "set",\r
4295         "name": "set srcdstpnf-name",\r
4296         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
4297         "comments": "",\r
4298         "x": 5320,\r
4299         "y": 2540,\r
4300         "z": "a1c94a24.22ed9",\r
4301         "wires": []\r
4302     },\r
4303     {\r
4304         "id": "e2ccb618.b8a8d",\r
4305         "type": "get-resource",\r
4306         "name": "get-resource tmp.srcdstpnf-name",\r
4307         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4308         "comments": "",\r
4309         "outputs": 1,\r
4310         "x": 5364,\r
4311         "y": 2588,\r
4312         "z": "a1c94a24.22ed9",\r
4313         "wires": [\r
4314             [\r
4315                 "7cc0ff8d.947d5",\r
4316                 "847ae6cc.cd8548",\r
4317                 "514e2f17.0688a8"\r
4318             ]\r
4319         ]\r
4320     },\r
4321     {\r
4322         "id": "7cc0ff8d.947d5",\r
4323         "type": "success",\r
4324         "name": "success",\r
4325         "xml": "<outcome value='success'>\n",\r
4326         "comments": "",\r
4327         "outputs": 1,\r
4328         "x": 5576.5,\r
4329         "y": 2535,\r
4330         "z": "a1c94a24.22ed9",\r
4331         "wires": [\r
4332             [\r
4333                 "3cc1d272.0b4856"\r
4334             ]\r
4335         ]\r
4336     },\r
4337     {\r
4338         "id": "847ae6cc.cd8548",\r
4339         "type": "not-found",\r
4340         "name": "not-found",\r
4341         "xml": "<outcome value='not-found'>\n",\r
4342         "comments": "",\r
4343         "outputs": 1,\r
4344         "x": 5588.5,\r
4345         "y": 2585,\r
4346         "z": "a1c94a24.22ed9",\r
4347         "wires": [\r
4348             [\r
4349                 "3fb63137.b62f46"\r
4350             ]\r
4351         ]\r
4352     },\r
4353     {\r
4354         "id": "514e2f17.0688a8",\r
4355         "type": "other",\r
4356         "name": "other",\r
4357         "xml": "<outcome value='Other'>\n",\r
4358         "comments": "",\r
4359         "outputs": 1,\r
4360         "x": 5579.5,\r
4361         "y": 2640,\r
4362         "z": "a1c94a24.22ed9",\r
4363         "wires": [\r
4364             [\r
4365                 "e6964c37.0e1d08"\r
4366             ]\r
4367         ]\r
4368     },\r
4369     {\r
4370         "id": "e6964c37.0e1d08",\r
4371         "type": "returnFailure",\r
4372         "name": "return failure",\r
4373         "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
4374         "comments": "",\r
4375         "x": 5724.5,\r
4376         "y": 2639,\r
4377         "z": "a1c94a24.22ed9",\r
4378         "wires": []\r
4379     },\r
4380     {\r
4381         "id": "3fb63137.b62f46",\r
4382         "type": "returnFailure",\r
4383         "name": "return failure",\r
4384         "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
4385         "comments": "",\r
4386         "x": 5735.5,\r
4387         "y": 2582,\r
4388         "z": "a1c94a24.22ed9",\r
4389         "wires": []\r
4390     },\r
4391     {\r
4392         "id": "3cc1d272.0b4856",\r
4393         "type": "block",\r
4394         "name": "block",\r
4395         "xml": "<block>\n",\r
4396         "atomic": "false",\r
4397         "comments": "",\r
4398         "outputs": 1,\r
4399         "x": 5701.8824462890625,\r
4400         "y": 2528.6556701660156,\r
4401         "z": "a1c94a24.22ed9",\r
4402         "wires": [\r
4403             [\r
4404                 "597135e9.9cf8dc"\r
4405             ]\r
4406         ]\r
4407     },\r
4408     {\r
4409         "id": "641197e8.a0857",\r
4410         "type": "outcome",\r
4411         "name": "esr-thirdparty-sdnc",\r
4412         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
4413         "comments": "",\r
4414         "outputs": 1,\r
4415         "x": 6261,\r
4416         "y": 2547,\r
4417         "z": "a1c94a24.22ed9",\r
4418         "wires": [\r
4419             [\r
4420                 "ec2f2380.dc3938"\r
4421             ]\r
4422         ]\r
4423     },\r
4424     {\r
4425         "id": "ec2f2380.dc3938",\r
4426         "type": "block",\r
4427         "name": "block : atomic",\r
4428         "xml": "<block atomic=\"true\">",\r
4429         "atomic": "true",\r
4430         "outputs": 1,\r
4431         "x": 6438,\r
4432         "y": 2539,\r
4433         "z": "a1c94a24.22ed9",\r
4434         "wires": [\r
4435             [\r
4436                 "f9283f20.fcecb",\r
4437                 "5f7551a8.c48a"\r
4438             ]\r
4439         ]\r
4440     },\r
4441     {\r
4442         "id": "597135e9.9cf8dc",\r
4443         "type": "for",\r
4444         "name": "for each relationship",\r
4445         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
4446         "comments": "",\r
4447         "outputs": 1,\r
4448         "x": 5863,\r
4449         "y": 2543,\r
4450         "z": "a1c94a24.22ed9",\r
4451         "wires": [\r
4452             [\r
4453                 "af459c6d.98172"\r
4454             ]\r
4455         ]\r
4456     },\r
4457     {\r
4458         "id": "af459c6d.98172",\r
4459         "type": "switchNode",\r
4460         "name": "switch related-to",\r
4461         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4462         "comments": "",\r
4463         "outputs": 1,\r
4464         "x": 6058,\r
4465         "y": 2543,\r
4466         "z": "a1c94a24.22ed9",\r
4467         "wires": [\r
4468             [\r
4469                 "641197e8.a0857"\r
4470             ]\r
4471         ]\r
4472     },\r
4473     {\r
4474         "id": "5f7551a8.c48a",\r
4475         "type": "execute",\r
4476         "name": "get esr-thirdparty-sdnc",\r
4477         "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.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
4478         "comments": "",\r
4479         "outputs": 1,\r
4480         "x": 6646,\r
4481         "y": 2546,\r
4482         "z": "a1c94a24.22ed9",\r
4483         "wires": [\r
4484             [\r
4485                 "64071614.e531b8",\r
4486                 "1c3ac340.54b235",\r
4487                 "e738e604.11d738"\r
4488             ]\r
4489         ]\r
4490     },\r
4491     {\r
4492         "id": "f9283f20.fcecb",\r
4493         "type": "set",\r
4494         "name": "set esr-thirdparty-sdnc domainG id",\r
4495         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
4496         "comments": "",\r
4497         "x": 6676,\r
4498         "y": 2494,\r
4499         "z": "a1c94a24.22ed9",\r
4500         "wires": []\r
4501     },\r
4502     {\r
4503         "id": "64071614.e531b8",\r
4504         "type": "success",\r
4505         "name": "success",\r
4506         "xml": "<outcome value='success'>\n",\r
4507         "comments": "",\r
4508         "outputs": 1,\r
4509         "x": 6856,\r
4510         "y": 2537,\r
4511         "z": "a1c94a24.22ed9",\r
4512         "wires": [\r
4513             [\r
4514                 "68b02952.bfbd08"\r
4515             ]\r
4516         ]\r
4517     },\r
4518     {\r
4519         "id": "1c3ac340.54b235",\r
4520         "type": "not-found",\r
4521         "name": "not-found",\r
4522         "xml": "<outcome value='not-found'>\n",\r
4523         "comments": "",\r
4524         "outputs": 1,\r
4525         "x": 6848,\r
4526         "y": 2592,\r
4527         "z": "a1c94a24.22ed9",\r
4528         "wires": [\r
4529             [\r
4530                 "84e50897.107018"\r
4531             ]\r
4532         ]\r
4533     },\r
4534     {\r
4535         "id": "e738e604.11d738",\r
4536         "type": "other",\r
4537         "name": "other",\r
4538         "xml": "<outcome value='Other'>\n",\r
4539         "comments": "",\r
4540         "outputs": 1,\r
4541         "x": 6853,\r
4542         "y": 2649,\r
4543         "z": "a1c94a24.22ed9",\r
4544         "wires": [\r
4545             [\r
4546                 "69a8c55f.4a217c"\r
4547             ]\r
4548         ]\r
4549     },\r
4550     {\r
4551         "id": "69a8c55f.4a217c",\r
4552         "type": "returnFailure",\r
4553         "name": "return failure",\r
4554         "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
4555         "comments": "",\r
4556         "x": 7005,\r
4557         "y": 2650,\r
4558         "z": "a1c94a24.22ed9",\r
4559         "wires": []\r
4560     },\r
4561     {\r
4562         "id": "84e50897.107018",\r
4563         "type": "returnFailure",\r
4564         "name": "return failure",\r
4565         "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
4566         "comments": "",\r
4567         "x": 7016,\r
4568         "y": 2595,\r
4569         "z": "a1c94a24.22ed9",\r
4570         "wires": []\r
4571     },\r
4572     {\r
4573         "id": "68b02952.bfbd08",\r
4574         "type": "block",\r
4575         "name": "block",\r
4576         "xml": "<block>\n",\r
4577         "atomic": "false",\r
4578         "comments": "",\r
4579         "outputs": 1,\r
4580         "x": 7000.38232421875,\r
4581         "y": 2534.6556701660156,\r
4582         "z": "a1c94a24.22ed9",\r
4583         "wires": [\r
4584             [\r
4585                 "ca909332.9badd"\r
4586             ]\r
4587         ]\r
4588     },\r
4589     {\r
4590         "id": "ca909332.9badd",\r
4591         "type": "set",\r
4592         "name": "set controller domainA data",\r
4593         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
4594         "comments": "",\r
4595         "x": 7215,\r
4596         "y": 2531,\r
4597         "z": "a1c94a24.22ed9",\r
4598         "wires": []\r
4599     },\r
4600     {\r
4601         "id": "1b14a9d6.5d5776",\r
4602         "type": "block",\r
4603         "name": "block : atomic",\r
4604         "xml": "<block atomic='true'>",\r
4605         "atomic": "true",\r
4606         "comments": "",\r
4607         "outputs": 1,\r
4608         "x": 3831,\r
4609         "y": 4298,\r
4610         "z": "a1c94a24.22ed9",\r
4611         "wires": [\r
4612             [\r
4613                 "c8a00103.c44878",\r
4614                 "83baeacb.444588"\r
4615             ]\r
4616         ]\r
4617     },\r
4618     {\r
4619         "id": "77665e36.902488",\r
4620         "type": "switchNode",\r
4621         "name": "switch dmnsidx == 0 (domainA)",\r
4622         "xml": "<switch test='`$otnidx == 0`'>\n",\r
4623         "comments": "",\r
4624         "outputs": 1,\r
4625         "x": 5334,\r
4626         "y": 2757,\r
4627         "z": "a1c94a24.22ed9",\r
4628         "wires": [\r
4629             [\r
4630                 "84137cfa.8c833",\r
4631                 "67fc26bd.7160b"\r
4632             ]\r
4633         ]\r
4634     },\r
4635     {\r
4636         "id": "84137cfa.8c833",\r
4637         "type": "outcomeTrue",\r
4638         "name": "true",\r
4639         "xml": "<outcome value='true'>\n",\r
4640         "comments": "",\r
4641         "outputs": 1,\r
4642         "x": 5535,\r
4643         "y": 2755,\r
4644         "z": "a1c94a24.22ed9",\r
4645         "wires": [\r
4646             [\r
4647                 "f473c0e8.32ced8"\r
4648             ]\r
4649         ]\r
4650     },\r
4651     {\r
4652         "id": "f473c0e8.32ced8",\r
4653         "type": "set",\r
4654         "name": "set attachment_param domain A",\r
4655         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4656         "comments": "",\r
4657         "x": 5749,\r
4658         "y": 2757,\r
4659         "z": "a1c94a24.22ed9",\r
4660         "wires": []\r
4661     },\r
4662     {\r
4663         "id": "fc82d42d.acc69",\r
4664         "type": "switchNode",\r
4665         "name": "switch dmnsidx == last (domainB)",\r
4666         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
4667         "comments": "",\r
4668         "outputs": 1,\r
4669         "x": 5752,\r
4670         "y": 2806,\r
4671         "z": "a1c94a24.22ed9",\r
4672         "wires": [\r
4673             [\r
4674                 "7c791386.dabd3c",\r
4675                 "9bcb702f.f45c28"\r
4676             ]\r
4677         ]\r
4678     },\r
4679     {\r
4680         "id": "7c791386.dabd3c",\r
4681         "type": "outcomeTrue",\r
4682         "name": "true",\r
4683         "xml": "<outcome value='true'>\n",\r
4684         "comments": "",\r
4685         "outputs": 1,\r
4686         "x": 5982,\r
4687         "y": 2802,\r
4688         "z": "a1c94a24.22ed9",\r
4689         "wires": [\r
4690             [\r
4691                 "982b0489.27b268"\r
4692             ]\r
4693         ]\r
4694     },\r
4695     {\r
4696         "id": "982b0489.27b268",\r
4697         "type": "set",\r
4698         "name": "set attachment_param domain B",\r
4699         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
4700         "comments": "",\r
4701         "x": 6196,\r
4702         "y": 2805,\r
4703         "z": "a1c94a24.22ed9",\r
4704         "wires": []\r
4705     },\r
4706     {\r
4707         "id": "67fc26bd.7160b",\r
4708         "type": "outcomeFalse",\r
4709         "name": "false",\r
4710         "xml": "<outcome value='false'>\n",\r
4711         "comments": "",\r
4712         "outputs": 1,\r
4713         "x": 5535,\r
4714         "y": 2804,\r
4715         "z": "a1c94a24.22ed9",\r
4716         "wires": [\r
4717             [\r
4718                 "fc82d42d.acc69"\r
4719             ]\r
4720         ]\r
4721     },\r
4722     {\r
4723         "id": "9bcb702f.f45c28",\r
4724         "type": "outcomeFalse",\r
4725         "name": "false",\r
4726         "xml": "<outcome value='false'>\n",\r
4727         "comments": "",\r
4728         "outputs": 1,\r
4729         "x": 5983,\r
4730         "y": 2848,\r
4731         "z": "a1c94a24.22ed9",\r
4732         "wires": [\r
4733             [\r
4734                 "95308046.cfa4"\r
4735             ]\r
4736         ]\r
4737     },\r
4738     {\r
4739         "id": "95308046.cfa4",\r
4740         "type": "set",\r
4741         "name": "set attachment_param domain G",\r
4742         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4743         "comments": "",\r
4744         "x": 6197,\r
4745         "y": 2848,\r
4746         "z": "a1c94a24.22ed9",\r
4747         "wires": []\r
4748     },\r
4749     {\r
4750         "id": "20917868.85ed",\r
4751         "type": "set",\r
4752         "name": "set tmp.slicevpns",\r
4753         "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
4754         "comments": "",\r
4755         "x": 6095,\r
4756         "y": 2897,\r
4757         "z": "a1c94a24.22ed9",\r
4758         "wires": []\r
4759     },\r
4760     {\r
4761         "id": "a85f98e7.7e0e3",\r
4762         "type": "switchNode",\r
4763         "name": "switch vpnuuid is for this slice",\r
4764         "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n    \n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",\r
4765         "comments": "",\r
4766         "outputs": 1,\r
4767         "x": 4659,\r
4768         "y": 4121,\r
4769         "z": "a1c94a24.22ed9",\r
4770         "wires": [\r
4771             [\r
4772                 "c594891a.4ece58",\r
4773                 "9fcde7ff.ff63c8"\r
4774             ]\r
4775         ]\r
4776     },\r
4777     {\r
4778         "id": "c594891a.4ece58",\r
4779         "type": "outcomeTrue",\r
4780         "name": "true",\r
4781         "xml": "<outcome value='true'>\n",\r
4782         "comments": "",\r
4783         "outputs": 1,\r
4784         "x": 4876,\r
4785         "y": 4100,\r
4786         "z": "a1c94a24.22ed9",\r
4787         "wires": [\r
4788             [\r
4789                 "4b2347b3.08fa3"\r
4790             ]\r
4791         ]\r
4792     },\r
4793     {\r
4794         "id": "9fcde7ff.ff63c8",\r
4795         "type": "outcomeFalse",\r
4796         "name": "false",\r
4797         "xml": "<outcome value='false'>\n",\r
4798         "comments": "",\r
4799         "outputs": 1,\r
4800         "x": 4876,\r
4801         "y": 4149,\r
4802         "z": "a1c94a24.22ed9",\r
4803         "wires": [\r
4804             []\r
4805         ]\r
4806     },\r
4807     {\r
4808         "id": "4b2347b3.08fa3",\r
4809         "type": "block",\r
4810         "name": "block : atomic",\r
4811         "xml": "<block atomic='true'>",\r
4812         "atomic": "true",\r
4813         "comments": "",\r
4814         "outputs": 1,\r
4815         "x": 5044,\r
4816         "y": 4100,\r
4817         "z": "a1c94a24.22ed9",\r
4818         "wires": [\r
4819             [\r
4820                 "315b6688.54502a",\r
4821                 "2e1bb3dd.371e44"\r
4822             ]\r
4823         ]\r
4824     },\r
4825     {\r
4826         "id": "adcb7aad.70c0d",\r
4827         "type": "save",\r
4828         "name": "get logical-link from aai",\r
4829         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
4830         "comments": "",\r
4831         "outputs": 1,\r
4832         "x": 1384,\r
4833         "y": 731,\r
4834         "z": "a1c94a24.22ed9",\r
4835         "wires": [\r
4836             [\r
4837                 "89022850.9f967",\r
4838                 "75f048cb.75fe2",\r
4839                 "d7d4823f.55128"\r
4840             ]\r
4841         ]\r
4842     },\r
4843     {\r
4844         "id": "89022850.9f967",\r
4845         "type": "not-found",\r
4846         "name": "not-found",\r
4847         "xml": "<outcome value='not-found'>\n",\r
4848         "comments": "",\r
4849         "outputs": 1,\r
4850         "x": 1596.490966796875,\r
4851         "y": 697.573974609375,\r
4852         "z": "a1c94a24.22ed9",\r
4853         "wires": [\r
4854             [\r
4855                 "278a0fef.2766a8"\r
4856             ]\r
4857         ]\r
4858     },\r
4859     {\r
4860         "id": "75f048cb.75fe2",\r
4861         "type": "failure",\r
4862         "name": "failure",\r
4863         "xml": "<outcome value='failure'>\n",\r
4864         "comments": "",\r
4865         "outputs": 1,\r
4866         "x": 1585,\r
4867         "y": 742,\r
4868         "z": "a1c94a24.22ed9",\r
4869         "wires": [\r
4870             [\r
4871                 "93e6204d.139fe"\r
4872             ]\r
4873         ]\r
4874     },\r
4875     {\r
4876         "id": "278a0fef.2766a8",\r
4877         "type": "returnFailure",\r
4878         "name": "return failure",\r
4879         "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.l3vpn.pe1_id`\" />\n\n",\r
4880         "comments": "",\r
4881         "x": 1745.0625,\r
4882         "y": 697.8597412109375,\r
4883         "z": "a1c94a24.22ed9",\r
4884         "wires": []\r
4885     },\r
4886     {\r
4887         "id": "93e6204d.139fe",\r
4888         "type": "returnFailure",\r
4889         "name": "return failure",\r
4890         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4891         "comments": "",\r
4892         "x": 1744,\r
4893         "y": 742,\r
4894         "z": "a1c94a24.22ed9",\r
4895         "wires": []\r
4896     },\r
4897     {\r
4898         "id": "d7d4823f.55128",\r
4899         "type": "success",\r
4900         "name": "success",\r
4901         "xml": "<outcome value='success'>\n",\r
4902         "comments": "",\r
4903         "outputs": 1,\r
4904         "x": 1590,\r
4905         "y": 785,\r
4906         "z": "a1c94a24.22ed9",\r
4907         "wires": [\r
4908             [\r
4909                 "6c086bfb.a0d044"\r
4910             ]\r
4911         ]\r
4912     },\r
4913     {\r
4914         "id": "6c086bfb.a0d044",\r
4915         "type": "block",\r
4916         "name": "block : atomic",\r
4917         "xml": "<block atomic='true'>",\r
4918         "atomic": "true",\r
4919         "comments": "",\r
4920         "outputs": 1,\r
4921         "x": 736,\r
4922         "y": 1124,\r
4923         "z": "a1c94a24.22ed9",\r
4924         "wires": [\r
4925             [\r
4926                 "b122eb38.341668"\r
4927             ]\r
4928         ]\r
4929     },\r
4930     {\r
4931         "id": "b122eb38.341668",\r
4932         "type": "for",\r
4933         "name": "for each svc-instance relationship",\r
4934         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
4935         "comments": "",\r
4936         "outputs": 1,\r
4937         "x": 1010,\r
4938         "y": 1124,\r
4939         "z": "a1c94a24.22ed9",\r
4940         "wires": [\r
4941             [\r
4942                 "428eb2b6.4c43ec"\r
4943             ]\r
4944         ]\r
4945     },\r
4946     {\r
4947         "id": "428eb2b6.4c43ec",\r
4948         "type": "switchNode",\r
4949         "name": "switch related-to",\r
4950         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
4951         "comments": "",\r
4952         "outputs": 1,\r
4953         "x": 1245.33349609375,\r
4954         "y": 1125,\r
4955         "z": "a1c94a24.22ed9",\r
4956         "wires": [\r
4957             [\r
4958                 "6c08ceaa.3d7e3"\r
4959             ]\r
4960         ]\r
4961     },\r
4962     {\r
4963         "id": "6c08ceaa.3d7e3",\r
4964         "type": "outcome",\r
4965         "name": "connectivity",\r
4966         "xml": "<outcome value='connectivity'>\n",\r
4967         "comments": "",\r
4968         "outputs": 1,\r
4969         "x": 529.000244140625,\r
4970         "y": 1278,\r
4971         "z": "a1c94a24.22ed9",\r
4972         "wires": [\r
4973             [\r
4974                 "42fb5b21.64c794"\r
4975             ]\r
4976         ]\r
4977     },\r
4978     {\r
4979         "id": "c24bb232.38015",\r
4980         "type": "save",\r
4981         "name": "get connectivity from aai",\r
4982         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
4983         "comments": "",\r
4984         "outputs": 1,\r
4985         "x": 918,\r
4986         "y": 1283,\r
4987         "z": "a1c94a24.22ed9",\r
4988         "wires": [\r
4989             [\r
4990                 "a881a6a4.94a7c8",\r
4991                 "2e732415.a6ca64",\r
4992                 "10e50fbd.fcc5a"\r
4993             ]\r
4994         ]\r
4995     },\r
4996     {\r
4997         "id": "a881a6a4.94a7c8",\r
4998         "type": "success",\r
4999         "name": "success",\r
5000         "xml": "<outcome value='success'>\n",\r
5001         "comments": "",\r
5002         "outputs": 1,\r
5003         "x": 1114,\r
5004         "y": 1248,\r
5005         "z": "a1c94a24.22ed9",\r
5006         "wires": [\r
5007             [\r
5008                 "2f6cf4f3.693c54"\r
5009             ]\r
5010         ]\r
5011     },\r
5012     {\r
5013         "id": "2e732415.a6ca64",\r
5014         "type": "not-found",\r
5015         "name": "not-found",\r
5016         "xml": "<outcome value='not-found'>\n",\r
5017         "comments": "",\r
5018         "outputs": 1,\r
5019         "x": 1114.490966796875,\r
5020         "y": 1293.5740356445312,\r
5021         "z": "a1c94a24.22ed9",\r
5022         "wires": [\r
5023             [\r
5024                 "75b4d03c.1b0488"\r
5025             ]\r
5026         ]\r
5027     },\r
5028     {\r
5029         "id": "10e50fbd.fcc5a",\r
5030         "type": "failure",\r
5031         "name": "failure",\r
5032         "xml": "<outcome value='failure'>\n",\r
5033         "comments": "",\r
5034         "outputs": 1,\r
5035         "x": 1079,\r
5036         "y": 1339,\r
5037         "z": "a1c94a24.22ed9",\r
5038         "wires": [\r
5039             [\r
5040                 "83cefb63.3d3958"\r
5041             ]\r
5042         ]\r
5043     },\r
5044     {\r
5045         "id": "75b4d03c.1b0488",\r
5046         "type": "returnFailure",\r
5047         "name": "return failure",\r
5048         "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.l3vpn.pe1_id`\" />\n\n",\r
5049         "comments": "",\r
5050         "x": 1274.0625,\r
5051         "y": 1290.8597412109375,\r
5052         "z": "a1c94a24.22ed9",\r
5053         "wires": []\r
5054     },\r
5055     {\r
5056         "id": "83cefb63.3d3958",\r
5057         "type": "returnFailure",\r
5058         "name": "return failure",\r
5059         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5060         "comments": "",\r
5061         "x": 1232,\r
5062         "y": 1341,\r
5063         "z": "a1c94a24.22ed9",\r
5064         "wires": []\r
5065     },\r
5066     {\r
5067         "id": "f0221f2b.2ca488",\r
5068         "type": "switchNode",\r
5069         "name": "switch loglink-id exists in conn",\r
5070         "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
5071         "comments": "",\r
5072         "outputs": 1,\r
5073         "x": 1507,\r
5074         "y": 1231,\r
5075         "z": "a1c94a24.22ed9",\r
5076         "wires": [\r
5077             [\r
5078                 "1f27bf84.77001",\r
5079                 "e05aac94.264e2"\r
5080             ]\r
5081         ]\r
5082     },\r
5083     {\r
5084         "id": "1f27bf84.77001",\r
5085         "type": "outcomeTrue",\r
5086         "name": "true",\r
5087         "xml": "<outcome value='true'>\n",\r
5088         "comments": "",\r
5089         "outputs": 1,\r
5090         "x": 1718,\r
5091         "y": 1196,\r
5092         "z": "a1c94a24.22ed9",\r
5093         "wires": [\r
5094             [\r
5095                 "5241d9c1.c5a"\r
5096             ]\r
5097         ]\r
5098     },\r
5099     {\r
5100         "id": "e05aac94.264e2",\r
5101         "type": "outcomeFalse",\r
5102         "name": "false",\r
5103         "xml": "<outcome value='false'>\n",\r
5104         "comments": "",\r
5105         "outputs": 1,\r
5106         "x": 1715,\r
5107         "y": 1257,\r
5108         "z": "a1c94a24.22ed9",\r
5109         "wires": [\r
5110             []\r
5111         ]\r
5112     },\r
5113     {\r
5114         "id": "7d1ab491.7a47ec",\r
5115         "type": "set",\r
5116         "name": "set currLinkIsFound",\r
5117         "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
5118         "comments": "",\r
5119         "x": 2056,\r
5120         "y": 1169,\r
5121         "z": "a1c94a24.22ed9",\r
5122         "wires": []\r
5123     },\r
5124     {\r
5125         "id": "5241d9c1.c5a",\r
5126         "type": "block",\r
5127         "name": "block : atomic",\r
5128         "xml": "<block atomic=\"true\">",\r
5129         "atomic": "true",\r
5130         "outputs": 1,\r
5131         "x": 1870,\r
5132         "y": 1197,\r
5133         "z": "a1c94a24.22ed9",\r
5134         "wires": [\r
5135             [\r
5136                 "7d1ab491.7a47ec"\r
5137             ]\r
5138         ]\r
5139     },\r
5140     {\r
5141         "id": "ac3d3bcb.07c358",\r
5142         "type": "break",\r
5143         "name": "break",\r
5144         "xml": "<break>\n",\r
5145         "comments": "",\r
5146         "x": 2023,\r
5147         "y": 1225,\r
5148         "z": "a1c94a24.22ed9",\r
5149         "wires": []\r
5150     },\r
5151     {\r
5152         "id": "3aa19f56.483778",\r
5153         "type": "comment",\r
5154         "name": "currLinkIsFound. Go to the next logical-link",\r
5155         "info": "",\r
5156         "comments": "",\r
5157         "x": 2028,\r
5158         "y": 1119,\r
5159         "z": "a1c94a24.22ed9",\r
5160         "wires": []\r
5161     },\r
5162     {\r
5163         "id": "7947ec90.0b2fbc",\r
5164         "type": "switchNode",\r
5165         "name": "switch currLinkIsFound",\r
5166         "xml": "<switch test='`$currLinkIsFound`'>\n",\r
5167         "comments": "",\r
5168         "outputs": 1,\r
5169         "x": 1310,\r
5170         "y": 849,\r
5171         "z": "a1c94a24.22ed9",\r
5172         "wires": [\r
5173             [\r
5174                 "69298f6c.9e2dd",\r
5175                 "bb557fd5.52031"\r
5176             ]\r
5177         ]\r
5178     },\r
5179     {\r
5180         "id": "69298f6c.9e2dd",\r
5181         "type": "outcomeTrue",\r
5182         "name": "true",\r
5183         "xml": "<outcome value='true'>\n",\r
5184         "comments": "",\r
5185         "outputs": 1,\r
5186         "x": 1496,\r
5187         "y": 828,\r
5188         "z": "a1c94a24.22ed9",\r
5189         "wires": [\r
5190             [\r
5191                 "cab96485.7156b"\r
5192             ]\r
5193         ]\r
5194     },\r
5195     {\r
5196         "id": "bb557fd5.52031",\r
5197         "type": "outcomeFalse",\r
5198         "name": "false",\r
5199         "xml": "<outcome value='false'>\n",\r
5200         "comments": "",\r
5201         "outputs": 1,\r
5202         "x": 1493,\r
5203         "y": 964,\r
5204         "z": "a1c94a24.22ed9",\r
5205         "wires": [\r
5206             [\r
5207                 "b394b52b.88d4f8"\r
5208             ]\r
5209         ]\r
5210     },\r
5211     {\r
5212         "id": "cab96485.7156b",\r
5213         "type": "block",\r
5214         "name": "block : atomic",\r
5215         "xml": "<block atomic=\"true\">",\r
5216         "atomic": "true",\r
5217         "outputs": 1,\r
5218         "x": 1738,\r
5219         "y": 823,\r
5220         "z": "a1c94a24.22ed9",\r
5221         "wires": [\r
5222             []\r
5223         ]\r
5224     },\r
5225     {\r
5226         "id": "b4a6c43d.bfc078",\r
5227         "type": "comment",\r
5228         "name": "A new logical-link has been found: modify process should be triggered",\r
5229         "info": "",\r
5230         "comments": "",\r
5231         "x": 1684,\r
5232         "y": 927,\r
5233         "z": "a1c94a24.22ed9",\r
5234         "wires": []\r
5235     },\r
5236     {\r
5237         "id": "2f6cf4f3.693c54",\r
5238         "type": "block",\r
5239         "name": "block : atomic",\r
5240         "xml": "<block atomic=\"true\">",\r
5241         "atomic": "true",\r
5242         "outputs": 1,\r
5243         "x": 1278,\r
5244         "y": 1232,\r
5245         "z": "a1c94a24.22ed9",\r
5246         "wires": [\r
5247             [\r
5248                 "f0221f2b.2ca488",\r
5249                 "9c07de97.8ce1e8"\r
5250             ]\r
5251         ]\r
5252     },\r
5253     {\r
5254         "id": "9c07de97.8ce1e8",\r
5255         "type": "switchNode",\r
5256         "name": "switch connectivityBW == gfp",\r
5257         "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
5258         "comments": "",\r
5259         "outputs": 1,\r
5260         "x": 1508,\r
5261         "y": 1322,\r
5262         "z": "a1c94a24.22ed9",\r
5263         "wires": [\r
5264             [\r
5265                 "e92f497c.306ff",\r
5266                 "202f30a4.8a9778"\r
5267             ]\r
5268         ]\r
5269     },\r
5270     {\r
5271         "id": "e92f497c.306ff",\r
5272         "type": "outcomeTrue",\r
5273         "name": "true",\r
5274         "xml": "<outcome value='true'>\n",\r
5275         "comments": "",\r
5276         "outputs": 1,\r
5277         "x": 1713,\r
5278         "y": 1318,\r
5279         "z": "a1c94a24.22ed9",\r
5280         "wires": [\r
5281             []\r
5282         ]\r
5283     },\r
5284     {\r
5285         "id": "202f30a4.8a9778",\r
5286         "type": "outcomeFalse",\r
5287         "name": "false",\r
5288         "xml": "<outcome value='false'>\n",\r
5289         "comments": "",\r
5290         "outputs": 1,\r
5291         "x": 1715,\r
5292         "y": 1368,\r
5293         "z": "a1c94a24.22ed9",\r
5294         "wires": [\r
5295             [\r
5296                 "aabbec3c.d5f948"\r
5297             ]\r
5298         ]\r
5299     },\r
5300     {\r
5301         "id": "79a3430c.be3b14",\r
5302         "type": "set",\r
5303         "name": "set bwModified",\r
5304         "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
5305         "comments": "",\r
5306         "x": 2064,\r
5307         "y": 1346,\r
5308         "z": "a1c94a24.22ed9",\r
5309         "wires": []\r
5310     },\r
5311     {\r
5312         "id": "aabbec3c.d5f948",\r
5313         "type": "block",\r
5314         "name": "block : atomic",\r
5315         "xml": "<block atomic=\"true\">",\r
5316         "atomic": "true",\r
5317         "outputs": 1,\r
5318         "x": 1869,\r
5319         "y": 1367,\r
5320         "z": "a1c94a24.22ed9",\r
5321         "wires": [\r
5322             [\r
5323                 "79a3430c.be3b14",\r
5324                 "b3b4a039.5c091"\r
5325             ]\r
5326         ]\r
5327     },\r
5328     {\r
5329         "id": "b3b4a039.5c091",\r
5330         "type": "for",\r
5331         "name": "for each relationship",\r
5332         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
5333         "comments": "",\r
5334         "outputs": 1,\r
5335         "x": 889,\r
5336         "y": 1572,\r
5337         "z": "a1c94a24.22ed9",\r
5338         "wires": [\r
5339             [\r
5340                 "74886cc5.56820c"\r
5341             ]\r
5342         ]\r
5343     },\r
5344     {\r
5345         "id": "74886cc5.56820c",\r
5346         "type": "switchNode",\r
5347         "name": "switch related-to",\r
5348         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
5349         "comments": "",\r
5350         "outputs": 1,\r
5351         "x": 1094,\r
5352         "y": 1572,\r
5353         "z": "a1c94a24.22ed9",\r
5354         "wires": [\r
5355             [\r
5356                 "ab7d3bd9.5a0118"\r
5357             ]\r
5358         ]\r
5359     },\r
5360     {\r
5361         "id": "ab7d3bd9.5a0118",\r
5362         "type": "outcome",\r
5363         "name": "vpn-binding",\r
5364         "xml": "<outcome value='vpn-binding'>\n",\r
5365         "comments": "",\r
5366         "outputs": 1,\r
5367         "x": 1260,\r
5368         "y": 1572,\r
5369         "z": "a1c94a24.22ed9",\r
5370         "wires": [\r
5371             [\r
5372                 "9ac61acb.25a0c8"\r
5373             ]\r
5374         ]\r
5375     },\r
5376     {\r
5377         "id": "9ac61acb.25a0c8",\r
5378         "type": "block",\r
5379         "name": "block : atomic",\r
5380         "xml": "<block atomic=\"true\">",\r
5381         "atomic": "true",\r
5382         "outputs": 1,\r
5383         "x": 1423,\r
5384         "y": 1572,\r
5385         "z": "a1c94a24.22ed9",\r
5386         "wires": [\r
5387             [\r
5388                 "2370c115.ac8fd6",\r
5389                 "1b61e8de.a73647"\r
5390             ]\r
5391         ]\r
5392     },\r
5393     {\r
5394         "id": "1b61e8de.a73647",\r
5395         "type": "set",\r
5396         "name": "unset tmp.aai.vpn-binding",\r
5397         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
5398         "comments": "",\r
5399         "x": 1652,\r
5400         "y": 1512,\r
5401         "z": "a1c94a24.22ed9",\r
5402         "wires": []\r
5403     },\r
5404     {\r
5405         "id": "2370c115.ac8fd6",\r
5406         "type": "save",\r
5407         "name": "get vpn-binding from aai",\r
5408         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
5409         "comments": "",\r
5410         "outputs": 1,\r
5411         "x": 1161,\r
5412         "y": 1666,\r
5413         "z": "a1c94a24.22ed9",\r
5414         "wires": [\r
5415             [\r
5416                 "28298f17.ccf108",\r
5417                 "b6883dde.6b7bf8",\r
5418                 "744baf90.7b9cd8"\r
5419             ]\r
5420         ]\r
5421     },\r
5422     {\r
5423         "id": "98131352.4a889",\r
5424         "type": "block",\r
5425         "name": "block : atomic",\r
5426         "xml": "<block atomic=\"true\">",\r
5427         "atomic": "true",\r
5428         "outputs": 1,\r
5429         "x": 1545,\r
5430         "y": 1666,\r
5431         "z": "a1c94a24.22ed9",\r
5432         "wires": [\r
5433             [\r
5434                 "1b2b6a88.49f2b5",\r
5435                 "43c66f34.653488"\r
5436             ]\r
5437         ]\r
5438     },\r
5439     {\r
5440         "id": "28298f17.ccf108",\r
5441         "type": "success",\r
5442         "name": "success",\r
5443         "xml": "<outcome value='success'>\n",\r
5444         "comments": "",\r
5445         "outputs": 1,\r
5446         "x": 1372,\r
5447         "y": 1668,\r
5448         "z": "a1c94a24.22ed9",\r
5449         "wires": [\r
5450             [\r
5451                 "98131352.4a889"\r
5452             ]\r
5453         ]\r
5454     },\r
5455     {\r
5456         "id": "b6883dde.6b7bf8",\r
5457         "type": "not-found",\r
5458         "name": "not-found",\r
5459         "xml": "<outcome value='not-found'>\n",\r
5460         "comments": "",\r
5461         "outputs": 1,\r
5462         "x": 1372.490966796875,\r
5463         "y": 1713.5740356445312,\r
5464         "z": "a1c94a24.22ed9",\r
5465         "wires": [\r
5466             [\r
5467                 "15cd27be.d92658"\r
5468             ]\r
5469         ]\r
5470     },\r
5471     {\r
5472         "id": "744baf90.7b9cd8",\r
5473         "type": "failure",\r
5474         "name": "failure",\r
5475         "xml": "<outcome value='failure'>\n",\r
5476         "comments": "",\r
5477         "outputs": 1,\r
5478         "x": 1370,\r
5479         "y": 1757,\r
5480         "z": "a1c94a24.22ed9",\r
5481         "wires": [\r
5482             [\r
5483                 "d3584005.2bd19"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "d3584005.2bd19",\r
5489         "type": "returnFailure",\r
5490         "name": "return failure",\r
5491         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5492         "comments": "",\r
5493         "x": 1537,\r
5494         "y": 1774,\r
5495         "z": "a1c94a24.22ed9",\r
5496         "wires": []\r
5497     },\r
5498     {\r
5499         "id": "15cd27be.d92658",\r
5500         "type": "returnFailure",\r
5501         "name": "return failure",\r
5502         "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.l3vpn.pe1_id`\" />\n\n",\r
5503         "comments": "",\r
5504         "x": 1535.0623779296875,\r
5505         "y": 1713.8597717285156,\r
5506         "z": "a1c94a24.22ed9",\r
5507         "wires": []\r
5508     },\r
5509     {\r
5510         "id": "42fb5b21.64c794",\r
5511         "type": "block",\r
5512         "name": "block : atomic",\r
5513         "xml": "<block atomic=\"true\">",\r
5514         "atomic": "true",\r
5515         "outputs": 1,\r
5516         "x": 701,\r
5517         "y": 1278,\r
5518         "z": "a1c94a24.22ed9",\r
5519         "wires": [\r
5520             [\r
5521                 "c24bb232.38015",\r
5522                 "cd433210.9124b"\r
5523             ]\r
5524         ]\r
5525     },\r
5526     {\r
5527         "id": "cd433210.9124b",\r
5528         "type": "set",\r
5529         "name": "unset tmp.aai.connectivity",\r
5530         "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
5531         "comments": "",\r
5532         "x": 921,\r
5533         "y": 1226,\r
5534         "z": "a1c94a24.22ed9",\r
5535         "wires": []\r
5536     },\r
5537     {\r
5538         "id": "1b2b6a88.49f2b5",\r
5539         "type": "save",\r
5540         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
5541         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
5542         "comments": "",\r
5543         "outputs": 1,\r
5544         "x": 1895.5,\r
5545         "y": 1661,\r
5546         "z": "a1c94a24.22ed9",\r
5547         "wires": [\r
5548             []\r
5549         ]\r
5550     },\r
5551     {\r
5552         "id": "43c66f34.653488",\r
5553         "type": "save",\r
5554         "name": "update connectivity resource in AAI",\r
5555         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
5556         "comments": "",\r
5557         "outputs": 1,\r
5558         "x": 1822.5,\r
5559         "y": 1725,\r
5560         "z": "a1c94a24.22ed9",\r
5561         "wires": [\r
5562             []\r
5563         ]\r
5564     },\r
5565     {\r
5566         "id": "54aaf2e0.b64b14",\r
5567         "type": "comment",\r
5568         "name": "The following two nodes are for PCE",\r
5569         "info": "",\r
5570         "comments": "",\r
5571         "x": 1967,\r
5572         "y": 53,\r
5573         "z": "a1c94a24.22ed9",\r
5574         "wires": []\r
5575     },\r
5576     {\r
5577         "id": "d51e1ac2.752b08",\r
5578         "type": "get-resource",\r
5579         "name": "get-resource pnfs-list",\r
5580         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
5581         "comments": "",\r
5582         "outputs": 1,\r
5583         "x": 1927,\r
5584         "y": 97,\r
5585         "z": "a1c94a24.22ed9",\r
5586         "wires": [\r
5587             []\r
5588         ]\r
5589     },\r
5590     {\r
5591         "id": "30222136.8f9b9e",\r
5592         "type": "get-resource",\r
5593         "name": "get-resource logical-links",\r
5594         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
5595         "comments": "",\r
5596         "outputs": 1,\r
5597         "x": 1940,\r
5598         "y": 142,\r
5599         "z": "a1c94a24.22ed9",\r
5600         "wires": [\r
5601             []\r
5602         ]\r
5603     },\r
5604     {\r
5605         "id": "31cde3.5ded021e",\r
5606         "type": "execute",\r
5607         "name": "execute printContext",\r
5608         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
5609         "comments": "",\r
5610         "outputs": 1,\r
5611         "x": 4247,\r
5612         "y": 2259,\r
5613         "z": "a1c94a24.22ed9",\r
5614         "wires": [\r
5615             []\r
5616         ]\r
5617     },\r
5618     {\r
5619         "id": "363286ce.e60c2a",\r
5620         "type": "save",\r
5621         "name": "save connectivity resource in AAI",\r
5622         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
5623         "comments": "",\r
5624         "outputs": 1,\r
5625         "x": 5538,\r
5626         "y": 1096,\r
5627         "z": "a1c94a24.22ed9",\r
5628         "wires": [\r
5629             []\r
5630         ]\r
5631     }\r
5632 ]