Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof.json
1 [\r
2     {\r
3         "id": "6c2aabab.e93664",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 175.56666564941406,\r
8         "y": 177,\r
9         "z": "4e0409b8.f91f",\r
10         "wires": [\r
11             [\r
12                 "591c3fc8.9e7608"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "591c3fc8.9e7608",\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": 322.56666564941406,\r
26         "y": 752.0000152587891,\r
27         "z": "4e0409b8.f91f",\r
28         "wires": [\r
29             [\r
30                 "44270cff.075ffc"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "44270cff.075ffc",\r
36         "type": "method",\r
37         "name": "p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof",\r
38         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 386.56678771972656,\r
42         "y": 845,\r
43         "z": "4e0409b8.f91f",\r
44         "wires": [\r
45             [\r
46                 "f251f976.64ff3"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "8f693cfb.d505d",\r
52         "type": "execute",\r
53         "name": "execute RestApiCallNode getPath from OOF",\r
54         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"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
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 432.53973388671875,\r
58         "y": 363.996000289917,\r
59         "z": "4e0409b8.f91f",\r
60         "wires": [\r
61             [\r
62                 "cb486fd5.830b",\r
63                 "906dd9e3.75cef"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "cb486fd5.830b",\r
69         "type": "success",\r
70         "name": "success",\r
71         "xml": "<outcome value='success'>\n",\r
72         "comments": "",\r
73         "outputs": 1,\r
74         "x": 672.5398750305176,\r
75         "y": 387.99596977233887,\r
76         "z": "4e0409b8.f91f",\r
77         "wires": [\r
78             [\r
79                 "797aa06c.00938"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "c1ee6ad8.83ca08",\r
85         "type": "returnFailure",\r
86         "name": "return failure",\r
87         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",\r
88         "comments": "",\r
89         "x": 842.539794921875,\r
90         "y": 327.99606132507324,\r
91         "z": "4e0409b8.f91f",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "906dd9e3.75cef",\r
96         "type": "failure",\r
97         "name": "failure",\r
98         "xml": "<outcome value='failure'>\n",\r
99         "comments": "",\r
100         "outputs": 1,\r
101         "x": 671.5396614074707,\r
102         "y": 336.9960603713989,\r
103         "z": "4e0409b8.f91f",\r
104         "wires": [\r
105             [\r
106                 "c1ee6ad8.83ca08"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "25cab887.227a6",\r
112         "type": "comment",\r
113         "name": "OTN tunnel path computation",\r
114         "info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",\r
115         "comments": "",\r
116         "x": 404.0435333251953,\r
117         "y": 320,\r
118         "z": "4e0409b8.f91f",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "882d42af.d08248",\r
123         "type": "for",\r
124         "name": "for vidx..otn-oof.solutions_length[]",\r
125         "xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",\r
126         "comments": "",\r
127         "outputs": 1,\r
128         "x": 860.5395660400391,\r
129         "y": 813.2457275390625,\r
130         "z": "4e0409b8.f91f",\r
131         "wires": [\r
132             [\r
133                 "40e93722.e40d08"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "1db851ea.af50ee",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 944.0398712158203,\r
144         "y": 892.74609375,\r
145         "z": "4e0409b8.f91f",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "40e93722.e40d08",\r
150         "type": "block",\r
151         "name": "block : atomic",\r
152         "xml": "<block atomic=\"true\">",\r
153         "atomic": "true",\r
154         "outputs": 1,\r
155         "x": 965.0667877197266,\r
156         "y": 1004.2864990234375,\r
157         "z": "4e0409b8.f91f",\r
158         "wires": [\r
159             [\r
160                 "2c0f74ca.54d50c",\r
161                 "af5275b3.dbb6f8",\r
162                 "1130b3f7.365ee4",\r
163                 "8c1b9eaf.ad5cc8",\r
164                 "f4071c85.a9878",\r
165                 "6ced391e.ea212"\r
166             ]\r
167         ]\r
168     },\r
169     {\r
170         "id": "2c0f74ca.54d50c",\r
171         "type": "set",\r
172         "name": "set otn-oof.link-name and etc.",\r
173         "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />",\r
174         "comments": "",\r
175         "x": 1211.5667877197266,\r
176         "y": 897.2864990234375,\r
177         "z": "4e0409b8.f91f",\r
178         "wires": []\r
179     },\r
180     {\r
181         "id": "797aa06c.00938",\r
182         "type": "block",\r
183         "name": "block",\r
184         "xml": "<block>\n",\r
185         "atomic": "false",\r
186         "comments": "",\r
187         "outputs": 1,\r
188         "x": 817.5669212341309,\r
189         "y": 385.741455078125,\r
190         "z": "4e0409b8.f91f",\r
191         "wires": [\r
192             []\r
193         ]\r
194     },\r
195     {\r
196         "id": "f251f976.64ff3",\r
197         "type": "block",\r
198         "name": "block : atomic",\r
199         "xml": "<block atomic=\"true\">",\r
200         "atomic": "true",\r
201         "outputs": 1,\r
202         "x": 627.5355491638184,\r
203         "y": 771.7416372299194,\r
204         "z": "4e0409b8.f91f",\r
205         "wires": [\r
206             [\r
207                 "882d42af.d08248",\r
208                 "dbf43529.a6b38",\r
209                 "e683f633.c5efe8",\r
210                 "b39a241.90443d8"\r
211             ]\r
212         ]\r
213     },\r
214     {\r
215         "id": "2980fcb1.5caccc",\r
216         "type": "break",\r
217         "name": "break",\r
218         "xml": "<break>\n",\r
219         "comments": "",\r
220         "x": 2379.0665435791016,\r
221         "y": 1330,\r
222         "z": "4e0409b8.f91f",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "f4071c85.a9878",\r
227         "type": "block",\r
228         "name": "block : atomic",\r
229         "xml": "<block atomic=\"true\">",\r
230         "atomic": "true",\r
231         "outputs": 1,\r
232         "x": 1175.0667724609375,\r
233         "y": 1145.999984741211,\r
234         "z": "4e0409b8.f91f",\r
235         "wires": [\r
236             [\r
237                 "e16e4301.473108",\r
238                 "89d8c6ec.f54d3"\r
239             ]\r
240         ]\r
241     },\r
242     {\r
243         "id": "7513b61f.c8bc28",\r
244         "type": "success",\r
245         "name": "success",\r
246         "xml": "<outcome value='success'>\n",\r
247         "comments": "",\r
248         "outputs": 1,\r
249         "x": 2703.5665435791016,\r
250         "y": 821,\r
251         "z": "4e0409b8.f91f",\r
252         "wires": [\r
253             [\r
254                 "356d916a.866316"\r
255             ]\r
256         ]\r
257     },\r
258     {\r
259         "id": "42e994b9.4c76c4",\r
260         "type": "not-found",\r
261         "name": "not-found",\r
262         "xml": "<outcome value='not-found'>\n",\r
263         "comments": "",\r
264         "outputs": 1,\r
265         "x": 2736.566665649414,\r
266         "y": 879,\r
267         "z": "4e0409b8.f91f",\r
268         "wires": [\r
269             [\r
270                 "9fbe687d.f821e"\r
271             ]\r
272         ]\r
273     },\r
274     {\r
275         "id": "bf4c0e40.d53578",\r
276         "type": "other",\r
277         "name": "other",\r
278         "xml": "<outcome value='Other'>\n",\r
279         "comments": "",\r
280         "outputs": 1,\r
281         "x": 2739.566665649414,\r
282         "y": 931,\r
283         "z": "4e0409b8.f91f",\r
284         "wires": [\r
285             [\r
286                 "ff1d0e5e.8b2818"\r
287             ]\r
288         ]\r
289     },\r
290     {\r
291         "id": "9fbe687d.f821e",\r
292         "type": "returnFailure",\r
293         "name": "return failure",\r
294         "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
295         "comments": "",\r
296         "x": 2921.566665649414,\r
297         "y": 883,\r
298         "z": "4e0409b8.f91f",\r
299         "wires": []\r
300     },\r
301     {\r
302         "id": "ff1d0e5e.8b2818",\r
303         "type": "returnFailure",\r
304         "name": "return failure",\r
305         "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
306         "comments": "",\r
307         "x": 2909.566665649414,\r
308         "y": 934,\r
309         "z": "4e0409b8.f91f",\r
310         "wires": []\r
311     },\r
312     {\r
313         "id": "1fb76b15.27110d",\r
314         "type": "set",\r
315         "name": "set domain A node ttp-id",\r
316         "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
317         "comments": "",\r
318         "x": 4040.0665435791016,\r
319         "y": 736,\r
320         "z": "4e0409b8.f91f",\r
321         "wires": []\r
322     },\r
323     {\r
324         "id": "f2aacb85.c592b8",\r
325         "type": "get-resource",\r
326         "name": "get-resource src TTP",\r
327         "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.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
328         "comments": "",\r
329         "outputs": 1,\r
330         "x": 4048.0665435791016,\r
331         "y": 788,\r
332         "z": "4e0409b8.f91f",\r
333         "wires": [\r
334             [\r
335                 "6548f220.2e2714"\r
336             ]\r
337         ]\r
338     },\r
339     {\r
340         "id": "6548f220.2e2714",\r
341         "type": "success",\r
342         "name": "success",\r
343         "xml": "<outcome value='success'>\n",\r
344         "comments": "",\r
345         "outputs": 1,\r
346         "x": 4254.566543579102,\r
347         "y": 766,\r
348         "z": "4e0409b8.f91f",\r
349         "wires": [\r
350             [\r
351                 "fd3a1da9.a1e0c8"\r
352             ]\r
353         ]\r
354     },\r
355     {\r
356         "id": "356d916a.866316",\r
357         "type": "block",\r
358         "name": "block : atomic",\r
359         "xml": "<block atomic=\"true\">",\r
360         "atomic": "true",\r
361         "outputs": 1,\r
362         "x": 3670.066650390625,\r
363         "y": 800.9999847412109,\r
364         "z": "4e0409b8.f91f",\r
365         "wires": [\r
366             [\r
367                 "30dabaf0.4be9d6",\r
368                 "6fa7548f.d740bc"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "e16e4301.473108",\r
374         "type": "get-resource",\r
375         "name": "get-resource dst tp",\r
376         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 2460.066665649414,\r
380         "y": 1226,\r
381         "z": "4e0409b8.f91f",\r
382         "wires": [\r
383             [\r
384                 "ed8f0b24.2715b8",\r
385                 "88ace869.b9ed8",\r
386                 "2de04b36.3c829c"\r
387             ]\r
388         ]\r
389     },\r
390     {\r
391         "id": "ed8f0b24.2715b8",\r
392         "type": "success",\r
393         "name": "success",\r
394         "xml": "<outcome value='success'>\n",\r
395         "comments": "",\r
396         "outputs": 1,\r
397         "x": 2682.5665435791016,\r
398         "y": 1368,\r
399         "z": "4e0409b8.f91f",\r
400         "wires": [\r
401             [\r
402                 "e0836e7b.28886"\r
403             ]\r
404         ]\r
405     },\r
406     {\r
407         "id": "88ace869.b9ed8",\r
408         "type": "not-found",\r
409         "name": "not-found",\r
410         "xml": "<outcome value='not-found'>\n",\r
411         "comments": "",\r
412         "outputs": 1,\r
413         "x": 2666.5665435791016,\r
414         "y": 1419,\r
415         "z": "4e0409b8.f91f",\r
416         "wires": [\r
417             [\r
418                 "a934ded3.a1905"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "2de04b36.3c829c",\r
424         "type": "other",\r
425         "name": "other",\r
426         "xml": "<outcome value='Other'>\n",\r
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 2669.5665435791016,\r
430         "y": 1471,\r
431         "z": "4e0409b8.f91f",\r
432         "wires": [\r
433             [\r
434                 "4f45c45b.037e24"\r
435             ]\r
436         ]\r
437     },\r
438     {\r
439         "id": "4f45c45b.037e24",\r
440         "type": "returnFailure",\r
441         "name": "return failure",\r
442         "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
443         "comments": "",\r
444         "x": 2839.5665435791016,\r
445         "y": 1474,\r
446         "z": "4e0409b8.f91f",\r
447         "wires": []\r
448     },\r
449     {\r
450         "id": "a934ded3.a1905",\r
451         "type": "returnFailure",\r
452         "name": "return failure",\r
453         "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
454         "comments": "",\r
455         "x": 2851.5665435791016,\r
456         "y": 1423,\r
457         "z": "4e0409b8.f91f",\r
458         "wires": []\r
459     },\r
460     {\r
461         "id": "8f268c3f.a32388",\r
462         "type": "block",\r
463         "name": "block : atomic",\r
464         "xml": "<block atomic=\"true\">",\r
465         "atomic": "true",\r
466         "outputs": 1,\r
467         "x": 5048.066543579102,\r
468         "y": 1179,\r
469         "z": "4e0409b8.f91f",\r
470         "wires": [\r
471             [\r
472                 "b41bc1fd.7d3fe8",\r
473                 "eb5ec4f3.1b9e58",\r
474                 "ac0a66fa.f1ae18"\r
475             ]\r
476         ]\r
477     },\r
478     {\r
479         "id": "8d1d7a12.af2fb",\r
480         "type": "outcome",\r
481         "name": "network-resource",\r
482         "xml": "<outcome value='network-resource'>\n",\r
483         "comments": "",\r
484         "outputs": 1,\r
485         "x": 4835.066543579102,\r
486         "y": 1178,\r
487         "z": "4e0409b8.f91f",\r
488         "wires": [\r
489             [\r
490                 "8f268c3f.a32388"\r
491             ]\r
492         ]\r
493     },\r
494     {\r
495         "id": "e0836e7b.28886",\r
496         "type": "block",\r
497         "name": "block : atomic",\r
498         "xml": "<block atomic=\"true\">",\r
499         "atomic": "true",\r
500         "outputs": 1,\r
501         "x": 3838.0665435791016,\r
502         "y": 1375,\r
503         "z": "4e0409b8.f91f",\r
504         "wires": [\r
505             [\r
506                 "d619c7c5.f21df",\r
507                 "792e65b5.101e74"\r
508             ]\r
509         ]\r
510     },\r
511     {\r
512         "id": "8aedfe5b.118e88",\r
513         "type": "set",\r
514         "name": "set domain B node ttp-id",\r
515         "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
516         "comments": "",\r
517         "x": 4080.0665435791016,\r
518         "y": 1329,\r
519         "z": "4e0409b8.f91f",\r
520         "wires": []\r
521     },\r
522     {\r
523         "id": "67f189a9.7533f",\r
524         "type": "get-resource",\r
525         "name": "get-resource dst TTP",\r
526         "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.domain-B.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
527         "comments": "",\r
528         "outputs": 1,\r
529         "x": 4070.0665435791016,\r
530         "y": 1380,\r
531         "z": "4e0409b8.f91f",\r
532         "wires": [\r
533             [\r
534                 "ed9511b0.3861b"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "ed9511b0.3861b",\r
540         "type": "success",\r
541         "name": "success",\r
542         "xml": "<outcome value='success'>\n",\r
543         "comments": "",\r
544         "outputs": 1,\r
545         "x": 4257.566543579102,\r
546         "y": 1378,\r
547         "z": "4e0409b8.f91f",\r
548         "wires": [\r
549             [\r
550                 "d3635511.caa0e8"\r
551             ]\r
552         ]\r
553     },\r
554     {\r
555         "id": "b41bc1fd.7d3fe8",\r
556         "type": "set",\r
557         "name": "set domain B network-id",\r
558         "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
559         "comments": "",\r
560         "x": 5318.066543579102,\r
561         "y": 1155,\r
562         "z": "4e0409b8.f91f",\r
563         "wires": []\r
564     },\r
565     {\r
566         "id": "eb5ec4f3.1b9e58",\r
567         "type": "get-resource",\r
568         "name": "get-resource dst network-resource",\r
569         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
570         "comments": "",\r
571         "outputs": 1,\r
572         "x": 5328.066543579102,\r
573         "y": 1201,\r
574         "z": "4e0409b8.f91f",\r
575         "wires": [\r
576             [\r
577                 "36929426.507164"\r
578             ]\r
579         ]\r
580     },\r
581     {\r
582         "id": "36929426.507164",\r
583         "type": "success",\r
584         "name": "success",\r
585         "xml": "<outcome value='success'>\n",\r
586         "comments": "",\r
587         "outputs": 1,\r
588         "x": 5543.566543579102,\r
589         "y": 1192,\r
590         "z": "4e0409b8.f91f",\r
591         "wires": [\r
592             [\r
593                 "c48d5abb.c3e938"\r
594             ]\r
595         ]\r
596     },\r
597     {\r
598         "id": "c48d5abb.c3e938",\r
599         "type": "set",\r
600         "name": "set domain B network-id, topo-id, client-id, etc",\r
601         "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
602         "comments": "",\r
603         "x": 5798.066543579102,\r
604         "y": 1198,\r
605         "z": "4e0409b8.f91f",\r
606         "wires": []\r
607     },\r
608     {\r
609         "id": "fd3a1da9.a1e0c8",\r
610         "type": "block",\r
611         "name": "block : atomic",\r
612         "xml": "<block atomic=\"true\">",\r
613         "atomic": "true",\r
614         "outputs": 1,\r
615         "x": 4429.566543579102,\r
616         "y": 762,\r
617         "z": "4e0409b8.f91f",\r
618         "wires": [\r
619             [\r
620                 "5f6936aa.a972"\r
621             ]\r
622         ]\r
623     },\r
624     {\r
625         "id": "d3635511.caa0e8",\r
626         "type": "block",\r
627         "name": "block : atomic",\r
628         "xml": "<block atomic=\"true\">",\r
629         "atomic": "true",\r
630         "outputs": 1,\r
631         "x": 4446.566543579102,\r
632         "y": 1367,\r
633         "z": "4e0409b8.f91f",\r
634         "wires": [\r
635             [\r
636                 "eda918a0.8449d8"\r
637             ]\r
638         ]\r
639     },\r
640     {\r
641         "id": "89d8c6ec.f54d3",\r
642         "type": "get-resource",\r
643         "name": "get-resource src tp",\r
644         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
645         "comments": "",\r
646         "outputs": 1,\r
647         "x": 2506.066665649414,\r
648         "y": 860,\r
649         "z": "4e0409b8.f91f",\r
650         "wires": [\r
651             [\r
652                 "7513b61f.c8bc28",\r
653                 "42e994b9.4c76c4",\r
654                 "bf4c0e40.d53578"\r
655             ]\r
656         ]\r
657     },\r
658     {\r
659         "id": "30dabaf0.4be9d6",\r
660         "type": "get-resource",\r
661         "name": "get-resource src pnf",\r
662         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
663         "comments": "",\r
664         "outputs": 1,\r
665         "x": 3909.5665435791016,\r
666         "y": 606,\r
667         "z": "4e0409b8.f91f",\r
668         "wires": [\r
669             [\r
670                 "e4a733f.4bc16d",\r
671                 "532ed172.f842b8",\r
672                 "525afcbb.b25284"\r
673             ]\r
674         ]\r
675     },\r
676     {\r
677         "id": "e4a733f.4bc16d",\r
678         "type": "success",\r
679         "name": "success",\r
680         "xml": "<outcome value='success'>\n",\r
681         "comments": "",\r
682         "outputs": 1,\r
683         "x": 4105.066665649414,\r
684         "y": 558,\r
685         "z": "4e0409b8.f91f",\r
686         "wires": [\r
687             [\r
688                 "86620d3e.1a119"\r
689             ]\r
690         ]\r
691     },\r
692     {\r
693         "id": "532ed172.f842b8",\r
694         "type": "not-found",\r
695         "name": "not-found",\r
696         "xml": "<outcome value='not-found'>\n",\r
697         "comments": "",\r
698         "outputs": 1,\r
699         "x": 4097.066665649414,\r
700         "y": 613,\r
701         "z": "4e0409b8.f91f",\r
702         "wires": [\r
703             [\r
704                 "f8caa53b.d2789"\r
705             ]\r
706         ]\r
707     },\r
708     {\r
709         "id": "525afcbb.b25284",\r
710         "type": "other",\r
711         "name": "other",\r
712         "xml": "<outcome value='Other'>\n",\r
713         "comments": "",\r
714         "outputs": 1,\r
715         "x": 4102.066665649414,\r
716         "y": 670,\r
717         "z": "4e0409b8.f91f",\r
718         "wires": [\r
719             [\r
720                 "2783b89d.d20958"\r
721             ]\r
722         ]\r
723     },\r
724     {\r
725         "id": "2783b89d.d20958",\r
726         "type": "returnFailure",\r
727         "name": "return failure",\r
728         "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
729         "comments": "",\r
730         "x": 4254.066665649414,\r
731         "y": 671,\r
732         "z": "4e0409b8.f91f",\r
733         "wires": []\r
734     },\r
735     {\r
736         "id": "f8caa53b.d2789",\r
737         "type": "returnFailure",\r
738         "name": "return failure",\r
739         "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
740         "comments": "",\r
741         "x": 4265.066665649414,\r
742         "y": 616,\r
743         "z": "4e0409b8.f91f",\r
744         "wires": []\r
745     },\r
746     {\r
747         "id": "86620d3e.1a119",\r
748         "type": "block",\r
749         "name": "block",\r
750         "xml": "<block>\n",\r
751         "atomic": "false",\r
752         "comments": "",\r
753         "outputs": 1,\r
754         "x": 4249.448989868164,\r
755         "y": 555.6556701660156,\r
756         "z": "4e0409b8.f91f",\r
757         "wires": [\r
758             [\r
759                 "e93e8b81.9ca2f",\r
760                 "51152d30.8b729c"\r
761             ]\r
762         ]\r
763     },\r
764     {\r
765         "id": "e93e8b81.9ca2f",\r
766         "type": "set",\r
767         "name": "set domain A node-id and tpn",\r
768         "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
769         "comments": "",\r
770         "x": 4474.566543579102,\r
771         "y": 511,\r
772         "z": "4e0409b8.f91f",\r
773         "wires": []\r
774     },\r
775     {\r
776         "id": "838b8fb.d2dddf",\r
777         "type": "break",\r
778         "name": "break",\r
779         "xml": "<break>\n",\r
780         "comments": "",\r
781         "x": 3996.5665435791016,\r
782         "y": 853,\r
783         "z": "4e0409b8.f91f",\r
784         "wires": []\r
785     },\r
786     {\r
787         "id": "5f6936aa.a972",\r
788         "type": "set",\r
789         "name": "set domain A tunnel tp ip",\r
790         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n",\r
791         "comments": "",\r
792         "x": 4690.566543579102,\r
793         "y": 759,\r
794         "z": "4e0409b8.f91f",\r
795         "wires": []\r
796     },\r
797     {\r
798         "id": "d619c7c5.f21df",\r
799         "type": "get-resource",\r
800         "name": "get-resource dst pnf",\r
801         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
802         "comments": "",\r
803         "outputs": 1,\r
804         "x": 3906.5665435791016,\r
805         "y": 1209,\r
806         "z": "4e0409b8.f91f",\r
807         "wires": [\r
808             [\r
809                 "33ea4656.cee232",\r
810                 "f355875f.873ba8",\r
811                 "30542edc.d15092"\r
812             ]\r
813         ]\r
814     },\r
815     {\r
816         "id": "30542edc.d15092",\r
817         "type": "success",\r
818         "name": "success",\r
819         "xml": "<outcome value='success'>\n",\r
820         "comments": "",\r
821         "outputs": 1,\r
822         "x": 4102.066665649414,\r
823         "y": 1161,\r
824         "z": "4e0409b8.f91f",\r
825         "wires": [\r
826             [\r
827                 "f2ee29cc.e27708"\r
828             ]\r
829         ]\r
830     },\r
831     {\r
832         "id": "f355875f.873ba8",\r
833         "type": "not-found",\r
834         "name": "not-found",\r
835         "xml": "<outcome value='not-found'>\n",\r
836         "comments": "",\r
837         "outputs": 1,\r
838         "x": 4094.066665649414,\r
839         "y": 1216,\r
840         "z": "4e0409b8.f91f",\r
841         "wires": [\r
842             [\r
843                 "75aed15c.2299b8"\r
844             ]\r
845         ]\r
846     },\r
847     {\r
848         "id": "33ea4656.cee232",\r
849         "type": "other",\r
850         "name": "other",\r
851         "xml": "<outcome value='Other'>\n",\r
852         "comments": "",\r
853         "outputs": 1,\r
854         "x": 4099.066665649414,\r
855         "y": 1273,\r
856         "z": "4e0409b8.f91f",\r
857         "wires": [\r
858             [\r
859                 "7a3461ec.969fb"\r
860             ]\r
861         ]\r
862     },\r
863     {\r
864         "id": "f2ee29cc.e27708",\r
865         "type": "block",\r
866         "name": "block",\r
867         "xml": "<block>\n",\r
868         "atomic": "false",\r
869         "comments": "",\r
870         "outputs": 1,\r
871         "x": 4246.448989868164,\r
872         "y": 1158.6556701660156,\r
873         "z": "4e0409b8.f91f",\r
874         "wires": [\r
875             [\r
876                 "3864d34f.e845ac",\r
877                 "932626a4.31e948"\r
878             ]\r
879         ]\r
880     },\r
881     {\r
882         "id": "75aed15c.2299b8",\r
883         "type": "returnFailure",\r
884         "name": "return failure",\r
885         "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
886         "comments": "",\r
887         "x": 4262.066665649414,\r
888         "y": 1219,\r
889         "z": "4e0409b8.f91f",\r
890         "wires": []\r
891     },\r
892     {\r
893         "id": "7a3461ec.969fb",\r
894         "type": "returnFailure",\r
895         "name": "return failure",\r
896         "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
897         "comments": "",\r
898         "x": 4251.066665649414,\r
899         "y": 1274,\r
900         "z": "4e0409b8.f91f",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "3864d34f.e845ac",\r
905         "type": "set",\r
906         "name": "set domain B node-id and tpn",\r
907         "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
908         "comments": "",\r
909         "x": 4455.566543579102,\r
910         "y": 1126,\r
911         "z": "4e0409b8.f91f",\r
912         "wires": []\r
913     },\r
914     {\r
915         "id": "bb4d74f7.f1ae1",\r
916         "type": "break",\r
917         "name": "break",\r
918         "xml": "<break>\n",\r
919         "comments": "",\r
920         "x": 4025.5665435791016,\r
921         "y": 1421,\r
922         "z": "4e0409b8.f91f",\r
923         "wires": []\r
924     },\r
925     {\r
926         "id": "eda918a0.8449d8",\r
927         "type": "set",\r
928         "name": "set domain B tunnel tp id",\r
929         "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
930         "comments": "",\r
931         "x": 4679.566543579102,\r
932         "y": 1366,\r
933         "z": "4e0409b8.f91f",\r
934         "wires": []\r
935     },\r
936     {\r
937         "id": "dd289b7.b4700e8",\r
938         "type": "outcome",\r
939         "name": "network-resource",\r
940         "xml": "<outcome value='network-resource'>\n",\r
941         "comments": "",\r
942         "outputs": 1,\r
943         "x": 4831.566543579102,\r
944         "y": 574,\r
945         "z": "4e0409b8.f91f",\r
946         "wires": [\r
947             [\r
948                 "cf9ce500.f50458"\r
949             ]\r
950         ]\r
951     },\r
952     {\r
953         "id": "cf9ce500.f50458",\r
954         "type": "block",\r
955         "name": "block : atomic",\r
956         "xml": "<block atomic=\"true\">",\r
957         "atomic": "true",\r
958         "outputs": 1,\r
959         "x": 5008.566543579102,\r
960         "y": 566,\r
961         "z": "4e0409b8.f91f",\r
962         "wires": [\r
963             [\r
964                 "a88075c1.8c729",\r
965                 "581a1998.3ec1d",\r
966                 "7ccf368b.de5b58"\r
967             ]\r
968         ]\r
969     },\r
970     {\r
971         "id": "a88075c1.8c729",\r
972         "type": "set",\r
973         "name": "set domain A network-id",\r
974         "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
975         "comments": "",\r
976         "x": 5223.566543579102,\r
977         "y": 547,\r
978         "z": "4e0409b8.f91f",\r
979         "wires": []\r
980     },\r
981     {\r
982         "id": "581a1998.3ec1d",\r
983         "type": "get-resource",\r
984         "name": "get-resource src network-resource",\r
985         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
986         "comments": "",\r
987         "outputs": 1,\r
988         "x": 5240.566543579102,\r
989         "y": 611,\r
990         "z": "4e0409b8.f91f",\r
991         "wires": [\r
992             [\r
993                 "f64c3af.f06e3c8"\r
994             ]\r
995         ]\r
996     },\r
997     {\r
998         "id": "f64c3af.f06e3c8",\r
999         "type": "success",\r
1000         "name": "success",\r
1001         "xml": "<outcome value='success'>\n",\r
1002         "comments": "",\r
1003         "outputs": 1,\r
1004         "x": 5464.066543579102,\r
1005         "y": 612,\r
1006         "z": "4e0409b8.f91f",\r
1007         "wires": [\r
1008             [\r
1009                 "cb2bd0a2.0f0d1"\r
1010             ]\r
1011         ]\r
1012     },\r
1013     {\r
1014         "id": "cb2bd0a2.0f0d1",\r
1015         "type": "set",\r
1016         "name": "set domain A network-id, topo-id, client-id, etc",\r
1017         "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n\n\n",\r
1018         "comments": "",\r
1019         "x": 5728.566543579102,\r
1020         "y": 601,\r
1021         "z": "4e0409b8.f91f",\r
1022         "wires": []\r
1023     },\r
1024     {\r
1025         "id": "51152d30.8b729c",\r
1026         "type": "for",\r
1027         "name": "for each relationship",\r
1028         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
1029         "comments": "",\r
1030         "outputs": 1,\r
1031         "x": 4433.566543579102,\r
1032         "y": 570,\r
1033         "z": "4e0409b8.f91f",\r
1034         "wires": [\r
1035             [\r
1036                 "57449123.f2a71"\r
1037             ]\r
1038         ]\r
1039     },\r
1040     {\r
1041         "id": "57449123.f2a71",\r
1042         "type": "switchNode",\r
1043         "name": "switch related-to",\r
1044         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
1045         "comments": "",\r
1046         "outputs": 1,\r
1047         "x": 4628.566543579102,\r
1048         "y": 570,\r
1049         "z": "4e0409b8.f91f",\r
1050         "wires": [\r
1051             [\r
1052                 "dd289b7.b4700e8"\r
1053             ]\r
1054         ]\r
1055     },\r
1056     {\r
1057         "id": "7ccf368b.de5b58",\r
1058         "type": "break",\r
1059         "name": "break",\r
1060         "xml": "<break>\n",\r
1061         "comments": "",\r
1062         "x": 5167.566543579102,\r
1063         "y": 664,\r
1064         "z": "4e0409b8.f91f",\r
1065         "wires": []\r
1066     },\r
1067     {\r
1068         "id": "932626a4.31e948",\r
1069         "type": "for",\r
1070         "name": "for each relationship",\r
1071         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1072         "comments": "",\r
1073         "outputs": 1,\r
1074         "x": 4434.566543579102,\r
1075         "y": 1177,\r
1076         "z": "4e0409b8.f91f",\r
1077         "wires": [\r
1078             [\r
1079                 "d9ee893b.7d30f8"\r
1080             ]\r
1081         ]\r
1082     },\r
1083     {\r
1084         "id": "d9ee893b.7d30f8",\r
1085         "type": "switchNode",\r
1086         "name": "switch related-to",\r
1087         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
1088         "comments": "",\r
1089         "outputs": 1,\r
1090         "x": 4629.566543579102,\r
1091         "y": 1177,\r
1092         "z": "4e0409b8.f91f",\r
1093         "wires": [\r
1094             [\r
1095                 "8d1d7a12.af2fb"\r
1096             ]\r
1097         ]\r
1098     },\r
1099     {\r
1100         "id": "ac0a66fa.f1ae18",\r
1101         "type": "break",\r
1102         "name": "break",\r
1103         "xml": "<break>\n",\r
1104         "comments": "",\r
1105         "x": 5253.566543579102,\r
1106         "y": 1257,\r
1107         "z": "4e0409b8.f91f",\r
1108         "wires": []\r
1109     },\r
1110     {\r
1111         "id": "6fa7548f.d740bc",\r
1112         "type": "execute",\r
1113         "name": "execute split tp-id to get pnf-name",\r
1114         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<!--<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
1115         "comments": "",\r
1116         "outputs": 1,\r
1117         "x": 3937.5665435791016,\r
1118         "y": 400,\r
1119         "z": "4e0409b8.f91f",\r
1120         "wires": [\r
1121             [\r
1122                 "74f4b0f6.47056",\r
1123                 "27b4b2a9.b21e2e"\r
1124             ]\r
1125         ]\r
1126     },\r
1127     {\r
1128         "id": "27b4b2a9.b21e2e",\r
1129         "type": "failure",\r
1130         "name": "success",\r
1131         "xml": "<outcome value='success'>\n",\r
1132         "comments": "",\r
1133         "outputs": 1,\r
1134         "x": 4158.566543579102,\r
1135         "y": 368,\r
1136         "z": "4e0409b8.f91f",\r
1137         "wires": [\r
1138             [\r
1139                 "e49dd.c9c7fe23"\r
1140             ]\r
1141         ]\r
1142     },\r
1143     {\r
1144         "id": "74f4b0f6.47056",\r
1145         "type": "failure",\r
1146         "name": "failure",\r
1147         "xml": "<outcome value='failure'>\n",\r
1148         "comments": "",\r
1149         "outputs": 1,\r
1150         "x": 4158.566543579102,\r
1151         "y": 415,\r
1152         "z": "4e0409b8.f91f",\r
1153         "wires": [\r
1154             [\r
1155                 "1f79b.4a313865b"\r
1156             ]\r
1157         ]\r
1158     },\r
1159     {\r
1160         "id": "e49dd.c9c7fe23",\r
1161         "type": "block",\r
1162         "name": "block : atomic",\r
1163         "xml": "<block atomic=\"true\">",\r
1164         "atomic": "true",\r
1165         "outputs": 1,\r
1166         "x": 4323.566543579102,\r
1167         "y": 365,\r
1168         "z": "4e0409b8.f91f",\r
1169         "wires": [\r
1170             [\r
1171                 "10ef5ee6.6f4e21"\r
1172             ]\r
1173         ]\r
1174     },\r
1175     {\r
1176         "id": "10ef5ee6.6f4e21",\r
1177         "type": "set",\r
1178         "name": "set domain-A.ltpId",\r
1179         "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
1180         "comments": "",\r
1181         "x": 4505.566543579102,\r
1182         "y": 369,\r
1183         "z": "4e0409b8.f91f",\r
1184         "wires": []\r
1185     },\r
1186     {\r
1187         "id": "1f79b.4a313865b",\r
1188         "type": "returnFailure",\r
1189         "name": "return failure",\r
1190         "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
1191         "comments": "",\r
1192         "x": 4325.566543579102,\r
1193         "y": 415,\r
1194         "z": "4e0409b8.f91f",\r
1195         "wires": []\r
1196     },\r
1197     {\r
1198         "id": "792e65b5.101e74",\r
1199         "type": "execute",\r
1200         "name": "execute split tp-id to get pnf-name",\r
1201         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n\n\n",\r
1202         "comments": "",\r
1203         "outputs": 1,\r
1204         "x": 3945.5665435791016,\r
1205         "y": 1024,\r
1206         "z": "4e0409b8.f91f",\r
1207         "wires": [\r
1208             [\r
1209                 "4265b65.dccf548",\r
1210                 "c497a629.64a3f"\r
1211             ]\r
1212         ]\r
1213     },\r
1214     {\r
1215         "id": "c497a629.64a3f",\r
1216         "type": "failure",\r
1217         "name": "success",\r
1218         "xml": "<outcome value='success'>\n",\r
1219         "comments": "",\r
1220         "outputs": 1,\r
1221         "x": 4166.566543579102,\r
1222         "y": 992,\r
1223         "z": "4e0409b8.f91f",\r
1224         "wires": [\r
1225             [\r
1226                 "30cfd60a.db8e02"\r
1227             ]\r
1228         ]\r
1229     },\r
1230     {\r
1231         "id": "4265b65.dccf548",\r
1232         "type": "failure",\r
1233         "name": "failure",\r
1234         "xml": "<outcome value='failure'>\n",\r
1235         "comments": "",\r
1236         "outputs": 1,\r
1237         "x": 4166.566543579102,\r
1238         "y": 1039,\r
1239         "z": "4e0409b8.f91f",\r
1240         "wires": [\r
1241             [\r
1242                 "e09c0587.7b6dd8"\r
1243             ]\r
1244         ]\r
1245     },\r
1246     {\r
1247         "id": "30cfd60a.db8e02",\r
1248         "type": "block",\r
1249         "name": "block : atomic",\r
1250         "xml": "<block atomic=\"true\">",\r
1251         "atomic": "true",\r
1252         "outputs": 1,\r
1253         "x": 4331.566543579102,\r
1254         "y": 989,\r
1255         "z": "4e0409b8.f91f",\r
1256         "wires": [\r
1257             [\r
1258                 "155f39c7.d2eb06"\r
1259             ]\r
1260         ]\r
1261     },\r
1262     {\r
1263         "id": "155f39c7.d2eb06",\r
1264         "type": "set",\r
1265         "name": "set domain-B.ltpId",\r
1266         "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
1267         "comments": "",\r
1268         "x": 4527.566543579102,\r
1269         "y": 986,\r
1270         "z": "4e0409b8.f91f",\r
1271         "wires": []\r
1272     },\r
1273     {\r
1274         "id": "e09c0587.7b6dd8",\r
1275         "type": "returnFailure",\r
1276         "name": "return failure",\r
1277         "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
1278         "comments": "",\r
1279         "x": 4333.566543579102,\r
1280         "y": 1039,\r
1281         "z": "4e0409b8.f91f",\r
1282         "wires": []\r
1283     },\r
1284     {\r
1285         "id": "af5275b3.dbb6f8",\r
1286         "type": "set",\r
1287         "name": "unset parameters",\r
1288         "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->",\r
1289         "comments": "",\r
1290         "x": 1202.566665649414,\r
1291         "y": 826,\r
1292         "z": "4e0409b8.f91f",\r
1293         "wires": []\r
1294     },\r
1295     {\r
1296         "id": "a45815b.d857f68",\r
1297         "type": "comment",\r
1298         "name": "Not useful anymore",\r
1299         "info": "this domain-A.ltpId is not used anymore",\r
1300         "comments": "",\r
1301         "x": 4548.566543579102,\r
1302         "y": 345,\r
1303         "z": "4e0409b8.f91f",\r
1304         "wires": []\r
1305     },\r
1306     {\r
1307         "id": "6fa83178.5fd4d",\r
1308         "type": "comment",\r
1309         "name": "Not useful anymore",\r
1310         "info": "this domain-B.ltpId is not used anymore",\r
1311         "comments": "",\r
1312         "x": 4570.566543579102,\r
1313         "y": 958,\r
1314         "z": "4e0409b8.f91f",\r
1315         "wires": []\r
1316     },\r
1317     {\r
1318         "id": "dbf43529.a6b38",\r
1319         "type": "set",\r
1320         "name": "unset parameters",\r
1321         "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",\r
1322         "comments": "",\r
1323         "x": 843.5666656494141,\r
1324         "y": 754,\r
1325         "z": "4e0409b8.f91f",\r
1326         "wires": []\r
1327     },\r
1328     {\r
1329         "id": "2a69c653.73aafa",\r
1330         "type": "comment",\r
1331         "name": "May not be necessary",\r
1332         "info": "",\r
1333         "comments": "",\r
1334         "x": 854.5666656494141,\r
1335         "y": 707,\r
1336         "z": "4e0409b8.f91f",\r
1337         "wires": []\r
1338     },\r
1339     {\r
1340         "id": "e683f633.c5efe8",\r
1341         "type": "block",\r
1342         "name": "block : atomic",\r
1343         "xml": "<block atomic='true'>",\r
1344         "atomic": "true",\r
1345         "comments": "",\r
1346         "outputs": 1,\r
1347         "x": 834.5666656494141,\r
1348         "y": 504,\r
1349         "z": "4e0409b8.f91f",\r
1350         "wires": [\r
1351             [\r
1352                 "193d39a9.b3e826",\r
1353                 "f78dfd48.3a3768",\r
1354                 "24ab8c42.ef544c",\r
1355                 "790240fb.3634a8",\r
1356                 "b11fbbc8.b831",\r
1357                 "d4108c1f.7fe08",\r
1358                 "8e33755a.1ba57",\r
1359                 "cc2f02e3.4faf38",\r
1360                 "ad3a0e96.973f7",\r
1361                 "22c2c20a.05cf8e",\r
1362                 "cf17500b.fb131",\r
1363                 "e68ab165.5e6938",\r
1364                 "428ceff6.b61fb8"\r
1365             ]\r
1366         ]\r
1367     },\r
1368     {\r
1369         "id": "e9fd00e5.f905a",\r
1370         "type": "execute",\r
1371         "name": "execute PCE in ccsdk/sli/core",\r
1372         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",\r
1373         "comments": "",\r
1374         "outputs": 1,\r
1375         "x": 1708.566665649414,\r
1376         "y": 643.9999847412109,\r
1377         "z": "4e0409b8.f91f",\r
1378         "wires": [\r
1379             [\r
1380                 "bb6df733.3f44d",\r
1381                 "d77e65bd.2b2398",\r
1382                 "f53ab3c0.9af598"\r
1383             ]\r
1384         ]\r
1385     },\r
1386     {\r
1387         "id": "193d39a9.b3e826",\r
1388         "type": "record",\r
1389         "name": "record tmp.pce-src and dst node and backup",\r
1390         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",\r
1391         "comments": "",\r
1392         "outputs": 1,\r
1393         "x": 1130.566665649414,\r
1394         "y": 537,\r
1395         "z": "4e0409b8.f91f",\r
1396         "wires": [\r
1397             []\r
1398         ]\r
1399     },\r
1400     {\r
1401         "id": "bb6df733.3f44d",\r
1402         "type": "other",\r
1403         "name": "other",\r
1404         "xml": "<outcome value='Other'>\n",\r
1405         "comments": "",\r
1406         "outputs": 1,\r
1407         "x": 1953.566665649414,\r
1408         "y": 675.9999847412109,\r
1409         "z": "4e0409b8.f91f",\r
1410         "wires": [\r
1411             []\r
1412         ]\r
1413     },\r
1414     {\r
1415         "id": "d77e65bd.2b2398",\r
1416         "type": "not-found",\r
1417         "name": "not-found",\r
1418         "xml": "<outcome value='not-found'>\n",\r
1419         "comments": "",\r
1420         "outputs": 1,\r
1421         "x": 1960.566665649414,\r
1422         "y": 717.9999847412109,\r
1423         "z": "4e0409b8.f91f",\r
1424         "wires": [\r
1425             []\r
1426         ]\r
1427     },\r
1428     {\r
1429         "id": "f53ab3c0.9af598",\r
1430         "type": "success",\r
1431         "name": "success",\r
1432         "xml": "<outcome value='success'>\n",\r
1433         "comments": "",\r
1434         "outputs": 1,\r
1435         "x": 1955.566665649414,\r
1436         "y": 638.9999847412109,\r
1437         "z": "4e0409b8.f91f",\r
1438         "wires": [\r
1439             []\r
1440         ]\r
1441     },\r
1442     {\r
1443         "id": "f78dfd48.3a3768",\r
1444         "type": "set",\r
1445         "name": "set tmp.pce-src-node",\r
1446         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' 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                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
1447         "comments": "",\r
1448         "x": 1051.566665649414,\r
1449         "y": 409,\r
1450         "z": "4e0409b8.f91f",\r
1451         "wires": []\r
1452     },\r
1453     {\r
1454         "id": "24ab8c42.ef544c",\r
1455         "type": "set",\r
1456         "name": "set tmp.pce-dst-node",\r
1457         "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' 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                                                   $otnTopoIdDst + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />",\r
1458         "comments": "",\r
1459         "x": 1051.566665649414,\r
1460         "y": 449,\r
1461         "z": "4e0409b8.f91f",\r
1462         "wires": []\r
1463     },\r
1464     {\r
1465         "id": "1130b3f7.365ee4",\r
1466         "type": "set",\r
1467         "name": "set src-ltpId",\r
1468         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",\r
1469         "comments": "",\r
1470         "x": 1184.566665649414,\r
1471         "y": 957,\r
1472         "z": "4e0409b8.f91f",\r
1473         "wires": []\r
1474     },\r
1475     {\r
1476         "id": "8c1b9eaf.ad5cc8",\r
1477         "type": "set",\r
1478         "name": "set dst-ltpId",\r
1479         "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",\r
1480         "comments": "",\r
1481         "x": 1185.566665649414,\r
1482         "y": 1007,\r
1483         "z": "4e0409b8.f91f",\r
1484         "wires": []\r
1485     },\r
1486     {\r
1487         "id": "790240fb.3634a8",\r
1488         "type": "get-resource",\r
1489         "name": "get-resource network-resources-list",\r
1490         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
1491         "comments": "",\r
1492         "outputs": 1,\r
1493         "x": 1108.566665649414,\r
1494         "y": 133,\r
1495         "z": "4e0409b8.f91f",\r
1496         "wires": [\r
1497             [\r
1498                 "321f874b.15ea38",\r
1499                 "c35ee9e4.47e1e8",\r
1500                 "e499a9a9.0e01"\r
1501             ]\r
1502         ]\r
1503     },\r
1504     {\r
1505         "id": "c35ee9e4.47e1e8",\r
1506         "type": "other",\r
1507         "name": "other",\r
1508         "xml": "<outcome value='Other'>\n",\r
1509         "comments": "",\r
1510         "outputs": 1,\r
1511         "x": 1341.566665649414,\r
1512         "y": 157,\r
1513         "z": "4e0409b8.f91f",\r
1514         "wires": [\r
1515             []\r
1516         ]\r
1517     },\r
1518     {\r
1519         "id": "e499a9a9.0e01",\r
1520         "type": "not-found",\r
1521         "name": "not-found",\r
1522         "xml": "<outcome value='not-found'>\n",\r
1523         "comments": "",\r
1524         "outputs": 1,\r
1525         "x": 1355.566665649414,\r
1526         "y": 197,\r
1527         "z": "4e0409b8.f91f",\r
1528         "wires": [\r
1529             []\r
1530         ]\r
1531     },\r
1532     {\r
1533         "id": "321f874b.15ea38",\r
1534         "type": "success",\r
1535         "name": "success",\r
1536         "xml": "<outcome value='success'>\n",\r
1537         "comments": "",\r
1538         "outputs": 1,\r
1539         "x": 1344.566665649414,\r
1540         "y": 116,\r
1541         "z": "4e0409b8.f91f",\r
1542         "wires": [\r
1543             []\r
1544         ]\r
1545     },\r
1546     {\r
1547         "id": "b11fbbc8.b831",\r
1548         "type": "for",\r
1549         "name": "for netwidx..allNetworksList_length",\r
1550         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
1551         "comments": "",\r
1552         "outputs": 1,\r
1553         "x": 1100.566665649414,\r
1554         "y": 179,\r
1555         "z": "4e0409b8.f91f",\r
1556         "wires": [\r
1557             [\r
1558                 "37e56864.c384a8"\r
1559             ]\r
1560         ]\r
1561     },\r
1562     {\r
1563         "id": "37e56864.c384a8",\r
1564         "type": "switchNode",\r
1565         "name": "switch provider-id domainA",\r
1566         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
1567         "comments": "",\r
1568         "outputs": 1,\r
1569         "x": 1421.566665649414,\r
1570         "y": 255,\r
1571         "z": "4e0409b8.f91f",\r
1572         "wires": [\r
1573             [\r
1574                 "f31c0e54.58cfb8",\r
1575                 "5dd15fcb.a313c8"\r
1576             ]\r
1577         ]\r
1578     },\r
1579     {\r
1580         "id": "f31c0e54.58cfb8",\r
1581         "type": "outcomeTrue",\r
1582         "name": "true",\r
1583         "xml": "<outcome value='true'>\n",\r
1584         "comments": "",\r
1585         "outputs": 1,\r
1586         "x": 1645.566665649414,\r
1587         "y": 317,\r
1588         "z": "4e0409b8.f91f",\r
1589         "wires": [\r
1590             [\r
1591                 "ed4148.5a48a6b8"\r
1592             ]\r
1593         ]\r
1594     },\r
1595     {\r
1596         "id": "ed4148.5a48a6b8",\r
1597         "type": "switchNode",\r
1598         "name": "switch te-topo-id",\r
1599         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
1600         "comments": "",\r
1601         "outputs": 1,\r
1602         "x": 1858.566665649414,\r
1603         "y": 317,\r
1604         "z": "4e0409b8.f91f",\r
1605         "wires": [\r
1606             [\r
1607                 "ded6fc8b.e35ca"\r
1608             ]\r
1609         ]\r
1610     },\r
1611     {\r
1612         "id": "ded6fc8b.e35ca",\r
1613         "type": "outcomeTrue",\r
1614         "name": "true",\r
1615         "xml": "<outcome value='true'>\n",\r
1616         "comments": "",\r
1617         "outputs": 1,\r
1618         "x": 2023.566665649414,\r
1619         "y": 317,\r
1620         "z": "4e0409b8.f91f",\r
1621         "wires": [\r
1622             [\r
1623                 "78504a68.544f74"\r
1624             ]\r
1625         ]\r
1626     },\r
1627     {\r
1628         "id": "78504a68.544f74",\r
1629         "type": "set",\r
1630         "name": "set otnTopoIdSrc",\r
1631         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1632         "comments": "",\r
1633         "x": 2192.566665649414,\r
1634         "y": 317,\r
1635         "z": "4e0409b8.f91f",\r
1636         "wires": []\r
1637     },\r
1638     {\r
1639         "id": "5dd15fcb.a313c8",\r
1640         "type": "outcomeFalse",\r
1641         "name": "false",\r
1642         "xml": "<outcome value='false'>\n",\r
1643         "comments": "",\r
1644         "outputs": 1,\r
1645         "x": 1645.566665649414,\r
1646         "y": 370,\r
1647         "z": "4e0409b8.f91f",\r
1648         "wires": [\r
1649             [\r
1650                 "2f4e5806.bb24d8"\r
1651             ]\r
1652         ]\r
1653     },\r
1654     {\r
1655         "id": "2f4e5806.bb24d8",\r
1656         "type": "switchNode",\r
1657         "name": "switch provider-id domainB",\r
1658         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
1659         "comments": "",\r
1660         "outputs": 1,\r
1661         "x": 1833.566665649414,\r
1662         "y": 370,\r
1663         "z": "4e0409b8.f91f",\r
1664         "wires": [\r
1665             [\r
1666                 "27eb21a8.ffa636",\r
1667                 "122e2aea.eb72ed"\r
1668             ]\r
1669         ]\r
1670     },\r
1671     {\r
1672         "id": "27eb21a8.ffa636",\r
1673         "type": "outcomeTrue",\r
1674         "name": "true",\r
1675         "xml": "<outcome value='true'>\n",\r
1676         "comments": "",\r
1677         "outputs": 1,\r
1678         "x": 2023.566665649414,\r
1679         "y": 370,\r
1680         "z": "4e0409b8.f91f",\r
1681         "wires": [\r
1682             [\r
1683                 "f3653aa0.5d2ad"\r
1684             ]\r
1685         ]\r
1686     },\r
1687     {\r
1688         "id": "f3653aa0.5d2ad",\r
1689         "type": "switchNode",\r
1690         "name": "switch te-topo-id",\r
1691         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
1692         "comments": "",\r
1693         "outputs": 1,\r
1694         "x": 2191.566665649414,\r
1695         "y": 370,\r
1696         "z": "4e0409b8.f91f",\r
1697         "wires": [\r
1698             [\r
1699                 "fd147531.b78cd8"\r
1700             ]\r
1701         ]\r
1702     },\r
1703     {\r
1704         "id": "fd147531.b78cd8",\r
1705         "type": "outcomeTrue",\r
1706         "name": "true",\r
1707         "xml": "<outcome value='true'>\n",\r
1708         "comments": "",\r
1709         "outputs": 1,\r
1710         "x": 2347.566665649414,\r
1711         "y": 370,\r
1712         "z": "4e0409b8.f91f",\r
1713         "wires": [\r
1714             [\r
1715                 "3d9b6343.bf83b4"\r
1716             ]\r
1717         ]\r
1718     },\r
1719     {\r
1720         "id": "bb09be53.6788e",\r
1721         "type": "set",\r
1722         "name": "set otnTopoIdDst",\r
1723         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1724         "comments": "",\r
1725         "x": 3081.566665649414,\r
1726         "y": 353.99998474121094,\r
1727         "z": "4e0409b8.f91f",\r
1728         "wires": []\r
1729     },\r
1730     {\r
1731         "id": "d4108c1f.7fe08",\r
1732         "type": "set",\r
1733         "name": "unset parameters",\r
1734         "xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",\r
1735         "comments": "",\r
1736         "x": 1045.566665649414,\r
1737         "y": 350,\r
1738         "z": "4e0409b8.f91f",\r
1739         "wires": []\r
1740     },\r
1741     {\r
1742         "id": "8e33755a.1ba57",\r
1743         "type": "set",\r
1744         "name": "unset parameters",\r
1745         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
1746         "comments": "",\r
1747         "x": 1054.566665649414,\r
1748         "y": 232,\r
1749         "z": "4e0409b8.f91f",\r
1750         "wires": []\r
1751     },\r
1752     {\r
1753         "id": "cc2f02e3.4faf38",\r
1754         "type": "set",\r
1755         "name": "unset parameters",\r
1756         "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
1757         "comments": "",\r
1758         "x": 1052.566665649414,\r
1759         "y": 274,\r
1760         "z": "4e0409b8.f91f",\r
1761         "wires": []\r
1762     },\r
1763     {\r
1764         "id": "ad3a0e96.973f7",\r
1765         "type": "record",\r
1766         "name": "record otn-oof.",\r
1767         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",\r
1768         "comments": "",\r
1769         "outputs": 1,\r
1770         "x": 1041.566665649414,\r
1771         "y": 585,\r
1772         "z": "4e0409b8.f91f",\r
1773         "wires": [\r
1774             []\r
1775         ]\r
1776     },\r
1777     {\r
1778         "id": "64986c6c.bc6cbc",\r
1779         "type": "execute",\r
1780         "name": "execute printContext",\r
1781         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
1782         "comments": "",\r
1783         "outputs": 1,\r
1784         "x": 1063.566665649414,\r
1785         "y": 658,\r
1786         "z": "4e0409b8.f91f",\r
1787         "wires": [\r
1788             []\r
1789         ]\r
1790     },\r
1791     {\r
1792         "id": "22c2c20a.05cf8e",\r
1793         "type": "set",\r
1794         "name": "set filename",\r
1795         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",\r
1796         "comments": "",\r
1797         "x": 1037.566665649414,\r
1798         "y": 621,\r
1799         "z": "4e0409b8.f91f",\r
1800         "wires": []\r
1801     },\r
1802     {\r
1803         "id": "122e2aea.eb72ed",\r
1804         "type": "outcomeFalse",\r
1805         "name": "false",\r
1806         "xml": "<outcome value='false'>\n",\r
1807         "comments": "",\r
1808         "outputs": 1,\r
1809         "x": 2013.566665649414,\r
1810         "y": 434,\r
1811         "z": "4e0409b8.f91f",\r
1812         "wires": [\r
1813             [\r
1814                 "f2ff8fde.f8f5"\r
1815             ]\r
1816         ]\r
1817     },\r
1818     {\r
1819         "id": "f2ff8fde.f8f5",\r
1820         "type": "switchNode",\r
1821         "name": "switch provider-id domainC",\r
1822         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
1823         "comments": "",\r
1824         "outputs": 1,\r
1825         "x": 2214.566665649414,\r
1826         "y": 435,\r
1827         "z": "4e0409b8.f91f",\r
1828         "wires": [\r
1829             [\r
1830                 "5914550b.42ac7c"\r
1831             ]\r
1832         ]\r
1833     },\r
1834     {\r
1835         "id": "5914550b.42ac7c",\r
1836         "type": "outcomeTrue",\r
1837         "name": "true",\r
1838         "xml": "<outcome value='true'>\n",\r
1839         "comments": "",\r
1840         "outputs": 1,\r
1841         "x": 2424.566665649414,\r
1842         "y": 435,\r
1843         "z": "4e0409b8.f91f",\r
1844         "wires": [\r
1845             [\r
1846                 "8ad70e62.96436"\r
1847             ]\r
1848         ]\r
1849     },\r
1850     {\r
1851         "id": "951109a8.a2d568",\r
1852         "type": "set",\r
1853         "name": "set otnTopoIdDstBackup",\r
1854         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1855         "comments": "",\r
1856         "x": 3197.566665649414,\r
1857         "y": 525.0000457763672,\r
1858         "z": "4e0409b8.f91f",\r
1859         "wires": []\r
1860     },\r
1861     {\r
1862         "id": "cf17500b.fb131",\r
1863         "type": "set",\r
1864         "name": "unset parameters",\r
1865         "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
1866         "comments": "",\r
1867         "x": 1050.566665649414,\r
1868         "y": 312,\r
1869         "z": "4e0409b8.f91f",\r
1870         "wires": []\r
1871     },\r
1872     {\r
1873         "id": "e68ab165.5e6938",\r
1874         "type": "set",\r
1875         "name": "set tmp.pce-dst-node-backup",\r
1876         "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $otnTopoIdDstBackup + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />",\r
1877         "comments": "",\r
1878         "x": 1082.566665649414,\r
1879         "y": 490,\r
1880         "z": "4e0409b8.f91f",\r
1881         "wires": []\r
1882     },\r
1883     {\r
1884         "id": "428ceff6.b61fb8",\r
1885         "type": "switchNode",\r
1886         "name": "switch $hasSecondary",\r
1887         "xml": "<switch test='`$hasSecondary`'>\n",\r
1888         "comments": "",\r
1889         "outputs": 1,\r
1890         "x": 1086.566665649414,\r
1891         "y": 737,\r
1892         "z": "4e0409b8.f91f",\r
1893         "wires": [\r
1894             [\r
1895                 "2dd23358.7a4f8c",\r
1896                 "d85ed40b.18e0d8"\r
1897             ]\r
1898         ]\r
1899     },\r
1900     {\r
1901         "id": "2dd23358.7a4f8c",\r
1902         "type": "outcomeTrue",\r
1903         "name": "true",\r
1904         "xml": "<outcome value='true'>\n",\r
1905         "comments": "",\r
1906         "outputs": 1,\r
1907         "x": 1329.566665649414,\r
1908         "y": 633.9999847412109,\r
1909         "z": "4e0409b8.f91f",\r
1910         "wires": [\r
1911             [\r
1912                 "e501702c.102908"\r
1913             ]\r
1914         ]\r
1915     },\r
1916     {\r
1917         "id": "e501702c.102908",\r
1918         "type": "block",\r
1919         "name": "block",\r
1920         "xml": "<block>\n",\r
1921         "atomic": "false",\r
1922         "comments": "",\r
1923         "outputs": 1,\r
1924         "x": 1456.566665649414,\r
1925         "y": 632.9999847412109,\r
1926         "z": "4e0409b8.f91f",\r
1927         "wires": [\r
1928             [\r
1929                 "e9fd00e5.f905a"\r
1930             ]\r
1931         ]\r
1932     },\r
1933     {\r
1934         "id": "51c8728f.9b3dc4",\r
1935         "type": "execute",\r
1936         "name": "execute PCE in ccsdk/sli/core",\r
1937         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",\r
1938         "comments": "",\r
1939         "outputs": 1,\r
1940         "x": 1708.566665649414,\r
1941         "y": 785.9999847412109,\r
1942         "z": "4e0409b8.f91f",\r
1943         "wires": [\r
1944             [\r
1945                 "840d6ce4.86fa98",\r
1946                 "e998e819.af2e6",\r
1947                 "e1b72b55.dd4808"\r
1948             ]\r
1949         ]\r
1950     },\r
1951     {\r
1952         "id": "840d6ce4.86fa98",\r
1953         "type": "other",\r
1954         "name": "other",\r
1955         "xml": "<outcome value='Other'>\n",\r
1956         "comments": "",\r
1957         "outputs": 1,\r
1958         "x": 1953.566665649414,\r
1959         "y": 817.9999847412109,\r
1960         "z": "4e0409b8.f91f",\r
1961         "wires": [\r
1962             []\r
1963         ]\r
1964     },\r
1965     {\r
1966         "id": "e998e819.af2e6",\r
1967         "type": "not-found",\r
1968         "name": "not-found",\r
1969         "xml": "<outcome value='not-found'>\n",\r
1970         "comments": "",\r
1971         "outputs": 1,\r
1972         "x": 1960.566665649414,\r
1973         "y": 859.9999847412109,\r
1974         "z": "4e0409b8.f91f",\r
1975         "wires": [\r
1976             []\r
1977         ]\r
1978     },\r
1979     {\r
1980         "id": "e1b72b55.dd4808",\r
1981         "type": "success",\r
1982         "name": "success",\r
1983         "xml": "<outcome value='success'>\n",\r
1984         "comments": "",\r
1985         "outputs": 1,\r
1986         "x": 1955.566665649414,\r
1987         "y": 780.9999847412109,\r
1988         "z": "4e0409b8.f91f",\r
1989         "wires": [\r
1990             []\r
1991         ]\r
1992     },\r
1993     {\r
1994         "id": "ad3f16cb.c3aec",\r
1995         "type": "for",\r
1996         "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
1997         "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
1998         "comments": "",\r
1999         "outputs": 1,\r
2000         "x": 851.5666656494141,\r
2001         "y": 2155,\r
2002         "z": "4e0409b8.f91f",\r
2003         "wires": [\r
2004             [\r
2005                 "72549b66.8616bc"\r
2006             ]\r
2007         ]\r
2008     },\r
2009     {\r
2010         "id": "72549b66.8616bc",\r
2011         "type": "block",\r
2012         "name": "block : atomic",\r
2013         "xml": "<block atomic=\"true\">",\r
2014         "atomic": "true",\r
2015         "outputs": 1,\r
2016         "x": 956.0938873291016,\r
2017         "y": 2346.040771484375,\r
2018         "z": "4e0409b8.f91f",\r
2019         "wires": [\r
2020             [\r
2021                 "2c2c9198.c50c3e",\r
2022                 "ac7c42a0.7e38d",\r
2023                 "d84b858c.9ebcd8",\r
2024                 "7b4c76e2.5f3b3",\r
2025                 "8d10bcb0.3c6cd"\r
2026             ]\r
2027         ]\r
2028     },\r
2029     {\r
2030         "id": "2c2c9198.c50c3e",\r
2031         "type": "set",\r
2032         "name": "set otn-oof.link-name and etc.",\r
2033         "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",\r
2034         "comments": "",\r
2035         "x": 1202.5938873291016,\r
2036         "y": 2239.040771484375,\r
2037         "z": "4e0409b8.f91f",\r
2038         "wires": []\r
2039     },\r
2040     {\r
2041         "id": "8d10bcb0.3c6cd",\r
2042         "type": "block",\r
2043         "name": "block : atomic",\r
2044         "xml": "<block atomic=\"true\">",\r
2045         "atomic": "true",\r
2046         "outputs": 1,\r
2047         "x": 1169.0938873291016,\r
2048         "y": 2427.7542724609375,\r
2049         "z": "4e0409b8.f91f",\r
2050         "wires": [\r
2051             [\r
2052                 "aa69eaa5.3a021",\r
2053                 "fca0adae.ec58d"\r
2054             ]\r
2055         ]\r
2056     },\r
2057     {\r
2058         "id": "ac7c42a0.7e38d",\r
2059         "type": "set",\r
2060         "name": "unset parameters",\r
2061         "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",\r
2062         "comments": "",\r
2063         "x": 1193.593765258789,\r
2064         "y": 2167.7542724609375,\r
2065         "z": "4e0409b8.f91f",\r
2066         "wires": []\r
2067     },\r
2068     {\r
2069         "id": "d84b858c.9ebcd8",\r
2070         "type": "set",\r
2071         "name": "set src-ltpId",\r
2072         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",\r
2073         "comments": "",\r
2074         "x": 1175.593765258789,\r
2075         "y": 2298.7542724609375,\r
2076         "z": "4e0409b8.f91f",\r
2077         "wires": []\r
2078     },\r
2079     {\r
2080         "id": "7b4c76e2.5f3b3",\r
2081         "type": "set",\r
2082         "name": "set dst-ltpId",\r
2083         "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",\r
2084         "comments": "",\r
2085         "x": 1176.593765258789,\r
2086         "y": 2348.7542724609375,\r
2087         "z": "4e0409b8.f91f",\r
2088         "wires": []\r
2089     },\r
2090     {\r
2091         "id": "e9bb736e.56fa8",\r
2092         "type": "success",\r
2093         "name": "success",\r
2094         "xml": "<outcome value='success'>\n",\r
2095         "comments": "",\r
2096         "outputs": 1,\r
2097         "x": 2694.5936431884766,\r
2098         "y": 2162.7542724609375,\r
2099         "z": "4e0409b8.f91f",\r
2100         "wires": [\r
2101             [\r
2102                 "ec0798cb.1533d"\r
2103             ]\r
2104         ]\r
2105     },\r
2106     {\r
2107         "id": "dcb58752.9af25",\r
2108         "type": "not-found",\r
2109         "name": "not-found",\r
2110         "xml": "<outcome value='not-found'>\n",\r
2111         "comments": "",\r
2112         "outputs": 1,\r
2113         "x": 2727.593765258789,\r
2114         "y": 2220.7542724609375,\r
2115         "z": "4e0409b8.f91f",\r
2116         "wires": [\r
2117             [\r
2118                 "b9704f1a.b2d23"\r
2119             ]\r
2120         ]\r
2121     },\r
2122     {\r
2123         "id": "292261ad.c3ebbe",\r
2124         "type": "other",\r
2125         "name": "other",\r
2126         "xml": "<outcome value='Other'>\n",\r
2127         "comments": "",\r
2128         "outputs": 1,\r
2129         "x": 2730.593765258789,\r
2130         "y": 2272.7542724609375,\r
2131         "z": "4e0409b8.f91f",\r
2132         "wires": [\r
2133             [\r
2134                 "25bfbaf5.9753ce"\r
2135             ]\r
2136         ]\r
2137     },\r
2138     {\r
2139         "id": "b9704f1a.b2d23",\r
2140         "type": "returnFailure",\r
2141         "name": "return failure",\r
2142         "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
2143         "comments": "",\r
2144         "x": 2912.593765258789,\r
2145         "y": 2224.7542724609375,\r
2146         "z": "4e0409b8.f91f",\r
2147         "wires": []\r
2148     },\r
2149     {\r
2150         "id": "25bfbaf5.9753ce",\r
2151         "type": "returnFailure",\r
2152         "name": "return failure",\r
2153         "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
2154         "comments": "",\r
2155         "x": 2900.593765258789,\r
2156         "y": 2275.7542724609375,\r
2157         "z": "4e0409b8.f91f",\r
2158         "wires": []\r
2159     },\r
2160     {\r
2161         "id": "fca0adae.ec58d",\r
2162         "type": "get-resource",\r
2163         "name": "get-resource src tp",\r
2164         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
2165         "comments": "",\r
2166         "outputs": 1,\r
2167         "x": 2497.093765258789,\r
2168         "y": 2201.7542724609375,\r
2169         "z": "4e0409b8.f91f",\r
2170         "wires": [\r
2171             [\r
2172                 "e9bb736e.56fa8",\r
2173                 "dcb58752.9af25",\r
2174                 "292261ad.c3ebbe"\r
2175             ]\r
2176         ]\r
2177     },\r
2178     {\r
2179         "id": "601e2b2c.1242bc",\r
2180         "type": "set",\r
2181         "name": "set domain A node ttp-id",\r
2182         "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
2183         "comments": "",\r
2184         "x": 4031.0936431884766,\r
2185         "y": 2077.7542724609375,\r
2186         "z": "4e0409b8.f91f",\r
2187         "wires": []\r
2188     },\r
2189     {\r
2190         "id": "4bb17f13.2cb71",\r
2191         "type": "get-resource",\r
2192         "name": "get-resource src TTP",\r
2193         "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.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
2194         "comments": "",\r
2195         "outputs": 1,\r
2196         "x": 4039.0936431884766,\r
2197         "y": 2129.7542724609375,\r
2198         "z": "4e0409b8.f91f",\r
2199         "wires": [\r
2200             [\r
2201                 "c2621b79.2537a8"\r
2202             ]\r
2203         ]\r
2204     },\r
2205     {\r
2206         "id": "c2621b79.2537a8",\r
2207         "type": "success",\r
2208         "name": "success",\r
2209         "xml": "<outcome value='success'>\n",\r
2210         "comments": "",\r
2211         "outputs": 1,\r
2212         "x": 4245.593643188477,\r
2213         "y": 2107.7542724609375,\r
2214         "z": "4e0409b8.f91f",\r
2215         "wires": [\r
2216             [\r
2217                 "6ccb8a24.97b474"\r
2218             ]\r
2219         ]\r
2220     },\r
2221     {\r
2222         "id": "ec0798cb.1533d",\r
2223         "type": "block",\r
2224         "name": "block : atomic",\r
2225         "xml": "<block atomic=\"true\">",\r
2226         "atomic": "true",\r
2227         "outputs": 1,\r
2228         "x": 3810.0936431884766,\r
2229         "y": 2144.7542724609375,\r
2230         "z": "4e0409b8.f91f",\r
2231         "wires": [\r
2232             [\r
2233                 "f9a3f20b.186cc",\r
2234                 "ff2ca881.6e80f"\r
2235             ]\r
2236         ]\r
2237     },\r
2238     {\r
2239         "id": "6ccb8a24.97b474",\r
2240         "type": "block",\r
2241         "name": "block : atomic",\r
2242         "xml": "<block atomic=\"true\">",\r
2243         "atomic": "true",\r
2244         "outputs": 1,\r
2245         "x": 4420.593643188477,\r
2246         "y": 2103.7542724609375,\r
2247         "z": "4e0409b8.f91f",\r
2248         "wires": [\r
2249             [\r
2250                 "82ff29ba.0fae6"\r
2251             ]\r
2252         ]\r
2253     },\r
2254     {\r
2255         "id": "f9a3f20b.186cc",\r
2256         "type": "get-resource",\r
2257         "name": "get-resource src pnf",\r
2258         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2259         "comments": "",\r
2260         "outputs": 1,\r
2261         "x": 3900.5936431884766,\r
2262         "y": 1947.7542724609375,\r
2263         "z": "4e0409b8.f91f",\r
2264         "wires": [\r
2265             [\r
2266                 "57016828.7a9698",\r
2267                 "65b4f33e.0e081c",\r
2268                 "be25b5b.9a149c8"\r
2269             ]\r
2270         ]\r
2271     },\r
2272     {\r
2273         "id": "57016828.7a9698",\r
2274         "type": "success",\r
2275         "name": "success",\r
2276         "xml": "<outcome value='success'>\n",\r
2277         "comments": "",\r
2278         "outputs": 1,\r
2279         "x": 4096.093765258789,\r
2280         "y": 1899.7542724609375,\r
2281         "z": "4e0409b8.f91f",\r
2282         "wires": [\r
2283             [\r
2284                 "9fdba29.534c3e"\r
2285             ]\r
2286         ]\r
2287     },\r
2288     {\r
2289         "id": "65b4f33e.0e081c",\r
2290         "type": "not-found",\r
2291         "name": "not-found",\r
2292         "xml": "<outcome value='not-found'>\n",\r
2293         "comments": "",\r
2294         "outputs": 1,\r
2295         "x": 4088.093765258789,\r
2296         "y": 1954.7542724609375,\r
2297         "z": "4e0409b8.f91f",\r
2298         "wires": [\r
2299             [\r
2300                 "4b002c39.a49434"\r
2301             ]\r
2302         ]\r
2303     },\r
2304     {\r
2305         "id": "be25b5b.9a149c8",\r
2306         "type": "other",\r
2307         "name": "other",\r
2308         "xml": "<outcome value='Other'>\n",\r
2309         "comments": "",\r
2310         "outputs": 1,\r
2311         "x": 4093.093765258789,\r
2312         "y": 2011.7542724609375,\r
2313         "z": "4e0409b8.f91f",\r
2314         "wires": [\r
2315             [\r
2316                 "25f8b7d.3afb4c8"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "25f8b7d.3afb4c8",\r
2322         "type": "returnFailure",\r
2323         "name": "return failure",\r
2324         "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
2325         "comments": "",\r
2326         "x": 4245.093765258789,\r
2327         "y": 2012.7542724609375,\r
2328         "z": "4e0409b8.f91f",\r
2329         "wires": []\r
2330     },\r
2331     {\r
2332         "id": "4b002c39.a49434",\r
2333         "type": "returnFailure",\r
2334         "name": "return failure",\r
2335         "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
2336         "comments": "",\r
2337         "x": 4256.093765258789,\r
2338         "y": 1957.7542724609375,\r
2339         "z": "4e0409b8.f91f",\r
2340         "wires": []\r
2341     },\r
2342     {\r
2343         "id": "9fdba29.534c3e",\r
2344         "type": "block",\r
2345         "name": "block",\r
2346         "xml": "<block>\n",\r
2347         "atomic": "false",\r
2348         "comments": "",\r
2349         "outputs": 1,\r
2350         "x": 4240.476089477539,\r
2351         "y": 1897.4099426269531,\r
2352         "z": "4e0409b8.f91f",\r
2353         "wires": [\r
2354             [\r
2355                 "a19b2d56.1ea388",\r
2356                 "797cc960.582008"\r
2357             ]\r
2358         ]\r
2359     },\r
2360     {\r
2361         "id": "a19b2d56.1ea388",\r
2362         "type": "set",\r
2363         "name": "set domain A node-id and tpn",\r
2364         "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
2365         "comments": "",\r
2366         "x": 4465.593643188477,\r
2367         "y": 1852.7542724609375,\r
2368         "z": "4e0409b8.f91f",\r
2369         "wires": []\r
2370     },\r
2371     {\r
2372         "id": "c3f67f95.429dc8",\r
2373         "type": "break",\r
2374         "name": "break",\r
2375         "xml": "<break>\n",\r
2376         "comments": "",\r
2377         "x": 3987.5936431884766,\r
2378         "y": 2194.7542724609375,\r
2379         "z": "4e0409b8.f91f",\r
2380         "wires": []\r
2381     },\r
2382     {\r
2383         "id": "797cc960.582008",\r
2384         "type": "for",\r
2385         "name": "for each relationship",\r
2386         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
2387         "comments": "",\r
2388         "outputs": 1,\r
2389         "x": 4424.593643188477,\r
2390         "y": 1911.7542724609375,\r
2391         "z": "4e0409b8.f91f",\r
2392         "wires": [\r
2393             [\r
2394                 "344ff0b9.5a6638"\r
2395             ]\r
2396         ]\r
2397     },\r
2398     {\r
2399         "id": "ff2ca881.6e80f",\r
2400         "type": "execute",\r
2401         "name": "execute split tp-id to get pnf-name",\r
2402         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<!--<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
2403         "comments": "",\r
2404         "outputs": 1,\r
2405         "x": 3928.5936431884766,\r
2406         "y": 1741.7542724609375,\r
2407         "z": "4e0409b8.f91f",\r
2408         "wires": [\r
2409             [\r
2410                 "17b2ffb3.2d4f28",\r
2411                 "d4ff8e2b.b4c1a"\r
2412             ]\r
2413         ]\r
2414     },\r
2415     {\r
2416         "id": "d4ff8e2b.b4c1a",\r
2417         "type": "failure",\r
2418         "name": "success",\r
2419         "xml": "<outcome value='success'>\n",\r
2420         "comments": "",\r
2421         "outputs": 1,\r
2422         "x": 4149.593643188477,\r
2423         "y": 1709.7542724609375,\r
2424         "z": "4e0409b8.f91f",\r
2425         "wires": [\r
2426             [\r
2427                 "59d0ac44.c2fd5c"\r
2428             ]\r
2429         ]\r
2430     },\r
2431     {\r
2432         "id": "17b2ffb3.2d4f28",\r
2433         "type": "failure",\r
2434         "name": "failure",\r
2435         "xml": "<outcome value='failure'>\n",\r
2436         "comments": "",\r
2437         "outputs": 1,\r
2438         "x": 4149.593643188477,\r
2439         "y": 1756.7542724609375,\r
2440         "z": "4e0409b8.f91f",\r
2441         "wires": [\r
2442             [\r
2443                 "9ebc4b55.62965"\r
2444             ]\r
2445         ]\r
2446     },\r
2447     {\r
2448         "id": "59d0ac44.c2fd5c",\r
2449         "type": "block",\r
2450         "name": "block : atomic",\r
2451         "xml": "<block atomic=\"true\">",\r
2452         "atomic": "true",\r
2453         "outputs": 1,\r
2454         "x": 4314.593643188477,\r
2455         "y": 1706.7542724609375,\r
2456         "z": "4e0409b8.f91f",\r
2457         "wires": [\r
2458             [\r
2459                 "1a379e27.92df22"\r
2460             ]\r
2461         ]\r
2462     },\r
2463     {\r
2464         "id": "1a379e27.92df22",\r
2465         "type": "set",\r
2466         "name": "set domain-A.ltpId",\r
2467         "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
2468         "comments": "",\r
2469         "x": 4496.593643188477,\r
2470         "y": 1710.7542724609375,\r
2471         "z": "4e0409b8.f91f",\r
2472         "wires": []\r
2473     },\r
2474     {\r
2475         "id": "9ebc4b55.62965",\r
2476         "type": "returnFailure",\r
2477         "name": "return failure",\r
2478         "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
2479         "comments": "",\r
2480         "x": 4316.593643188477,\r
2481         "y": 1756.7542724609375,\r
2482         "z": "4e0409b8.f91f",\r
2483         "wires": []\r
2484     },\r
2485     {\r
2486         "id": "2ed9f2e5.dc7796",\r
2487         "type": "comment",\r
2488         "name": "Not useful anymore",\r
2489         "info": "this domain-A.ltpId is not used anymore",\r
2490         "comments": "",\r
2491         "x": 4539.593643188477,\r
2492         "y": 1686.7542724609375,\r
2493         "z": "4e0409b8.f91f",\r
2494         "wires": []\r
2495     },\r
2496     {\r
2497         "id": "82ff29ba.0fae6",\r
2498         "type": "set",\r
2499         "name": "set domain A tunnel tp ip",\r
2500         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",\r
2501         "comments": "",\r
2502         "x": 4681.593643188477,\r
2503         "y": 2100.7542724609375,\r
2504         "z": "4e0409b8.f91f",\r
2505         "wires": []\r
2506     },\r
2507     {\r
2508         "id": "d5728c31.d60e58",\r
2509         "type": "outcome",\r
2510         "name": "network-resource",\r
2511         "xml": "<outcome value='network-resource'>\n",\r
2512         "comments": "",\r
2513         "outputs": 1,\r
2514         "x": 4822.593643188477,\r
2515         "y": 1915.7542724609375,\r
2516         "z": "4e0409b8.f91f",\r
2517         "wires": [\r
2518             [\r
2519                 "b69c1030.9f819"\r
2520             ]\r
2521         ]\r
2522     },\r
2523     {\r
2524         "id": "344ff0b9.5a6638",\r
2525         "type": "switchNode",\r
2526         "name": "switch related-to",\r
2527         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
2528         "comments": "",\r
2529         "outputs": 1,\r
2530         "x": 4619.593643188477,\r
2531         "y": 1911.7542724609375,\r
2532         "z": "4e0409b8.f91f",\r
2533         "wires": [\r
2534             [\r
2535                 "d5728c31.d60e58"\r
2536             ]\r
2537         ]\r
2538     },\r
2539     {\r
2540         "id": "b69c1030.9f819",\r
2541         "type": "block",\r
2542         "name": "block : atomic",\r
2543         "xml": "<block atomic=\"true\">",\r
2544         "atomic": "true",\r
2545         "outputs": 1,\r
2546         "x": 4999.593643188477,\r
2547         "y": 1907.7542724609375,\r
2548         "z": "4e0409b8.f91f",\r
2549         "wires": [\r
2550             [\r
2551                 "166dece1.2a1d83",\r
2552                 "f5802fed.00b688",\r
2553                 "9da4f014.ed916"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "166dece1.2a1d83",\r
2559         "type": "set",\r
2560         "name": "set domain A network-id",\r
2561         "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
2562         "comments": "",\r
2563         "x": 5214.593643188477,\r
2564         "y": 1888.7542724609375,\r
2565         "z": "4e0409b8.f91f",\r
2566         "wires": []\r
2567     },\r
2568     {\r
2569         "id": "f5802fed.00b688",\r
2570         "type": "get-resource",\r
2571         "name": "get-resource src network-resource",\r
2572         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
2573         "comments": "",\r
2574         "outputs": 1,\r
2575         "x": 5231.593643188477,\r
2576         "y": 1952.7542724609375,\r
2577         "z": "4e0409b8.f91f",\r
2578         "wires": [\r
2579             [\r
2580                 "70174310.ef21fc"\r
2581             ]\r
2582         ]\r
2583     },\r
2584     {\r
2585         "id": "70174310.ef21fc",\r
2586         "type": "success",\r
2587         "name": "success",\r
2588         "xml": "<outcome value='success'>\n",\r
2589         "comments": "",\r
2590         "outputs": 1,\r
2591         "x": 5455.093643188477,\r
2592         "y": 1953.7542724609375,\r
2593         "z": "4e0409b8.f91f",\r
2594         "wires": [\r
2595             [\r
2596                 "a7e50d88.6d2e68"\r
2597             ]\r
2598         ]\r
2599     },\r
2600     {\r
2601         "id": "a7e50d88.6d2e68",\r
2602         "type": "set",\r
2603         "name": "set domain A network-id, topo-id, client-id, etc",\r
2604         "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",\r
2605         "comments": "",\r
2606         "x": 5719.593643188477,\r
2607         "y": 1942.7542724609375,\r
2608         "z": "4e0409b8.f91f",\r
2609         "wires": []\r
2610     },\r
2611     {\r
2612         "id": "9da4f014.ed916",\r
2613         "type": "break",\r
2614         "name": "break",\r
2615         "xml": "<break>\n",\r
2616         "comments": "",\r
2617         "x": 5158.593643188477,\r
2618         "y": 2005.7542724609375,\r
2619         "z": "4e0409b8.f91f",\r
2620         "wires": []\r
2621     },\r
2622     {\r
2623         "id": "32a11f41.1ed8d",\r
2624         "type": "break",\r
2625         "name": "break",\r
2626         "xml": "<break>\n",\r
2627         "comments": "",\r
2628         "x": 2370.0936431884766,\r
2629         "y": 2671.7542724609375,\r
2630         "z": "4e0409b8.f91f",\r
2631         "wires": []\r
2632     },\r
2633     {\r
2634         "id": "aa69eaa5.3a021",\r
2635         "type": "get-resource",\r
2636         "name": "get-resource dst tp",\r
2637         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
2638         "comments": "",\r
2639         "outputs": 1,\r
2640         "x": 2451.093765258789,\r
2641         "y": 2567.7542724609375,\r
2642         "z": "4e0409b8.f91f",\r
2643         "wires": [\r
2644             [\r
2645                 "152c1e2a.f51b3a",\r
2646                 "7865573.9e8f528",\r
2647                 "eadd04f2.0d2bb"\r
2648             ]\r
2649         ]\r
2650     },\r
2651     {\r
2652         "id": "152c1e2a.f51b3a",\r
2653         "type": "success",\r
2654         "name": "success",\r
2655         "xml": "<outcome value='success'>\n",\r
2656         "comments": "",\r
2657         "outputs": 1,\r
2658         "x": 2673.5936431884766,\r
2659         "y": 2709.7542724609375,\r
2660         "z": "4e0409b8.f91f",\r
2661         "wires": [\r
2662             [\r
2663                 "356cecf3.c4ea5c"\r
2664             ]\r
2665         ]\r
2666     },\r
2667     {\r
2668         "id": "7865573.9e8f528",\r
2669         "type": "not-found",\r
2670         "name": "not-found",\r
2671         "xml": "<outcome value='not-found'>\n",\r
2672         "comments": "",\r
2673         "outputs": 1,\r
2674         "x": 2657.5936431884766,\r
2675         "y": 2760.7542724609375,\r
2676         "z": "4e0409b8.f91f",\r
2677         "wires": [\r
2678             [\r
2679                 "c6fabcec.420a88"\r
2680             ]\r
2681         ]\r
2682     },\r
2683     {\r
2684         "id": "eadd04f2.0d2bb",\r
2685         "type": "other",\r
2686         "name": "other",\r
2687         "xml": "<outcome value='Other'>\n",\r
2688         "comments": "",\r
2689         "outputs": 1,\r
2690         "x": 2660.5936431884766,\r
2691         "y": 2812.7542724609375,\r
2692         "z": "4e0409b8.f91f",\r
2693         "wires": [\r
2694             [\r
2695                 "38ceedcf.b5335a"\r
2696             ]\r
2697         ]\r
2698     },\r
2699     {\r
2700         "id": "38ceedcf.b5335a",\r
2701         "type": "returnFailure",\r
2702         "name": "return failure",\r
2703         "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
2704         "comments": "",\r
2705         "x": 2830.5936431884766,\r
2706         "y": 2815.7542724609375,\r
2707         "z": "4e0409b8.f91f",\r
2708         "wires": []\r
2709     },\r
2710     {\r
2711         "id": "c6fabcec.420a88",\r
2712         "type": "returnFailure",\r
2713         "name": "return failure",\r
2714         "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
2715         "comments": "",\r
2716         "x": 2842.5936431884766,\r
2717         "y": 2764.7542724609375,\r
2718         "z": "4e0409b8.f91f",\r
2719         "wires": []\r
2720     },\r
2721     {\r
2722         "id": "356cecf3.c4ea5c",\r
2723         "type": "block",\r
2724         "name": "block : atomic",\r
2725         "xml": "<block atomic=\"true\">",\r
2726         "atomic": "true",\r
2727         "outputs": 1,\r
2728         "x": 3829.0936431884766,\r
2729         "y": 2716.7542724609375,\r
2730         "z": "4e0409b8.f91f",\r
2731         "wires": [\r
2732             [\r
2733                 "4fed46ef.674408",\r
2734                 "3084850b.df6bda"\r
2735             ]\r
2736         ]\r
2737     },\r
2738     {\r
2739         "id": "a44d6b1a.d3f79",\r
2740         "type": "set",\r
2741         "name": "set domain C node ttp-id",\r
2742         "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
2743         "comments": "",\r
2744         "x": 4071.0936431884766,\r
2745         "y": 2670.7542724609375,\r
2746         "z": "4e0409b8.f91f",\r
2747         "wires": []\r
2748     },\r
2749     {\r
2750         "id": "c5d0aabe.bbcdd",\r
2751         "type": "get-resource",\r
2752         "name": "get-resource dst TTP",\r
2753         "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.domain-C.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
2754         "comments": "",\r
2755         "outputs": 1,\r
2756         "x": 4061.0936431884766,\r
2757         "y": 2721.7542724609375,\r
2758         "z": "4e0409b8.f91f",\r
2759         "wires": [\r
2760             [\r
2761                 "a5108f92.47e008"\r
2762             ]\r
2763         ]\r
2764     },\r
2765     {\r
2766         "id": "a5108f92.47e008",\r
2767         "type": "success",\r
2768         "name": "success",\r
2769         "xml": "<outcome value='success'>\n",\r
2770         "comments": "",\r
2771         "outputs": 1,\r
2772         "x": 4248.593643188477,\r
2773         "y": 2719.7542724609375,\r
2774         "z": "4e0409b8.f91f",\r
2775         "wires": [\r
2776             [\r
2777                 "3f6a4418.f345e4"\r
2778             ]\r
2779         ]\r
2780     },\r
2781     {\r
2782         "id": "3f6a4418.f345e4",\r
2783         "type": "block",\r
2784         "name": "block : atomic",\r
2785         "xml": "<block atomic=\"true\">",\r
2786         "atomic": "true",\r
2787         "outputs": 1,\r
2788         "x": 4437.593643188477,\r
2789         "y": 2708.7542724609375,\r
2790         "z": "4e0409b8.f91f",\r
2791         "wires": [\r
2792             [\r
2793                 "f349b322.df08"\r
2794             ]\r
2795         ]\r
2796     },\r
2797     {\r
2798         "id": "4fed46ef.674408",\r
2799         "type": "get-resource",\r
2800         "name": "get-resource dst pnf",\r
2801         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2802         "comments": "",\r
2803         "outputs": 1,\r
2804         "x": 3897.5936431884766,\r
2805         "y": 2550.7542724609375,\r
2806         "z": "4e0409b8.f91f",\r
2807         "wires": [\r
2808             [\r
2809                 "bd5f8459.3729e",\r
2810                 "4c983cea.380204",\r
2811                 "22ff4b86.f0d134"\r
2812             ]\r
2813         ]\r
2814     },\r
2815     {\r
2816         "id": "22ff4b86.f0d134",\r
2817         "type": "success",\r
2818         "name": "success",\r
2819         "xml": "<outcome value='success'>\n",\r
2820         "comments": "",\r
2821         "outputs": 1,\r
2822         "x": 4093.093765258789,\r
2823         "y": 2502.7542724609375,\r
2824         "z": "4e0409b8.f91f",\r
2825         "wires": [\r
2826             [\r
2827                 "f7516a99.fda6b8"\r
2828             ]\r
2829         ]\r
2830     },\r
2831     {\r
2832         "id": "4c983cea.380204",\r
2833         "type": "not-found",\r
2834         "name": "not-found",\r
2835         "xml": "<outcome value='not-found'>\n",\r
2836         "comments": "",\r
2837         "outputs": 1,\r
2838         "x": 4085.093765258789,\r
2839         "y": 2557.7542724609375,\r
2840         "z": "4e0409b8.f91f",\r
2841         "wires": [\r
2842             [\r
2843                 "295923ec.beece4"\r
2844             ]\r
2845         ]\r
2846     },\r
2847     {\r
2848         "id": "bd5f8459.3729e",\r
2849         "type": "other",\r
2850         "name": "other",\r
2851         "xml": "<outcome value='Other'>\n",\r
2852         "comments": "",\r
2853         "outputs": 1,\r
2854         "x": 4090.093765258789,\r
2855         "y": 2614.7542724609375,\r
2856         "z": "4e0409b8.f91f",\r
2857         "wires": [\r
2858             [\r
2859                 "e1270f4a.ad2a4"\r
2860             ]\r
2861         ]\r
2862     },\r
2863     {\r
2864         "id": "f7516a99.fda6b8",\r
2865         "type": "block",\r
2866         "name": "block",\r
2867         "xml": "<block>\n",\r
2868         "atomic": "false",\r
2869         "comments": "",\r
2870         "outputs": 1,\r
2871         "x": 4237.476089477539,\r
2872         "y": 2500.409942626953,\r
2873         "z": "4e0409b8.f91f",\r
2874         "wires": [\r
2875             [\r
2876                 "bed1ec55.99743",\r
2877                 "1fe2d8e1.fee497"\r
2878             ]\r
2879         ]\r
2880     },\r
2881     {\r
2882         "id": "295923ec.beece4",\r
2883         "type": "returnFailure",\r
2884         "name": "return failure",\r
2885         "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
2886         "comments": "",\r
2887         "x": 4253.093765258789,\r
2888         "y": 2560.7542724609375,\r
2889         "z": "4e0409b8.f91f",\r
2890         "wires": []\r
2891     },\r
2892     {\r
2893         "id": "e1270f4a.ad2a4",\r
2894         "type": "returnFailure",\r
2895         "name": "return failure",\r
2896         "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
2897         "comments": "",\r
2898         "x": 4242.093765258789,\r
2899         "y": 2615.7542724609375,\r
2900         "z": "4e0409b8.f91f",\r
2901         "wires": []\r
2902     },\r
2903     {\r
2904         "id": "bed1ec55.99743",\r
2905         "type": "set",\r
2906         "name": "set domain C node-id and tpn",\r
2907         "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
2908         "comments": "",\r
2909         "x": 4446.593643188477,\r
2910         "y": 2467.7542724609375,\r
2911         "z": "4e0409b8.f91f",\r
2912         "wires": []\r
2913     },\r
2914     {\r
2915         "id": "b4276d76.e5bd28",\r
2916         "type": "break",\r
2917         "name": "break",\r
2918         "xml": "<break>\n",\r
2919         "comments": "",\r
2920         "x": 4016.5936431884766,\r
2921         "y": 2762.7542724609375,\r
2922         "z": "4e0409b8.f91f",\r
2923         "wires": []\r
2924     },\r
2925     {\r
2926         "id": "1fe2d8e1.fee497",\r
2927         "type": "for",\r
2928         "name": "for each relationship",\r
2929         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
2930         "comments": "",\r
2931         "outputs": 1,\r
2932         "x": 4425.593643188477,\r
2933         "y": 2518.7542724609375,\r
2934         "z": "4e0409b8.f91f",\r
2935         "wires": [\r
2936             [\r
2937                 "160d6eb7.8ffc29"\r
2938             ]\r
2939         ]\r
2940     },\r
2941     {\r
2942         "id": "3084850b.df6bda",\r
2943         "type": "execute",\r
2944         "name": "execute split tp-id to get pnf-name",\r
2945         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
2946         "comments": "",\r
2947         "outputs": 1,\r
2948         "x": 3936.5936431884766,\r
2949         "y": 2365.7542724609375,\r
2950         "z": "4e0409b8.f91f",\r
2951         "wires": [\r
2952             [\r
2953                 "8b1f9e78.fc6b08",\r
2954                 "3fee13c1.19280c"\r
2955             ]\r
2956         ]\r
2957     },\r
2958     {\r
2959         "id": "3fee13c1.19280c",\r
2960         "type": "failure",\r
2961         "name": "success",\r
2962         "xml": "<outcome value='success'>\n",\r
2963         "comments": "",\r
2964         "outputs": 1,\r
2965         "x": 4157.593643188477,\r
2966         "y": 2333.7542724609375,\r
2967         "z": "4e0409b8.f91f",\r
2968         "wires": [\r
2969             [\r
2970                 "6b3391c6.a98da8"\r
2971             ]\r
2972         ]\r
2973     },\r
2974     {\r
2975         "id": "8b1f9e78.fc6b08",\r
2976         "type": "failure",\r
2977         "name": "failure",\r
2978         "xml": "<outcome value='failure'>\n",\r
2979         "comments": "",\r
2980         "outputs": 1,\r
2981         "x": 4157.593643188477,\r
2982         "y": 2380.7542724609375,\r
2983         "z": "4e0409b8.f91f",\r
2984         "wires": [\r
2985             [\r
2986                 "14daeb1e.72349d"\r
2987             ]\r
2988         ]\r
2989     },\r
2990     {\r
2991         "id": "6b3391c6.a98da8",\r
2992         "type": "block",\r
2993         "name": "block : atomic",\r
2994         "xml": "<block atomic=\"true\">",\r
2995         "atomic": "true",\r
2996         "outputs": 1,\r
2997         "x": 4322.593643188477,\r
2998         "y": 2330.7542724609375,\r
2999         "z": "4e0409b8.f91f",\r
3000         "wires": [\r
3001             [\r
3002                 "1cd577a8.988b1"\r
3003             ]\r
3004         ]\r
3005     },\r
3006     {\r
3007         "id": "1cd577a8.988b1",\r
3008         "type": "set",\r
3009         "name": "set domain-C.ltpId",\r
3010         "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
3011         "comments": "",\r
3012         "x": 4518.593643188477,\r
3013         "y": 2327.7542724609375,\r
3014         "z": "4e0409b8.f91f",\r
3015         "wires": []\r
3016     },\r
3017     {\r
3018         "id": "14daeb1e.72349d",\r
3019         "type": "returnFailure",\r
3020         "name": "return failure",\r
3021         "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
3022         "comments": "",\r
3023         "x": 4324.593643188477,\r
3024         "y": 2380.7542724609375,\r
3025         "z": "4e0409b8.f91f",\r
3026         "wires": []\r
3027     },\r
3028     {\r
3029         "id": "4bc21155.9e35b8",\r
3030         "type": "block",\r
3031         "name": "block : atomic",\r
3032         "xml": "<block atomic=\"true\">",\r
3033         "atomic": "true",\r
3034         "outputs": 1,\r
3035         "x": 5039.093643188477,\r
3036         "y": 2520.7542724609375,\r
3037         "z": "4e0409b8.f91f",\r
3038         "wires": [\r
3039             [\r
3040                 "847f7adf.63e62",\r
3041                 "d5d38231.3c54c8",\r
3042                 "34664c18.fc324c"\r
3043             ]\r
3044         ]\r
3045     },\r
3046     {\r
3047         "id": "a98c3e69.f90ce",\r
3048         "type": "outcome",\r
3049         "name": "network-resource",\r
3050         "xml": "<outcome value='network-resource'>\n",\r
3051         "comments": "",\r
3052         "outputs": 1,\r
3053         "x": 4826.093643188477,\r
3054         "y": 2519.7542724609375,\r
3055         "z": "4e0409b8.f91f",\r
3056         "wires": [\r
3057             [\r
3058                 "4bc21155.9e35b8"\r
3059             ]\r
3060         ]\r
3061     },\r
3062     {\r
3063         "id": "f349b322.df08",\r
3064         "type": "set",\r
3065         "name": "set domain C tunnel tp id",\r
3066         "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
3067         "comments": "",\r
3068         "x": 4670.593643188477,\r
3069         "y": 2707.7542724609375,\r
3070         "z": "4e0409b8.f91f",\r
3071         "wires": []\r
3072     },\r
3073     {\r
3074         "id": "160d6eb7.8ffc29",\r
3075         "type": "switchNode",\r
3076         "name": "switch related-to",\r
3077         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
3078         "comments": "",\r
3079         "outputs": 1,\r
3080         "x": 4620.593643188477,\r
3081         "y": 2518.7542724609375,\r
3082         "z": "4e0409b8.f91f",\r
3083         "wires": [\r
3084             [\r
3085                 "a98c3e69.f90ce"\r
3086             ]\r
3087         ]\r
3088     },\r
3089     {\r
3090         "id": "34664c18.fc324c",\r
3091         "type": "break",\r
3092         "name": "break",\r
3093         "xml": "<break>\n",\r
3094         "comments": "",\r
3095         "x": 5244.593643188477,\r
3096         "y": 2598.7542724609375,\r
3097         "z": "4e0409b8.f91f",\r
3098         "wires": []\r
3099     },\r
3100     {\r
3101         "id": "ae34b806.fa03b",\r
3102         "type": "comment",\r
3103         "name": "Not useful anymore",\r
3104         "info": "this domain-B.ltpId is not used anymore",\r
3105         "comments": "",\r
3106         "x": 4561.593643188477,\r
3107         "y": 2299.7542724609375,\r
3108         "z": "4e0409b8.f91f",\r
3109         "wires": []\r
3110     },\r
3111     {\r
3112         "id": "847f7adf.63e62",\r
3113         "type": "set",\r
3114         "name": "set domain C network-id",\r
3115         "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
3116         "comments": "",\r
3117         "x": 5309.093643188477,\r
3118         "y": 2496.7542724609375,\r
3119         "z": "4e0409b8.f91f",\r
3120         "wires": []\r
3121     },\r
3122     {\r
3123         "id": "d5d38231.3c54c8",\r
3124         "type": "get-resource",\r
3125         "name": "get-resource dst network-resource",\r
3126         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-C.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
3127         "comments": "",\r
3128         "outputs": 1,\r
3129         "x": 5319.093643188477,\r
3130         "y": 2542.7542724609375,\r
3131         "z": "4e0409b8.f91f",\r
3132         "wires": [\r
3133             [\r
3134                 "c8249671.c35c4"\r
3135             ]\r
3136         ]\r
3137     },\r
3138     {\r
3139         "id": "c8249671.c35c4",\r
3140         "type": "success",\r
3141         "name": "success",\r
3142         "xml": "<outcome value='success'>\n",\r
3143         "comments": "",\r
3144         "outputs": 1,\r
3145         "x": 5534.593643188477,\r
3146         "y": 2533.7542724609375,\r
3147         "z": "4e0409b8.f91f",\r
3148         "wires": [\r
3149             [\r
3150                 "e7dfb060.d731a"\r
3151             ]\r
3152         ]\r
3153     },\r
3154     {\r
3155         "id": "e7dfb060.d731a",\r
3156         "type": "set",\r
3157         "name": "set domain B network-id, topo-id, client-id, etc",\r
3158         "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",\r
3159         "comments": "",\r
3160         "x": 5789.093643188477,\r
3161         "y": 2539.7542724609375,\r
3162         "z": "4e0409b8.f91f",\r
3163         "wires": []\r
3164     },\r
3165     {\r
3166         "id": "f489a007.b1fc48",\r
3167         "type": "switchNode",\r
3168         "name": "switch $hasSecondary",\r
3169         "xml": "<switch test='`$hasSecondary`'>\n",\r
3170         "comments": "",\r
3171         "outputs": 1,\r
3172         "x": 2695.766616821289,\r
3173         "y": 358.0833282470703,\r
3174         "z": "4e0409b8.f91f",\r
3175         "wires": [\r
3176             [\r
3177                 "c262fde8.437148",\r
3178                 "6b716591.83bdfc"\r
3179             ]\r
3180         ]\r
3181     },\r
3182     {\r
3183         "id": "c262fde8.437148",\r
3184         "type": "outcomeTrue",\r
3185         "name": "true",\r
3186         "xml": "<outcome value='true'>\n",\r
3187         "comments": "",\r
3188         "outputs": 1,\r
3189         "x": 2844.766616821289,\r
3190         "y": 255.08331298828125,\r
3191         "z": "4e0409b8.f91f",\r
3192         "wires": [\r
3193             [\r
3194                 "c793aa2a.5c74e"\r
3195             ]\r
3196         ]\r
3197     },\r
3198     {\r
3199         "id": "c793aa2a.5c74e",\r
3200         "type": "block",\r
3201         "name": "block",\r
3202         "xml": "<block>\n",\r
3203         "atomic": "false",\r
3204         "comments": "",\r
3205         "outputs": 1,\r
3206         "x": 2977.766616821289,\r
3207         "y": 257.08331298828125,\r
3208         "z": "4e0409b8.f91f",\r
3209         "wires": [\r
3210             [\r
3211                 "f2810acd.c58fe8"\r
3212             ]\r
3213         ]\r
3214     },\r
3215     {\r
3216         "id": "f2810acd.c58fe8",\r
3217         "type": "switchNode",\r
3218         "name": "switch 2-ROOTS in same domain?",\r
3219         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
3220         "comments": "",\r
3221         "outputs": 1,\r
3222         "x": 3212.649917602539,\r
3223         "y": 266.9666748046875,\r
3224         "z": "4e0409b8.f91f",\r
3225         "wires": [\r
3226             [\r
3227                 "1e64454.01debbb",\r
3228                 "769cd65e.c95b38"\r
3229             ]\r
3230         ]\r
3231     },\r
3232     {\r
3233         "id": "1e64454.01debbb",\r
3234         "type": "outcomeTrue",\r
3235         "name": "true",\r
3236         "xml": "<outcome value='true'>\n",\r
3237         "comments": "",\r
3238         "outputs": 1,\r
3239         "x": 3443.649917602539,\r
3240         "y": 292.9666442871094,\r
3241         "z": "4e0409b8.f91f",\r
3242         "wires": [\r
3243             [\r
3244                 "3dcfd2e9.8e3c46"\r
3245             ]\r
3246         ]\r
3247     },\r
3248     {\r
3249         "id": "769cd65e.c95b38",\r
3250         "type": "outcomeTrue",\r
3251         "name": "false",\r
3252         "xml": "<outcome value='false'>\n",\r
3253         "comments": "",\r
3254         "outputs": 1,\r
3255         "x": 3373.649917602539,\r
3256         "y": 483.9666748046875,\r
3257         "z": "4e0409b8.f91f",\r
3258         "wires": [\r
3259             [\r
3260                 "10e6181e.3d4e78"\r
3261             ]\r
3262         ]\r
3263     },\r
3264     {\r
3265         "id": "3dcfd2e9.8e3c46",\r
3266         "type": "block",\r
3267         "name": "block",\r
3268         "xml": "<block>\n",\r
3269         "atomic": "false",\r
3270         "comments": "",\r
3271         "outputs": 1,\r
3272         "x": 3585.649917602539,\r
3273         "y": 282.9666442871094,\r
3274         "z": "4e0409b8.f91f",\r
3275         "wires": [\r
3276             [\r
3277                 "9ff11e86.dc4bb",\r
3278                 "8227d2b1.488338"\r
3279             ]\r
3280         ]\r
3281     },\r
3282     {\r
3283         "id": "10e6181e.3d4e78",\r
3284         "type": "block",\r
3285         "name": "block",\r
3286         "xml": "<block>\n",\r
3287         "atomic": "false",\r
3288         "comments": "",\r
3289         "outputs": 1,\r
3290         "x": 3499.649917602539,\r
3291         "y": 483.9666748046875,\r
3292         "z": "4e0409b8.f91f",\r
3293         "wires": [\r
3294             [\r
3295                 "a1c4eb1b.b4754"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "3d9b6343.bf83b4",\r
3301         "type": "block",\r
3302         "name": "block",\r
3303         "xml": "<block>\n",\r
3304         "atomic": "false",\r
3305         "comments": "",\r
3306         "outputs": 1,\r
3307         "x": 2496.533462524414,\r
3308         "y": 361.0833435058594,\r
3309         "z": "4e0409b8.f91f",\r
3310         "wires": [\r
3311             [\r
3312                 "f489a007.b1fc48"\r
3313             ]\r
3314         ]\r
3315     },\r
3316     {\r
3317         "id": "9ff11e86.dc4bb",\r
3318         "type": "set",\r
3319         "name": "set otnTopoIdDst",\r
3320         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3321         "comments": "",\r
3322         "x": 3744.233413696289,\r
3323         "y": 262.0833282470703,\r
3324         "z": "4e0409b8.f91f",\r
3325         "wires": []\r
3326     },\r
3327     {\r
3328         "id": "8227d2b1.488338",\r
3329         "type": "set",\r
3330         "name": "set otnTopoIdDstBackup",\r
3331         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3332         "comments": "",\r
3333         "x": 3766.233413696289,\r
3334         "y": 310.0833282470703,\r
3335         "z": "4e0409b8.f91f",\r
3336         "wires": []\r
3337     },\r
3338     {\r
3339         "id": "a1c4eb1b.b4754",\r
3340         "type": "set",\r
3341         "name": "set otnTopoIdDst",\r
3342         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3343         "comments": "",\r
3344         "x": 3670.233413696289,\r
3345         "y": 484.0833435058594,\r
3346         "z": "4e0409b8.f91f",\r
3347         "wires": []\r
3348     },\r
3349     {\r
3350         "id": "8ad70e62.96436",\r
3351         "type": "block",\r
3352         "name": "block",\r
3353         "xml": "<block>\n",\r
3354         "atomic": "false",\r
3355         "comments": "",\r
3356         "outputs": 1,\r
3357         "x": 2565.250015258789,\r
3358         "y": 435.8833312988281,\r
3359         "z": "4e0409b8.f91f",\r
3360         "wires": [\r
3361             [\r
3362                 "5780b97a.59b558"\r
3363             ]\r
3364         ]\r
3365     },\r
3366     {\r
3367         "id": "5780b97a.59b558",\r
3368         "type": "switchNode",\r
3369         "name": "switch $hasSecondary",\r
3370         "xml": "<switch test='`$hasSecondary`'>\n",\r
3371         "comments": "",\r
3372         "outputs": 1,\r
3373         "x": 2764.483169555664,\r
3374         "y": 432.88331604003906,\r
3375         "z": "4e0409b8.f91f",\r
3376         "wires": [\r
3377             [\r
3378                 "fef9cbe1.25a228"\r
3379             ]\r
3380         ]\r
3381     },\r
3382     {\r
3383         "id": "fef9cbe1.25a228",\r
3384         "type": "outcomeTrue",\r
3385         "name": "true",\r
3386         "xml": "<outcome value='true'>\n",\r
3387         "comments": "",\r
3388         "outputs": 1,\r
3389         "x": 2955.483169555664,\r
3390         "y": 436.88331604003906,\r
3391         "z": "4e0409b8.f91f",\r
3392         "wires": [\r
3393             [\r
3394                 "ec1ef68a.ed26c8"\r
3395             ]\r
3396         ]\r
3397     },\r
3398     {\r
3399         "id": "ec1ef68a.ed26c8",\r
3400         "type": "block",\r
3401         "name": "block",\r
3402         "xml": "<block>\n",\r
3403         "atomic": "false",\r
3404         "comments": "",\r
3405         "outputs": 1,\r
3406         "x": 3082.483169555664,\r
3407         "y": 435.88331604003906,\r
3408         "z": "4e0409b8.f91f",\r
3409         "wires": [\r
3410             [\r
3411                 "951109a8.a2d568"\r
3412             ]\r
3413         ]\r
3414     },\r
3415     {\r
3416         "id": "dcb40ac9.18c4f",\r
3417         "type": "switchNode",\r
3418         "name": "switch secondarySolutions empty?",\r
3419         "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
3420         "comments": "",\r
3421         "outputs": 1,\r
3422         "x": 1426.133316040039,\r
3423         "y": 1739.566650390625,\r
3424         "z": "4e0409b8.f91f",\r
3425         "wires": [\r
3426             [\r
3427                 "b4326611.a83f7",\r
3428                 "fc540bcd.ddd198"\r
3429             ]\r
3430         ]\r
3431     },\r
3432     {\r
3433         "id": "b4326611.a83f7",\r
3434         "type": "outcomeTrue",\r
3435         "name": "true",\r
3436         "xml": "<outcome value='true'>\n",\r
3437         "comments": "",\r
3438         "outputs": 1,\r
3439         "x": 1652.0333404541016,\r
3440         "y": 1711.566650390625,\r
3441         "z": "4e0409b8.f91f",\r
3442         "wires": [\r
3443             [\r
3444                 "11284bee.dffd4c"\r
3445             ]\r
3446         ]\r
3447     },\r
3448     {\r
3449         "id": "fc540bcd.ddd198",\r
3450         "type": "outcomeFalse",\r
3451         "name": "false",\r
3452         "xml": "<outcome value='false'>\n",\r
3453         "comments": "",\r
3454         "outputs": 1,\r
3455         "x": 1650.0333404541016,\r
3456         "y": 1761.566650390625,\r
3457         "z": "4e0409b8.f91f",\r
3458         "wires": [\r
3459             []\r
3460         ]\r
3461     },\r
3462     {\r
3463         "id": "11284bee.dffd4c",\r
3464         "type": "block",\r
3465         "name": "block",\r
3466         "xml": "<block>\n",\r
3467         "atomic": "false",\r
3468         "comments": "",\r
3469         "outputs": 1,\r
3470         "x": 1794.133316040039,\r
3471         "y": 1711.566650390625,\r
3472         "z": "4e0409b8.f91f",\r
3473         "wires": [\r
3474             []\r
3475         ]\r
3476     },\r
3477     {\r
3478         "id": "b39a241.90443d8",\r
3479         "type": "switchNode",\r
3480         "name": "switch $hasSecondary",\r
3481         "xml": "<switch test='`$hasSecondary`'>\n",\r
3482         "comments": "",\r
3483         "outputs": 1,\r
3484         "x": 805.0333404541016,\r
3485         "y": 1928.566650390625,\r
3486         "z": "4e0409b8.f91f",\r
3487         "wires": [\r
3488             [\r
3489                 "549781c.cb0618"\r
3490             ]\r
3491         ]\r
3492     },\r
3493     {\r
3494         "id": "549781c.cb0618",\r
3495         "type": "outcomeTrue",\r
3496         "name": "true",\r
3497         "xml": "<outcome value='true'>\n",\r
3498         "comments": "",\r
3499         "outputs": 1,\r
3500         "x": 991.0333404541016,\r
3501         "y": 1929.566650390625,\r
3502         "z": "4e0409b8.f91f",\r
3503         "wires": [\r
3504             [\r
3505                 "d885ede8.5b658"\r
3506             ]\r
3507         ]\r
3508     },\r
3509     {\r
3510         "id": "d885ede8.5b658",\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": 1121.0333404541016,\r
3518         "y": 1929.566650390625,\r
3519         "z": "4e0409b8.f91f",\r
3520         "wires": [\r
3521             [\r
3522                 "ad3f16cb.c3aec"\r
3523             ]\r
3524         ]\r
3525     },\r
3526     {\r
3527         "id": "d85ed40b.18e0d8",\r
3528         "type": "other",\r
3529         "name": "other",\r
3530         "xml": "<outcome value='Other'>\n",\r
3531         "comments": "",\r
3532         "outputs": 1,\r
3533         "x": 1327.566665649414,\r
3534         "y": 739.9999847412109,\r
3535         "z": "4e0409b8.f91f",\r
3536         "wires": [\r
3537             [\r
3538                 "2d158257.c6b36e"\r
3539             ]\r
3540         ]\r
3541     },\r
3542     {\r
3543         "id": "2d158257.c6b36e",\r
3544         "type": "block",\r
3545         "name": "block",\r
3546         "xml": "<block>\n",\r
3547         "atomic": "false",\r
3548         "comments": "",\r
3549         "outputs": 1,\r
3550         "x": 1467.566665649414,\r
3551         "y": 739.9999847412109,\r
3552         "z": "4e0409b8.f91f",\r
3553         "wires": [\r
3554             [\r
3555                 "51c8728f.9b3dc4"\r
3556             ]\r
3557         ]\r
3558     },\r
3559     {\r
3560         "id": "6b716591.83bdfc",\r
3561         "type": "other",\r
3562         "name": "other",\r
3563         "xml": "<outcome value='Other'>\n",\r
3564         "comments": "",\r
3565         "outputs": 1,\r
3566         "x": 2890.566665649414,\r
3567         "y": 358.99998474121094,\r
3568         "z": "4e0409b8.f91f",\r
3569         "wires": [\r
3570             [\r
3571                 "bb09be53.6788e"\r
3572             ]\r
3573         ]\r
3574     },\r
3575     {\r
3576         "id": "6ced391e.ea212",\r
3577         "type": "record",\r
3578         "name": "record cross-link",\r
3579         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.cross-link.src-ltpId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.src-pnf-name`\"/>\n<parameter name=\"field3\" value=\"`$tmp.cross-link.dst-ltpId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.dst-pnf-name`\"/>\n",\r
3580         "comments": "",\r
3581         "outputs": 1,\r
3582         "x": 1200.566650390625,\r
3583         "y": 1068.999984741211,\r
3584         "z": "4e0409b8.f91f",\r
3585         "wires": [\r
3586             []\r
3587         ]\r
3588     }\r
3589 ]