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