Support for "Modify" operation of a given Transport Slice.
[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": "fa52a170.206e7",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 178,\r
8         "y": 101,\r
9         "z": "97fec48c.8eada",\r
10         "wires": [\r
11             [\r
12                 "2c5db495.a5dd34"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "2c5db495.a5dd34",\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": 303,\r
26         "y": 427.00001525878906,\r
27         "z": "97fec48c.8eada",\r
28         "wires": [\r
29             [\r
30                 "4ae6db6f.435c7c"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "4ae6db6f.435c7c",\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": 367.0001220703125,\r
42         "y": 520,\r
43         "z": "97fec48c.8eada",\r
44         "wires": [\r
45             [\r
46                 "6312c3c3.704cf4"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "6bdd3c50.e0d3d4",\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": 879.9730682373047,\r
58         "y": 71.99600028991699,\r
59         "z": "97fec48c.8eada",\r
60         "wires": [\r
61             [\r
62                 "7939df96.b1122",\r
63                 "945597b.d7df068"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "7939df96.b1122",\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": 1119.9732093811035,\r
75         "y": 95.99596977233887,\r
76         "z": "97fec48c.8eada",\r
77         "wires": [\r
78             [\r
79                 "50ded459.a3ce3c"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "b5aef0e7.4cc018",\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": 1289.973129272461,\r
90         "y": 35.99606132507324,\r
91         "z": "97fec48c.8eada",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "945597b.d7df068",\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": 1118.9729957580566,\r
102         "y": 44.996060371398926,\r
103         "z": "97fec48c.8eada",\r
104         "wires": [\r
105             [\r
106                 "b5aef0e7.4cc018"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "e01d4a36.839a2",\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": 851.4768676757812,\r
117         "y": 28,\r
118         "z": "97fec48c.8eada",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "9cfd026a.5e4728",\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": 840.972900390625,\r
129         "y": 488.2457275390625,\r
130         "z": "97fec48c.8eada",\r
131         "wires": [\r
132             [\r
133                 "8402c7cf.20d6c"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "e807132a.83466",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 924.4732055664062,\r
144         "y": 567.74609375,\r
145         "z": "97fec48c.8eada",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "8402c7cf.20d6c",\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": 945.5001220703125,\r
156         "y": 679.2864990234375,\r
157         "z": "97fec48c.8eada",\r
158         "wires": [\r
159             [\r
160                 "5b85782.fa3db08",\r
161                 "2d5a2685.b40dfa",\r
162                 "20564e8a.e84492"\r
163             ]\r
164         ]\r
165     },\r
166     {\r
167         "id": "5b85782.fa3db08",\r
168         "type": "get-resource",\r
169         "name": "get-resource cross-link",\r
170         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n        pfx='tmp.aai.cross-link' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n\n\n",\r
171         "comments": "",\r
172         "outputs": 1,\r
173         "x": 1202.5001220703125,\r
174         "y": 669.2864990234375,\r
175         "z": "97fec48c.8eada",\r
176         "wires": [\r
177             [\r
178                 "d48feed1.3a38",\r
179                 "5943270e.4826e8",\r
180                 "990db839.99a8f8"\r
181             ]\r
182         ]\r
183     },\r
184     {\r
185         "id": "990db839.99a8f8",\r
186         "type": "success",\r
187         "name": "success",\r
188         "xml": "<outcome value='success'>\n",\r
189         "comments": "",\r
190         "outputs": 1,\r
191         "x": 1404.0001220703125,\r
192         "y": 544.2864685058594,\r
193         "z": "97fec48c.8eada",\r
194         "wires": [\r
195             [\r
196                 "a9f1b4b6.1c30e8"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "d48feed1.3a38",\r
202         "type": "not-found",\r
203         "name": "not-found",\r
204         "xml": "<outcome value='not-found'>\n",\r
205         "comments": "",\r
206         "outputs": 1,\r
207         "x": 1440.0001220703125,\r
208         "y": 669.2864990234375,\r
209         "z": "97fec48c.8eada",\r
210         "wires": [\r
211             [\r
212                 "ac3b3843.658d4"\r
213             ]\r
214         ]\r
215     },\r
216     {\r
217         "id": "5943270e.4826e8",\r
218         "type": "other",\r
219         "name": "other",\r
220         "xml": "<outcome value='Other'>\n",\r
221         "comments": "",\r
222         "outputs": 1,\r
223         "x": 1434.0001220703125,\r
224         "y": 719.2864990234375,\r
225         "z": "97fec48c.8eada",\r
226         "wires": [\r
227             [\r
228                 "da410969.0b2cc"\r
229             ]\r
230         ]\r
231     },\r
232     {\r
233         "id": "ac3b3843.658d4",\r
234         "type": "returnFailure",\r
235         "name": "return failure",\r
236         "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
237         "comments": "",\r
238         "x": 1601.0001220703125,\r
239         "y": 658.2864990234375,\r
240         "z": "97fec48c.8eada",\r
241         "wires": []\r
242     },\r
243     {\r
244         "id": "da410969.0b2cc",\r
245         "type": "returnFailure",\r
246         "name": "return failure",\r
247         "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
248         "comments": "",\r
249         "x": 1599.0001220703125,\r
250         "y": 714.2864990234375,\r
251         "z": "97fec48c.8eada",\r
252         "wires": []\r
253     },\r
254     {\r
255         "id": "d48fe5f1.e695e8",\r
256         "type": "comment",\r
257         "name": "get cross-domain-link information",\r
258         "info": "",\r
259         "comments": "",\r
260         "x": 1208.5001220703125,\r
261         "y": 618.2864990234375,\r
262         "z": "97fec48c.8eada",\r
263         "wires": []\r
264     },\r
265     {\r
266         "id": "2d5a2685.b40dfa",\r
267         "type": "set",\r
268         "name": "set otn-oof.link-name and etc.",\r
269         "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",\r
270         "comments": "",\r
271         "x": 1192.0001220703125,\r
272         "y": 572.2864990234375,\r
273         "z": "97fec48c.8eada",\r
274         "wires": []\r
275     },\r
276     {\r
277         "id": "50ded459.a3ce3c",\r
278         "type": "block",\r
279         "name": "block",\r
280         "xml": "<block>\n",\r
281         "atomic": "false",\r
282         "comments": "",\r
283         "outputs": 1,\r
284         "x": 1265.0002555847168,\r
285         "y": 93.741455078125,\r
286         "z": "97fec48c.8eada",\r
287         "wires": [\r
288             []\r
289         ]\r
290     },\r
291     {\r
292         "id": "6312c3c3.704cf4",\r
293         "type": "block",\r
294         "name": "block : atomic",\r
295         "xml": "<block atomic=\"true\">",\r
296         "atomic": "true",\r
297         "outputs": 1,\r
298         "x": 607.9688835144043,\r
299         "y": 446.74163722991943,\r
300         "z": "97fec48c.8eada",\r
301         "wires": [\r
302             [\r
303                 "9cfd026a.5e4728",\r
304                 "6bdd3c50.e0d3d4",\r
305                 "3d2e0b8f.457abc",\r
306                 "27ac90d.484a9f"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "2581c748.7cabd8",\r
312         "type": "switchNode",\r
313         "name": "test cross-domain-link role",\r
314         "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",\r
315         "comments": "",\r
316         "outputs": 1,\r
317         "x": 1719.5001220703125,\r
318         "y": 544,\r
319         "z": "97fec48c.8eada",\r
320         "wires": [\r
321             [\r
322                 "22f3b1f4.9256fe"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "22f3b1f4.9256fe",\r
328         "type": "outcome",\r
329         "name": "outcome cross-domain",\r
330         "xml": "<outcome value='cross-domain'>\n",\r
331         "comments": "",\r
332         "outputs": 1,\r
333         "x": 1955.5001220703125,\r
334         "y": 545,\r
335         "z": "97fec48c.8eada",\r
336         "wires": [\r
337             [\r
338                 "8b1c590c.dc55d"\r
339             ]\r
340         ]\r
341     },\r
342     {\r
343         "id": "a2b70b63.3ba9c8",\r
344         "type": "break",\r
345         "name": "break",\r
346         "xml": "<break>\n",\r
347         "comments": "",\r
348         "x": 2359.4998779296875,\r
349         "y": 1005,\r
350         "z": "97fec48c.8eada",\r
351         "wires": []\r
352     },\r
353     {\r
354         "id": "8b1c590c.dc55d",\r
355         "type": "block",\r
356         "name": "block : atomic",\r
357         "xml": "<block atomic=\"true\">",\r
358         "atomic": "true",\r
359         "outputs": 1,\r
360         "x": 2158.5001220703125,\r
361         "y": 546,\r
362         "z": "97fec48c.8eada",\r
363         "wires": [\r
364             [\r
365                 "a2b70b63.3ba9c8",\r
366                 "4ab81af3.e377f4",\r
367                 "b2e8772a.8ac6e8",\r
368                 "a42edec8.e98fb"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "3bc9b9f2.81b29e",\r
374         "type": "success",\r
375         "name": "success",\r
376         "xml": "<outcome value='success'>\n",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 2683.9998779296875,\r
380         "y": 496,\r
381         "z": "97fec48c.8eada",\r
382         "wires": [\r
383             [\r
384                 "5d4d6dbf.b923ac"\r
385             ]\r
386         ]\r
387     },\r
388     {\r
389         "id": "37303a4c.954af6",\r
390         "type": "not-found",\r
391         "name": "not-found",\r
392         "xml": "<outcome value='not-found'>\n",\r
393         "comments": "",\r
394         "outputs": 1,\r
395         "x": 2717,\r
396         "y": 554,\r
397         "z": "97fec48c.8eada",\r
398         "wires": [\r
399             [\r
400                 "9e71e39b.7fa1"\r
401             ]\r
402         ]\r
403     },\r
404     {\r
405         "id": "fd9ad854.5b33c8",\r
406         "type": "other",\r
407         "name": "other",\r
408         "xml": "<outcome value='Other'>\n",\r
409         "comments": "",\r
410         "outputs": 1,\r
411         "x": 2720,\r
412         "y": 606,\r
413         "z": "97fec48c.8eada",\r
414         "wires": [\r
415             [\r
416                 "72bd806e.4e60a8"\r
417             ]\r
418         ]\r
419     },\r
420     {\r
421         "id": "9e71e39b.7fa1",\r
422         "type": "returnFailure",\r
423         "name": "return failure",\r
424         "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
425         "comments": "",\r
426         "x": 2902,\r
427         "y": 558,\r
428         "z": "97fec48c.8eada",\r
429         "wires": []\r
430     },\r
431     {\r
432         "id": "72bd806e.4e60a8",\r
433         "type": "returnFailure",\r
434         "name": "return failure",\r
435         "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
436         "comments": "",\r
437         "x": 2890,\r
438         "y": 609,\r
439         "z": "97fec48c.8eada",\r
440         "wires": []\r
441     },\r
442     {\r
443         "id": "a1ab74dd.259888",\r
444         "type": "set",\r
445         "name": "set domain A node ttp-id",\r
446         "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
447         "comments": "",\r
448         "x": 4020.4998779296875,\r
449         "y": 411,\r
450         "z": "97fec48c.8eada",\r
451         "wires": []\r
452     },\r
453     {\r
454         "id": "78028b3.737cf74",\r
455         "type": "get-resource",\r
456         "name": "get-resource src TTP",\r
457         "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
458         "comments": "",\r
459         "outputs": 1,\r
460         "x": 4028.4998779296875,\r
461         "y": 463,\r
462         "z": "97fec48c.8eada",\r
463         "wires": [\r
464             [\r
465                 "f334aa73.fafd8"\r
466             ]\r
467         ]\r
468     },\r
469     {\r
470         "id": "f334aa73.fafd8",\r
471         "type": "success",\r
472         "name": "success",\r
473         "xml": "<outcome value='success'>\n",\r
474         "comments": "",\r
475         "outputs": 1,\r
476         "x": 4234.9998779296875,\r
477         "y": 441,\r
478         "z": "97fec48c.8eada",\r
479         "wires": [\r
480             [\r
481                 "198591da.45bba6"\r
482             ]\r
483         ]\r
484     },\r
485     {\r
486         "id": "c586fad5.100ad",\r
487         "type": "outcome",\r
488         "name": "tunnel-termination-point",\r
489         "xml": "<outcome value='tunnel-termination-point'>\n",\r
490         "comments": "",\r
491         "outputs": 1,\r
492         "x": 3572.6683349609375,\r
493         "y": 489.48150634765625,\r
494         "z": "97fec48c.8eada",\r
495         "wires": [\r
496             [\r
497                 "8d515769.aa6f4"\r
498             ]\r
499         ]\r
500     },\r
501     {\r
502         "id": "18757b7c.bab055",\r
503         "type": "for",\r
504         "name": "for each relationship",\r
505         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
506         "comments": "",\r
507         "outputs": 1,\r
508         "x": 3035.3826904296875,\r
509         "y": 491.65972900390625,\r
510         "z": "97fec48c.8eada",\r
511         "wires": [\r
512             [\r
513                 "e5aaccbc.1746e"\r
514             ]\r
515         ]\r
516     },\r
517     {\r
518         "id": "e5aaccbc.1746e",\r
519         "type": "switchNode",\r
520         "name": "switch related-to",\r
521         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
522         "comments": "",\r
523         "outputs": 1,\r
524         "x": 3287.3826904296875,\r
525         "y": 488.65972900390625,\r
526         "z": "97fec48c.8eada",\r
527         "wires": [\r
528             [\r
529                 "c586fad5.100ad"\r
530             ]\r
531         ]\r
532     },\r
533     {\r
534         "id": "8d515769.aa6f4",\r
535         "type": "block",\r
536         "name": "block : atomic",\r
537         "xml": "<block atomic=\"true\">",\r
538         "atomic": "true",\r
539         "outputs": 1,\r
540         "x": 3799.4998779296875,\r
541         "y": 478,\r
542         "z": "97fec48c.8eada",\r
543         "wires": [\r
544             [\r
545                 "a1ab74dd.259888",\r
546                 "78028b3.737cf74",\r
547                 "e29873e7.48a55",\r
548                 "60eed173.f1208",\r
549                 "c69a19d0.8fe6d"\r
550             ]\r
551         ]\r
552     },\r
553     {\r
554         "id": "4ab81af3.e377f4",\r
555         "type": "get-resource",\r
556         "name": "get-resource dst tp",\r
557         "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
558         "comments": "",\r
559         "outputs": 1,\r
560         "x": 2440.5,\r
561         "y": 901,\r
562         "z": "97fec48c.8eada",\r
563         "wires": [\r
564             [\r
565                 "995af278.af1ac8",\r
566                 "c9dcb57d.818b28",\r
567                 "86496d30.4c8b08"\r
568             ]\r
569         ]\r
570     },\r
571     {\r
572         "id": "995af278.af1ac8",\r
573         "type": "success",\r
574         "name": "success",\r
575         "xml": "<outcome value='success'>\n",\r
576         "comments": "",\r
577         "outputs": 1,\r
578         "x": 2662.9998779296875,\r
579         "y": 1043,\r
580         "z": "97fec48c.8eada",\r
581         "wires": [\r
582             [\r
583                 "298c76a3.790b2a"\r
584             ]\r
585         ]\r
586     },\r
587     {\r
588         "id": "c9dcb57d.818b28",\r
589         "type": "not-found",\r
590         "name": "not-found",\r
591         "xml": "<outcome value='not-found'>\n",\r
592         "comments": "",\r
593         "outputs": 1,\r
594         "x": 2646.9998779296875,\r
595         "y": 1094,\r
596         "z": "97fec48c.8eada",\r
597         "wires": [\r
598             [\r
599                 "e35f9b5f.fe69c8"\r
600             ]\r
601         ]\r
602     },\r
603     {\r
604         "id": "86496d30.4c8b08",\r
605         "type": "other",\r
606         "name": "other",\r
607         "xml": "<outcome value='Other'>\n",\r
608         "comments": "",\r
609         "outputs": 1,\r
610         "x": 2649.9998779296875,\r
611         "y": 1146,\r
612         "z": "97fec48c.8eada",\r
613         "wires": [\r
614             [\r
615                 "fe485369.3b129"\r
616             ]\r
617         ]\r
618     },\r
619     {\r
620         "id": "fe485369.3b129",\r
621         "type": "returnFailure",\r
622         "name": "return failure",\r
623         "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
624         "comments": "",\r
625         "x": 2819.9998779296875,\r
626         "y": 1149,\r
627         "z": "97fec48c.8eada",\r
628         "wires": []\r
629     },\r
630     {\r
631         "id": "e35f9b5f.fe69c8",\r
632         "type": "returnFailure",\r
633         "name": "return failure",\r
634         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"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
635         "comments": "",\r
636         "x": 2831.9998779296875,\r
637         "y": 1098,\r
638         "z": "97fec48c.8eada",\r
639         "wires": []\r
640     },\r
641     {\r
642         "id": "b29ef002.3d9bd8",\r
643         "type": "for",\r
644         "name": "for each relationship",\r
645         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
646         "comments": "",\r
647         "outputs": 1,\r
648         "x": 3019.3826904296875,\r
649         "y": 1053.6597290039062,\r
650         "z": "97fec48c.8eada",\r
651         "wires": [\r
652             [\r
653                 "1420228.3521e5e"\r
654             ]\r
655         ]\r
656     },\r
657     {\r
658         "id": "1420228.3521e5e",\r
659         "type": "switchNode",\r
660         "name": "switch related-to",\r
661         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
662         "comments": "",\r
663         "outputs": 1,\r
664         "x": 3262.3826904296875,\r
665         "y": 1052.6597290039062,\r
666         "z": "97fec48c.8eada",\r
667         "wires": [\r
668             [\r
669                 "5d8a1ce9.20e95c"\r
670             ]\r
671         ]\r
672     },\r
673     {\r
674         "id": "50d5c6dd.fd8458",\r
675         "type": "block",\r
676         "name": "block : atomic",\r
677         "xml": "<block atomic=\"true\">",\r
678         "atomic": "true",\r
679         "outputs": 1,\r
680         "x": 5028.4998779296875,\r
681         "y": 854,\r
682         "z": "97fec48c.8eada",\r
683         "wires": [\r
684             [\r
685                 "6e9eddf0.722754",\r
686                 "4df00122.6ae7d8",\r
687                 "5c18dd82.55be5c"\r
688             ]\r
689         ]\r
690     },\r
691     {\r
692         "id": "5d8a1ce9.20e95c",\r
693         "type": "outcome",\r
694         "name": "tunnel-termination-point",\r
695         "xml": "<outcome value='tunnel-termination-point'>\n",\r
696         "comments": "",\r
697         "outputs": 1,\r
698         "x": 3518.6683349609375,\r
699         "y": 1052.4815063476562,\r
700         "z": "97fec48c.8eada",\r
701         "wires": [\r
702             [\r
703                 "431b8e7f.397f08"\r
704             ]\r
705         ]\r
706     },\r
707     {\r
708         "id": "5d78c070.cc21d",\r
709         "type": "outcome",\r
710         "name": "network-resource",\r
711         "xml": "<outcome value='network-resource'>\n",\r
712         "comments": "",\r
713         "outputs": 1,\r
714         "x": 4815.4998779296875,\r
715         "y": 853,\r
716         "z": "97fec48c.8eada",\r
717         "wires": [\r
718             [\r
719                 "50d5c6dd.fd8458"\r
720             ]\r
721         ]\r
722     },\r
723     {\r
724         "id": "431b8e7f.397f08",\r
725         "type": "block",\r
726         "name": "block : atomic",\r
727         "xml": "<block atomic=\"true\">",\r
728         "atomic": "true",\r
729         "outputs": 1,\r
730         "x": 3818.4998779296875,\r
731         "y": 1050,\r
732         "z": "97fec48c.8eada",\r
733         "wires": [\r
734             [\r
735                 "9fe095e8.34fca",\r
736                 "9f30760a.8f0188",\r
737                 "3e68bf5c.62e23",\r
738                 "16edc927.badbff",\r
739                 "c1a0d70e.9bb548"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "9fe095e8.34fca",\r
745         "type": "set",\r
746         "name": "set domain B node ttp-id",\r
747         "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
748         "comments": "",\r
749         "x": 4060.4998779296875,\r
750         "y": 1004,\r
751         "z": "97fec48c.8eada",\r
752         "wires": []\r
753     },\r
754     {\r
755         "id": "9f30760a.8f0188",\r
756         "type": "get-resource",\r
757         "name": "get-resource dst TTP",\r
758         "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
759         "comments": "",\r
760         "outputs": 1,\r
761         "x": 4050.4998779296875,\r
762         "y": 1055,\r
763         "z": "97fec48c.8eada",\r
764         "wires": [\r
765             [\r
766                 "f0dbdf9f.2f9a"\r
767             ]\r
768         ]\r
769     },\r
770     {\r
771         "id": "f0dbdf9f.2f9a",\r
772         "type": "success",\r
773         "name": "success",\r
774         "xml": "<outcome value='success'>\n",\r
775         "comments": "",\r
776         "outputs": 1,\r
777         "x": 4237.9998779296875,\r
778         "y": 1053,\r
779         "z": "97fec48c.8eada",\r
780         "wires": [\r
781             [\r
782                 "aaf730ad.ded658"\r
783             ]\r
784         ]\r
785     },\r
786     {\r
787         "id": "6e9eddf0.722754",\r
788         "type": "set",\r
789         "name": "set domain B network-id",\r
790         "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
791         "comments": "",\r
792         "x": 5298.4998779296875,\r
793         "y": 830,\r
794         "z": "97fec48c.8eada",\r
795         "wires": []\r
796     },\r
797     {\r
798         "id": "4df00122.6ae7d8",\r
799         "type": "get-resource",\r
800         "name": "get-resource dst network-resource",\r
801         "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
802         "comments": "",\r
803         "outputs": 1,\r
804         "x": 5308.4998779296875,\r
805         "y": 876,\r
806         "z": "97fec48c.8eada",\r
807         "wires": [\r
808             [\r
809                 "6bfb2c0.fcf9cd4"\r
810             ]\r
811         ]\r
812     },\r
813     {\r
814         "id": "6bfb2c0.fcf9cd4",\r
815         "type": "success",\r
816         "name": "success",\r
817         "xml": "<outcome value='success'>\n",\r
818         "comments": "",\r
819         "outputs": 1,\r
820         "x": 5523.9998779296875,\r
821         "y": 867,\r
822         "z": "97fec48c.8eada",\r
823         "wires": [\r
824             [\r
825                 "46a8e7db.6247c8"\r
826             ]\r
827         ]\r
828     },\r
829     {\r
830         "id": "46a8e7db.6247c8",\r
831         "type": "set",\r
832         "name": "set domain B network-id, topo-id, client-id, etc",\r
833         "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
834         "comments": "",\r
835         "x": 5778.4998779296875,\r
836         "y": 873,\r
837         "z": "97fec48c.8eada",\r
838         "wires": []\r
839     },\r
840     {\r
841         "id": "5d4d6dbf.b923ac",\r
842         "type": "block",\r
843         "name": "block",\r
844         "xml": "<block>\n",\r
845         "atomic": "false",\r
846         "comments": "",\r
847         "outputs": 1,\r
848         "x": 2817.9998779296875,\r
849         "y": 492,\r
850         "z": "97fec48c.8eada",\r
851         "wires": [\r
852             [\r
853                 "18757b7c.bab055"\r
854             ]\r
855         ]\r
856     },\r
857     {\r
858         "id": "298c76a3.790b2a",\r
859         "type": "block",\r
860         "name": "block",\r
861         "xml": "<block>\n",\r
862         "atomic": "false",\r
863         "comments": "",\r
864         "outputs": 1,\r
865         "x": 2808.9998779296875,\r
866         "y": 1034,\r
867         "z": "97fec48c.8eada",\r
868         "wires": [\r
869             [\r
870                 "b29ef002.3d9bd8"\r
871             ]\r
872         ]\r
873     },\r
874     {\r
875         "id": "a9f1b4b6.1c30e8",\r
876         "type": "block",\r
877         "name": "block",\r
878         "xml": "<block>\n",\r
879         "atomic": "false",\r
880         "comments": "",\r
881         "outputs": 1,\r
882         "x": 1538,\r
883         "y": 546,\r
884         "z": "97fec48c.8eada",\r
885         "wires": [\r
886             [\r
887                 "2581c748.7cabd8"\r
888             ]\r
889         ]\r
890     },\r
891     {\r
892         "id": "b2e8772a.8ac6e8",\r
893         "type": "for",\r
894         "name": "for each relationship",\r
895         "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
896         "comments": "",\r
897         "outputs": 1,\r
898         "x": 2392.9998779296875,\r
899         "y": 313,\r
900         "z": "97fec48c.8eada",\r
901         "wires": [\r
902             [\r
903                 "3399a4f5.011714"\r
904             ]\r
905         ]\r
906     },\r
907     {\r
908         "id": "3399a4f5.011714",\r
909         "type": "switchNode",\r
910         "name": "switch related-to",\r
911         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
912         "comments": "",\r
913         "outputs": 1,\r
914         "x": 2591.9998779296875,\r
915         "y": 310,\r
916         "z": "97fec48c.8eada",\r
917         "wires": [\r
918             [\r
919                 "d2b9c322.61b4e"\r
920             ]\r
921         ]\r
922     },\r
923     {\r
924         "id": "d2b9c322.61b4e",\r
925         "type": "outcome",\r
926         "name": "p-interface",\r
927         "xml": "<outcome value='p-interface'>\n",\r
928         "comments": "",\r
929         "outputs": 1,\r
930         "x": 2769.1173095703125,\r
931         "y": 308.34027099609375,\r
932         "z": "97fec48c.8eada",\r
933         "wires": [\r
934             [\r
935                 "daf680e0.e985f"\r
936             ]\r
937         ]\r
938     },\r
939     {\r
940         "id": "614113e.09a2a6c",\r
941         "type": "set",\r
942         "name": "set src-ltpId",\r
943         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />-->\n",\r
944         "comments": "",\r
945         "x": 3620.9998779296875,\r
946         "y": 222,\r
947         "z": "97fec48c.8eada",\r
948         "wires": []\r
949     },\r
950     {\r
951         "id": "daf680e0.e985f",\r
952         "type": "block",\r
953         "name": "block",\r
954         "xml": "<block>\n",\r
955         "atomic": "false",\r
956         "comments": "",\r
957         "outputs": 1,\r
958         "x": 2908.9998779296875,\r
959         "y": 293,\r
960         "z": "97fec48c.8eada",\r
961         "wires": [\r
962             [\r
963                 "56dc1543.ce88ec",\r
964                 "b07af7fc.6b63b8"\r
965             ]\r
966         ]\r
967     },\r
968     {\r
969         "id": "198591da.45bba6",\r
970         "type": "block",\r
971         "name": "block : atomic",\r
972         "xml": "<block atomic=\"true\">",\r
973         "atomic": "true",\r
974         "outputs": 1,\r
975         "x": 4409.9998779296875,\r
976         "y": 437,\r
977         "z": "97fec48c.8eada",\r
978         "wires": [\r
979             [\r
980                 "c08fd8d6.2bd66"\r
981             ]\r
982         ]\r
983     },\r
984     {\r
985         "id": "aaf730ad.ded658",\r
986         "type": "block",\r
987         "name": "block : atomic",\r
988         "xml": "<block atomic=\"true\">",\r
989         "atomic": "true",\r
990         "outputs": 1,\r
991         "x": 4426.9998779296875,\r
992         "y": 1042,\r
993         "z": "97fec48c.8eada",\r
994         "wires": [\r
995             [\r
996                 "64775e7a.bf3908"\r
997             ]\r
998         ]\r
999     },\r
1000     {\r
1001         "id": "a42edec8.e98fb",\r
1002         "type": "get-resource",\r
1003         "name": "get-resource src tp",\r
1004         "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
1005         "comments": "",\r
1006         "outputs": 1,\r
1007         "x": 2486.5,\r
1008         "y": 535,\r
1009         "z": "97fec48c.8eada",\r
1010         "wires": [\r
1011             [\r
1012                 "3bc9b9f2.81b29e",\r
1013                 "37303a4c.954af6",\r
1014                 "fd9ad854.5b33c8"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "e29873e7.48a55",\r
1020         "type": "get-resource",\r
1021         "name": "get-resource src pnf",\r
1022         "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
1023         "comments": "",\r
1024         "outputs": 1,\r
1025         "x": 3889.9998779296875,\r
1026         "y": 281,\r
1027         "z": "97fec48c.8eada",\r
1028         "wires": [\r
1029             [\r
1030                 "98eef2c3.4b1e6",\r
1031                 "b3fdc3b3.daa6d",\r
1032                 "bb3698f8.9dc54"\r
1033             ]\r
1034         ]\r
1035     },\r
1036     {\r
1037         "id": "98eef2c3.4b1e6",\r
1038         "type": "success",\r
1039         "name": "success",\r
1040         "xml": "<outcome value='success'>\n",\r
1041         "comments": "",\r
1042         "outputs": 1,\r
1043         "x": 4085.5,\r
1044         "y": 233,\r
1045         "z": "97fec48c.8eada",\r
1046         "wires": [\r
1047             [\r
1048                 "1e54913c.73cd4f"\r
1049             ]\r
1050         ]\r
1051     },\r
1052     {\r
1053         "id": "b3fdc3b3.daa6d",\r
1054         "type": "not-found",\r
1055         "name": "not-found",\r
1056         "xml": "<outcome value='not-found'>\n",\r
1057         "comments": "",\r
1058         "outputs": 1,\r
1059         "x": 4077.5,\r
1060         "y": 288,\r
1061         "z": "97fec48c.8eada",\r
1062         "wires": [\r
1063             [\r
1064                 "8746e11a.2a66c"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "bb3698f8.9dc54",\r
1070         "type": "other",\r
1071         "name": "other",\r
1072         "xml": "<outcome value='Other'>\n",\r
1073         "comments": "",\r
1074         "outputs": 1,\r
1075         "x": 4082.5,\r
1076         "y": 345,\r
1077         "z": "97fec48c.8eada",\r
1078         "wires": [\r
1079             [\r
1080                 "be336b5b.cedab8"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "be336b5b.cedab8",\r
1086         "type": "returnFailure",\r
1087         "name": "return failure",\r
1088         "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
1089         "comments": "",\r
1090         "x": 4234.5,\r
1091         "y": 346,\r
1092         "z": "97fec48c.8eada",\r
1093         "wires": []\r
1094     },\r
1095     {\r
1096         "id": "8746e11a.2a66c",\r
1097         "type": "returnFailure",\r
1098         "name": "return failure",\r
1099         "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
1100         "comments": "",\r
1101         "x": 4245.5,\r
1102         "y": 291,\r
1103         "z": "97fec48c.8eada",\r
1104         "wires": []\r
1105     },\r
1106     {\r
1107         "id": "1e54913c.73cd4f",\r
1108         "type": "block",\r
1109         "name": "block",\r
1110         "xml": "<block>\n",\r
1111         "atomic": "false",\r
1112         "comments": "",\r
1113         "outputs": 1,\r
1114         "x": 4229.88232421875,\r
1115         "y": 230.65567016601562,\r
1116         "z": "97fec48c.8eada",\r
1117         "wires": [\r
1118             [\r
1119                 "e08a0980.5d50e",\r
1120                 "8e112ac6.c7732"\r
1121             ]\r
1122         ]\r
1123     },\r
1124     {\r
1125         "id": "e08a0980.5d50e",\r
1126         "type": "set",\r
1127         "name": "set domain A node-id and tpn",\r
1128         "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
1129         "comments": "",\r
1130         "x": 4454.9998779296875,\r
1131         "y": 186,\r
1132         "z": "97fec48c.8eada",\r
1133         "wires": []\r
1134     },\r
1135     {\r
1136         "id": "60eed173.f1208",\r
1137         "type": "break",\r
1138         "name": "break",\r
1139         "xml": "<break>\n",\r
1140         "comments": "",\r
1141         "x": 3976.9998779296875,\r
1142         "y": 528,\r
1143         "z": "97fec48c.8eada",\r
1144         "wires": []\r
1145     },\r
1146     {\r
1147         "id": "c08fd8d6.2bd66",\r
1148         "type": "set",\r
1149         "name": "set domain A tunnel tp ip",\r
1150         "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
1151         "comments": "",\r
1152         "x": 4670.9998779296875,\r
1153         "y": 434,\r
1154         "z": "97fec48c.8eada",\r
1155         "wires": []\r
1156     },\r
1157     {\r
1158         "id": "16edc927.badbff",\r
1159         "type": "get-resource",\r
1160         "name": "get-resource dst pnf",\r
1161         "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
1162         "comments": "",\r
1163         "outputs": 1,\r
1164         "x": 3886.9998779296875,\r
1165         "y": 884,\r
1166         "z": "97fec48c.8eada",\r
1167         "wires": [\r
1168             [\r
1169                 "123bf516.85c49b",\r
1170                 "6c28943b.60b994",\r
1171                 "19639884.e536cf"\r
1172             ]\r
1173         ]\r
1174     },\r
1175     {\r
1176         "id": "19639884.e536cf",\r
1177         "type": "success",\r
1178         "name": "success",\r
1179         "xml": "<outcome value='success'>\n",\r
1180         "comments": "",\r
1181         "outputs": 1,\r
1182         "x": 4082.5,\r
1183         "y": 836,\r
1184         "z": "97fec48c.8eada",\r
1185         "wires": [\r
1186             [\r
1187                 "c2d1aecb.85e098"\r
1188             ]\r
1189         ]\r
1190     },\r
1191     {\r
1192         "id": "6c28943b.60b994",\r
1193         "type": "not-found",\r
1194         "name": "not-found",\r
1195         "xml": "<outcome value='not-found'>\n",\r
1196         "comments": "",\r
1197         "outputs": 1,\r
1198         "x": 4074.5,\r
1199         "y": 891,\r
1200         "z": "97fec48c.8eada",\r
1201         "wires": [\r
1202             [\r
1203                 "1ac89a13.d0df06"\r
1204             ]\r
1205         ]\r
1206     },\r
1207     {\r
1208         "id": "123bf516.85c49b",\r
1209         "type": "other",\r
1210         "name": "other",\r
1211         "xml": "<outcome value='Other'>\n",\r
1212         "comments": "",\r
1213         "outputs": 1,\r
1214         "x": 4079.5,\r
1215         "y": 948,\r
1216         "z": "97fec48c.8eada",\r
1217         "wires": [\r
1218             [\r
1219                 "b06bf8cb.62556"\r
1220             ]\r
1221         ]\r
1222     },\r
1223     {\r
1224         "id": "c2d1aecb.85e098",\r
1225         "type": "block",\r
1226         "name": "block",\r
1227         "xml": "<block>\n",\r
1228         "atomic": "false",\r
1229         "comments": "",\r
1230         "outputs": 1,\r
1231         "x": 4226.88232421875,\r
1232         "y": 833.6556701660156,\r
1233         "z": "97fec48c.8eada",\r
1234         "wires": [\r
1235             [\r
1236                 "a9a60061.b99928",\r
1237                 "cfa839ce.804738"\r
1238             ]\r
1239         ]\r
1240     },\r
1241     {\r
1242         "id": "1ac89a13.d0df06",\r
1243         "type": "returnFailure",\r
1244         "name": "return failure",\r
1245         "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
1246         "comments": "",\r
1247         "x": 4242.5,\r
1248         "y": 894,\r
1249         "z": "97fec48c.8eada",\r
1250         "wires": []\r
1251     },\r
1252     {\r
1253         "id": "b06bf8cb.62556",\r
1254         "type": "returnFailure",\r
1255         "name": "return failure",\r
1256         "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
1257         "comments": "",\r
1258         "x": 4231.5,\r
1259         "y": 949,\r
1260         "z": "97fec48c.8eada",\r
1261         "wires": []\r
1262     },\r
1263     {\r
1264         "id": "a9a60061.b99928",\r
1265         "type": "set",\r
1266         "name": "set domain B node-id and tpn",\r
1267         "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
1268         "comments": "",\r
1269         "x": 4435.9998779296875,\r
1270         "y": 801,\r
1271         "z": "97fec48c.8eada",\r
1272         "wires": []\r
1273     },\r
1274     {\r
1275         "id": "3e68bf5c.62e23",\r
1276         "type": "break",\r
1277         "name": "break",\r
1278         "xml": "<break>\n",\r
1279         "comments": "",\r
1280         "x": 4005.9998779296875,\r
1281         "y": 1096,\r
1282         "z": "97fec48c.8eada",\r
1283         "wires": []\r
1284     },\r
1285     {\r
1286         "id": "64775e7a.bf3908",\r
1287         "type": "set",\r
1288         "name": "set domain B tunnel tp id",\r
1289         "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
1290         "comments": "",\r
1291         "x": 4659.9998779296875,\r
1292         "y": 1041,\r
1293         "z": "97fec48c.8eada",\r
1294         "wires": []\r
1295     },\r
1296     {\r
1297         "id": "8aefd07e.260d8",\r
1298         "type": "outcome",\r
1299         "name": "network-resource",\r
1300         "xml": "<outcome value='network-resource'>\n",\r
1301         "comments": "",\r
1302         "outputs": 1,\r
1303         "x": 4811.9998779296875,\r
1304         "y": 249,\r
1305         "z": "97fec48c.8eada",\r
1306         "wires": [\r
1307             [\r
1308                 "4f8861e6.824728"\r
1309             ]\r
1310         ]\r
1311     },\r
1312     {\r
1313         "id": "4f8861e6.824728",\r
1314         "type": "block",\r
1315         "name": "block : atomic",\r
1316         "xml": "<block atomic=\"true\">",\r
1317         "atomic": "true",\r
1318         "outputs": 1,\r
1319         "x": 4988.9998779296875,\r
1320         "y": 241,\r
1321         "z": "97fec48c.8eada",\r
1322         "wires": [\r
1323             [\r
1324                 "8261f1c0.e8f31",\r
1325                 "36d8211f.467a7e",\r
1326                 "49234c70.a5c64c"\r
1327             ]\r
1328         ]\r
1329     },\r
1330     {\r
1331         "id": "8261f1c0.e8f31",\r
1332         "type": "set",\r
1333         "name": "set domain A network-id",\r
1334         "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
1335         "comments": "",\r
1336         "x": 5203.9998779296875,\r
1337         "y": 222,\r
1338         "z": "97fec48c.8eada",\r
1339         "wires": []\r
1340     },\r
1341     {\r
1342         "id": "36d8211f.467a7e",\r
1343         "type": "get-resource",\r
1344         "name": "get-resource src network-resource",\r
1345         "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
1346         "comments": "",\r
1347         "outputs": 1,\r
1348         "x": 5220.9998779296875,\r
1349         "y": 286,\r
1350         "z": "97fec48c.8eada",\r
1351         "wires": [\r
1352             [\r
1353                 "92167a44.d7bee"\r
1354             ]\r
1355         ]\r
1356     },\r
1357     {\r
1358         "id": "92167a44.d7bee",\r
1359         "type": "success",\r
1360         "name": "success",\r
1361         "xml": "<outcome value='success'>\n",\r
1362         "comments": "",\r
1363         "outputs": 1,\r
1364         "x": 5444.4998779296875,\r
1365         "y": 287,\r
1366         "z": "97fec48c.8eada",\r
1367         "wires": [\r
1368             [\r
1369                 "eafcd68a.31cbf"\r
1370             ]\r
1371         ]\r
1372     },\r
1373     {\r
1374         "id": "eafcd68a.31cbf",\r
1375         "type": "set",\r
1376         "name": "set domain A network-id, topo-id, client-id, etc",\r
1377         "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
1378         "comments": "",\r
1379         "x": 5708.9998779296875,\r
1380         "y": 276,\r
1381         "z": "97fec48c.8eada",\r
1382         "wires": []\r
1383     },\r
1384     {\r
1385         "id": "8e112ac6.c7732",\r
1386         "type": "for",\r
1387         "name": "for each relationship",\r
1388         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
1389         "comments": "",\r
1390         "outputs": 1,\r
1391         "x": 4413.9998779296875,\r
1392         "y": 245,\r
1393         "z": "97fec48c.8eada",\r
1394         "wires": [\r
1395             [\r
1396                 "7a3db7fd.944d68"\r
1397             ]\r
1398         ]\r
1399     },\r
1400     {\r
1401         "id": "7a3db7fd.944d68",\r
1402         "type": "switchNode",\r
1403         "name": "switch related-to",\r
1404         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
1405         "comments": "",\r
1406         "outputs": 1,\r
1407         "x": 4608.9998779296875,\r
1408         "y": 245,\r
1409         "z": "97fec48c.8eada",\r
1410         "wires": [\r
1411             [\r
1412                 "8aefd07e.260d8"\r
1413             ]\r
1414         ]\r
1415     },\r
1416     {\r
1417         "id": "49234c70.a5c64c",\r
1418         "type": "break",\r
1419         "name": "break",\r
1420         "xml": "<break>\n",\r
1421         "comments": "",\r
1422         "x": 5147.9998779296875,\r
1423         "y": 339,\r
1424         "z": "97fec48c.8eada",\r
1425         "wires": []\r
1426     },\r
1427     {\r
1428         "id": "cfa839ce.804738",\r
1429         "type": "for",\r
1430         "name": "for each relationship",\r
1431         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1432         "comments": "",\r
1433         "outputs": 1,\r
1434         "x": 4414.9998779296875,\r
1435         "y": 852,\r
1436         "z": "97fec48c.8eada",\r
1437         "wires": [\r
1438             [\r
1439                 "4d05ba94.558ef4"\r
1440             ]\r
1441         ]\r
1442     },\r
1443     {\r
1444         "id": "4d05ba94.558ef4",\r
1445         "type": "switchNode",\r
1446         "name": "switch related-to",\r
1447         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
1448         "comments": "",\r
1449         "outputs": 1,\r
1450         "x": 4609.9998779296875,\r
1451         "y": 852,\r
1452         "z": "97fec48c.8eada",\r
1453         "wires": [\r
1454             [\r
1455                 "5d78c070.cc21d"\r
1456             ]\r
1457         ]\r
1458     },\r
1459     {\r
1460         "id": "5c18dd82.55be5c",\r
1461         "type": "break",\r
1462         "name": "break",\r
1463         "xml": "<break>\n",\r
1464         "comments": "",\r
1465         "x": 5233.9998779296875,\r
1466         "y": 932,\r
1467         "z": "97fec48c.8eada",\r
1468         "wires": []\r
1469     },\r
1470     {\r
1471         "id": "c69a19d0.8fe6d",\r
1472         "type": "execute",\r
1473         "name": "execute split tp-id to get pnf-name",\r
1474         "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=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
1475         "comments": "",\r
1476         "outputs": 1,\r
1477         "x": 3917.9998779296875,\r
1478         "y": 75,\r
1479         "z": "97fec48c.8eada",\r
1480         "wires": [\r
1481             [\r
1482                 "4ca85973.1ae2a",\r
1483                 "285acc14.d6b794"\r
1484             ]\r
1485         ]\r
1486     },\r
1487     {\r
1488         "id": "285acc14.d6b794",\r
1489         "type": "failure",\r
1490         "name": "success",\r
1491         "xml": "<outcome value='success'>\n",\r
1492         "comments": "",\r
1493         "outputs": 1,\r
1494         "x": 4138.9998779296875,\r
1495         "y": 43,\r
1496         "z": "97fec48c.8eada",\r
1497         "wires": [\r
1498             [\r
1499                 "2fdf8051.c7f6a8"\r
1500             ]\r
1501         ]\r
1502     },\r
1503     {\r
1504         "id": "4ca85973.1ae2a",\r
1505         "type": "failure",\r
1506         "name": "failure",\r
1507         "xml": "<outcome value='failure'>\n",\r
1508         "comments": "",\r
1509         "outputs": 1,\r
1510         "x": 4138.9998779296875,\r
1511         "y": 90,\r
1512         "z": "97fec48c.8eada",\r
1513         "wires": [\r
1514             [\r
1515                 "be0791af.66d9e"\r
1516             ]\r
1517         ]\r
1518     },\r
1519     {\r
1520         "id": "2fdf8051.c7f6a8",\r
1521         "type": "block",\r
1522         "name": "block : atomic",\r
1523         "xml": "<block atomic=\"true\">",\r
1524         "atomic": "true",\r
1525         "outputs": 1,\r
1526         "x": 4303.9998779296875,\r
1527         "y": 40,\r
1528         "z": "97fec48c.8eada",\r
1529         "wires": [\r
1530             [\r
1531                 "a66ce9ac.c44538"\r
1532             ]\r
1533         ]\r
1534     },\r
1535     {\r
1536         "id": "a66ce9ac.c44538",\r
1537         "type": "set",\r
1538         "name": "set domain-A.ltpId",\r
1539         "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
1540         "comments": "",\r
1541         "x": 4485.9998779296875,\r
1542         "y": 44,\r
1543         "z": "97fec48c.8eada",\r
1544         "wires": []\r
1545     },\r
1546     {\r
1547         "id": "be0791af.66d9e",\r
1548         "type": "returnFailure",\r
1549         "name": "return failure",\r
1550         "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
1551         "comments": "",\r
1552         "x": 4305.9998779296875,\r
1553         "y": 90,\r
1554         "z": "97fec48c.8eada",\r
1555         "wires": []\r
1556     },\r
1557     {\r
1558         "id": "c1a0d70e.9bb548",\r
1559         "type": "execute",\r
1560         "name": "execute split tp-id to get pnf-name",\r
1561         "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
1562         "comments": "",\r
1563         "outputs": 1,\r
1564         "x": 3925.9998779296875,\r
1565         "y": 699,\r
1566         "z": "97fec48c.8eada",\r
1567         "wires": [\r
1568             [\r
1569                 "50687959.886b6",\r
1570                 "99d4fed5.f7a3f"\r
1571             ]\r
1572         ]\r
1573     },\r
1574     {\r
1575         "id": "99d4fed5.f7a3f",\r
1576         "type": "failure",\r
1577         "name": "success",\r
1578         "xml": "<outcome value='success'>\n",\r
1579         "comments": "",\r
1580         "outputs": 1,\r
1581         "x": 4146.9998779296875,\r
1582         "y": 667,\r
1583         "z": "97fec48c.8eada",\r
1584         "wires": [\r
1585             [\r
1586                 "9d94fa7.027cb88"\r
1587             ]\r
1588         ]\r
1589     },\r
1590     {\r
1591         "id": "50687959.886b6",\r
1592         "type": "failure",\r
1593         "name": "failure",\r
1594         "xml": "<outcome value='failure'>\n",\r
1595         "comments": "",\r
1596         "outputs": 1,\r
1597         "x": 4146.9998779296875,\r
1598         "y": 714,\r
1599         "z": "97fec48c.8eada",\r
1600         "wires": [\r
1601             [\r
1602                 "7a52ffa3.7e9d28"\r
1603             ]\r
1604         ]\r
1605     },\r
1606     {\r
1607         "id": "9d94fa7.027cb88",\r
1608         "type": "block",\r
1609         "name": "block : atomic",\r
1610         "xml": "<block atomic=\"true\">",\r
1611         "atomic": "true",\r
1612         "outputs": 1,\r
1613         "x": 4311.9998779296875,\r
1614         "y": 664,\r
1615         "z": "97fec48c.8eada",\r
1616         "wires": [\r
1617             [\r
1618                 "675b55d9.b9c0ec"\r
1619             ]\r
1620         ]\r
1621     },\r
1622     {\r
1623         "id": "675b55d9.b9c0ec",\r
1624         "type": "set",\r
1625         "name": "set domain-B.ltpId",\r
1626         "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
1627         "comments": "",\r
1628         "x": 4507.9998779296875,\r
1629         "y": 661,\r
1630         "z": "97fec48c.8eada",\r
1631         "wires": []\r
1632     },\r
1633     {\r
1634         "id": "7a52ffa3.7e9d28",\r
1635         "type": "returnFailure",\r
1636         "name": "return failure",\r
1637         "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
1638         "comments": "",\r
1639         "x": 4313.9998779296875,\r
1640         "y": 714,\r
1641         "z": "97fec48c.8eada",\r
1642         "wires": []\r
1643     },\r
1644     {\r
1645         "id": "20564e8a.e84492",\r
1646         "type": "set",\r
1647         "name": "unset parameters",\r
1648         "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
1649         "comments": "",\r
1650         "x": 1183,\r
1651         "y": 501,\r
1652         "z": "97fec48c.8eada",\r
1653         "wires": []\r
1654     },\r
1655     {\r
1656         "id": "56dc1543.ce88ec",\r
1657         "type": "switchNode",\r
1658         "name": "switch value == start-node",\r
1659         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",\r
1660         "comments": "",\r
1661         "outputs": 1,\r
1662         "x": 3103.9998779296875,\r
1663         "y": 254,\r
1664         "z": "97fec48c.8eada",\r
1665         "wires": [\r
1666             [\r
1667                 "a156113e.6f73f"\r
1668             ]\r
1669         ]\r
1670     },\r
1671     {\r
1672         "id": "edb2a900.9a7b1",\r
1673         "type": "block",\r
1674         "name": "block : atomic",\r
1675         "xml": "<block atomic=\"true\">",\r
1676         "atomic": "true",\r
1677         "outputs": 1,\r
1678         "x": 3433.9998779296875,\r
1679         "y": 238,\r
1680         "z": "97fec48c.8eada",\r
1681         "wires": [\r
1682             [\r
1683                 "614113e.09a2a6c"\r
1684             ]\r
1685         ]\r
1686     },\r
1687     {\r
1688         "id": "bc992c4c.01fac8",\r
1689         "type": "set",\r
1690         "name": "set dst-ltpId",\r
1691         "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />-->\n\n",\r
1692         "comments": "",\r
1693         "x": 3630.9998779296875,\r
1694         "y": 324,\r
1695         "z": "97fec48c.8eada",\r
1696         "wires": []\r
1697     },\r
1698     {\r
1699         "id": "7a290eee.406588",\r
1700         "type": "block",\r
1701         "name": "block : atomic",\r
1702         "xml": "<block atomic=\"true\">",\r
1703         "atomic": "true",\r
1704         "outputs": 1,\r
1705         "x": 3451.9998779296875,\r
1706         "y": 336,\r
1707         "z": "97fec48c.8eada",\r
1708         "wires": [\r
1709             [\r
1710                 "bc992c4c.01fac8"\r
1711             ]\r
1712         ]\r
1713     },\r
1714     {\r
1715         "id": "a156113e.6f73f",\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": 3291.9998779296875,\r
1722         "y": 241,\r
1723         "z": "97fec48c.8eada",\r
1724         "wires": [\r
1725             [\r
1726                 "edb2a900.9a7b1"\r
1727             ]\r
1728         ]\r
1729     },\r
1730     {\r
1731         "id": "b07af7fc.6b63b8",\r
1732         "type": "switchNode",\r
1733         "name": "switch value == end-node",\r
1734         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",\r
1735         "comments": "",\r
1736         "outputs": 1,\r
1737         "x": 3101.9998779296875,\r
1738         "y": 318,\r
1739         "z": "97fec48c.8eada",\r
1740         "wires": [\r
1741             [\r
1742                 "adae2c31.77bd68"\r
1743             ]\r
1744         ]\r
1745     },\r
1746     {\r
1747         "id": "adae2c31.77bd68",\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": 3286.9998779296875,\r
1754         "y": 322,\r
1755         "z": "97fec48c.8eada",\r
1756         "wires": [\r
1757             [\r
1758                 "7a290eee.406588"\r
1759             ]\r
1760         ]\r
1761     },\r
1762     {\r
1763         "id": "fdcdd209.036438",\r
1764         "type": "comment",\r
1765         "name": "Not useful anymore",\r
1766         "info": "this domain-A.ltpId is not used anymore",\r
1767         "comments": "",\r
1768         "x": 4528.9998779296875,\r
1769         "y": 20,\r
1770         "z": "97fec48c.8eada",\r
1771         "wires": []\r
1772     },\r
1773     {\r
1774         "id": "335fd86d.6b1ff",\r
1775         "type": "comment",\r
1776         "name": "Not useful anymore",\r
1777         "info": "this domain-B.ltpId is not used anymore",\r
1778         "comments": "",\r
1779         "x": 4550.9998779296875,\r
1780         "y": 633,\r
1781         "z": "97fec48c.8eada",\r
1782         "wires": []\r
1783     },\r
1784     {\r
1785         "id": "3d2e0b8f.457abc",\r
1786         "type": "set",\r
1787         "name": "unset parameters",\r
1788         "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",\r
1789         "comments": "",\r
1790         "x": 824,\r
1791         "y": 429,\r
1792         "z": "97fec48c.8eada",\r
1793         "wires": []\r
1794     },\r
1795     {\r
1796         "id": "d9b3c779.af79",\r
1797         "type": "comment",\r
1798         "name": "May not be necessary",\r
1799         "info": "",\r
1800         "comments": "",\r
1801         "x": 836,\r
1802         "y": 397,\r
1803         "z": "97fec48c.8eada",\r
1804         "wires": []\r
1805     },\r
1806     {\r
1807         "id": "27ac90d.484a9f",\r
1808         "type": "block",\r
1809         "name": "block : atomic",\r
1810         "xml": "<block atomic='true'>",\r
1811         "atomic": "true",\r
1812         "comments": "",\r
1813         "outputs": 1,\r
1814         "x": 825,\r
1815         "y": 265,\r
1816         "z": "97fec48c.8eada",\r
1817         "wires": [\r
1818             [\r
1819                 "b00cf456.1fcfd8",\r
1820                 "22917417.40dffc",\r
1821                 "9d01bdd0.0fc258"\r
1822             ]\r
1823         ]\r
1824     },\r
1825     {\r
1826         "id": "b00cf456.1fcfd8",\r
1827         "type": "get-resource",\r
1828         "name": "get-resource pnfs-list",\r
1829         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.pnfs\" >",\r
1830         "comments": "",\r
1831         "outputs": 1,\r
1832         "x": 1072,\r
1833         "y": 218,\r
1834         "z": "97fec48c.8eada",\r
1835         "wires": [\r
1836             [\r
1837                 "e9ef8fc5.a18d1",\r
1838                 "701f5a59.c009ac",\r
1839                 "88137b8e.f20ce"\r
1840             ]\r
1841         ]\r
1842     },\r
1843     {\r
1844         "id": "22917417.40dffc",\r
1845         "type": "get-resource",\r
1846         "name": "get-resource logical-links",\r
1847         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.logicalLinks\" >",\r
1848         "comments": "",\r
1849         "outputs": 1,\r
1850         "x": 1082,\r
1851         "y": 275,\r
1852         "z": "97fec48c.8eada",\r
1853         "wires": [\r
1854             [\r
1855                 "701f5a59.c009ac",\r
1856                 "88137b8e.f20ce",\r
1857                 "f79f6d93.33fad8"\r
1858             ]\r
1859         ]\r
1860     },\r
1861     {\r
1862         "id": "9d01bdd0.0fc258",\r
1863         "type": "execute",\r
1864         "name": "execute PCE in ccsdk/sli/core",\r
1865         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.slitopologyutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='`$ccsdkTopo.pnfs`'/>\n<parameter name=\"links-pfx\" value=\"`$ccsdkTopo.logicalLinks`\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"true\"/>\n<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.src.domainB.pnf-name`\"/>\n",\r
1866         "comments": "",\r
1867         "outputs": 1,\r
1868         "x": 1095,\r
1869         "y": 327,\r
1870         "z": "97fec48c.8eada",\r
1871         "wires": [\r
1872             [\r
1873                 "d13c5cda.e31cf8",\r
1874                 "75643e28.77914"\r
1875             ]\r
1876         ]\r
1877     },\r
1878     {\r
1879         "id": "701f5a59.c009ac",\r
1880         "type": "other",\r
1881         "name": "other",\r
1882         "xml": "<outcome value='Other'>\n",\r
1883         "comments": "",\r
1884         "outputs": 1,\r
1885         "x": 1329,\r
1886         "y": 163,\r
1887         "z": "97fec48c.8eada",\r
1888         "wires": [\r
1889             [\r
1890                 "2909bfef.cce208"\r
1891             ]\r
1892         ]\r
1893     },\r
1894     {\r
1895         "id": "e9ef8fc5.a18d1",\r
1896         "type": "success",\r
1897         "name": "success",\r
1898         "xml": "<outcome value='success'>\n",\r
1899         "comments": "",\r
1900         "outputs": 1,\r
1901         "x": 1337,\r
1902         "y": 240,\r
1903         "z": "97fec48c.8eada",\r
1904         "wires": [\r
1905             []\r
1906         ]\r
1907     },\r
1908     {\r
1909         "id": "2d0a238b.9b0514",\r
1910         "type": "record",\r
1911         "name": "record",\r
1912         "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=\"Pnfs retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.pnfs.pnf_length`\"/>\n",\r
1913         "comments": "",\r
1914         "outputs": 1,\r
1915         "x": 1496,\r
1916         "y": 237,\r
1917         "z": "97fec48c.8eada",\r
1918         "wires": [\r
1919             []\r
1920         ]\r
1921     },\r
1922     {\r
1923         "id": "2909bfef.cce208",\r
1924         "type": "returnFailure",\r
1925         "name": "return failure",\r
1926         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1927         "comments": "",\r
1928         "x": 1515,\r
1929         "y": 163,\r
1930         "z": "97fec48c.8eada",\r
1931         "wires": []\r
1932     },\r
1933     {\r
1934         "id": "88137b8e.f20ce",\r
1935         "type": "not-found",\r
1936         "name": "not-found",\r
1937         "xml": "<outcome value='not-found'>\n",\r
1938         "comments": "",\r
1939         "outputs": 1,\r
1940         "x": 1340,\r
1941         "y": 201,\r
1942         "z": "97fec48c.8eada",\r
1943         "wires": [\r
1944             [\r
1945                 "5baa421f.eeaaec"\r
1946             ]\r
1947         ]\r
1948     },\r
1949     {\r
1950         "id": "5baa421f.eeaaec",\r
1951         "type": "returnFailure",\r
1952         "name": "return failure",\r
1953         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1954         "comments": "",\r
1955         "x": 1512,\r
1956         "y": 201,\r
1957         "z": "97fec48c.8eada",\r
1958         "wires": []\r
1959     },\r
1960     {\r
1961         "id": "f79f6d93.33fad8",\r
1962         "type": "success",\r
1963         "name": "success",\r
1964         "xml": "<outcome value='success'>\n",\r
1965         "comments": "",\r
1966         "outputs": 1,\r
1967         "x": 1341,\r
1968         "y": 275,\r
1969         "z": "97fec48c.8eada",\r
1970         "wires": [\r
1971             []\r
1972         ]\r
1973     },\r
1974     {\r
1975         "id": "8cc43261.20f998",\r
1976         "type": "record",\r
1977         "name": "record",\r
1978         "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=\"Logical-links retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.logicalLinks.logical-link_length`\"/>\n",\r
1979         "comments": "",\r
1980         "outputs": 1,\r
1981         "x": 1502,\r
1982         "y": 275,\r
1983         "z": "97fec48c.8eada",\r
1984         "wires": [\r
1985             []\r
1986         ]\r
1987     },\r
1988     {\r
1989         "id": "d13c5cda.e31cf8",\r
1990         "type": "success",\r
1991         "name": "success",\r
1992         "xml": "<outcome value='success'>\n",\r
1993         "comments": "",\r
1994         "outputs": 1,\r
1995         "x": 1336,\r
1996         "y": 314,\r
1997         "z": "97fec48c.8eada",\r
1998         "wires": [\r
1999             []\r
2000         ]\r
2001     },\r
2002     {\r
2003         "id": "75643e28.77914",\r
2004         "type": "other",\r
2005         "name": "other",\r
2006         "xml": "<outcome value='Other'>\n",\r
2007         "comments": "",\r
2008         "outputs": 1,\r
2009         "x": 1328,\r
2010         "y": 361,\r
2011         "z": "97fec48c.8eada",\r
2012         "wires": [\r
2013             []\r
2014         ]\r
2015     },\r
2016     {\r
2017         "id": "117e8dda.79f3d2",\r
2018         "type": "record",\r
2019         "name": "record",\r
2020         "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",\r
2021         "comments": "",\r
2022         "outputs": 1,\r
2023         "x": 1503,\r
2024         "y": 320,\r
2025         "z": "97fec48c.8eada",\r
2026         "wires": [\r
2027             []\r
2028         ]\r
2029     }\r
2030 ]