Support for 1+1 protection path for a cloud leased-line (CLL) service.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
1 [\r
2     {\r
3         "id": "58e34c1c.fa2ef4",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 169,\r
8         "y": 87,\r
9         "z": "740154b1.db9c44",\r
10         "wires": [\r
11             [\r
12                 "7debdd32.eca72c"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "7debdd32.eca72c",\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": 316,\r
26         "y": 662.0000152587891,\r
27         "z": "740154b1.db9c44",\r
28         "wires": [\r
29             [\r
30                 "17937dc9.2355da"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "17937dc9.2355da",\r
36         "type": "method",\r
37         "name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 380.0001220703125,\r
42         "y": 755,\r
43         "z": "740154b1.db9c44",\r
44         "wires": [\r
45             [\r
46                 "3e6ce739.eeb648"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "d05eda9f.63c82",\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": 425.9730682373047,\r
58         "y": 273.996000289917,\r
59         "z": "740154b1.db9c44",\r
60         "wires": [\r
61             [\r
62                 "d4681312.af0c78",\r
63                 "83728f7.d5447f"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "d4681312.af0c78",\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": 665.9732093811035,\r
75         "y": 297.99596977233887,\r
76         "z": "740154b1.db9c44",\r
77         "wires": [\r
78             [\r
79                 "b7d4d2f2.ad66"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "54760f3b.4160e8",\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": 835.9731292724609,\r
90         "y": 237.99606132507324,\r
91         "z": "740154b1.db9c44",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "83728f7.d5447f",\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": 664.9729957580566,\r
102         "y": 246.99606037139893,\r
103         "z": "740154b1.db9c44",\r
104         "wires": [\r
105             [\r
106                 "54760f3b.4160e8"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "2a1c3926.ccf68e",\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": 397.47686767578125,\r
117         "y": 230,\r
118         "z": "740154b1.db9c44",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "b642d1e9.ee8bf8",\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": 853.972900390625,\r
129         "y": 723.2457275390625,\r
130         "z": "740154b1.db9c44",\r
131         "wires": [\r
132             [\r
133                 "782120ce.0449f"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "1e8a6121.3ebf8f",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 937.4732055664062,\r
144         "y": 802.74609375,\r
145         "z": "740154b1.db9c44",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "782120ce.0449f",\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": 958.5001220703125,\r
156         "y": 914.2864990234375,\r
157         "z": "740154b1.db9c44",\r
158         "wires": [\r
159             [\r
160                 "c89cb66b.dc0d2",\r
161                 "154e7688.b29339",\r
162                 "4f1a8be1.b37344",\r
163                 "2cdce288.c30c46",\r
164                 "287cbb25.9abd94"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "c89cb66b.dc0d2",\r
170         "type": "set",\r
171         "name": "set otn-oof.link-name and etc.",\r
172         "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
173         "comments": "",\r
174         "x": 1205.0001220703125,\r
175         "y": 807.2864990234375,\r
176         "z": "740154b1.db9c44",\r
177         "wires": []\r
178     },\r
179     {\r
180         "id": "b7d4d2f2.ad66",\r
181         "type": "block",\r
182         "name": "block",\r
183         "xml": "<block>\n",\r
184         "atomic": "false",\r
185         "comments": "",\r
186         "outputs": 1,\r
187         "x": 811.0002555847168,\r
188         "y": 295.741455078125,\r
189         "z": "740154b1.db9c44",\r
190         "wires": [\r
191             []\r
192         ]\r
193     },\r
194     {\r
195         "id": "3e6ce739.eeb648",\r
196         "type": "block",\r
197         "name": "block : atomic",\r
198         "xml": "<block atomic=\"true\">",\r
199         "atomic": "true",\r
200         "outputs": 1,\r
201         "x": 620.9688835144043,\r
202         "y": 681.7416372299194,\r
203         "z": "740154b1.db9c44",\r
204         "wires": [\r
205             [\r
206                 "b642d1e9.ee8bf8",\r
207                 "d800f8fa.097b28",\r
208                 "3eb232d2.31d3ce",\r
209                 "7d4b4351.930cbc"\r
210             ]\r
211         ]\r
212     },\r
213     {\r
214         "id": "b9e5ba4.2ed1f48",\r
215         "type": "break",\r
216         "name": "break",\r
217         "xml": "<break>\n",\r
218         "comments": "",\r
219         "x": 2372.4998779296875,\r
220         "y": 1240,\r
221         "z": "740154b1.db9c44",\r
222         "wires": []\r
223     },\r
224     {\r
225         "id": "287cbb25.9abd94",\r
226         "type": "block",\r
227         "name": "block : atomic",\r
228         "xml": "<block atomic=\"true\">",\r
229         "atomic": "true",\r
230         "outputs": 1,\r
231         "x": 1171.5001220703125,\r
232         "y": 996,\r
233         "z": "740154b1.db9c44",\r
234         "wires": [\r
235             [\r
236                 "55e25897.4f1fe8",\r
237                 "1809a4d6.ba2673"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "ed734d7c.04c2f8",\r
243         "type": "success",\r
244         "name": "success",\r
245         "xml": "<outcome value='success'>\n",\r
246         "comments": "",\r
247         "outputs": 1,\r
248         "x": 2696.9998779296875,\r
249         "y": 731,\r
250         "z": "740154b1.db9c44",\r
251         "wires": [\r
252             [\r
253                 "d4861d1.90a2f6"\r
254             ]\r
255         ]\r
256     },\r
257     {\r
258         "id": "551be9a2.28b98",\r
259         "type": "not-found",\r
260         "name": "not-found",\r
261         "xml": "<outcome value='not-found'>\n",\r
262         "comments": "",\r
263         "outputs": 1,\r
264         "x": 2730,\r
265         "y": 789,\r
266         "z": "740154b1.db9c44",\r
267         "wires": [\r
268             [\r
269                 "bc9d63b9.95524"\r
270             ]\r
271         ]\r
272     },\r
273     {\r
274         "id": "22092f51.833d9",\r
275         "type": "other",\r
276         "name": "other",\r
277         "xml": "<outcome value='Other'>\n",\r
278         "comments": "",\r
279         "outputs": 1,\r
280         "x": 2733,\r
281         "y": 841,\r
282         "z": "740154b1.db9c44",\r
283         "wires": [\r
284             [\r
285                 "757b2f22.e7f98"\r
286             ]\r
287         ]\r
288     },\r
289     {\r
290         "id": "bc9d63b9.95524",\r
291         "type": "returnFailure",\r
292         "name": "return failure",\r
293         "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
294         "comments": "",\r
295         "x": 2915,\r
296         "y": 793,\r
297         "z": "740154b1.db9c44",\r
298         "wires": []\r
299     },\r
300     {\r
301         "id": "757b2f22.e7f98",\r
302         "type": "returnFailure",\r
303         "name": "return failure",\r
304         "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
305         "comments": "",\r
306         "x": 2903,\r
307         "y": 844,\r
308         "z": "740154b1.db9c44",\r
309         "wires": []\r
310     },\r
311     {\r
312         "id": "1391535e.6e46bd",\r
313         "type": "set",\r
314         "name": "set domain A node ttp-id",\r
315         "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
316         "comments": "",\r
317         "x": 4033.4998779296875,\r
318         "y": 646,\r
319         "z": "740154b1.db9c44",\r
320         "wires": []\r
321     },\r
322     {\r
323         "id": "2d1abf42.aacfc8",\r
324         "type": "get-resource",\r
325         "name": "get-resource src TTP",\r
326         "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
327         "comments": "",\r
328         "outputs": 1,\r
329         "x": 4041.4998779296875,\r
330         "y": 698,\r
331         "z": "740154b1.db9c44",\r
332         "wires": [\r
333             [\r
334                 "492ab725.abc14"\r
335             ]\r
336         ]\r
337     },\r
338     {\r
339         "id": "492ab725.abc14",\r
340         "type": "success",\r
341         "name": "success",\r
342         "xml": "<outcome value='success'>\n",\r
343         "comments": "",\r
344         "outputs": 1,\r
345         "x": 4247.9998779296875,\r
346         "y": 676,\r
347         "z": "740154b1.db9c44",\r
348         "wires": [\r
349             [\r
350                 "ca00a5f6.d5b71"\r
351             ]\r
352         ]\r
353     },\r
354     {\r
355         "id": "fe7961d1.c0f4e",\r
356         "type": "outcome",\r
357         "name": "tunnel-termination-point",\r
358         "xml": "<outcome value='tunnel-termination-point'>\n",\r
359         "comments": "",\r
360         "outputs": 1,\r
361         "x": 3585.6683349609375,\r
362         "y": 724.4815063476562,\r
363         "z": "740154b1.db9c44",\r
364         "wires": [\r
365             [\r
366                 "59e37319.f4bec4"\r
367             ]\r
368         ]\r
369     },\r
370     {\r
371         "id": "20453efe.bca822",\r
372         "type": "for",\r
373         "name": "for each relationship",\r
374         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
375         "comments": "",\r
376         "outputs": 1,\r
377         "x": 3048.3826904296875,\r
378         "y": 726.6597290039062,\r
379         "z": "740154b1.db9c44",\r
380         "wires": [\r
381             [\r
382                 "f844ac94.89e1e"\r
383             ]\r
384         ]\r
385     },\r
386     {\r
387         "id": "f844ac94.89e1e",\r
388         "type": "switchNode",\r
389         "name": "switch related-to",\r
390         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
391         "comments": "",\r
392         "outputs": 1,\r
393         "x": 3300.3826904296875,\r
394         "y": 723.6597290039062,\r
395         "z": "740154b1.db9c44",\r
396         "wires": [\r
397             [\r
398                 "fe7961d1.c0f4e"\r
399             ]\r
400         ]\r
401     },\r
402     {\r
403         "id": "59e37319.f4bec4",\r
404         "type": "block",\r
405         "name": "block : atomic",\r
406         "xml": "<block atomic=\"true\">",\r
407         "atomic": "true",\r
408         "outputs": 1,\r
409         "x": 3812.4998779296875,\r
410         "y": 713,\r
411         "z": "740154b1.db9c44",\r
412         "wires": [\r
413             [\r
414                 "1391535e.6e46bd",\r
415                 "2d1abf42.aacfc8",\r
416                 "d4f97b75.15b158",\r
417                 "12165a81.403f85",\r
418                 "103b5c34.d77a7c"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "55e25897.4f1fe8",\r
424         "type": "get-resource",\r
425         "name": "get-resource dst tp",\r
426         "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
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 2453.5,\r
430         "y": 1136,\r
431         "z": "740154b1.db9c44",\r
432         "wires": [\r
433             [\r
434                 "49c1a7b6.6f99c",\r
435                 "2b24743b.25895c",\r
436                 "c683e8fa.16a0b"\r
437             ]\r
438         ]\r
439     },\r
440     {\r
441         "id": "49c1a7b6.6f99c",\r
442         "type": "success",\r
443         "name": "success",\r
444         "xml": "<outcome value='success'>\n",\r
445         "comments": "",\r
446         "outputs": 1,\r
447         "x": 2675.9998779296875,\r
448         "y": 1278,\r
449         "z": "740154b1.db9c44",\r
450         "wires": [\r
451             [\r
452                 "ed45880a.b1c94"\r
453             ]\r
454         ]\r
455     },\r
456     {\r
457         "id": "2b24743b.25895c",\r
458         "type": "not-found",\r
459         "name": "not-found",\r
460         "xml": "<outcome value='not-found'>\n",\r
461         "comments": "",\r
462         "outputs": 1,\r
463         "x": 2659.9998779296875,\r
464         "y": 1329,\r
465         "z": "740154b1.db9c44",\r
466         "wires": [\r
467             [\r
468                 "37c7eeb2.67c862"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "c683e8fa.16a0b",\r
474         "type": "other",\r
475         "name": "other",\r
476         "xml": "<outcome value='Other'>\n",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 2662.9998779296875,\r
480         "y": 1381,\r
481         "z": "740154b1.db9c44",\r
482         "wires": [\r
483             [\r
484                 "78affe58.b6f08"\r
485             ]\r
486         ]\r
487     },\r
488     {\r
489         "id": "78affe58.b6f08",\r
490         "type": "returnFailure",\r
491         "name": "return failure",\r
492         "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
493         "comments": "",\r
494         "x": 2832.9998779296875,\r
495         "y": 1384,\r
496         "z": "740154b1.db9c44",\r
497         "wires": []\r
498     },\r
499     {\r
500         "id": "37c7eeb2.67c862",\r
501         "type": "returnFailure",\r
502         "name": "return failure",\r
503         "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
504         "comments": "",\r
505         "x": 2844.9998779296875,\r
506         "y": 1333,\r
507         "z": "740154b1.db9c44",\r
508         "wires": []\r
509     },\r
510     {\r
511         "id": "141988e8.b25ef7",\r
512         "type": "for",\r
513         "name": "for each relationship",\r
514         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
515         "comments": "",\r
516         "outputs": 1,\r
517         "x": 3032.3826904296875,\r
518         "y": 1288.6597290039062,\r
519         "z": "740154b1.db9c44",\r
520         "wires": [\r
521             [\r
522                 "a370922d.726108"\r
523             ]\r
524         ]\r
525     },\r
526     {\r
527         "id": "a370922d.726108",\r
528         "type": "switchNode",\r
529         "name": "switch related-to",\r
530         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
531         "comments": "",\r
532         "outputs": 1,\r
533         "x": 3275.3826904296875,\r
534         "y": 1287.6597290039062,\r
535         "z": "740154b1.db9c44",\r
536         "wires": [\r
537             [\r
538                 "e6beb03b.67e37"\r
539             ]\r
540         ]\r
541     },\r
542     {\r
543         "id": "61d27ccc.5b8de4",\r
544         "type": "block",\r
545         "name": "block : atomic",\r
546         "xml": "<block atomic=\"true\">",\r
547         "atomic": "true",\r
548         "outputs": 1,\r
549         "x": 5041.4998779296875,\r
550         "y": 1089,\r
551         "z": "740154b1.db9c44",\r
552         "wires": [\r
553             [\r
554                 "6cde7588.a972a4",\r
555                 "46f2ef05.7f74e8",\r
556                 "36e1e931.d36586"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "e6beb03b.67e37",\r
562         "type": "outcome",\r
563         "name": "tunnel-termination-point",\r
564         "xml": "<outcome value='tunnel-termination-point'>\n",\r
565         "comments": "",\r
566         "outputs": 1,\r
567         "x": 3531.6683349609375,\r
568         "y": 1287.4815063476562,\r
569         "z": "740154b1.db9c44",\r
570         "wires": [\r
571             [\r
572                 "412a94c.16241ec"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "df39947.2e32868",\r
578         "type": "outcome",\r
579         "name": "network-resource",\r
580         "xml": "<outcome value='network-resource'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 4828.4998779296875,\r
584         "y": 1088,\r
585         "z": "740154b1.db9c44",\r
586         "wires": [\r
587             [\r
588                 "61d27ccc.5b8de4"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "412a94c.16241ec",\r
594         "type": "block",\r
595         "name": "block : atomic",\r
596         "xml": "<block atomic=\"true\">",\r
597         "atomic": "true",\r
598         "outputs": 1,\r
599         "x": 3831.4998779296875,\r
600         "y": 1285,\r
601         "z": "740154b1.db9c44",\r
602         "wires": [\r
603             [\r
604                 "58c1eb2d.4365dc",\r
605                 "eafee68f.21777",\r
606                 "3baf326d.94389e",\r
607                 "7894f836.65f328",\r
608                 "9b949993.6af3e"\r
609             ]\r
610         ]\r
611     },\r
612     {\r
613         "id": "58c1eb2d.4365dc",\r
614         "type": "set",\r
615         "name": "set domain B node ttp-id",\r
616         "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
617         "comments": "",\r
618         "x": 4073.4998779296875,\r
619         "y": 1239,\r
620         "z": "740154b1.db9c44",\r
621         "wires": []\r
622     },\r
623     {\r
624         "id": "eafee68f.21777",\r
625         "type": "get-resource",\r
626         "name": "get-resource dst TTP",\r
627         "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
628         "comments": "",\r
629         "outputs": 1,\r
630         "x": 4063.4998779296875,\r
631         "y": 1290,\r
632         "z": "740154b1.db9c44",\r
633         "wires": [\r
634             [\r
635                 "135e1de8.ac41a2"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "135e1de8.ac41a2",\r
641         "type": "success",\r
642         "name": "success",\r
643         "xml": "<outcome value='success'>\n",\r
644         "comments": "",\r
645         "outputs": 1,\r
646         "x": 4250.9998779296875,\r
647         "y": 1288,\r
648         "z": "740154b1.db9c44",\r
649         "wires": [\r
650             [\r
651                 "e5e86a3d.a35168"\r
652             ]\r
653         ]\r
654     },\r
655     {\r
656         "id": "6cde7588.a972a4",\r
657         "type": "set",\r
658         "name": "set domain B network-id",\r
659         "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
660         "comments": "",\r
661         "x": 5311.4998779296875,\r
662         "y": 1065,\r
663         "z": "740154b1.db9c44",\r
664         "wires": []\r
665     },\r
666     {\r
667         "id": "46f2ef05.7f74e8",\r
668         "type": "get-resource",\r
669         "name": "get-resource dst network-resource",\r
670         "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
671         "comments": "",\r
672         "outputs": 1,\r
673         "x": 5321.4998779296875,\r
674         "y": 1111,\r
675         "z": "740154b1.db9c44",\r
676         "wires": [\r
677             [\r
678                 "95269d9e.8f1978"\r
679             ]\r
680         ]\r
681     },\r
682     {\r
683         "id": "95269d9e.8f1978",\r
684         "type": "success",\r
685         "name": "success",\r
686         "xml": "<outcome value='success'>\n",\r
687         "comments": "",\r
688         "outputs": 1,\r
689         "x": 5536.9998779296875,\r
690         "y": 1102,\r
691         "z": "740154b1.db9c44",\r
692         "wires": [\r
693             [\r
694                 "d0d56062.e96878"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "d0d56062.e96878",\r
700         "type": "set",\r
701         "name": "set domain B network-id, topo-id, client-id, etc",\r
702         "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
703         "comments": "",\r
704         "x": 5791.4998779296875,\r
705         "y": 1108,\r
706         "z": "740154b1.db9c44",\r
707         "wires": []\r
708     },\r
709     {\r
710         "id": "d4861d1.90a2f6",\r
711         "type": "block",\r
712         "name": "block",\r
713         "xml": "<block>\n",\r
714         "atomic": "false",\r
715         "comments": "",\r
716         "outputs": 1,\r
717         "x": 2830.9998779296875,\r
718         "y": 727,\r
719         "z": "740154b1.db9c44",\r
720         "wires": [\r
721             [\r
722                 "20453efe.bca822"\r
723             ]\r
724         ]\r
725     },\r
726     {\r
727         "id": "ed45880a.b1c94",\r
728         "type": "block",\r
729         "name": "block",\r
730         "xml": "<block>\n",\r
731         "atomic": "false",\r
732         "comments": "",\r
733         "outputs": 1,\r
734         "x": 2821.9998779296875,\r
735         "y": 1269,\r
736         "z": "740154b1.db9c44",\r
737         "wires": [\r
738             [\r
739                 "141988e8.b25ef7"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "ca00a5f6.d5b71",\r
745         "type": "block",\r
746         "name": "block : atomic",\r
747         "xml": "<block atomic=\"true\">",\r
748         "atomic": "true",\r
749         "outputs": 1,\r
750         "x": 4422.9998779296875,\r
751         "y": 672,\r
752         "z": "740154b1.db9c44",\r
753         "wires": [\r
754             [\r
755                 "4c98d169.bddc"\r
756             ]\r
757         ]\r
758     },\r
759     {\r
760         "id": "e5e86a3d.a35168",\r
761         "type": "block",\r
762         "name": "block : atomic",\r
763         "xml": "<block atomic=\"true\">",\r
764         "atomic": "true",\r
765         "outputs": 1,\r
766         "x": 4439.9998779296875,\r
767         "y": 1277,\r
768         "z": "740154b1.db9c44",\r
769         "wires": [\r
770             [\r
771                 "b92cc089.036dc8"\r
772             ]\r
773         ]\r
774     },\r
775     {\r
776         "id": "1809a4d6.ba2673",\r
777         "type": "get-resource",\r
778         "name": "get-resource src tp",\r
779         "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
780         "comments": "",\r
781         "outputs": 1,\r
782         "x": 2499.5,\r
783         "y": 770,\r
784         "z": "740154b1.db9c44",\r
785         "wires": [\r
786             [\r
787                 "ed734d7c.04c2f8",\r
788                 "551be9a2.28b98",\r
789                 "22092f51.833d9"\r
790             ]\r
791         ]\r
792     },\r
793     {\r
794         "id": "d4f97b75.15b158",\r
795         "type": "get-resource",\r
796         "name": "get-resource src pnf",\r
797         "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
798         "comments": "",\r
799         "outputs": 1,\r
800         "x": 3902.9998779296875,\r
801         "y": 516,\r
802         "z": "740154b1.db9c44",\r
803         "wires": [\r
804             [\r
805                 "27b2efea.3f735",\r
806                 "abdc030.e780f",\r
807                 "d67670c0.149af8"\r
808             ]\r
809         ]\r
810     },\r
811     {\r
812         "id": "27b2efea.3f735",\r
813         "type": "success",\r
814         "name": "success",\r
815         "xml": "<outcome value='success'>\n",\r
816         "comments": "",\r
817         "outputs": 1,\r
818         "x": 4098.5,\r
819         "y": 468,\r
820         "z": "740154b1.db9c44",\r
821         "wires": [\r
822             [\r
823                 "67bcf691.cce0a8"\r
824             ]\r
825         ]\r
826     },\r
827     {\r
828         "id": "abdc030.e780f",\r
829         "type": "not-found",\r
830         "name": "not-found",\r
831         "xml": "<outcome value='not-found'>\n",\r
832         "comments": "",\r
833         "outputs": 1,\r
834         "x": 4090.5,\r
835         "y": 523,\r
836         "z": "740154b1.db9c44",\r
837         "wires": [\r
838             [\r
839                 "f2e24f2.12fadb"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "d67670c0.149af8",\r
845         "type": "other",\r
846         "name": "other",\r
847         "xml": "<outcome value='Other'>\n",\r
848         "comments": "",\r
849         "outputs": 1,\r
850         "x": 4095.5,\r
851         "y": 580,\r
852         "z": "740154b1.db9c44",\r
853         "wires": [\r
854             [\r
855                 "c3d2abbd.c8f708"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "c3d2abbd.c8f708",\r
861         "type": "returnFailure",\r
862         "name": "return failure",\r
863         "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
864         "comments": "",\r
865         "x": 4247.5,\r
866         "y": 581,\r
867         "z": "740154b1.db9c44",\r
868         "wires": []\r
869     },\r
870     {\r
871         "id": "f2e24f2.12fadb",\r
872         "type": "returnFailure",\r
873         "name": "return failure",\r
874         "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
875         "comments": "",\r
876         "x": 4258.5,\r
877         "y": 526,\r
878         "z": "740154b1.db9c44",\r
879         "wires": []\r
880     },\r
881     {\r
882         "id": "67bcf691.cce0a8",\r
883         "type": "block",\r
884         "name": "block",\r
885         "xml": "<block>\n",\r
886         "atomic": "false",\r
887         "comments": "",\r
888         "outputs": 1,\r
889         "x": 4242.88232421875,\r
890         "y": 465.6556701660156,\r
891         "z": "740154b1.db9c44",\r
892         "wires": [\r
893             [\r
894                 "304592d5.537a8e",\r
895                 "2af9eb5e.d3c17c"\r
896             ]\r
897         ]\r
898     },\r
899     {\r
900         "id": "304592d5.537a8e",\r
901         "type": "set",\r
902         "name": "set domain A node-id and tpn",\r
903         "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
904         "comments": "",\r
905         "x": 4467.9998779296875,\r
906         "y": 421,\r
907         "z": "740154b1.db9c44",\r
908         "wires": []\r
909     },\r
910     {\r
911         "id": "12165a81.403f85",\r
912         "type": "break",\r
913         "name": "break",\r
914         "xml": "<break>\n",\r
915         "comments": "",\r
916         "x": 3989.9998779296875,\r
917         "y": 763,\r
918         "z": "740154b1.db9c44",\r
919         "wires": []\r
920     },\r
921     {\r
922         "id": "4c98d169.bddc",\r
923         "type": "set",\r
924         "name": "set domain A tunnel tp ip",\r
925         "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
926         "comments": "",\r
927         "x": 4683.9998779296875,\r
928         "y": 669,\r
929         "z": "740154b1.db9c44",\r
930         "wires": []\r
931     },\r
932     {\r
933         "id": "7894f836.65f328",\r
934         "type": "get-resource",\r
935         "name": "get-resource dst pnf",\r
936         "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
937         "comments": "",\r
938         "outputs": 1,\r
939         "x": 3899.9998779296875,\r
940         "y": 1119,\r
941         "z": "740154b1.db9c44",\r
942         "wires": [\r
943             [\r
944                 "54998b27.2003cc",\r
945                 "d1cd027c.1f10b8",\r
946                 "75ff3dee.3bf8bc"\r
947             ]\r
948         ]\r
949     },\r
950     {\r
951         "id": "75ff3dee.3bf8bc",\r
952         "type": "success",\r
953         "name": "success",\r
954         "xml": "<outcome value='success'>\n",\r
955         "comments": "",\r
956         "outputs": 1,\r
957         "x": 4095.5,\r
958         "y": 1071,\r
959         "z": "740154b1.db9c44",\r
960         "wires": [\r
961             [\r
962                 "c056b35b.56583"\r
963             ]\r
964         ]\r
965     },\r
966     {\r
967         "id": "d1cd027c.1f10b8",\r
968         "type": "not-found",\r
969         "name": "not-found",\r
970         "xml": "<outcome value='not-found'>\n",\r
971         "comments": "",\r
972         "outputs": 1,\r
973         "x": 4087.5,\r
974         "y": 1126,\r
975         "z": "740154b1.db9c44",\r
976         "wires": [\r
977             [\r
978                 "560adcd5.77c02c"\r
979             ]\r
980         ]\r
981     },\r
982     {\r
983         "id": "54998b27.2003cc",\r
984         "type": "other",\r
985         "name": "other",\r
986         "xml": "<outcome value='Other'>\n",\r
987         "comments": "",\r
988         "outputs": 1,\r
989         "x": 4092.5,\r
990         "y": 1183,\r
991         "z": "740154b1.db9c44",\r
992         "wires": [\r
993             [\r
994                 "3b1e11f8.04c5b6"\r
995             ]\r
996         ]\r
997     },\r
998     {\r
999         "id": "c056b35b.56583",\r
1000         "type": "block",\r
1001         "name": "block",\r
1002         "xml": "<block>\n",\r
1003         "atomic": "false",\r
1004         "comments": "",\r
1005         "outputs": 1,\r
1006         "x": 4239.88232421875,\r
1007         "y": 1068.6556701660156,\r
1008         "z": "740154b1.db9c44",\r
1009         "wires": [\r
1010             [\r
1011                 "7ca2f810.f9ca5",\r
1012                 "5d0e55ed.7c2c54"\r
1013             ]\r
1014         ]\r
1015     },\r
1016     {\r
1017         "id": "560adcd5.77c02c",\r
1018         "type": "returnFailure",\r
1019         "name": "return failure",\r
1020         "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
1021         "comments": "",\r
1022         "x": 4255.5,\r
1023         "y": 1129,\r
1024         "z": "740154b1.db9c44",\r
1025         "wires": []\r
1026     },\r
1027     {\r
1028         "id": "3b1e11f8.04c5b6",\r
1029         "type": "returnFailure",\r
1030         "name": "return failure",\r
1031         "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
1032         "comments": "",\r
1033         "x": 4244.5,\r
1034         "y": 1184,\r
1035         "z": "740154b1.db9c44",\r
1036         "wires": []\r
1037     },\r
1038     {\r
1039         "id": "7ca2f810.f9ca5",\r
1040         "type": "set",\r
1041         "name": "set domain B node-id and tpn",\r
1042         "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
1043         "comments": "",\r
1044         "x": 4448.9998779296875,\r
1045         "y": 1036,\r
1046         "z": "740154b1.db9c44",\r
1047         "wires": []\r
1048     },\r
1049     {\r
1050         "id": "3baf326d.94389e",\r
1051         "type": "break",\r
1052         "name": "break",\r
1053         "xml": "<break>\n",\r
1054         "comments": "",\r
1055         "x": 4018.9998779296875,\r
1056         "y": 1331,\r
1057         "z": "740154b1.db9c44",\r
1058         "wires": []\r
1059     },\r
1060     {\r
1061         "id": "b92cc089.036dc8",\r
1062         "type": "set",\r
1063         "name": "set domain B tunnel tp id",\r
1064         "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
1065         "comments": "",\r
1066         "x": 4672.9998779296875,\r
1067         "y": 1276,\r
1068         "z": "740154b1.db9c44",\r
1069         "wires": []\r
1070     },\r
1071     {\r
1072         "id": "c8548322.1dce7",\r
1073         "type": "outcome",\r
1074         "name": "network-resource",\r
1075         "xml": "<outcome value='network-resource'>\n",\r
1076         "comments": "",\r
1077         "outputs": 1,\r
1078         "x": 4824.9998779296875,\r
1079         "y": 484,\r
1080         "z": "740154b1.db9c44",\r
1081         "wires": [\r
1082             [\r
1083                 "49aa1e98.21619"\r
1084             ]\r
1085         ]\r
1086     },\r
1087     {\r
1088         "id": "49aa1e98.21619",\r
1089         "type": "block",\r
1090         "name": "block : atomic",\r
1091         "xml": "<block atomic=\"true\">",\r
1092         "atomic": "true",\r
1093         "outputs": 1,\r
1094         "x": 5001.9998779296875,\r
1095         "y": 476,\r
1096         "z": "740154b1.db9c44",\r
1097         "wires": [\r
1098             [\r
1099                 "13542cdd.43dda3",\r
1100                 "909a99fa.787ae8",\r
1101                 "44fc9502.8d863c"\r
1102             ]\r
1103         ]\r
1104     },\r
1105     {\r
1106         "id": "13542cdd.43dda3",\r
1107         "type": "set",\r
1108         "name": "set domain A network-id",\r
1109         "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
1110         "comments": "",\r
1111         "x": 5216.9998779296875,\r
1112         "y": 457,\r
1113         "z": "740154b1.db9c44",\r
1114         "wires": []\r
1115     },\r
1116     {\r
1117         "id": "909a99fa.787ae8",\r
1118         "type": "get-resource",\r
1119         "name": "get-resource src network-resource",\r
1120         "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
1121         "comments": "",\r
1122         "outputs": 1,\r
1123         "x": 5233.9998779296875,\r
1124         "y": 521,\r
1125         "z": "740154b1.db9c44",\r
1126         "wires": [\r
1127             [\r
1128                 "30bbae6f.18af4a"\r
1129             ]\r
1130         ]\r
1131     },\r
1132     {\r
1133         "id": "30bbae6f.18af4a",\r
1134         "type": "success",\r
1135         "name": "success",\r
1136         "xml": "<outcome value='success'>\n",\r
1137         "comments": "",\r
1138         "outputs": 1,\r
1139         "x": 5457.4998779296875,\r
1140         "y": 522,\r
1141         "z": "740154b1.db9c44",\r
1142         "wires": [\r
1143             [\r
1144                 "a367788a.bb68e"\r
1145             ]\r
1146         ]\r
1147     },\r
1148     {\r
1149         "id": "a367788a.bb68e",\r
1150         "type": "set",\r
1151         "name": "set domain A network-id, topo-id, client-id, etc",\r
1152         "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
1153         "comments": "",\r
1154         "x": 5721.9998779296875,\r
1155         "y": 511,\r
1156         "z": "740154b1.db9c44",\r
1157         "wires": []\r
1158     },\r
1159     {\r
1160         "id": "2af9eb5e.d3c17c",\r
1161         "type": "for",\r
1162         "name": "for each relationship",\r
1163         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
1164         "comments": "",\r
1165         "outputs": 1,\r
1166         "x": 4426.9998779296875,\r
1167         "y": 480,\r
1168         "z": "740154b1.db9c44",\r
1169         "wires": [\r
1170             [\r
1171                 "df80ec0f.2a1388"\r
1172             ]\r
1173         ]\r
1174     },\r
1175     {\r
1176         "id": "df80ec0f.2a1388",\r
1177         "type": "switchNode",\r
1178         "name": "switch related-to",\r
1179         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
1180         "comments": "",\r
1181         "outputs": 1,\r
1182         "x": 4621.9998779296875,\r
1183         "y": 480,\r
1184         "z": "740154b1.db9c44",\r
1185         "wires": [\r
1186             [\r
1187                 "c8548322.1dce7"\r
1188             ]\r
1189         ]\r
1190     },\r
1191     {\r
1192         "id": "44fc9502.8d863c",\r
1193         "type": "break",\r
1194         "name": "break",\r
1195         "xml": "<break>\n",\r
1196         "comments": "",\r
1197         "x": 5160.9998779296875,\r
1198         "y": 574,\r
1199         "z": "740154b1.db9c44",\r
1200         "wires": []\r
1201     },\r
1202     {\r
1203         "id": "5d0e55ed.7c2c54",\r
1204         "type": "for",\r
1205         "name": "for each relationship",\r
1206         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1207         "comments": "",\r
1208         "outputs": 1,\r
1209         "x": 4427.9998779296875,\r
1210         "y": 1087,\r
1211         "z": "740154b1.db9c44",\r
1212         "wires": [\r
1213             [\r
1214                 "97742823.a37f08"\r
1215             ]\r
1216         ]\r
1217     },\r
1218     {\r
1219         "id": "97742823.a37f08",\r
1220         "type": "switchNode",\r
1221         "name": "switch related-to",\r
1222         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
1223         "comments": "",\r
1224         "outputs": 1,\r
1225         "x": 4622.9998779296875,\r
1226         "y": 1087,\r
1227         "z": "740154b1.db9c44",\r
1228         "wires": [\r
1229             [\r
1230                 "df39947.2e32868"\r
1231             ]\r
1232         ]\r
1233     },\r
1234     {\r
1235         "id": "36e1e931.d36586",\r
1236         "type": "break",\r
1237         "name": "break",\r
1238         "xml": "<break>\n",\r
1239         "comments": "",\r
1240         "x": 5246.9998779296875,\r
1241         "y": 1167,\r
1242         "z": "740154b1.db9c44",\r
1243         "wires": []\r
1244     },\r
1245     {\r
1246         "id": "103b5c34.d77a7c",\r
1247         "type": "execute",\r
1248         "name": "execute split tp-id to get pnf-name",\r
1249         "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
1250         "comments": "",\r
1251         "outputs": 1,\r
1252         "x": 3930.9998779296875,\r
1253         "y": 310,\r
1254         "z": "740154b1.db9c44",\r
1255         "wires": [\r
1256             [\r
1257                 "b3bf59d4.5b493",\r
1258                 "21c8620c.a1786e"\r
1259             ]\r
1260         ]\r
1261     },\r
1262     {\r
1263         "id": "21c8620c.a1786e",\r
1264         "type": "failure",\r
1265         "name": "success",\r
1266         "xml": "<outcome value='success'>\n",\r
1267         "comments": "",\r
1268         "outputs": 1,\r
1269         "x": 4151.9998779296875,\r
1270         "y": 278,\r
1271         "z": "740154b1.db9c44",\r
1272         "wires": [\r
1273             [\r
1274                 "ac6a8696.ec08c8"\r
1275             ]\r
1276         ]\r
1277     },\r
1278     {\r
1279         "id": "b3bf59d4.5b493",\r
1280         "type": "failure",\r
1281         "name": "failure",\r
1282         "xml": "<outcome value='failure'>\n",\r
1283         "comments": "",\r
1284         "outputs": 1,\r
1285         "x": 4151.9998779296875,\r
1286         "y": 325,\r
1287         "z": "740154b1.db9c44",\r
1288         "wires": [\r
1289             [\r
1290                 "53c1b9f8.feb02"\r
1291             ]\r
1292         ]\r
1293     },\r
1294     {\r
1295         "id": "ac6a8696.ec08c8",\r
1296         "type": "block",\r
1297         "name": "block : atomic",\r
1298         "xml": "<block atomic=\"true\">",\r
1299         "atomic": "true",\r
1300         "outputs": 1,\r
1301         "x": 4316.9998779296875,\r
1302         "y": 275,\r
1303         "z": "740154b1.db9c44",\r
1304         "wires": [\r
1305             [\r
1306                 "c3a92ffe.308538"\r
1307             ]\r
1308         ]\r
1309     },\r
1310     {\r
1311         "id": "c3a92ffe.308538",\r
1312         "type": "set",\r
1313         "name": "set domain-A.ltpId",\r
1314         "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
1315         "comments": "",\r
1316         "x": 4498.9998779296875,\r
1317         "y": 279,\r
1318         "z": "740154b1.db9c44",\r
1319         "wires": []\r
1320     },\r
1321     {\r
1322         "id": "53c1b9f8.feb02",\r
1323         "type": "returnFailure",\r
1324         "name": "return failure",\r
1325         "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
1326         "comments": "",\r
1327         "x": 4318.9998779296875,\r
1328         "y": 325,\r
1329         "z": "740154b1.db9c44",\r
1330         "wires": []\r
1331     },\r
1332     {\r
1333         "id": "9b949993.6af3e",\r
1334         "type": "execute",\r
1335         "name": "execute split tp-id to get pnf-name",\r
1336         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\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
1337         "comments": "",\r
1338         "outputs": 1,\r
1339         "x": 3938.9998779296875,\r
1340         "y": 934,\r
1341         "z": "740154b1.db9c44",\r
1342         "wires": [\r
1343             [\r
1344                 "63b15b9d.d0246c",\r
1345                 "438781d9.fa013"\r
1346             ]\r
1347         ]\r
1348     },\r
1349     {\r
1350         "id": "438781d9.fa013",\r
1351         "type": "failure",\r
1352         "name": "success",\r
1353         "xml": "<outcome value='success'>\n",\r
1354         "comments": "",\r
1355         "outputs": 1,\r
1356         "x": 4159.9998779296875,\r
1357         "y": 902,\r
1358         "z": "740154b1.db9c44",\r
1359         "wires": [\r
1360             [\r
1361                 "7c480aff.2bda14"\r
1362             ]\r
1363         ]\r
1364     },\r
1365     {\r
1366         "id": "63b15b9d.d0246c",\r
1367         "type": "failure",\r
1368         "name": "failure",\r
1369         "xml": "<outcome value='failure'>\n",\r
1370         "comments": "",\r
1371         "outputs": 1,\r
1372         "x": 4159.9998779296875,\r
1373         "y": 949,\r
1374         "z": "740154b1.db9c44",\r
1375         "wires": [\r
1376             [\r
1377                 "6669851b.858ebc"\r
1378             ]\r
1379         ]\r
1380     },\r
1381     {\r
1382         "id": "7c480aff.2bda14",\r
1383         "type": "block",\r
1384         "name": "block : atomic",\r
1385         "xml": "<block atomic=\"true\">",\r
1386         "atomic": "true",\r
1387         "outputs": 1,\r
1388         "x": 4324.9998779296875,\r
1389         "y": 899,\r
1390         "z": "740154b1.db9c44",\r
1391         "wires": [\r
1392             [\r
1393                 "6535be11.5e3bd"\r
1394             ]\r
1395         ]\r
1396     },\r
1397     {\r
1398         "id": "6535be11.5e3bd",\r
1399         "type": "set",\r
1400         "name": "set domain-B.ltpId",\r
1401         "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
1402         "comments": "",\r
1403         "x": 4520.9998779296875,\r
1404         "y": 896,\r
1405         "z": "740154b1.db9c44",\r
1406         "wires": []\r
1407     },\r
1408     {\r
1409         "id": "6669851b.858ebc",\r
1410         "type": "returnFailure",\r
1411         "name": "return failure",\r
1412         "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
1413         "comments": "",\r
1414         "x": 4326.9998779296875,\r
1415         "y": 949,\r
1416         "z": "740154b1.db9c44",\r
1417         "wires": []\r
1418     },\r
1419     {\r
1420         "id": "154e7688.b29339",\r
1421         "type": "set",\r
1422         "name": "unset parameters",\r
1423         "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
1424         "comments": "",\r
1425         "x": 1196,\r
1426         "y": 736,\r
1427         "z": "740154b1.db9c44",\r
1428         "wires": []\r
1429     },\r
1430     {\r
1431         "id": "5f2860ab.d20368",\r
1432         "type": "comment",\r
1433         "name": "Not useful anymore",\r
1434         "info": "this domain-A.ltpId is not used anymore",\r
1435         "comments": "",\r
1436         "x": 4541.9998779296875,\r
1437         "y": 255,\r
1438         "z": "740154b1.db9c44",\r
1439         "wires": []\r
1440     },\r
1441     {\r
1442         "id": "839b6b92.78af58",\r
1443         "type": "comment",\r
1444         "name": "Not useful anymore",\r
1445         "info": "this domain-B.ltpId is not used anymore",\r
1446         "comments": "",\r
1447         "x": 4563.9998779296875,\r
1448         "y": 868,\r
1449         "z": "740154b1.db9c44",\r
1450         "wires": []\r
1451     },\r
1452     {\r
1453         "id": "d800f8fa.097b28",\r
1454         "type": "set",\r
1455         "name": "unset parameters",\r
1456         "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",\r
1457         "comments": "",\r
1458         "x": 837,\r
1459         "y": 664,\r
1460         "z": "740154b1.db9c44",\r
1461         "wires": []\r
1462     },\r
1463     {\r
1464         "id": "9d59de38.f2a96",\r
1465         "type": "comment",\r
1466         "name": "May not be necessary",\r
1467         "info": "",\r
1468         "comments": "",\r
1469         "x": 848,\r
1470         "y": 617,\r
1471         "z": "740154b1.db9c44",\r
1472         "wires": []\r
1473     },\r
1474     {\r
1475         "id": "3eb232d2.31d3ce",\r
1476         "type": "block",\r
1477         "name": "block : atomic",\r
1478         "xml": "<block atomic='true'>",\r
1479         "atomic": "true",\r
1480         "comments": "",\r
1481         "outputs": 1,\r
1482         "x": 828,\r
1483         "y": 414,\r
1484         "z": "740154b1.db9c44",\r
1485         "wires": [\r
1486             [\r
1487                 "ef757a3b.136af8",\r
1488                 "170891d6.65d54e",\r
1489                 "69ba386e.9da968",\r
1490                 "2e082ac1.a1ccfe",\r
1491                 "a74fb526.bc5db",\r
1492                 "4af9732c.943804",\r
1493                 "45b96535.5a3dac",\r
1494                 "1033844e.1fe0b4",\r
1495                 "644a4209.4c190c",\r
1496                 "752e7b91.ad42a4",\r
1497                 "7d6aaca7.ab1b4c",\r
1498                 "441d97dd.ea8d",\r
1499                 "75c12230.00ef3c"\r
1500             ]\r
1501         ]\r
1502     },\r
1503     {\r
1504         "id": "874f6992.1d0f",\r
1505         "type": "execute",\r
1506         "name": "execute PCE in ccsdk/sli/core",\r
1507         "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
1508         "comments": "",\r
1509         "outputs": 1,\r
1510         "x": 1650,\r
1511         "y": 661,\r
1512         "z": "740154b1.db9c44",\r
1513         "wires": [\r
1514             [\r
1515                 "9cd26432.6ca2e",\r
1516                 "d020471b.87351",\r
1517                 "d9ad3259.cc415"\r
1518             ]\r
1519         ]\r
1520     },\r
1521     {\r
1522         "id": "ef757a3b.136af8",\r
1523         "type": "record",\r
1524         "name": "record tmp.pce-src and dst node and backup",\r
1525         "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
1526         "comments": "",\r
1527         "outputs": 1,\r
1528         "x": 1124,\r
1529         "y": 447,\r
1530         "z": "740154b1.db9c44",\r
1531         "wires": [\r
1532             []\r
1533         ]\r
1534     },\r
1535     {\r
1536         "id": "9cd26432.6ca2e",\r
1537         "type": "other",\r
1538         "name": "other",\r
1539         "xml": "<outcome value='Other'>\n",\r
1540         "comments": "",\r
1541         "outputs": 1,\r
1542         "x": 1895,\r
1543         "y": 693,\r
1544         "z": "740154b1.db9c44",\r
1545         "wires": [\r
1546             []\r
1547         ]\r
1548     },\r
1549     {\r
1550         "id": "d020471b.87351",\r
1551         "type": "not-found",\r
1552         "name": "not-found",\r
1553         "xml": "<outcome value='not-found'>\n",\r
1554         "comments": "",\r
1555         "outputs": 1,\r
1556         "x": 1902,\r
1557         "y": 735,\r
1558         "z": "740154b1.db9c44",\r
1559         "wires": [\r
1560             []\r
1561         ]\r
1562     },\r
1563     {\r
1564         "id": "d9ad3259.cc415",\r
1565         "type": "success",\r
1566         "name": "success",\r
1567         "xml": "<outcome value='success'>\n",\r
1568         "comments": "",\r
1569         "outputs": 1,\r
1570         "x": 1897,\r
1571         "y": 656,\r
1572         "z": "740154b1.db9c44",\r
1573         "wires": [\r
1574             []\r
1575         ]\r
1576     },\r
1577     {\r
1578         "id": "170891d6.65d54e",\r
1579         "type": "set",\r
1580         "name": "set tmp.pce-src-node",\r
1581         "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
1582         "comments": "",\r
1583         "x": 1045,\r
1584         "y": 319,\r
1585         "z": "740154b1.db9c44",\r
1586         "wires": []\r
1587     },\r
1588     {\r
1589         "id": "69ba386e.9da968",\r
1590         "type": "set",\r
1591         "name": "set tmp.pce-dst-node",\r
1592         "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
1593         "comments": "",\r
1594         "x": 1045,\r
1595         "y": 359,\r
1596         "z": "740154b1.db9c44",\r
1597         "wires": []\r
1598     },\r
1599     {\r
1600         "id": "4f1a8be1.b37344",\r
1601         "type": "set",\r
1602         "name": "set src-ltpId",\r
1603         "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
1604         "comments": "",\r
1605         "x": 1178,\r
1606         "y": 867,\r
1607         "z": "740154b1.db9c44",\r
1608         "wires": []\r
1609     },\r
1610     {\r
1611         "id": "2cdce288.c30c46",\r
1612         "type": "set",\r
1613         "name": "set dst-ltpId",\r
1614         "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
1615         "comments": "",\r
1616         "x": 1179,\r
1617         "y": 917,\r
1618         "z": "740154b1.db9c44",\r
1619         "wires": []\r
1620     },\r
1621     {\r
1622         "id": "2e082ac1.a1ccfe",\r
1623         "type": "get-resource",\r
1624         "name": "get-resource network-resources-list",\r
1625         "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
1626         "comments": "",\r
1627         "outputs": 1,\r
1628         "x": 1102,\r
1629         "y": 43,\r
1630         "z": "740154b1.db9c44",\r
1631         "wires": [\r
1632             [\r
1633                 "8367b97c.7cba2",\r
1634                 "c705fa11.095f6",\r
1635                 "3e5ba73a.cfbd2"\r
1636             ]\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "c705fa11.095f6",\r
1641         "type": "other",\r
1642         "name": "other",\r
1643         "xml": "<outcome value='Other'>\n",\r
1644         "comments": "",\r
1645         "outputs": 1,\r
1646         "x": 1335,\r
1647         "y": 67,\r
1648         "z": "740154b1.db9c44",\r
1649         "wires": [\r
1650             []\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "3e5ba73a.cfbd2",\r
1655         "type": "not-found",\r
1656         "name": "not-found",\r
1657         "xml": "<outcome value='not-found'>\n",\r
1658         "comments": "",\r
1659         "outputs": 1,\r
1660         "x": 1349,\r
1661         "y": 107,\r
1662         "z": "740154b1.db9c44",\r
1663         "wires": [\r
1664             []\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "8367b97c.7cba2",\r
1669         "type": "success",\r
1670         "name": "success",\r
1671         "xml": "<outcome value='success'>\n",\r
1672         "comments": "",\r
1673         "outputs": 1,\r
1674         "x": 1338,\r
1675         "y": 26,\r
1676         "z": "740154b1.db9c44",\r
1677         "wires": [\r
1678             []\r
1679         ]\r
1680     },\r
1681     {\r
1682         "id": "a74fb526.bc5db",\r
1683         "type": "for",\r
1684         "name": "for netwidx..allNetworksList_length",\r
1685         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
1686         "comments": "",\r
1687         "outputs": 1,\r
1688         "x": 1094,\r
1689         "y": 89,\r
1690         "z": "740154b1.db9c44",\r
1691         "wires": [\r
1692             [\r
1693                 "e64f1c2c.75e2a8"\r
1694             ]\r
1695         ]\r
1696     },\r
1697     {\r
1698         "id": "e64f1c2c.75e2a8",\r
1699         "type": "switchNode",\r
1700         "name": "switch provider-id domainA",\r
1701         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
1702         "comments": "",\r
1703         "outputs": 1,\r
1704         "x": 1415,\r
1705         "y": 165,\r
1706         "z": "740154b1.db9c44",\r
1707         "wires": [\r
1708             [\r
1709                 "6f7c355b.5a1c94",\r
1710                 "49d801ae.f158f"\r
1711             ]\r
1712         ]\r
1713     },\r
1714     {\r
1715         "id": "6f7c355b.5a1c94",\r
1716         "type": "outcomeTrue",\r
1717         "name": "true",\r
1718         "xml": "<outcome value='true'>\n",\r
1719         "comments": "",\r
1720         "outputs": 1,\r
1721         "x": 1639,\r
1722         "y": 227,\r
1723         "z": "740154b1.db9c44",\r
1724         "wires": [\r
1725             [\r
1726                 "14708434.e61bac"\r
1727             ]\r
1728         ]\r
1729     },\r
1730     {\r
1731         "id": "14708434.e61bac",\r
1732         "type": "switchNode",\r
1733         "name": "switch te-topo-id",\r
1734         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
1735         "comments": "",\r
1736         "outputs": 1,\r
1737         "x": 1852,\r
1738         "y": 227,\r
1739         "z": "740154b1.db9c44",\r
1740         "wires": [\r
1741             [\r
1742                 "4944f354.0e26f4"\r
1743             ]\r
1744         ]\r
1745     },\r
1746     {\r
1747         "id": "4944f354.0e26f4",\r
1748         "type": "outcomeTrue",\r
1749         "name": "true",\r
1750         "xml": "<outcome value='true'>\n",\r
1751         "comments": "",\r
1752         "outputs": 1,\r
1753         "x": 2017,\r
1754         "y": 227,\r
1755         "z": "740154b1.db9c44",\r
1756         "wires": [\r
1757             [\r
1758                 "3ffd16fe.ae9d82"\r
1759             ]\r
1760         ]\r
1761     },\r
1762     {\r
1763         "id": "3ffd16fe.ae9d82",\r
1764         "type": "set",\r
1765         "name": "set otnTopoIdSrc",\r
1766         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1767         "comments": "",\r
1768         "x": 2186,\r
1769         "y": 227,\r
1770         "z": "740154b1.db9c44",\r
1771         "wires": []\r
1772     },\r
1773     {\r
1774         "id": "49d801ae.f158f",\r
1775         "type": "outcomeFalse",\r
1776         "name": "false",\r
1777         "xml": "<outcome value='false'>\n",\r
1778         "comments": "",\r
1779         "outputs": 1,\r
1780         "x": 1639,\r
1781         "y": 280,\r
1782         "z": "740154b1.db9c44",\r
1783         "wires": [\r
1784             [\r
1785                 "88e310ce.d70d1"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "88e310ce.d70d1",\r
1791         "type": "switchNode",\r
1792         "name": "switch provider-id domainB",\r
1793         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
1794         "comments": "",\r
1795         "outputs": 1,\r
1796         "x": 1827,\r
1797         "y": 280,\r
1798         "z": "740154b1.db9c44",\r
1799         "wires": [\r
1800             [\r
1801                 "58122a1d.8684e4",\r
1802                 "3cb3eb19.e7f8b4"\r
1803             ]\r
1804         ]\r
1805     },\r
1806     {\r
1807         "id": "58122a1d.8684e4",\r
1808         "type": "outcomeTrue",\r
1809         "name": "true",\r
1810         "xml": "<outcome value='true'>\n",\r
1811         "comments": "",\r
1812         "outputs": 1,\r
1813         "x": 2017,\r
1814         "y": 280,\r
1815         "z": "740154b1.db9c44",\r
1816         "wires": [\r
1817             [\r
1818                 "5772e567.b80a34"\r
1819             ]\r
1820         ]\r
1821     },\r
1822     {\r
1823         "id": "5772e567.b80a34",\r
1824         "type": "switchNode",\r
1825         "name": "switch te-topo-id",\r
1826         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
1827         "comments": "",\r
1828         "outputs": 1,\r
1829         "x": 2185,\r
1830         "y": 280,\r
1831         "z": "740154b1.db9c44",\r
1832         "wires": [\r
1833             [\r
1834                 "2fb8eaf6.956b36"\r
1835             ]\r
1836         ]\r
1837     },\r
1838     {\r
1839         "id": "2fb8eaf6.956b36",\r
1840         "type": "outcomeTrue",\r
1841         "name": "true",\r
1842         "xml": "<outcome value='true'>\n",\r
1843         "comments": "",\r
1844         "outputs": 1,\r
1845         "x": 2341,\r
1846         "y": 280,\r
1847         "z": "740154b1.db9c44",\r
1848         "wires": [\r
1849             [\r
1850                 "821af63c.9d499"\r
1851             ]\r
1852         ]\r
1853     },\r
1854     {\r
1855         "id": "3d7e803.580f08",\r
1856         "type": "set",\r
1857         "name": "set otnTopoIdDst",\r
1858         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1859         "comments": "",\r
1860         "x": 3036,\r
1861         "y": 184,\r
1862         "z": "740154b1.db9c44",\r
1863         "wires": []\r
1864     },\r
1865     {\r
1866         "id": "4af9732c.943804",\r
1867         "type": "set",\r
1868         "name": "unset parameters",\r
1869         "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
1870         "comments": "",\r
1871         "x": 1039,\r
1872         "y": 260,\r
1873         "z": "740154b1.db9c44",\r
1874         "wires": []\r
1875     },\r
1876     {\r
1877         "id": "45b96535.5a3dac",\r
1878         "type": "set",\r
1879         "name": "unset parameters",\r
1880         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
1881         "comments": "",\r
1882         "x": 1048,\r
1883         "y": 142,\r
1884         "z": "740154b1.db9c44",\r
1885         "wires": []\r
1886     },\r
1887     {\r
1888         "id": "1033844e.1fe0b4",\r
1889         "type": "set",\r
1890         "name": "unset parameters",\r
1891         "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
1892         "comments": "",\r
1893         "x": 1046,\r
1894         "y": 184,\r
1895         "z": "740154b1.db9c44",\r
1896         "wires": []\r
1897     },\r
1898     {\r
1899         "id": "644a4209.4c190c",\r
1900         "type": "record",\r
1901         "name": "record otn-oof.",\r
1902         "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
1903         "comments": "",\r
1904         "outputs": 1,\r
1905         "x": 1035,\r
1906         "y": 495,\r
1907         "z": "740154b1.db9c44",\r
1908         "wires": [\r
1909             []\r
1910         ]\r
1911     },\r
1912     {\r
1913         "id": "d9004337.b1e7",\r
1914         "type": "execute",\r
1915         "name": "execute printContext",\r
1916         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
1917         "comments": "",\r
1918         "outputs": 1,\r
1919         "x": 1057,\r
1920         "y": 568,\r
1921         "z": "740154b1.db9c44",\r
1922         "wires": [\r
1923             []\r
1924         ]\r
1925     },\r
1926     {\r
1927         "id": "752e7b91.ad42a4",\r
1928         "type": "set",\r
1929         "name": "set filename",\r
1930         "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
1931         "comments": "",\r
1932         "x": 1031,\r
1933         "y": 531,\r
1934         "z": "740154b1.db9c44",\r
1935         "wires": []\r
1936     },\r
1937     {\r
1938         "id": "3cb3eb19.e7f8b4",\r
1939         "type": "outcomeFalse",\r
1940         "name": "false",\r
1941         "xml": "<outcome value='false'>\n",\r
1942         "comments": "",\r
1943         "outputs": 1,\r
1944         "x": 2007,\r
1945         "y": 344,\r
1946         "z": "740154b1.db9c44",\r
1947         "wires": [\r
1948             [\r
1949                 "b16334e2.e8d148"\r
1950             ]\r
1951         ]\r
1952     },\r
1953     {\r
1954         "id": "b16334e2.e8d148",\r
1955         "type": "switchNode",\r
1956         "name": "switch provider-id domainC",\r
1957         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
1958         "comments": "",\r
1959         "outputs": 1,\r
1960         "x": 2208,\r
1961         "y": 345,\r
1962         "z": "740154b1.db9c44",\r
1963         "wires": [\r
1964             [\r
1965                 "7d3fd43.e41d5ac"\r
1966             ]\r
1967         ]\r
1968     },\r
1969     {\r
1970         "id": "7d3fd43.e41d5ac",\r
1971         "type": "outcomeTrue",\r
1972         "name": "true",\r
1973         "xml": "<outcome value='true'>\n",\r
1974         "comments": "",\r
1975         "outputs": 1,\r
1976         "x": 2418,\r
1977         "y": 345,\r
1978         "z": "740154b1.db9c44",\r
1979         "wires": [\r
1980             [\r
1981                 "dccf569f.2f16c"\r
1982             ]\r
1983         ]\r
1984     },\r
1985     {\r
1986         "id": "e56fd0ad.9e01a8",\r
1987         "type": "set",\r
1988         "name": "set otnTopoIdDstBackup",\r
1989         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1990         "comments": "",\r
1991         "x": 3126,\r
1992         "y": 435.0000305175781,\r
1993         "z": "740154b1.db9c44",\r
1994         "wires": []\r
1995     },\r
1996     {\r
1997         "id": "7d6aaca7.ab1b4c",\r
1998         "type": "set",\r
1999         "name": "unset parameters",\r
2000         "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
2001         "comments": "",\r
2002         "x": 1044,\r
2003         "y": 222,\r
2004         "z": "740154b1.db9c44",\r
2005         "wires": []\r
2006     },\r
2007     {\r
2008         "id": "441d97dd.ea8d",\r
2009         "type": "set",\r
2010         "name": "set tmp.pce-dst-node-backup",\r
2011         "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
2012         "comments": "",\r
2013         "x": 1076,\r
2014         "y": 400,\r
2015         "z": "740154b1.db9c44",\r
2016         "wires": []\r
2017     },\r
2018     {\r
2019         "id": "75c12230.00ef3c",\r
2020         "type": "switchNode",\r
2021         "name": "switch $hasSecondary",\r
2022         "xml": "<switch test='`$hasSecondary`'>\n",\r
2023         "comments": "",\r
2024         "outputs": 1,\r
2025         "x": 1080,\r
2026         "y": 647,\r
2027         "z": "740154b1.db9c44",\r
2028         "wires": [\r
2029             [\r
2030                 "bdfc5f0.5322ba",\r
2031                 "89aa82c1.c2aec8"\r
2032             ]\r
2033         ]\r
2034     },\r
2035     {\r
2036         "id": "bdfc5f0.5322ba",\r
2037         "type": "outcomeTrue",\r
2038         "name": "true",\r
2039         "xml": "<outcome value='true'>\n",\r
2040         "comments": "",\r
2041         "outputs": 1,\r
2042         "x": 1271,\r
2043         "y": 651,\r
2044         "z": "740154b1.db9c44",\r
2045         "wires": [\r
2046             [\r
2047                 "ae417966.2eaf28"\r
2048             ]\r
2049         ]\r
2050     },\r
2051     {\r
2052         "id": "ae417966.2eaf28",\r
2053         "type": "block",\r
2054         "name": "block",\r
2055         "xml": "<block>\n",\r
2056         "atomic": "false",\r
2057         "comments": "",\r
2058         "outputs": 1,\r
2059         "x": 1398,\r
2060         "y": 650,\r
2061         "z": "740154b1.db9c44",\r
2062         "wires": [\r
2063             [\r
2064                 "874f6992.1d0f"\r
2065             ]\r
2066         ]\r
2067     },\r
2068     {\r
2069         "id": "89aa82c1.c2aec8",\r
2070         "type": "outcomeTrue",\r
2071         "name": "false",\r
2072         "xml": "<outcome value='false'>\n",\r
2073         "comments": "",\r
2074         "outputs": 1,\r
2075         "x": 1273,\r
2076         "y": 604,\r
2077         "z": "740154b1.db9c44",\r
2078         "wires": [\r
2079             [\r
2080                 "50eccb47.89161c"\r
2081             ]\r
2082         ]\r
2083     },\r
2084     {\r
2085         "id": "50eccb47.89161c",\r
2086         "type": "execute",\r
2087         "name": "execute PCE in ccsdk/sli/core",\r
2088         "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
2089         "comments": "",\r
2090         "outputs": 1,\r
2091         "x": 1647,\r
2092         "y": 534,\r
2093         "z": "740154b1.db9c44",\r
2094         "wires": [\r
2095             [\r
2096                 "e3a2c563.0a869",\r
2097                 "2d6f2f7c.332048",\r
2098                 "b9b4d723.6c8fd"\r
2099             ]\r
2100         ]\r
2101     },\r
2102     {\r
2103         "id": "e3a2c563.0a869",\r
2104         "type": "other",\r
2105         "name": "other",\r
2106         "xml": "<outcome value='Other'>\n",\r
2107         "comments": "",\r
2108         "outputs": 1,\r
2109         "x": 1892,\r
2110         "y": 566,\r
2111         "z": "740154b1.db9c44",\r
2112         "wires": [\r
2113             []\r
2114         ]\r
2115     },\r
2116     {\r
2117         "id": "2d6f2f7c.332048",\r
2118         "type": "not-found",\r
2119         "name": "not-found",\r
2120         "xml": "<outcome value='not-found'>\n",\r
2121         "comments": "",\r
2122         "outputs": 1,\r
2123         "x": 1899,\r
2124         "y": 608,\r
2125         "z": "740154b1.db9c44",\r
2126         "wires": [\r
2127             []\r
2128         ]\r
2129     },\r
2130     {\r
2131         "id": "b9b4d723.6c8fd",\r
2132         "type": "success",\r
2133         "name": "success",\r
2134         "xml": "<outcome value='success'>\n",\r
2135         "comments": "",\r
2136         "outputs": 1,\r
2137         "x": 1894,\r
2138         "y": 529,\r
2139         "z": "740154b1.db9c44",\r
2140         "wires": [\r
2141             []\r
2142         ]\r
2143     },\r
2144     {\r
2145         "id": "e1473f30.10032",\r
2146         "type": "for",\r
2147         "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
2148         "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
2149         "comments": "",\r
2150         "outputs": 1,\r
2151         "x": 845,\r
2152         "y": 2065,\r
2153         "z": "740154b1.db9c44",\r
2154         "wires": [\r
2155             [\r
2156                 "c89ad3b7.0e216"\r
2157             ]\r
2158         ]\r
2159     },\r
2160     {\r
2161         "id": "c89ad3b7.0e216",\r
2162         "type": "block",\r
2163         "name": "block : atomic",\r
2164         "xml": "<block atomic=\"true\">",\r
2165         "atomic": "true",\r
2166         "outputs": 1,\r
2167         "x": 949.5272216796875,\r
2168         "y": 2256.040771484375,\r
2169         "z": "740154b1.db9c44",\r
2170         "wires": [\r
2171             [\r
2172                 "80fa0c9d.1054f",\r
2173                 "9a5ac465.6157d8",\r
2174                 "8065227b.cd4a2",\r
2175                 "b1aba60b.7f9e6",\r
2176                 "deccca97.268a9"\r
2177             ]\r
2178         ]\r
2179     },\r
2180     {\r
2181         "id": "80fa0c9d.1054f",\r
2182         "type": "set",\r
2183         "name": "set otn-oof.link-name and etc.",\r
2184         "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
2185         "comments": "",\r
2186         "x": 1196.0272216796875,\r
2187         "y": 2149.040771484375,\r
2188         "z": "740154b1.db9c44",\r
2189         "wires": []\r
2190     },\r
2191     {\r
2192         "id": "deccca97.268a9",\r
2193         "type": "block",\r
2194         "name": "block : atomic",\r
2195         "xml": "<block atomic=\"true\">",\r
2196         "atomic": "true",\r
2197         "outputs": 1,\r
2198         "x": 1162.5272216796875,\r
2199         "y": 2337.7542724609375,\r
2200         "z": "740154b1.db9c44",\r
2201         "wires": [\r
2202             [\r
2203                 "e3c2dcef.aae8f8",\r
2204                 "55fb0c7e.571584"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "9a5ac465.6157d8",\r
2210         "type": "set",\r
2211         "name": "unset parameters",\r
2212         "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
2213         "comments": "",\r
2214         "x": 1187.027099609375,\r
2215         "y": 2077.7542724609375,\r
2216         "z": "740154b1.db9c44",\r
2217         "wires": []\r
2218     },\r
2219     {\r
2220         "id": "8065227b.cd4a2",\r
2221         "type": "set",\r
2222         "name": "set src-ltpId",\r
2223         "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
2224         "comments": "",\r
2225         "x": 1169.027099609375,\r
2226         "y": 2208.7542724609375,\r
2227         "z": "740154b1.db9c44",\r
2228         "wires": []\r
2229     },\r
2230     {\r
2231         "id": "b1aba60b.7f9e6",\r
2232         "type": "set",\r
2233         "name": "set dst-ltpId",\r
2234         "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
2235         "comments": "",\r
2236         "x": 1170.027099609375,\r
2237         "y": 2258.7542724609375,\r
2238         "z": "740154b1.db9c44",\r
2239         "wires": []\r
2240     },\r
2241     {\r
2242         "id": "6e12f41a.3aad64",\r
2243         "type": "success",\r
2244         "name": "success",\r
2245         "xml": "<outcome value='success'>\n",\r
2246         "comments": "",\r
2247         "outputs": 1,\r
2248         "x": 2688.0269775390625,\r
2249         "y": 2072.7542724609375,\r
2250         "z": "740154b1.db9c44",\r
2251         "wires": [\r
2252             [\r
2253                 "5b6bf151.2d756"\r
2254             ]\r
2255         ]\r
2256     },\r
2257     {\r
2258         "id": "b5b16aa9.5e894",\r
2259         "type": "not-found",\r
2260         "name": "not-found",\r
2261         "xml": "<outcome value='not-found'>\n",\r
2262         "comments": "",\r
2263         "outputs": 1,\r
2264         "x": 2721.027099609375,\r
2265         "y": 2130.7542724609375,\r
2266         "z": "740154b1.db9c44",\r
2267         "wires": [\r
2268             [\r
2269                 "a9d16a27.d5676"\r
2270             ]\r
2271         ]\r
2272     },\r
2273     {\r
2274         "id": "4a01d696.8c8118",\r
2275         "type": "other",\r
2276         "name": "other",\r
2277         "xml": "<outcome value='Other'>\n",\r
2278         "comments": "",\r
2279         "outputs": 1,\r
2280         "x": 2724.027099609375,\r
2281         "y": 2182.7542724609375,\r
2282         "z": "740154b1.db9c44",\r
2283         "wires": [\r
2284             [\r
2285                 "c1a7727e.a603d8"\r
2286             ]\r
2287         ]\r
2288     },\r
2289     {\r
2290         "id": "a9d16a27.d5676",\r
2291         "type": "returnFailure",\r
2292         "name": "return failure",\r
2293         "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
2294         "comments": "",\r
2295         "x": 2906.027099609375,\r
2296         "y": 2134.7542724609375,\r
2297         "z": "740154b1.db9c44",\r
2298         "wires": []\r
2299     },\r
2300     {\r
2301         "id": "c1a7727e.a603d8",\r
2302         "type": "returnFailure",\r
2303         "name": "return failure",\r
2304         "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
2305         "comments": "",\r
2306         "x": 2894.027099609375,\r
2307         "y": 2185.7542724609375,\r
2308         "z": "740154b1.db9c44",\r
2309         "wires": []\r
2310     },\r
2311     {\r
2312         "id": "40a1b2c.bbb3c4c",\r
2313         "type": "for",\r
2314         "name": "for each relationship",\r
2315         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
2316         "comments": "",\r
2317         "outputs": 1,\r
2318         "x": 3039.4097900390625,\r
2319         "y": 2068.4140014648438,\r
2320         "z": "740154b1.db9c44",\r
2321         "wires": [\r
2322             [\r
2323                 "64ce1fe.fe36ee"\r
2324             ]\r
2325         ]\r
2326     },\r
2327     {\r
2328         "id": "64ce1fe.fe36ee",\r
2329         "type": "switchNode",\r
2330         "name": "switch related-to",\r
2331         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
2332         "comments": "",\r
2333         "outputs": 1,\r
2334         "x": 3291.4097900390625,\r
2335         "y": 2065.4140014648438,\r
2336         "z": "740154b1.db9c44",\r
2337         "wires": [\r
2338             [\r
2339                 "7222973f.63de28"\r
2340             ]\r
2341         ]\r
2342     },\r
2343     {\r
2344         "id": "5b6bf151.2d756",\r
2345         "type": "block",\r
2346         "name": "block",\r
2347         "xml": "<block>\n",\r
2348         "atomic": "false",\r
2349         "comments": "",\r
2350         "outputs": 1,\r
2351         "x": 2822.0269775390625,\r
2352         "y": 2068.7542724609375,\r
2353         "z": "740154b1.db9c44",\r
2354         "wires": [\r
2355             [\r
2356                 "40a1b2c.bbb3c4c"\r
2357             ]\r
2358         ]\r
2359     },\r
2360     {\r
2361         "id": "55fb0c7e.571584",\r
2362         "type": "get-resource",\r
2363         "name": "get-resource src tp",\r
2364         "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
2365         "comments": "",\r
2366         "outputs": 1,\r
2367         "x": 2490.527099609375,\r
2368         "y": 2111.7542724609375,\r
2369         "z": "740154b1.db9c44",\r
2370         "wires": [\r
2371             [\r
2372                 "6e12f41a.3aad64",\r
2373                 "b5b16aa9.5e894",\r
2374                 "4a01d696.8c8118"\r
2375             ]\r
2376         ]\r
2377     },\r
2378     {\r
2379         "id": "961bb541.fa238",\r
2380         "type": "set",\r
2381         "name": "set domain A node ttp-id",\r
2382         "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
2383         "comments": "",\r
2384         "x": 4024.5269775390625,\r
2385         "y": 1987.7542724609375,\r
2386         "z": "740154b1.db9c44",\r
2387         "wires": []\r
2388     },\r
2389     {\r
2390         "id": "1c9ed8f.1f298a7",\r
2391         "type": "get-resource",\r
2392         "name": "get-resource src TTP",\r
2393         "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
2394         "comments": "",\r
2395         "outputs": 1,\r
2396         "x": 4032.5269775390625,\r
2397         "y": 2039.7542724609375,\r
2398         "z": "740154b1.db9c44",\r
2399         "wires": [\r
2400             [\r
2401                 "c8884a5e.cff248"\r
2402             ]\r
2403         ]\r
2404     },\r
2405     {\r
2406         "id": "c8884a5e.cff248",\r
2407         "type": "success",\r
2408         "name": "success",\r
2409         "xml": "<outcome value='success'>\n",\r
2410         "comments": "",\r
2411         "outputs": 1,\r
2412         "x": 4239.0269775390625,\r
2413         "y": 2017.7542724609375,\r
2414         "z": "740154b1.db9c44",\r
2415         "wires": [\r
2416             [\r
2417                 "ca161250.2600b"\r
2418             ]\r
2419         ]\r
2420     },\r
2421     {\r
2422         "id": "7222973f.63de28",\r
2423         "type": "outcome",\r
2424         "name": "tunnel-termination-point",\r
2425         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2426         "comments": "",\r
2427         "outputs": 1,\r
2428         "x": 3576.6954345703125,\r
2429         "y": 2066.2357788085938,\r
2430         "z": "740154b1.db9c44",\r
2431         "wires": [\r
2432             [\r
2433                 "9a193d4a.e0dcc8"\r
2434             ]\r
2435         ]\r
2436     },\r
2437     {\r
2438         "id": "9a193d4a.e0dcc8",\r
2439         "type": "block",\r
2440         "name": "block : atomic",\r
2441         "xml": "<block atomic=\"true\">",\r
2442         "atomic": "true",\r
2443         "outputs": 1,\r
2444         "x": 3803.5269775390625,\r
2445         "y": 2054.7542724609375,\r
2446         "z": "740154b1.db9c44",\r
2447         "wires": [\r
2448             [\r
2449                 "961bb541.fa238",\r
2450                 "1c9ed8f.1f298a7",\r
2451                 "8d06a9c9.1b85a",\r
2452                 "63176143.c85c48",\r
2453                 "cef3ca9d.2c104"\r
2454             ]\r
2455         ]\r
2456     },\r
2457     {\r
2458         "id": "ca161250.2600b",\r
2459         "type": "block",\r
2460         "name": "block : atomic",\r
2461         "xml": "<block atomic=\"true\">",\r
2462         "atomic": "true",\r
2463         "outputs": 1,\r
2464         "x": 4414.0269775390625,\r
2465         "y": 2013.7542724609375,\r
2466         "z": "740154b1.db9c44",\r
2467         "wires": [\r
2468             [\r
2469                 "258887d0.26df98"\r
2470             ]\r
2471         ]\r
2472     },\r
2473     {\r
2474         "id": "8d06a9c9.1b85a",\r
2475         "type": "get-resource",\r
2476         "name": "get-resource src pnf",\r
2477         "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
2478         "comments": "",\r
2479         "outputs": 1,\r
2480         "x": 3894.0269775390625,\r
2481         "y": 1857.7542724609375,\r
2482         "z": "740154b1.db9c44",\r
2483         "wires": [\r
2484             [\r
2485                 "9a5fd1c3.7d763",\r
2486                 "e3871f94.a28688",\r
2487                 "67939630.c5f78"\r
2488             ]\r
2489         ]\r
2490     },\r
2491     {\r
2492         "id": "9a5fd1c3.7d763",\r
2493         "type": "success",\r
2494         "name": "success",\r
2495         "xml": "<outcome value='success'>\n",\r
2496         "comments": "",\r
2497         "outputs": 1,\r
2498         "x": 4089.527099609375,\r
2499         "y": 1809.7542724609375,\r
2500         "z": "740154b1.db9c44",\r
2501         "wires": [\r
2502             [\r
2503                 "7fb21e6a.21f63"\r
2504             ]\r
2505         ]\r
2506     },\r
2507     {\r
2508         "id": "e3871f94.a28688",\r
2509         "type": "not-found",\r
2510         "name": "not-found",\r
2511         "xml": "<outcome value='not-found'>\n",\r
2512         "comments": "",\r
2513         "outputs": 1,\r
2514         "x": 4081.527099609375,\r
2515         "y": 1864.7542724609375,\r
2516         "z": "740154b1.db9c44",\r
2517         "wires": [\r
2518             [\r
2519                 "3c75373d.b0767"\r
2520             ]\r
2521         ]\r
2522     },\r
2523     {\r
2524         "id": "67939630.c5f78",\r
2525         "type": "other",\r
2526         "name": "other",\r
2527         "xml": "<outcome value='Other'>\n",\r
2528         "comments": "",\r
2529         "outputs": 1,\r
2530         "x": 4086.527099609375,\r
2531         "y": 1921.7542724609375,\r
2532         "z": "740154b1.db9c44",\r
2533         "wires": [\r
2534             [\r
2535                 "8ad73c5e.3d1f"\r
2536             ]\r
2537         ]\r
2538     },\r
2539     {\r
2540         "id": "8ad73c5e.3d1f",\r
2541         "type": "returnFailure",\r
2542         "name": "return failure",\r
2543         "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
2544         "comments": "",\r
2545         "x": 4238.527099609375,\r
2546         "y": 1922.7542724609375,\r
2547         "z": "740154b1.db9c44",\r
2548         "wires": []\r
2549     },\r
2550     {\r
2551         "id": "3c75373d.b0767",\r
2552         "type": "returnFailure",\r
2553         "name": "return failure",\r
2554         "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
2555         "comments": "",\r
2556         "x": 4249.527099609375,\r
2557         "y": 1867.7542724609375,\r
2558         "z": "740154b1.db9c44",\r
2559         "wires": []\r
2560     },\r
2561     {\r
2562         "id": "7fb21e6a.21f63",\r
2563         "type": "block",\r
2564         "name": "block",\r
2565         "xml": "<block>\n",\r
2566         "atomic": "false",\r
2567         "comments": "",\r
2568         "outputs": 1,\r
2569         "x": 4233.909423828125,\r
2570         "y": 1807.4099426269531,\r
2571         "z": "740154b1.db9c44",\r
2572         "wires": [\r
2573             [\r
2574                 "a55467d3.0aaea8",\r
2575                 "87797c29.69366"\r
2576             ]\r
2577         ]\r
2578     },\r
2579     {\r
2580         "id": "a55467d3.0aaea8",\r
2581         "type": "set",\r
2582         "name": "set domain A node-id and tpn",\r
2583         "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
2584         "comments": "",\r
2585         "x": 4459.0269775390625,\r
2586         "y": 1762.7542724609375,\r
2587         "z": "740154b1.db9c44",\r
2588         "wires": []\r
2589     },\r
2590     {\r
2591         "id": "63176143.c85c48",\r
2592         "type": "break",\r
2593         "name": "break",\r
2594         "xml": "<break>\n",\r
2595         "comments": "",\r
2596         "x": 3981.0269775390625,\r
2597         "y": 2104.7542724609375,\r
2598         "z": "740154b1.db9c44",\r
2599         "wires": []\r
2600     },\r
2601     {\r
2602         "id": "87797c29.69366",\r
2603         "type": "for",\r
2604         "name": "for each relationship",\r
2605         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
2606         "comments": "",\r
2607         "outputs": 1,\r
2608         "x": 4418.0269775390625,\r
2609         "y": 1821.7542724609375,\r
2610         "z": "740154b1.db9c44",\r
2611         "wires": [\r
2612             [\r
2613                 "58b11002.4131b"\r
2614             ]\r
2615         ]\r
2616     },\r
2617     {\r
2618         "id": "cef3ca9d.2c104",\r
2619         "type": "execute",\r
2620         "name": "execute split tp-id to get pnf-name",\r
2621         "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
2622         "comments": "",\r
2623         "outputs": 1,\r
2624         "x": 3922.0269775390625,\r
2625         "y": 1651.7542724609375,\r
2626         "z": "740154b1.db9c44",\r
2627         "wires": [\r
2628             [\r
2629                 "51326991.7f2898",\r
2630                 "d61d1517.27825"\r
2631             ]\r
2632         ]\r
2633     },\r
2634     {\r
2635         "id": "d61d1517.27825",\r
2636         "type": "failure",\r
2637         "name": "success",\r
2638         "xml": "<outcome value='success'>\n",\r
2639         "comments": "",\r
2640         "outputs": 1,\r
2641         "x": 4143.0269775390625,\r
2642         "y": 1619.7542724609375,\r
2643         "z": "740154b1.db9c44",\r
2644         "wires": [\r
2645             [\r
2646                 "8ed0c03d.565928"\r
2647             ]\r
2648         ]\r
2649     },\r
2650     {\r
2651         "id": "51326991.7f2898",\r
2652         "type": "failure",\r
2653         "name": "failure",\r
2654         "xml": "<outcome value='failure'>\n",\r
2655         "comments": "",\r
2656         "outputs": 1,\r
2657         "x": 4143.0269775390625,\r
2658         "y": 1666.7542724609375,\r
2659         "z": "740154b1.db9c44",\r
2660         "wires": [\r
2661             [\r
2662                 "a6e04e00.ffd96"\r
2663             ]\r
2664         ]\r
2665     },\r
2666     {\r
2667         "id": "8ed0c03d.565928",\r
2668         "type": "block",\r
2669         "name": "block : atomic",\r
2670         "xml": "<block atomic=\"true\">",\r
2671         "atomic": "true",\r
2672         "outputs": 1,\r
2673         "x": 4308.0269775390625,\r
2674         "y": 1616.7542724609375,\r
2675         "z": "740154b1.db9c44",\r
2676         "wires": [\r
2677             [\r
2678                 "14cffe9c.903701"\r
2679             ]\r
2680         ]\r
2681     },\r
2682     {\r
2683         "id": "14cffe9c.903701",\r
2684         "type": "set",\r
2685         "name": "set domain-A.ltpId",\r
2686         "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
2687         "comments": "",\r
2688         "x": 4490.0269775390625,\r
2689         "y": 1620.7542724609375,\r
2690         "z": "740154b1.db9c44",\r
2691         "wires": []\r
2692     },\r
2693     {\r
2694         "id": "a6e04e00.ffd96",\r
2695         "type": "returnFailure",\r
2696         "name": "return failure",\r
2697         "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
2698         "comments": "",\r
2699         "x": 4310.0269775390625,\r
2700         "y": 1666.7542724609375,\r
2701         "z": "740154b1.db9c44",\r
2702         "wires": []\r
2703     },\r
2704     {\r
2705         "id": "cc685b27.bd32f",\r
2706         "type": "comment",\r
2707         "name": "Not useful anymore",\r
2708         "info": "this domain-A.ltpId is not used anymore",\r
2709         "comments": "",\r
2710         "x": 4533.0269775390625,\r
2711         "y": 1596.7542724609375,\r
2712         "z": "740154b1.db9c44",\r
2713         "wires": []\r
2714     },\r
2715     {\r
2716         "id": "258887d0.26df98",\r
2717         "type": "set",\r
2718         "name": "set domain A tunnel tp ip",\r
2719         "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
2720         "comments": "",\r
2721         "x": 4675.0269775390625,\r
2722         "y": 2010.7542724609375,\r
2723         "z": "740154b1.db9c44",\r
2724         "wires": []\r
2725     },\r
2726     {\r
2727         "id": "7878d7b8.ad7df",\r
2728         "type": "outcome",\r
2729         "name": "network-resource",\r
2730         "xml": "<outcome value='network-resource'>\n",\r
2731         "comments": "",\r
2732         "outputs": 1,\r
2733         "x": 4816.0269775390625,\r
2734         "y": 1825.7542724609375,\r
2735         "z": "740154b1.db9c44",\r
2736         "wires": [\r
2737             [\r
2738                 "346dd4d8.896974"\r
2739             ]\r
2740         ]\r
2741     },\r
2742     {\r
2743         "id": "58b11002.4131b",\r
2744         "type": "switchNode",\r
2745         "name": "switch related-to",\r
2746         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
2747         "comments": "",\r
2748         "outputs": 1,\r
2749         "x": 4613.0269775390625,\r
2750         "y": 1821.7542724609375,\r
2751         "z": "740154b1.db9c44",\r
2752         "wires": [\r
2753             [\r
2754                 "7878d7b8.ad7df"\r
2755             ]\r
2756         ]\r
2757     },\r
2758     {\r
2759         "id": "346dd4d8.896974",\r
2760         "type": "block",\r
2761         "name": "block : atomic",\r
2762         "xml": "<block atomic=\"true\">",\r
2763         "atomic": "true",\r
2764         "outputs": 1,\r
2765         "x": 4993.0269775390625,\r
2766         "y": 1817.7542724609375,\r
2767         "z": "740154b1.db9c44",\r
2768         "wires": [\r
2769             [\r
2770                 "dd0e1ad2.389f1",\r
2771                 "34802cc8.f036dc",\r
2772                 "83c1d591.e453a"\r
2773             ]\r
2774         ]\r
2775     },\r
2776     {\r
2777         "id": "dd0e1ad2.389f1",\r
2778         "type": "set",\r
2779         "name": "set domain A network-id",\r
2780         "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
2781         "comments": "",\r
2782         "x": 5208.0269775390625,\r
2783         "y": 1798.7542724609375,\r
2784         "z": "740154b1.db9c44",\r
2785         "wires": []\r
2786     },\r
2787     {\r
2788         "id": "34802cc8.f036dc",\r
2789         "type": "get-resource",\r
2790         "name": "get-resource src network-resource",\r
2791         "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
2792         "comments": "",\r
2793         "outputs": 1,\r
2794         "x": 5225.0269775390625,\r
2795         "y": 1862.7542724609375,\r
2796         "z": "740154b1.db9c44",\r
2797         "wires": [\r
2798             [\r
2799                 "c18da62b.d46198"\r
2800             ]\r
2801         ]\r
2802     },\r
2803     {\r
2804         "id": "c18da62b.d46198",\r
2805         "type": "success",\r
2806         "name": "success",\r
2807         "xml": "<outcome value='success'>\n",\r
2808         "comments": "",\r
2809         "outputs": 1,\r
2810         "x": 5448.5269775390625,\r
2811         "y": 1863.7542724609375,\r
2812         "z": "740154b1.db9c44",\r
2813         "wires": [\r
2814             [\r
2815                 "2a6e1402.9f26d4"\r
2816             ]\r
2817         ]\r
2818     },\r
2819     {\r
2820         "id": "2a6e1402.9f26d4",\r
2821         "type": "set",\r
2822         "name": "set domain A network-id, topo-id, client-id, etc",\r
2823         "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
2824         "comments": "",\r
2825         "x": 5713.0269775390625,\r
2826         "y": 1852.7542724609375,\r
2827         "z": "740154b1.db9c44",\r
2828         "wires": []\r
2829     },\r
2830     {\r
2831         "id": "83c1d591.e453a",\r
2832         "type": "break",\r
2833         "name": "break",\r
2834         "xml": "<break>\n",\r
2835         "comments": "",\r
2836         "x": 5152.0269775390625,\r
2837         "y": 1915.7542724609375,\r
2838         "z": "740154b1.db9c44",\r
2839         "wires": []\r
2840     },\r
2841     {\r
2842         "id": "57f7d786.5549e8",\r
2843         "type": "break",\r
2844         "name": "break",\r
2845         "xml": "<break>\n",\r
2846         "comments": "",\r
2847         "x": 2363.5269775390625,\r
2848         "y": 2581.7542724609375,\r
2849         "z": "740154b1.db9c44",\r
2850         "wires": []\r
2851     },\r
2852     {\r
2853         "id": "e3c2dcef.aae8f8",\r
2854         "type": "get-resource",\r
2855         "name": "get-resource dst tp",\r
2856         "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
2857         "comments": "",\r
2858         "outputs": 1,\r
2859         "x": 2444.527099609375,\r
2860         "y": 2477.7542724609375,\r
2861         "z": "740154b1.db9c44",\r
2862         "wires": [\r
2863             [\r
2864                 "8b9fb321.70992",\r
2865                 "205abd09.598d9a",\r
2866                 "79e9c51.a089fbc"\r
2867             ]\r
2868         ]\r
2869     },\r
2870     {\r
2871         "id": "8b9fb321.70992",\r
2872         "type": "success",\r
2873         "name": "success",\r
2874         "xml": "<outcome value='success'>\n",\r
2875         "comments": "",\r
2876         "outputs": 1,\r
2877         "x": 2667.0269775390625,\r
2878         "y": 2619.7542724609375,\r
2879         "z": "740154b1.db9c44",\r
2880         "wires": [\r
2881             [\r
2882                 "6279b5de.cc4ff4"\r
2883             ]\r
2884         ]\r
2885     },\r
2886     {\r
2887         "id": "205abd09.598d9a",\r
2888         "type": "not-found",\r
2889         "name": "not-found",\r
2890         "xml": "<outcome value='not-found'>\n",\r
2891         "comments": "",\r
2892         "outputs": 1,\r
2893         "x": 2651.0269775390625,\r
2894         "y": 2670.7542724609375,\r
2895         "z": "740154b1.db9c44",\r
2896         "wires": [\r
2897             [\r
2898                 "46e04c65.2008ac"\r
2899             ]\r
2900         ]\r
2901     },\r
2902     {\r
2903         "id": "79e9c51.a089fbc",\r
2904         "type": "other",\r
2905         "name": "other",\r
2906         "xml": "<outcome value='Other'>\n",\r
2907         "comments": "",\r
2908         "outputs": 1,\r
2909         "x": 2654.0269775390625,\r
2910         "y": 2722.7542724609375,\r
2911         "z": "740154b1.db9c44",\r
2912         "wires": [\r
2913             [\r
2914                 "76686faa.840d7"\r
2915             ]\r
2916         ]\r
2917     },\r
2918     {\r
2919         "id": "76686faa.840d7",\r
2920         "type": "returnFailure",\r
2921         "name": "return failure",\r
2922         "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
2923         "comments": "",\r
2924         "x": 2824.0269775390625,\r
2925         "y": 2725.7542724609375,\r
2926         "z": "740154b1.db9c44",\r
2927         "wires": []\r
2928     },\r
2929     {\r
2930         "id": "46e04c65.2008ac",\r
2931         "type": "returnFailure",\r
2932         "name": "return failure",\r
2933         "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
2934         "comments": "",\r
2935         "x": 2836.0269775390625,\r
2936         "y": 2674.7542724609375,\r
2937         "z": "740154b1.db9c44",\r
2938         "wires": []\r
2939     },\r
2940     {\r
2941         "id": "8589fea6.82485",\r
2942         "type": "for",\r
2943         "name": "for each relationship",\r
2944         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
2945         "comments": "",\r
2946         "outputs": 1,\r
2947         "x": 3023.4097900390625,\r
2948         "y": 2630.4140014648438,\r
2949         "z": "740154b1.db9c44",\r
2950         "wires": [\r
2951             [\r
2952                 "12c89e29.9e0a4a"\r
2953             ]\r
2954         ]\r
2955     },\r
2956     {\r
2957         "id": "12c89e29.9e0a4a",\r
2958         "type": "switchNode",\r
2959         "name": "switch related-to",\r
2960         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
2961         "comments": "",\r
2962         "outputs": 1,\r
2963         "x": 3266.4097900390625,\r
2964         "y": 2629.4140014648438,\r
2965         "z": "740154b1.db9c44",\r
2966         "wires": [\r
2967             [\r
2968                 "441cee99.bfaf"\r
2969             ]\r
2970         ]\r
2971     },\r
2972     {\r
2973         "id": "6279b5de.cc4ff4",\r
2974         "type": "block",\r
2975         "name": "block",\r
2976         "xml": "<block>\n",\r
2977         "atomic": "false",\r
2978         "comments": "",\r
2979         "outputs": 1,\r
2980         "x": 2813.0269775390625,\r
2981         "y": 2610.7542724609375,\r
2982         "z": "740154b1.db9c44",\r
2983         "wires": [\r
2984             [\r
2985                 "8589fea6.82485"\r
2986             ]\r
2987         ]\r
2988     },\r
2989     {\r
2990         "id": "441cee99.bfaf",\r
2991         "type": "outcome",\r
2992         "name": "tunnel-termination-point",\r
2993         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2994         "comments": "",\r
2995         "outputs": 1,\r
2996         "x": 3522.6954345703125,\r
2997         "y": 2629.2357788085938,\r
2998         "z": "740154b1.db9c44",\r
2999         "wires": [\r
3000             [\r
3001                 "ee93bb7d.d7a6"\r
3002             ]\r
3003         ]\r
3004     },\r
3005     {\r
3006         "id": "ee93bb7d.d7a6",\r
3007         "type": "block",\r
3008         "name": "block : atomic",\r
3009         "xml": "<block atomic=\"true\">",\r
3010         "atomic": "true",\r
3011         "outputs": 1,\r
3012         "x": 3822.5269775390625,\r
3013         "y": 2626.7542724609375,\r
3014         "z": "740154b1.db9c44",\r
3015         "wires": [\r
3016             [\r
3017                 "7f181100.6e913",\r
3018                 "d5405c3b.2180e",\r
3019                 "a9d72cbf.011738",\r
3020                 "aba88a5.2928878",\r
3021                 "ce4f5014.a0532"\r
3022             ]\r
3023         ]\r
3024     },\r
3025     {\r
3026         "id": "7f181100.6e913",\r
3027         "type": "set",\r
3028         "name": "set domain C node ttp-id",\r
3029         "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
3030         "comments": "",\r
3031         "x": 4064.5269775390625,\r
3032         "y": 2580.7542724609375,\r
3033         "z": "740154b1.db9c44",\r
3034         "wires": []\r
3035     },\r
3036     {\r
3037         "id": "d5405c3b.2180e",\r
3038         "type": "get-resource",\r
3039         "name": "get-resource dst TTP",\r
3040         "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
3041         "comments": "",\r
3042         "outputs": 1,\r
3043         "x": 4054.5269775390625,\r
3044         "y": 2631.7542724609375,\r
3045         "z": "740154b1.db9c44",\r
3046         "wires": [\r
3047             [\r
3048                 "d43d5001.cef3c8"\r
3049             ]\r
3050         ]\r
3051     },\r
3052     {\r
3053         "id": "d43d5001.cef3c8",\r
3054         "type": "success",\r
3055         "name": "success",\r
3056         "xml": "<outcome value='success'>\n",\r
3057         "comments": "",\r
3058         "outputs": 1,\r
3059         "x": 4242.0269775390625,\r
3060         "y": 2629.7542724609375,\r
3061         "z": "740154b1.db9c44",\r
3062         "wires": [\r
3063             [\r
3064                 "e0b1256e.3d7278"\r
3065             ]\r
3066         ]\r
3067     },\r
3068     {\r
3069         "id": "e0b1256e.3d7278",\r
3070         "type": "block",\r
3071         "name": "block : atomic",\r
3072         "xml": "<block atomic=\"true\">",\r
3073         "atomic": "true",\r
3074         "outputs": 1,\r
3075         "x": 4431.0269775390625,\r
3076         "y": 2618.7542724609375,\r
3077         "z": "740154b1.db9c44",\r
3078         "wires": [\r
3079             [\r
3080                 "2dbd68c.e7c9e98"\r
3081             ]\r
3082         ]\r
3083     },\r
3084     {\r
3085         "id": "aba88a5.2928878",\r
3086         "type": "get-resource",\r
3087         "name": "get-resource dst pnf",\r
3088         "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
3089         "comments": "",\r
3090         "outputs": 1,\r
3091         "x": 3891.0269775390625,\r
3092         "y": 2460.7542724609375,\r
3093         "z": "740154b1.db9c44",\r
3094         "wires": [\r
3095             [\r
3096                 "dc3d15fa.81276",\r
3097                 "84f6f122.84593",\r
3098                 "df513d92.eaab28"\r
3099             ]\r
3100         ]\r
3101     },\r
3102     {\r
3103         "id": "df513d92.eaab28",\r
3104         "type": "success",\r
3105         "name": "success",\r
3106         "xml": "<outcome value='success'>\n",\r
3107         "comments": "",\r
3108         "outputs": 1,\r
3109         "x": 4086.527099609375,\r
3110         "y": 2412.7542724609375,\r
3111         "z": "740154b1.db9c44",\r
3112         "wires": [\r
3113             [\r
3114                 "992d2ff.35fffd"\r
3115             ]\r
3116         ]\r
3117     },\r
3118     {\r
3119         "id": "84f6f122.84593",\r
3120         "type": "not-found",\r
3121         "name": "not-found",\r
3122         "xml": "<outcome value='not-found'>\n",\r
3123         "comments": "",\r
3124         "outputs": 1,\r
3125         "x": 4078.527099609375,\r
3126         "y": 2467.7542724609375,\r
3127         "z": "740154b1.db9c44",\r
3128         "wires": [\r
3129             [\r
3130                 "326a3ad9.081e7e"\r
3131             ]\r
3132         ]\r
3133     },\r
3134     {\r
3135         "id": "dc3d15fa.81276",\r
3136         "type": "other",\r
3137         "name": "other",\r
3138         "xml": "<outcome value='Other'>\n",\r
3139         "comments": "",\r
3140         "outputs": 1,\r
3141         "x": 4083.527099609375,\r
3142         "y": 2524.7542724609375,\r
3143         "z": "740154b1.db9c44",\r
3144         "wires": [\r
3145             [\r
3146                 "a9233954.28abb8"\r
3147             ]\r
3148         ]\r
3149     },\r
3150     {\r
3151         "id": "992d2ff.35fffd",\r
3152         "type": "block",\r
3153         "name": "block",\r
3154         "xml": "<block>\n",\r
3155         "atomic": "false",\r
3156         "comments": "",\r
3157         "outputs": 1,\r
3158         "x": 4230.909423828125,\r
3159         "y": 2410.409942626953,\r
3160         "z": "740154b1.db9c44",\r
3161         "wires": [\r
3162             [\r
3163                 "faa22dd5.212148",\r
3164                 "9949d4ef.001688"\r
3165             ]\r
3166         ]\r
3167     },\r
3168     {\r
3169         "id": "326a3ad9.081e7e",\r
3170         "type": "returnFailure",\r
3171         "name": "return failure",\r
3172         "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
3173         "comments": "",\r
3174         "x": 4246.527099609375,\r
3175         "y": 2470.7542724609375,\r
3176         "z": "740154b1.db9c44",\r
3177         "wires": []\r
3178     },\r
3179     {\r
3180         "id": "a9233954.28abb8",\r
3181         "type": "returnFailure",\r
3182         "name": "return failure",\r
3183         "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
3184         "comments": "",\r
3185         "x": 4235.527099609375,\r
3186         "y": 2525.7542724609375,\r
3187         "z": "740154b1.db9c44",\r
3188         "wires": []\r
3189     },\r
3190     {\r
3191         "id": "faa22dd5.212148",\r
3192         "type": "set",\r
3193         "name": "set domain C node-id and tpn",\r
3194         "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
3195         "comments": "",\r
3196         "x": 4440.0269775390625,\r
3197         "y": 2377.7542724609375,\r
3198         "z": "740154b1.db9c44",\r
3199         "wires": []\r
3200     },\r
3201     {\r
3202         "id": "a9d72cbf.011738",\r
3203         "type": "break",\r
3204         "name": "break",\r
3205         "xml": "<break>\n",\r
3206         "comments": "",\r
3207         "x": 4010.0269775390625,\r
3208         "y": 2672.7542724609375,\r
3209         "z": "740154b1.db9c44",\r
3210         "wires": []\r
3211     },\r
3212     {\r
3213         "id": "9949d4ef.001688",\r
3214         "type": "for",\r
3215         "name": "for each relationship",\r
3216         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
3217         "comments": "",\r
3218         "outputs": 1,\r
3219         "x": 4419.0269775390625,\r
3220         "y": 2428.7542724609375,\r
3221         "z": "740154b1.db9c44",\r
3222         "wires": [\r
3223             [\r
3224                 "b61d11ba.55b168"\r
3225             ]\r
3226         ]\r
3227     },\r
3228     {\r
3229         "id": "ce4f5014.a0532",\r
3230         "type": "execute",\r
3231         "name": "execute split tp-id to get pnf-name",\r
3232         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\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
3233         "comments": "",\r
3234         "outputs": 1,\r
3235         "x": 3930.0269775390625,\r
3236         "y": 2275.7542724609375,\r
3237         "z": "740154b1.db9c44",\r
3238         "wires": [\r
3239             [\r
3240                 "3a973be3.1f749c",\r
3241                 "bccf88ee.38b55"\r
3242             ]\r
3243         ]\r
3244     },\r
3245     {\r
3246         "id": "bccf88ee.38b55",\r
3247         "type": "failure",\r
3248         "name": "success",\r
3249         "xml": "<outcome value='success'>\n",\r
3250         "comments": "",\r
3251         "outputs": 1,\r
3252         "x": 4151.0269775390625,\r
3253         "y": 2243.7542724609375,\r
3254         "z": "740154b1.db9c44",\r
3255         "wires": [\r
3256             [\r
3257                 "f5e2899d.2e99e8"\r
3258             ]\r
3259         ]\r
3260     },\r
3261     {\r
3262         "id": "3a973be3.1f749c",\r
3263         "type": "failure",\r
3264         "name": "failure",\r
3265         "xml": "<outcome value='failure'>\n",\r
3266         "comments": "",\r
3267         "outputs": 1,\r
3268         "x": 4151.0269775390625,\r
3269         "y": 2290.7542724609375,\r
3270         "z": "740154b1.db9c44",\r
3271         "wires": [\r
3272             [\r
3273                 "c9477994.8451e8"\r
3274             ]\r
3275         ]\r
3276     },\r
3277     {\r
3278         "id": "f5e2899d.2e99e8",\r
3279         "type": "block",\r
3280         "name": "block : atomic",\r
3281         "xml": "<block atomic=\"true\">",\r
3282         "atomic": "true",\r
3283         "outputs": 1,\r
3284         "x": 4316.0269775390625,\r
3285         "y": 2240.7542724609375,\r
3286         "z": "740154b1.db9c44",\r
3287         "wires": [\r
3288             [\r
3289                 "aecbcfe0.6e5048"\r
3290             ]\r
3291         ]\r
3292     },\r
3293     {\r
3294         "id": "aecbcfe0.6e5048",\r
3295         "type": "set",\r
3296         "name": "set domain-C.ltpId",\r
3297         "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
3298         "comments": "",\r
3299         "x": 4512.0269775390625,\r
3300         "y": 2237.7542724609375,\r
3301         "z": "740154b1.db9c44",\r
3302         "wires": []\r
3303     },\r
3304     {\r
3305         "id": "c9477994.8451e8",\r
3306         "type": "returnFailure",\r
3307         "name": "return failure",\r
3308         "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
3309         "comments": "",\r
3310         "x": 4318.0269775390625,\r
3311         "y": 2290.7542724609375,\r
3312         "z": "740154b1.db9c44",\r
3313         "wires": []\r
3314     },\r
3315     {\r
3316         "id": "abda304.2cd6cd",\r
3317         "type": "block",\r
3318         "name": "block : atomic",\r
3319         "xml": "<block atomic=\"true\">",\r
3320         "atomic": "true",\r
3321         "outputs": 1,\r
3322         "x": 5032.5269775390625,\r
3323         "y": 2430.7542724609375,\r
3324         "z": "740154b1.db9c44",\r
3325         "wires": [\r
3326             [\r
3327                 "5c6e614a.9cad28",\r
3328                 "37c15682.dfe52a",\r
3329                 "ea1db027.01377"\r
3330             ]\r
3331         ]\r
3332     },\r
3333     {\r
3334         "id": "8a710596.36ea6",\r
3335         "type": "outcome",\r
3336         "name": "network-resource",\r
3337         "xml": "<outcome value='network-resource'>\n",\r
3338         "comments": "",\r
3339         "outputs": 1,\r
3340         "x": 4819.5269775390625,\r
3341         "y": 2429.7542724609375,\r
3342         "z": "740154b1.db9c44",\r
3343         "wires": [\r
3344             [\r
3345                 "abda304.2cd6cd"\r
3346             ]\r
3347         ]\r
3348     },\r
3349     {\r
3350         "id": "2dbd68c.e7c9e98",\r
3351         "type": "set",\r
3352         "name": "set domain C tunnel tp id",\r
3353         "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
3354         "comments": "",\r
3355         "x": 4664.0269775390625,\r
3356         "y": 2617.7542724609375,\r
3357         "z": "740154b1.db9c44",\r
3358         "wires": []\r
3359     },\r
3360     {\r
3361         "id": "b61d11ba.55b168",\r
3362         "type": "switchNode",\r
3363         "name": "switch related-to",\r
3364         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
3365         "comments": "",\r
3366         "outputs": 1,\r
3367         "x": 4614.0269775390625,\r
3368         "y": 2428.7542724609375,\r
3369         "z": "740154b1.db9c44",\r
3370         "wires": [\r
3371             [\r
3372                 "8a710596.36ea6"\r
3373             ]\r
3374         ]\r
3375     },\r
3376     {\r
3377         "id": "ea1db027.01377",\r
3378         "type": "break",\r
3379         "name": "break",\r
3380         "xml": "<break>\n",\r
3381         "comments": "",\r
3382         "x": 5238.0269775390625,\r
3383         "y": 2508.7542724609375,\r
3384         "z": "740154b1.db9c44",\r
3385         "wires": []\r
3386     },\r
3387     {\r
3388         "id": "12cd95a6.c3a7d2",\r
3389         "type": "comment",\r
3390         "name": "Not useful anymore",\r
3391         "info": "this domain-B.ltpId is not used anymore",\r
3392         "comments": "",\r
3393         "x": 4555.0269775390625,\r
3394         "y": 2209.7542724609375,\r
3395         "z": "740154b1.db9c44",\r
3396         "wires": []\r
3397     },\r
3398     {\r
3399         "id": "5c6e614a.9cad28",\r
3400         "type": "set",\r
3401         "name": "set domain C network-id",\r
3402         "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
3403         "comments": "",\r
3404         "x": 5302.5269775390625,\r
3405         "y": 2406.7542724609375,\r
3406         "z": "740154b1.db9c44",\r
3407         "wires": []\r
3408     },\r
3409     {\r
3410         "id": "37c15682.dfe52a",\r
3411         "type": "get-resource",\r
3412         "name": "get-resource dst network-resource",\r
3413         "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
3414         "comments": "",\r
3415         "outputs": 1,\r
3416         "x": 5312.5269775390625,\r
3417         "y": 2452.7542724609375,\r
3418         "z": "740154b1.db9c44",\r
3419         "wires": [\r
3420             [\r
3421                 "826de71a.33a62"\r
3422             ]\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "826de71a.33a62",\r
3427         "type": "success",\r
3428         "name": "success",\r
3429         "xml": "<outcome value='success'>\n",\r
3430         "comments": "",\r
3431         "outputs": 1,\r
3432         "x": 5528.0269775390625,\r
3433         "y": 2443.7542724609375,\r
3434         "z": "740154b1.db9c44",\r
3435         "wires": [\r
3436             [\r
3437                 "2f251a3.863a066"\r
3438             ]\r
3439         ]\r
3440     },\r
3441     {\r
3442         "id": "2f251a3.863a066",\r
3443         "type": "set",\r
3444         "name": "set domain B network-id, topo-id, client-id, etc",\r
3445         "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
3446         "comments": "",\r
3447         "x": 5782.5269775390625,\r
3448         "y": 2449.7542724609375,\r
3449         "z": "740154b1.db9c44",\r
3450         "wires": []\r
3451     },\r
3452     {\r
3453         "id": "825fbafd.18c12",\r
3454         "type": "switchNode",\r
3455         "name": "switch $hasSecondary",\r
3456         "xml": "<switch test='`$hasSecondary`'>\n",\r
3457         "comments": "",\r
3458         "outputs": 1,\r
3459         "x": 2689.199951171875,\r
3460         "y": 268.0833282470703,\r
3461         "z": "740154b1.db9c44",\r
3462         "wires": [\r
3463             [\r
3464                 "88dc17ca.c3603",\r
3465                 "d63ef024.cfef08"\r
3466             ]\r
3467         ]\r
3468     },\r
3469     {\r
3470         "id": "88dc17ca.c3603",\r
3471         "type": "outcomeTrue",\r
3472         "name": "true",\r
3473         "xml": "<outcome value='true'>\n",\r
3474         "comments": "",\r
3475         "outputs": 1,\r
3476         "x": 2880.199951171875,\r
3477         "y": 272.0833282470703,\r
3478         "z": "740154b1.db9c44",\r
3479         "wires": [\r
3480             [\r
3481                 "85988dae.be2118"\r
3482             ]\r
3483         ]\r
3484     },\r
3485     {\r
3486         "id": "85988dae.be2118",\r
3487         "type": "block",\r
3488         "name": "block",\r
3489         "xml": "<block>\n",\r
3490         "atomic": "false",\r
3491         "comments": "",\r
3492         "outputs": 1,\r
3493         "x": 3007.199951171875,\r
3494         "y": 271.0833282470703,\r
3495         "z": "740154b1.db9c44",\r
3496         "wires": [\r
3497             [\r
3498                 "1486884a.a84de"\r
3499             ]\r
3500         ]\r
3501     },\r
3502     {\r
3503         "id": "1486884a.a84de",\r
3504         "type": "switchNode",\r
3505         "name": "switch 2-ROOTS in same domain?",\r
3506         "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
3507         "comments": "",\r
3508         "outputs": 1,\r
3509         "x": 3230.083251953125,\r
3510         "y": 265.9666442871094,\r
3511         "z": "740154b1.db9c44",\r
3512         "wires": [\r
3513             [\r
3514                 "baa46e2a.1397b",\r
3515                 "5009aa1a.49b42c"\r
3516             ]\r
3517         ]\r
3518     },\r
3519     {\r
3520         "id": "baa46e2a.1397b",\r
3521         "type": "outcomeTrue",\r
3522         "name": "true",\r
3523         "xml": "<outcome value='true'>\n",\r
3524         "comments": "",\r
3525         "outputs": 1,\r
3526         "x": 3437.083251953125,\r
3527         "y": 202.96664428710938,\r
3528         "z": "740154b1.db9c44",\r
3529         "wires": [\r
3530             [\r
3531                 "9723b3.a56f645"\r
3532             ]\r
3533         ]\r
3534     },\r
3535     {\r
3536         "id": "5009aa1a.49b42c",\r
3537         "type": "outcomeTrue",\r
3538         "name": "false",\r
3539         "xml": "<outcome value='false'>\n",\r
3540         "comments": "",\r
3541         "outputs": 1,\r
3542         "x": 3367.083251953125,\r
3543         "y": 393.9666748046875,\r
3544         "z": "740154b1.db9c44",\r
3545         "wires": [\r
3546             [\r
3547                 "9e442fe7.197ca8"\r
3548             ]\r
3549         ]\r
3550     },\r
3551     {\r
3552         "id": "9723b3.a56f645",\r
3553         "type": "block",\r
3554         "name": "block",\r
3555         "xml": "<block>\n",\r
3556         "atomic": "false",\r
3557         "comments": "",\r
3558         "outputs": 1,\r
3559         "x": 3579.083251953125,\r
3560         "y": 192.96664428710938,\r
3561         "z": "740154b1.db9c44",\r
3562         "wires": [\r
3563             [\r
3564                 "74ae9ae0.0891cc",\r
3565                 "a08d8202.0e48d8"\r
3566             ]\r
3567         ]\r
3568     },\r
3569     {\r
3570         "id": "9e442fe7.197ca8",\r
3571         "type": "block",\r
3572         "name": "block",\r
3573         "xml": "<block>\n",\r
3574         "atomic": "false",\r
3575         "comments": "",\r
3576         "outputs": 1,\r
3577         "x": 3493.083251953125,\r
3578         "y": 393.9666748046875,\r
3579         "z": "740154b1.db9c44",\r
3580         "wires": [\r
3581             [\r
3582                 "7af5d9ce.fbbb7"\r
3583             ]\r
3584         ]\r
3585     },\r
3586     {\r
3587         "id": "821af63c.9d499",\r
3588         "type": "block",\r
3589         "name": "block",\r
3590         "xml": "<block>\n",\r
3591         "atomic": "false",\r
3592         "comments": "",\r
3593         "outputs": 1,\r
3594         "x": 2489.966796875,\r
3595         "y": 271.0833435058594,\r
3596         "z": "740154b1.db9c44",\r
3597         "wires": [\r
3598             [\r
3599                 "825fbafd.18c12"\r
3600             ]\r
3601         ]\r
3602     },\r
3603     {\r
3604         "id": "d63ef024.cfef08",\r
3605         "type": "outcomeTrue",\r
3606         "name": "false",\r
3607         "xml": "<outcome value='false'>\n",\r
3608         "comments": "",\r
3609         "outputs": 1,\r
3610         "x": 2884.933349609375,\r
3611         "y": 224.0833282470703,\r
3612         "z": "740154b1.db9c44",\r
3613         "wires": [\r
3614             [\r
3615                 "3d7e803.580f08"\r
3616             ]\r
3617         ]\r
3618     },\r
3619     {\r
3620         "id": "74ae9ae0.0891cc",\r
3621         "type": "set",\r
3622         "name": "set otnTopoIdDst",\r
3623         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3624         "comments": "",\r
3625         "x": 3737.666748046875,\r
3626         "y": 172.0833282470703,\r
3627         "z": "740154b1.db9c44",\r
3628         "wires": []\r
3629     },\r
3630     {\r
3631         "id": "a08d8202.0e48d8",\r
3632         "type": "set",\r
3633         "name": "set otnTopoIdDstBackup",\r
3634         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3635         "comments": "",\r
3636         "x": 3759.666748046875,\r
3637         "y": 220.0833282470703,\r
3638         "z": "740154b1.db9c44",\r
3639         "wires": []\r
3640     },\r
3641     {\r
3642         "id": "7af5d9ce.fbbb7",\r
3643         "type": "set",\r
3644         "name": "set otnTopoIdDst",\r
3645         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3646         "comments": "",\r
3647         "x": 3663.666748046875,\r
3648         "y": 394.0833435058594,\r
3649         "z": "740154b1.db9c44",\r
3650         "wires": []\r
3651     },\r
3652     {\r
3653         "id": "dccf569f.2f16c",\r
3654         "type": "block",\r
3655         "name": "block",\r
3656         "xml": "<block>\n",\r
3657         "atomic": "false",\r
3658         "comments": "",\r
3659         "outputs": 1,\r
3660         "x": 2558.683349609375,\r
3661         "y": 345.8833312988281,\r
3662         "z": "740154b1.db9c44",\r
3663         "wires": [\r
3664             [\r
3665                 "bb64af5d.7bf708"\r
3666             ]\r
3667         ]\r
3668     },\r
3669     {\r
3670         "id": "bb64af5d.7bf708",\r
3671         "type": "switchNode",\r
3672         "name": "switch $hasSecondary",\r
3673         "xml": "<switch test='`$hasSecondary`'>\n",\r
3674         "comments": "",\r
3675         "outputs": 1,\r
3676         "x": 2757.91650390625,\r
3677         "y": 342.88331604003906,\r
3678         "z": "740154b1.db9c44",\r
3679         "wires": [\r
3680             [\r
3681                 "c6cf934.ca6387"\r
3682             ]\r
3683         ]\r
3684     },\r
3685     {\r
3686         "id": "c6cf934.ca6387",\r
3687         "type": "outcomeTrue",\r
3688         "name": "true",\r
3689         "xml": "<outcome value='true'>\n",\r
3690         "comments": "",\r
3691         "outputs": 1,\r
3692         "x": 2948.91650390625,\r
3693         "y": 346.88331604003906,\r
3694         "z": "740154b1.db9c44",\r
3695         "wires": [\r
3696             [\r
3697                 "84398364.2e39d"\r
3698             ]\r
3699         ]\r
3700     },\r
3701     {\r
3702         "id": "84398364.2e39d",\r
3703         "type": "block",\r
3704         "name": "block",\r
3705         "xml": "<block>\n",\r
3706         "atomic": "false",\r
3707         "comments": "",\r
3708         "outputs": 1,\r
3709         "x": 3075.91650390625,\r
3710         "y": 345.88331604003906,\r
3711         "z": "740154b1.db9c44",\r
3712         "wires": [\r
3713             []\r
3714         ]\r
3715     },\r
3716     {\r
3717         "id": "cdc2b636.8886c8",\r
3718         "type": "switchNode",\r
3719         "name": "switch secondarySolutions empty?",\r
3720         "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
3721         "comments": "",\r
3722         "outputs": 1,\r
3723         "x": 1419.566650390625,\r
3724         "y": 1649.566650390625,\r
3725         "z": "740154b1.db9c44",\r
3726         "wires": [\r
3727             [\r
3728                 "930ebbc8.d33d1",\r
3729                 "e9824426.b9b25"\r
3730             ]\r
3731         ]\r
3732     },\r
3733     {\r
3734         "id": "930ebbc8.d33d1",\r
3735         "type": "outcomeTrue",\r
3736         "name": "true",\r
3737         "xml": "<outcome value='true'>\n",\r
3738         "comments": "",\r
3739         "outputs": 1,\r
3740         "x": 1645.4666748046875,\r
3741         "y": 1621.566650390625,\r
3742         "z": "740154b1.db9c44",\r
3743         "wires": [\r
3744             [\r
3745                 "82cb40cb.6ece7"\r
3746             ]\r
3747         ]\r
3748     },\r
3749     {\r
3750         "id": "e9824426.b9b25",\r
3751         "type": "outcomeFalse",\r
3752         "name": "false",\r
3753         "xml": "<outcome value='false'>\n",\r
3754         "comments": "",\r
3755         "outputs": 1,\r
3756         "x": 1643.4666748046875,\r
3757         "y": 1671.566650390625,\r
3758         "z": "740154b1.db9c44",\r
3759         "wires": [\r
3760             []\r
3761         ]\r
3762     },\r
3763     {\r
3764         "id": "82cb40cb.6ece7",\r
3765         "type": "block",\r
3766         "name": "block",\r
3767         "xml": "<block>\n",\r
3768         "atomic": "false",\r
3769         "comments": "",\r
3770         "outputs": 1,\r
3771         "x": 1787.566650390625,\r
3772         "y": 1621.566650390625,\r
3773         "z": "740154b1.db9c44",\r
3774         "wires": [\r
3775             []\r
3776         ]\r
3777     },\r
3778     {\r
3779         "id": "7d4b4351.930cbc",\r
3780         "type": "switchNode",\r
3781         "name": "switch $hasSecondary",\r
3782         "xml": "<switch test='`$hasSecondary`'>\n",\r
3783         "comments": "",\r
3784         "outputs": 1,\r
3785         "x": 798.4666748046875,\r
3786         "y": 1838.566650390625,\r
3787         "z": "740154b1.db9c44",\r
3788         "wires": [\r
3789             [\r
3790                 "9310b044.9b3228"\r
3791             ]\r
3792         ]\r
3793     },\r
3794     {\r
3795         "id": "9310b044.9b3228",\r
3796         "type": "outcomeTrue",\r
3797         "name": "true",\r
3798         "xml": "<outcome value='true'>\n",\r
3799         "comments": "",\r
3800         "outputs": 1,\r
3801         "x": 984.4666748046875,\r
3802         "y": 1839.566650390625,\r
3803         "z": "740154b1.db9c44",\r
3804         "wires": [\r
3805             [\r
3806                 "40a7bba6.ae5b54"\r
3807             ]\r
3808         ]\r
3809     },\r
3810     {\r
3811         "id": "40a7bba6.ae5b54",\r
3812         "type": "block",\r
3813         "name": "block",\r
3814         "xml": "<block>\n",\r
3815         "atomic": "false",\r
3816         "comments": "",\r
3817         "outputs": 1,\r
3818         "x": 1114.4666748046875,\r
3819         "y": 1839.566650390625,\r
3820         "z": "740154b1.db9c44",\r
3821         "wires": [\r
3822             [\r
3823                 "e1473f30.10032"\r
3824             ]\r
3825         ]\r
3826     }\r
3827 ]