6ccf7ae22f91ef87779d3534de36c6791918d9cd
[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": "4bc4e8ab.1cf33",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 93,\r
8         "y": 85,\r
9         "z": "6311a927.78727",\r
10         "wires": [\r
11             [\r
12                 "7e764ef5.0f0ce8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "7e764ef5.0f0ce8",\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": 240,\r
26         "y": 660.0000152587891,\r
27         "z": "6311a927.78727",\r
28         "wires": [\r
29             [\r
30                 "dba1761d.84c318"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "dba1761d.84c318",\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": 304.0001220703125,\r
42         "y": 753,\r
43         "z": "6311a927.78727",\r
44         "wires": [\r
45             [\r
46                 "45853653.2d7d8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "29b9ed96.3b1cca",\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": 349.9730682373047,\r
58         "y": 271.996000289917,\r
59         "z": "6311a927.78727",\r
60         "wires": [\r
61             [\r
62                 "5ed3456b.75dffc",\r
63                 "d4b7459.be16038"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "5ed3456b.75dffc",\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": 589.9732093811035,\r
75         "y": 295.99596977233887,\r
76         "z": "6311a927.78727",\r
77         "wires": [\r
78             [\r
79                 "c8e36f8b.a2bbd8"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "e29f4917.f911e8",\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": 759.9731292724609,\r
90         "y": 235.99606132507324,\r
91         "z": "6311a927.78727",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "d4b7459.be16038",\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": 588.9729957580566,\r
102         "y": 244.99606037139893,\r
103         "z": "6311a927.78727",\r
104         "wires": [\r
105             [\r
106                 "e29f4917.f911e8"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "a76b8924.9422c",\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": 321.47686767578125,\r
117         "y": 228,\r
118         "z": "6311a927.78727",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "485028.3d8fcfd8",\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": 777.972900390625,\r
129         "y": 721.2457275390625,\r
130         "z": "6311a927.78727",\r
131         "wires": [\r
132             [\r
133                 "b7d2be7c.5e3ac8"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "c4646d25.9ab0f",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 861.4732055664062,\r
144         "y": 800.74609375,\r
145         "z": "6311a927.78727",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "b7d2be7c.5e3ac8",\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": 882.5001220703125,\r
156         "y": 912.2864990234375,\r
157         "z": "6311a927.78727",\r
158         "wires": [\r
159             [\r
160                 "6750495a.41286",\r
161                 "abe518b.cefde68",\r
162                 "165db6ae.de2bb9",\r
163                 "fda3acff.66dac8",\r
164                 "188880e9.f084a7"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "6750495a.41286",\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": 1129.0001220703125,\r
175         "y": 805.2864990234375,\r
176         "z": "6311a927.78727",\r
177         "wires": []\r
178     },\r
179     {\r
180         "id": "c8e36f8b.a2bbd8",\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": 735.0002555847168,\r
188         "y": 293.741455078125,\r
189         "z": "6311a927.78727",\r
190         "wires": [\r
191             []\r
192         ]\r
193     },\r
194     {\r
195         "id": "45853653.2d7d8",\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": 544.9688835144043,\r
202         "y": 679.7416372299194,\r
203         "z": "6311a927.78727",\r
204         "wires": [\r
205             [\r
206                 "485028.3d8fcfd8",\r
207                 "7882cf69.81bba",\r
208                 "f346bebe.50149"\r
209             ]\r
210         ]\r
211     },\r
212     {\r
213         "id": "9f64f3d6.06a948",\r
214         "type": "break",\r
215         "name": "break",\r
216         "xml": "<break>\n",\r
217         "comments": "",\r
218         "x": 2296.4998779296875,\r
219         "y": 1238,\r
220         "z": "6311a927.78727",\r
221         "wires": []\r
222     },\r
223     {\r
224         "id": "188880e9.f084a7",\r
225         "type": "block",\r
226         "name": "block : atomic",\r
227         "xml": "<block atomic=\"true\">",\r
228         "atomic": "true",\r
229         "outputs": 1,\r
230         "x": 1095.5001220703125,\r
231         "y": 994,\r
232         "z": "6311a927.78727",\r
233         "wires": [\r
234             [\r
235                 "d9b8b0f0.11df08",\r
236                 "16b2f778.e973e1"\r
237             ]\r
238         ]\r
239     },\r
240     {\r
241         "id": "6f8fa296.cf0b14",\r
242         "type": "success",\r
243         "name": "success",\r
244         "xml": "<outcome value='success'>\n",\r
245         "comments": "",\r
246         "outputs": 1,\r
247         "x": 2620.9998779296875,\r
248         "y": 729,\r
249         "z": "6311a927.78727",\r
250         "wires": [\r
251             [\r
252                 "53738595.29239c"\r
253             ]\r
254         ]\r
255     },\r
256     {\r
257         "id": "dfb73ef2.d6e5",\r
258         "type": "not-found",\r
259         "name": "not-found",\r
260         "xml": "<outcome value='not-found'>\n",\r
261         "comments": "",\r
262         "outputs": 1,\r
263         "x": 2654,\r
264         "y": 787,\r
265         "z": "6311a927.78727",\r
266         "wires": [\r
267             [\r
268                 "3b0779f0.32a56e"\r
269             ]\r
270         ]\r
271     },\r
272     {\r
273         "id": "a2313ee1.1bd3f8",\r
274         "type": "other",\r
275         "name": "other",\r
276         "xml": "<outcome value='Other'>\n",\r
277         "comments": "",\r
278         "outputs": 1,\r
279         "x": 2657,\r
280         "y": 839,\r
281         "z": "6311a927.78727",\r
282         "wires": [\r
283             [\r
284                 "28c1fd94.c84d7a"\r
285             ]\r
286         ]\r
287     },\r
288     {\r
289         "id": "3b0779f0.32a56e",\r
290         "type": "returnFailure",\r
291         "name": "return failure",\r
292         "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
293         "comments": "",\r
294         "x": 2839,\r
295         "y": 791,\r
296         "z": "6311a927.78727",\r
297         "wires": []\r
298     },\r
299     {\r
300         "id": "28c1fd94.c84d7a",\r
301         "type": "returnFailure",\r
302         "name": "return failure",\r
303         "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
304         "comments": "",\r
305         "x": 2827,\r
306         "y": 842,\r
307         "z": "6311a927.78727",\r
308         "wires": []\r
309     },\r
310     {\r
311         "id": "e56a35d6.459af8",\r
312         "type": "set",\r
313         "name": "set domain A node ttp-id",\r
314         "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
315         "comments": "",\r
316         "x": 3957.4998779296875,\r
317         "y": 644,\r
318         "z": "6311a927.78727",\r
319         "wires": []\r
320     },\r
321     {\r
322         "id": "a811b593.25ff8",\r
323         "type": "get-resource",\r
324         "name": "get-resource src TTP",\r
325         "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
326         "comments": "",\r
327         "outputs": 1,\r
328         "x": 3965.4998779296875,\r
329         "y": 696,\r
330         "z": "6311a927.78727",\r
331         "wires": [\r
332             [\r
333                 "d6328bc3.e91228"\r
334             ]\r
335         ]\r
336     },\r
337     {\r
338         "id": "d6328bc3.e91228",\r
339         "type": "success",\r
340         "name": "success",\r
341         "xml": "<outcome value='success'>\n",\r
342         "comments": "",\r
343         "outputs": 1,\r
344         "x": 4171.9998779296875,\r
345         "y": 674,\r
346         "z": "6311a927.78727",\r
347         "wires": [\r
348             [\r
349                 "fcc7de43.1b588"\r
350             ]\r
351         ]\r
352     },\r
353     {\r
354         "id": "f5150efc.cab85",\r
355         "type": "outcome",\r
356         "name": "tunnel-termination-point",\r
357         "xml": "<outcome value='tunnel-termination-point'>\n",\r
358         "comments": "",\r
359         "outputs": 1,\r
360         "x": 3509.6683349609375,\r
361         "y": 722.4815063476562,\r
362         "z": "6311a927.78727",\r
363         "wires": [\r
364             [\r
365                 "912955c2.11e7a"\r
366             ]\r
367         ]\r
368     },\r
369     {\r
370         "id": "fd862c08.f8b4a",\r
371         "type": "for",\r
372         "name": "for each relationship",\r
373         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
374         "comments": "",\r
375         "outputs": 1,\r
376         "x": 2972.3826904296875,\r
377         "y": 724.6597290039062,\r
378         "z": "6311a927.78727",\r
379         "wires": [\r
380             [\r
381                 "8c595bd0.378e98"\r
382             ]\r
383         ]\r
384     },\r
385     {\r
386         "id": "8c595bd0.378e98",\r
387         "type": "switchNode",\r
388         "name": "switch related-to",\r
389         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
390         "comments": "",\r
391         "outputs": 1,\r
392         "x": 3224.3826904296875,\r
393         "y": 721.6597290039062,\r
394         "z": "6311a927.78727",\r
395         "wires": [\r
396             [\r
397                 "f5150efc.cab85"\r
398             ]\r
399         ]\r
400     },\r
401     {\r
402         "id": "912955c2.11e7a",\r
403         "type": "block",\r
404         "name": "block : atomic",\r
405         "xml": "<block atomic=\"true\">",\r
406         "atomic": "true",\r
407         "outputs": 1,\r
408         "x": 3736.4998779296875,\r
409         "y": 711,\r
410         "z": "6311a927.78727",\r
411         "wires": [\r
412             [\r
413                 "e56a35d6.459af8",\r
414                 "a811b593.25ff8",\r
415                 "2abf934.785ecec",\r
416                 "bc51fa32.9144b",\r
417                 "4ad035fb.c384cc"\r
418             ]\r
419         ]\r
420     },\r
421     {\r
422         "id": "d9b8b0f0.11df08",\r
423         "type": "get-resource",\r
424         "name": "get-resource dst tp",\r
425         "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
426         "comments": "",\r
427         "outputs": 1,\r
428         "x": 2377.5,\r
429         "y": 1134,\r
430         "z": "6311a927.78727",\r
431         "wires": [\r
432             [\r
433                 "2a761980.732196",\r
434                 "d9fef4c9.0420c",\r
435                 "6bc11e9d.31baa8"\r
436             ]\r
437         ]\r
438     },\r
439     {\r
440         "id": "2a761980.732196",\r
441         "type": "success",\r
442         "name": "success",\r
443         "xml": "<outcome value='success'>\n",\r
444         "comments": "",\r
445         "outputs": 1,\r
446         "x": 2599.9998779296875,\r
447         "y": 1276,\r
448         "z": "6311a927.78727",\r
449         "wires": [\r
450             [\r
451                 "6a724ed4.0c2ee"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "d9fef4c9.0420c",\r
457         "type": "not-found",\r
458         "name": "not-found",\r
459         "xml": "<outcome value='not-found'>\n",\r
460         "comments": "",\r
461         "outputs": 1,\r
462         "x": 2583.9998779296875,\r
463         "y": 1327,\r
464         "z": "6311a927.78727",\r
465         "wires": [\r
466             [\r
467                 "5b682716.7565c"\r
468             ]\r
469         ]\r
470     },\r
471     {\r
472         "id": "6bc11e9d.31baa8",\r
473         "type": "other",\r
474         "name": "other",\r
475         "xml": "<outcome value='Other'>\n",\r
476         "comments": "",\r
477         "outputs": 1,\r
478         "x": 2586.9998779296875,\r
479         "y": 1379,\r
480         "z": "6311a927.78727",\r
481         "wires": [\r
482             [\r
483                 "f53f8dec.b8eab8"\r
484             ]\r
485         ]\r
486     },\r
487     {\r
488         "id": "f53f8dec.b8eab8",\r
489         "type": "returnFailure",\r
490         "name": "return failure",\r
491         "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
492         "comments": "",\r
493         "x": 2756.9998779296875,\r
494         "y": 1382,\r
495         "z": "6311a927.78727",\r
496         "wires": []\r
497     },\r
498     {\r
499         "id": "5b682716.7565c",\r
500         "type": "returnFailure",\r
501         "name": "return failure",\r
502         "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
503         "comments": "",\r
504         "x": 2768.9998779296875,\r
505         "y": 1331,\r
506         "z": "6311a927.78727",\r
507         "wires": []\r
508     },\r
509     {\r
510         "id": "6b5c01f3.fe6da8",\r
511         "type": "for",\r
512         "name": "for each relationship",\r
513         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
514         "comments": "",\r
515         "outputs": 1,\r
516         "x": 2956.3826904296875,\r
517         "y": 1286.6597290039062,\r
518         "z": "6311a927.78727",\r
519         "wires": [\r
520             [\r
521                 "1a571bfc.aeed5c"\r
522             ]\r
523         ]\r
524     },\r
525     {\r
526         "id": "1a571bfc.aeed5c",\r
527         "type": "switchNode",\r
528         "name": "switch related-to",\r
529         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
530         "comments": "",\r
531         "outputs": 1,\r
532         "x": 3199.3826904296875,\r
533         "y": 1285.6597290039062,\r
534         "z": "6311a927.78727",\r
535         "wires": [\r
536             [\r
537                 "90623cd4.fe0a58"\r
538             ]\r
539         ]\r
540     },\r
541     {\r
542         "id": "aa0b1701.8dfea",\r
543         "type": "block",\r
544         "name": "block : atomic",\r
545         "xml": "<block atomic=\"true\">",\r
546         "atomic": "true",\r
547         "outputs": 1,\r
548         "x": 4965.4998779296875,\r
549         "y": 1087,\r
550         "z": "6311a927.78727",\r
551         "wires": [\r
552             [\r
553                 "550b57d7.8fa528",\r
554                 "74f2c02.a79f64",\r
555                 "f2bb305d.4422b8"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "90623cd4.fe0a58",\r
561         "type": "outcome",\r
562         "name": "tunnel-termination-point",\r
563         "xml": "<outcome value='tunnel-termination-point'>\n",\r
564         "comments": "",\r
565         "outputs": 1,\r
566         "x": 3455.6683349609375,\r
567         "y": 1285.4815063476562,\r
568         "z": "6311a927.78727",\r
569         "wires": [\r
570             [\r
571                 "2cff3582.3d605a"\r
572             ]\r
573         ]\r
574     },\r
575     {\r
576         "id": "66c4a517.3f3fd4",\r
577         "type": "outcome",\r
578         "name": "network-resource",\r
579         "xml": "<outcome value='network-resource'>\n",\r
580         "comments": "",\r
581         "outputs": 1,\r
582         "x": 4752.4998779296875,\r
583         "y": 1086,\r
584         "z": "6311a927.78727",\r
585         "wires": [\r
586             [\r
587                 "aa0b1701.8dfea"\r
588             ]\r
589         ]\r
590     },\r
591     {\r
592         "id": "2cff3582.3d605a",\r
593         "type": "block",\r
594         "name": "block : atomic",\r
595         "xml": "<block atomic=\"true\">",\r
596         "atomic": "true",\r
597         "outputs": 1,\r
598         "x": 3755.4998779296875,\r
599         "y": 1283,\r
600         "z": "6311a927.78727",\r
601         "wires": [\r
602             [\r
603                 "34a1c052.ba37a8",\r
604                 "ce64c552.7245c",\r
605                 "3a5f117c.72df06",\r
606                 "668e003.0972e8",\r
607                 "888129ab.9ea2a8"\r
608             ]\r
609         ]\r
610     },\r
611     {\r
612         "id": "34a1c052.ba37a8",\r
613         "type": "set",\r
614         "name": "set domain B node ttp-id",\r
615         "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
616         "comments": "",\r
617         "x": 3997.4998779296875,\r
618         "y": 1237,\r
619         "z": "6311a927.78727",\r
620         "wires": []\r
621     },\r
622     {\r
623         "id": "ce64c552.7245c",\r
624         "type": "get-resource",\r
625         "name": "get-resource dst TTP",\r
626         "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
627         "comments": "",\r
628         "outputs": 1,\r
629         "x": 3987.4998779296875,\r
630         "y": 1288,\r
631         "z": "6311a927.78727",\r
632         "wires": [\r
633             [\r
634                 "c6558909.ba61"\r
635             ]\r
636         ]\r
637     },\r
638     {\r
639         "id": "c6558909.ba61",\r
640         "type": "success",\r
641         "name": "success",\r
642         "xml": "<outcome value='success'>\n",\r
643         "comments": "",\r
644         "outputs": 1,\r
645         "x": 4174.9998779296875,\r
646         "y": 1286,\r
647         "z": "6311a927.78727",\r
648         "wires": [\r
649             [\r
650                 "b166ec42.f7a328"\r
651             ]\r
652         ]\r
653     },\r
654     {\r
655         "id": "550b57d7.8fa528",\r
656         "type": "set",\r
657         "name": "set domain B network-id",\r
658         "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
659         "comments": "",\r
660         "x": 5235.4998779296875,\r
661         "y": 1063,\r
662         "z": "6311a927.78727",\r
663         "wires": []\r
664     },\r
665     {\r
666         "id": "74f2c02.a79f64",\r
667         "type": "get-resource",\r
668         "name": "get-resource dst network-resource",\r
669         "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
670         "comments": "",\r
671         "outputs": 1,\r
672         "x": 5245.4998779296875,\r
673         "y": 1109,\r
674         "z": "6311a927.78727",\r
675         "wires": [\r
676             [\r
677                 "e85530cd.ad8bf8"\r
678             ]\r
679         ]\r
680     },\r
681     {\r
682         "id": "e85530cd.ad8bf8",\r
683         "type": "success",\r
684         "name": "success",\r
685         "xml": "<outcome value='success'>\n",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 5460.9998779296875,\r
689         "y": 1100,\r
690         "z": "6311a927.78727",\r
691         "wires": [\r
692             [\r
693                 "e3266a0a.5cb158"\r
694             ]\r
695         ]\r
696     },\r
697     {\r
698         "id": "e3266a0a.5cb158",\r
699         "type": "set",\r
700         "name": "set domain B network-id, topo-id, client-id, etc",\r
701         "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
702         "comments": "",\r
703         "x": 5715.4998779296875,\r
704         "y": 1106,\r
705         "z": "6311a927.78727",\r
706         "wires": []\r
707     },\r
708     {\r
709         "id": "53738595.29239c",\r
710         "type": "block",\r
711         "name": "block",\r
712         "xml": "<block>\n",\r
713         "atomic": "false",\r
714         "comments": "",\r
715         "outputs": 1,\r
716         "x": 2754.9998779296875,\r
717         "y": 725,\r
718         "z": "6311a927.78727",\r
719         "wires": [\r
720             [\r
721                 "fd862c08.f8b4a"\r
722             ]\r
723         ]\r
724     },\r
725     {\r
726         "id": "6a724ed4.0c2ee",\r
727         "type": "block",\r
728         "name": "block",\r
729         "xml": "<block>\n",\r
730         "atomic": "false",\r
731         "comments": "",\r
732         "outputs": 1,\r
733         "x": 2745.9998779296875,\r
734         "y": 1267,\r
735         "z": "6311a927.78727",\r
736         "wires": [\r
737             [\r
738                 "6b5c01f3.fe6da8"\r
739             ]\r
740         ]\r
741     },\r
742     {\r
743         "id": "fcc7de43.1b588",\r
744         "type": "block",\r
745         "name": "block : atomic",\r
746         "xml": "<block atomic=\"true\">",\r
747         "atomic": "true",\r
748         "outputs": 1,\r
749         "x": 4346.9998779296875,\r
750         "y": 670,\r
751         "z": "6311a927.78727",\r
752         "wires": [\r
753             [\r
754                 "a813a414.4bba4"\r
755             ]\r
756         ]\r
757     },\r
758     {\r
759         "id": "b166ec42.f7a328",\r
760         "type": "block",\r
761         "name": "block : atomic",\r
762         "xml": "<block atomic=\"true\">",\r
763         "atomic": "true",\r
764         "outputs": 1,\r
765         "x": 4363.9998779296875,\r
766         "y": 1275,\r
767         "z": "6311a927.78727",\r
768         "wires": [\r
769             [\r
770                 "6ce614ed.7484ac"\r
771             ]\r
772         ]\r
773     },\r
774     {\r
775         "id": "16b2f778.e973e1",\r
776         "type": "get-resource",\r
777         "name": "get-resource src tp",\r
778         "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
779         "comments": "",\r
780         "outputs": 1,\r
781         "x": 2423.5,\r
782         "y": 768,\r
783         "z": "6311a927.78727",\r
784         "wires": [\r
785             [\r
786                 "6f8fa296.cf0b14",\r
787                 "dfb73ef2.d6e5",\r
788                 "a2313ee1.1bd3f8"\r
789             ]\r
790         ]\r
791     },\r
792     {\r
793         "id": "2abf934.785ecec",\r
794         "type": "get-resource",\r
795         "name": "get-resource src pnf",\r
796         "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
797         "comments": "",\r
798         "outputs": 1,\r
799         "x": 3826.9998779296875,\r
800         "y": 514,\r
801         "z": "6311a927.78727",\r
802         "wires": [\r
803             [\r
804                 "2718cbe0.743744",\r
805                 "c770af9d.e00ad8",\r
806                 "4dc6603f.cfce08"\r
807             ]\r
808         ]\r
809     },\r
810     {\r
811         "id": "2718cbe0.743744",\r
812         "type": "success",\r
813         "name": "success",\r
814         "xml": "<outcome value='success'>\n",\r
815         "comments": "",\r
816         "outputs": 1,\r
817         "x": 4022.5,\r
818         "y": 466,\r
819         "z": "6311a927.78727",\r
820         "wires": [\r
821             [\r
822                 "d9208e7d.606"\r
823             ]\r
824         ]\r
825     },\r
826     {\r
827         "id": "c770af9d.e00ad8",\r
828         "type": "not-found",\r
829         "name": "not-found",\r
830         "xml": "<outcome value='not-found'>\n",\r
831         "comments": "",\r
832         "outputs": 1,\r
833         "x": 4014.5,\r
834         "y": 521,\r
835         "z": "6311a927.78727",\r
836         "wires": [\r
837             [\r
838                 "6bb9b9b7.b2076"\r
839             ]\r
840         ]\r
841     },\r
842     {\r
843         "id": "4dc6603f.cfce08",\r
844         "type": "other",\r
845         "name": "other",\r
846         "xml": "<outcome value='Other'>\n",\r
847         "comments": "",\r
848         "outputs": 1,\r
849         "x": 4019.5,\r
850         "y": 578,\r
851         "z": "6311a927.78727",\r
852         "wires": [\r
853             [\r
854                 "59153395.1608bc"\r
855             ]\r
856         ]\r
857     },\r
858     {\r
859         "id": "59153395.1608bc",\r
860         "type": "returnFailure",\r
861         "name": "return failure",\r
862         "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
863         "comments": "",\r
864         "x": 4171.5,\r
865         "y": 579,\r
866         "z": "6311a927.78727",\r
867         "wires": []\r
868     },\r
869     {\r
870         "id": "6bb9b9b7.b2076",\r
871         "type": "returnFailure",\r
872         "name": "return failure",\r
873         "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
874         "comments": "",\r
875         "x": 4182.5,\r
876         "y": 524,\r
877         "z": "6311a927.78727",\r
878         "wires": []\r
879     },\r
880     {\r
881         "id": "d9208e7d.606",\r
882         "type": "block",\r
883         "name": "block",\r
884         "xml": "<block>\n",\r
885         "atomic": "false",\r
886         "comments": "",\r
887         "outputs": 1,\r
888         "x": 4166.88232421875,\r
889         "y": 463.6556701660156,\r
890         "z": "6311a927.78727",\r
891         "wires": [\r
892             [\r
893                 "55254083.c38b58",\r
894                 "8aa824b7.0c6278"\r
895             ]\r
896         ]\r
897     },\r
898     {\r
899         "id": "55254083.c38b58",\r
900         "type": "set",\r
901         "name": "set domain A node-id and tpn",\r
902         "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
903         "comments": "",\r
904         "x": 4391.9998779296875,\r
905         "y": 419,\r
906         "z": "6311a927.78727",\r
907         "wires": []\r
908     },\r
909     {\r
910         "id": "bc51fa32.9144b",\r
911         "type": "break",\r
912         "name": "break",\r
913         "xml": "<break>\n",\r
914         "comments": "",\r
915         "x": 3913.9998779296875,\r
916         "y": 761,\r
917         "z": "6311a927.78727",\r
918         "wires": []\r
919     },\r
920     {\r
921         "id": "a813a414.4bba4",\r
922         "type": "set",\r
923         "name": "set domain A tunnel tp ip",\r
924         "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
925         "comments": "",\r
926         "x": 4607.9998779296875,\r
927         "y": 667,\r
928         "z": "6311a927.78727",\r
929         "wires": []\r
930     },\r
931     {\r
932         "id": "668e003.0972e8",\r
933         "type": "get-resource",\r
934         "name": "get-resource dst pnf",\r
935         "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
936         "comments": "",\r
937         "outputs": 1,\r
938         "x": 3823.9998779296875,\r
939         "y": 1117,\r
940         "z": "6311a927.78727",\r
941         "wires": [\r
942             [\r
943                 "ba64936b.6e28a",\r
944                 "60671a93.606c04",\r
945                 "68c36f77.2ea158"\r
946             ]\r
947         ]\r
948     },\r
949     {\r
950         "id": "68c36f77.2ea158",\r
951         "type": "success",\r
952         "name": "success",\r
953         "xml": "<outcome value='success'>\n",\r
954         "comments": "",\r
955         "outputs": 1,\r
956         "x": 4019.5,\r
957         "y": 1069,\r
958         "z": "6311a927.78727",\r
959         "wires": [\r
960             [\r
961                 "90c8108b.3d46b8"\r
962             ]\r
963         ]\r
964     },\r
965     {\r
966         "id": "60671a93.606c04",\r
967         "type": "not-found",\r
968         "name": "not-found",\r
969         "xml": "<outcome value='not-found'>\n",\r
970         "comments": "",\r
971         "outputs": 1,\r
972         "x": 4011.5,\r
973         "y": 1124,\r
974         "z": "6311a927.78727",\r
975         "wires": [\r
976             [\r
977                 "694c4d07.5571c4"\r
978             ]\r
979         ]\r
980     },\r
981     {\r
982         "id": "ba64936b.6e28a",\r
983         "type": "other",\r
984         "name": "other",\r
985         "xml": "<outcome value='Other'>\n",\r
986         "comments": "",\r
987         "outputs": 1,\r
988         "x": 4016.5,\r
989         "y": 1181,\r
990         "z": "6311a927.78727",\r
991         "wires": [\r
992             [\r
993                 "8a4ef9a5.3b77b8"\r
994             ]\r
995         ]\r
996     },\r
997     {\r
998         "id": "90c8108b.3d46b8",\r
999         "type": "block",\r
1000         "name": "block",\r
1001         "xml": "<block>\n",\r
1002         "atomic": "false",\r
1003         "comments": "",\r
1004         "outputs": 1,\r
1005         "x": 4163.88232421875,\r
1006         "y": 1066.6556701660156,\r
1007         "z": "6311a927.78727",\r
1008         "wires": [\r
1009             [\r
1010                 "925c2765.45f7c",\r
1011                 "a7906754.f0e008"\r
1012             ]\r
1013         ]\r
1014     },\r
1015     {\r
1016         "id": "694c4d07.5571c4",\r
1017         "type": "returnFailure",\r
1018         "name": "return failure",\r
1019         "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
1020         "comments": "",\r
1021         "x": 4179.5,\r
1022         "y": 1127,\r
1023         "z": "6311a927.78727",\r
1024         "wires": []\r
1025     },\r
1026     {\r
1027         "id": "8a4ef9a5.3b77b8",\r
1028         "type": "returnFailure",\r
1029         "name": "return failure",\r
1030         "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
1031         "comments": "",\r
1032         "x": 4168.5,\r
1033         "y": 1182,\r
1034         "z": "6311a927.78727",\r
1035         "wires": []\r
1036     },\r
1037     {\r
1038         "id": "925c2765.45f7c",\r
1039         "type": "set",\r
1040         "name": "set domain B node-id and tpn",\r
1041         "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
1042         "comments": "",\r
1043         "x": 4372.9998779296875,\r
1044         "y": 1034,\r
1045         "z": "6311a927.78727",\r
1046         "wires": []\r
1047     },\r
1048     {\r
1049         "id": "3a5f117c.72df06",\r
1050         "type": "break",\r
1051         "name": "break",\r
1052         "xml": "<break>\n",\r
1053         "comments": "",\r
1054         "x": 3942.9998779296875,\r
1055         "y": 1329,\r
1056         "z": "6311a927.78727",\r
1057         "wires": []\r
1058     },\r
1059     {\r
1060         "id": "6ce614ed.7484ac",\r
1061         "type": "set",\r
1062         "name": "set domain B tunnel tp id",\r
1063         "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
1064         "comments": "",\r
1065         "x": 4596.9998779296875,\r
1066         "y": 1274,\r
1067         "z": "6311a927.78727",\r
1068         "wires": []\r
1069     },\r
1070     {\r
1071         "id": "73216d1e.d409d4",\r
1072         "type": "outcome",\r
1073         "name": "network-resource",\r
1074         "xml": "<outcome value='network-resource'>\n",\r
1075         "comments": "",\r
1076         "outputs": 1,\r
1077         "x": 4748.9998779296875,\r
1078         "y": 482,\r
1079         "z": "6311a927.78727",\r
1080         "wires": [\r
1081             [\r
1082                 "8e56eb89.dcf8d"\r
1083             ]\r
1084         ]\r
1085     },\r
1086     {\r
1087         "id": "8e56eb89.dcf8d",\r
1088         "type": "block",\r
1089         "name": "block : atomic",\r
1090         "xml": "<block atomic=\"true\">",\r
1091         "atomic": "true",\r
1092         "outputs": 1,\r
1093         "x": 4925.9998779296875,\r
1094         "y": 474,\r
1095         "z": "6311a927.78727",\r
1096         "wires": [\r
1097             [\r
1098                 "8a97b17a.8e6468",\r
1099                 "4190236a.ccd374",\r
1100                 "2d2f03c2.a9effc"\r
1101             ]\r
1102         ]\r
1103     },\r
1104     {\r
1105         "id": "8a97b17a.8e6468",\r
1106         "type": "set",\r
1107         "name": "set domain A network-id",\r
1108         "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
1109         "comments": "",\r
1110         "x": 5140.9998779296875,\r
1111         "y": 455,\r
1112         "z": "6311a927.78727",\r
1113         "wires": []\r
1114     },\r
1115     {\r
1116         "id": "4190236a.ccd374",\r
1117         "type": "get-resource",\r
1118         "name": "get-resource src network-resource",\r
1119         "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
1120         "comments": "",\r
1121         "outputs": 1,\r
1122         "x": 5157.9998779296875,\r
1123         "y": 519,\r
1124         "z": "6311a927.78727",\r
1125         "wires": [\r
1126             [\r
1127                 "84a43718.34957"\r
1128             ]\r
1129         ]\r
1130     },\r
1131     {\r
1132         "id": "84a43718.34957",\r
1133         "type": "success",\r
1134         "name": "success",\r
1135         "xml": "<outcome value='success'>\n",\r
1136         "comments": "",\r
1137         "outputs": 1,\r
1138         "x": 5381.4998779296875,\r
1139         "y": 520,\r
1140         "z": "6311a927.78727",\r
1141         "wires": [\r
1142             [\r
1143                 "95ce66c5.711c6"\r
1144             ]\r
1145         ]\r
1146     },\r
1147     {\r
1148         "id": "95ce66c5.711c6",\r
1149         "type": "set",\r
1150         "name": "set domain A network-id, topo-id, client-id, etc",\r
1151         "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
1152         "comments": "",\r
1153         "x": 5645.9998779296875,\r
1154         "y": 509,\r
1155         "z": "6311a927.78727",\r
1156         "wires": []\r
1157     },\r
1158     {\r
1159         "id": "8aa824b7.0c6278",\r
1160         "type": "for",\r
1161         "name": "for each relationship",\r
1162         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
1163         "comments": "",\r
1164         "outputs": 1,\r
1165         "x": 4350.9998779296875,\r
1166         "y": 478,\r
1167         "z": "6311a927.78727",\r
1168         "wires": [\r
1169             [\r
1170                 "5a4b07ac.8d3028"\r
1171             ]\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "5a4b07ac.8d3028",\r
1176         "type": "switchNode",\r
1177         "name": "switch related-to",\r
1178         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
1179         "comments": "",\r
1180         "outputs": 1,\r
1181         "x": 4545.9998779296875,\r
1182         "y": 478,\r
1183         "z": "6311a927.78727",\r
1184         "wires": [\r
1185             [\r
1186                 "73216d1e.d409d4"\r
1187             ]\r
1188         ]\r
1189     },\r
1190     {\r
1191         "id": "2d2f03c2.a9effc",\r
1192         "type": "break",\r
1193         "name": "break",\r
1194         "xml": "<break>\n",\r
1195         "comments": "",\r
1196         "x": 5084.9998779296875,\r
1197         "y": 572,\r
1198         "z": "6311a927.78727",\r
1199         "wires": []\r
1200     },\r
1201     {\r
1202         "id": "a7906754.f0e008",\r
1203         "type": "for",\r
1204         "name": "for each relationship",\r
1205         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1206         "comments": "",\r
1207         "outputs": 1,\r
1208         "x": 4351.9998779296875,\r
1209         "y": 1085,\r
1210         "z": "6311a927.78727",\r
1211         "wires": [\r
1212             [\r
1213                 "6641c07e.096d18"\r
1214             ]\r
1215         ]\r
1216     },\r
1217     {\r
1218         "id": "6641c07e.096d18",\r
1219         "type": "switchNode",\r
1220         "name": "switch related-to",\r
1221         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
1222         "comments": "",\r
1223         "outputs": 1,\r
1224         "x": 4546.9998779296875,\r
1225         "y": 1085,\r
1226         "z": "6311a927.78727",\r
1227         "wires": [\r
1228             [\r
1229                 "66c4a517.3f3fd4"\r
1230             ]\r
1231         ]\r
1232     },\r
1233     {\r
1234         "id": "f2bb305d.4422b8",\r
1235         "type": "break",\r
1236         "name": "break",\r
1237         "xml": "<break>\n",\r
1238         "comments": "",\r
1239         "x": 5170.9998779296875,\r
1240         "y": 1165,\r
1241         "z": "6311a927.78727",\r
1242         "wires": []\r
1243     },\r
1244     {\r
1245         "id": "4ad035fb.c384cc",\r
1246         "type": "execute",\r
1247         "name": "execute split tp-id to get pnf-name",\r
1248         "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
1249         "comments": "",\r
1250         "outputs": 1,\r
1251         "x": 3854.9998779296875,\r
1252         "y": 308,\r
1253         "z": "6311a927.78727",\r
1254         "wires": [\r
1255             [\r
1256                 "5bd2f425.157014",\r
1257                 "a6025f31.cc3d4"\r
1258             ]\r
1259         ]\r
1260     },\r
1261     {\r
1262         "id": "a6025f31.cc3d4",\r
1263         "type": "failure",\r
1264         "name": "success",\r
1265         "xml": "<outcome value='success'>\n",\r
1266         "comments": "",\r
1267         "outputs": 1,\r
1268         "x": 4075.9998779296875,\r
1269         "y": 276,\r
1270         "z": "6311a927.78727",\r
1271         "wires": [\r
1272             [\r
1273                 "61178ee6.46287"\r
1274             ]\r
1275         ]\r
1276     },\r
1277     {\r
1278         "id": "5bd2f425.157014",\r
1279         "type": "failure",\r
1280         "name": "failure",\r
1281         "xml": "<outcome value='failure'>\n",\r
1282         "comments": "",\r
1283         "outputs": 1,\r
1284         "x": 4075.9998779296875,\r
1285         "y": 323,\r
1286         "z": "6311a927.78727",\r
1287         "wires": [\r
1288             [\r
1289                 "3bd5270a.9b3388"\r
1290             ]\r
1291         ]\r
1292     },\r
1293     {\r
1294         "id": "61178ee6.46287",\r
1295         "type": "block",\r
1296         "name": "block : atomic",\r
1297         "xml": "<block atomic=\"true\">",\r
1298         "atomic": "true",\r
1299         "outputs": 1,\r
1300         "x": 4240.9998779296875,\r
1301         "y": 273,\r
1302         "z": "6311a927.78727",\r
1303         "wires": [\r
1304             [\r
1305                 "30bc001a.081c6"\r
1306             ]\r
1307         ]\r
1308     },\r
1309     {\r
1310         "id": "30bc001a.081c6",\r
1311         "type": "set",\r
1312         "name": "set domain-A.ltpId",\r
1313         "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
1314         "comments": "",\r
1315         "x": 4422.9998779296875,\r
1316         "y": 277,\r
1317         "z": "6311a927.78727",\r
1318         "wires": []\r
1319     },\r
1320     {\r
1321         "id": "3bd5270a.9b3388",\r
1322         "type": "returnFailure",\r
1323         "name": "return failure",\r
1324         "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
1325         "comments": "",\r
1326         "x": 4242.9998779296875,\r
1327         "y": 323,\r
1328         "z": "6311a927.78727",\r
1329         "wires": []\r
1330     },\r
1331     {\r
1332         "id": "888129ab.9ea2a8",\r
1333         "type": "execute",\r
1334         "name": "execute split tp-id to get pnf-name",\r
1335         "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
1336         "comments": "",\r
1337         "outputs": 1,\r
1338         "x": 3862.9998779296875,\r
1339         "y": 932,\r
1340         "z": "6311a927.78727",\r
1341         "wires": [\r
1342             [\r
1343                 "f5b036b5.9d3fe",\r
1344                 "c8627fdc.4ca238"\r
1345             ]\r
1346         ]\r
1347     },\r
1348     {\r
1349         "id": "c8627fdc.4ca238",\r
1350         "type": "failure",\r
1351         "name": "success",\r
1352         "xml": "<outcome value='success'>\n",\r
1353         "comments": "",\r
1354         "outputs": 1,\r
1355         "x": 4083.9998779296875,\r
1356         "y": 900,\r
1357         "z": "6311a927.78727",\r
1358         "wires": [\r
1359             [\r
1360                 "5d59aabb.f55db4"\r
1361             ]\r
1362         ]\r
1363     },\r
1364     {\r
1365         "id": "f5b036b5.9d3fe",\r
1366         "type": "failure",\r
1367         "name": "failure",\r
1368         "xml": "<outcome value='failure'>\n",\r
1369         "comments": "",\r
1370         "outputs": 1,\r
1371         "x": 4083.9998779296875,\r
1372         "y": 947,\r
1373         "z": "6311a927.78727",\r
1374         "wires": [\r
1375             [\r
1376                 "8fc5e8a.5216b18"\r
1377             ]\r
1378         ]\r
1379     },\r
1380     {\r
1381         "id": "5d59aabb.f55db4",\r
1382         "type": "block",\r
1383         "name": "block : atomic",\r
1384         "xml": "<block atomic=\"true\">",\r
1385         "atomic": "true",\r
1386         "outputs": 1,\r
1387         "x": 4248.9998779296875,\r
1388         "y": 897,\r
1389         "z": "6311a927.78727",\r
1390         "wires": [\r
1391             [\r
1392                 "c8487895.7a94"\r
1393             ]\r
1394         ]\r
1395     },\r
1396     {\r
1397         "id": "c8487895.7a94",\r
1398         "type": "set",\r
1399         "name": "set domain-B.ltpId",\r
1400         "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
1401         "comments": "",\r
1402         "x": 4444.9998779296875,\r
1403         "y": 894,\r
1404         "z": "6311a927.78727",\r
1405         "wires": []\r
1406     },\r
1407     {\r
1408         "id": "8fc5e8a.5216b18",\r
1409         "type": "returnFailure",\r
1410         "name": "return failure",\r
1411         "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
1412         "comments": "",\r
1413         "x": 4250.9998779296875,\r
1414         "y": 947,\r
1415         "z": "6311a927.78727",\r
1416         "wires": []\r
1417     },\r
1418     {\r
1419         "id": "abe518b.cefde68",\r
1420         "type": "set",\r
1421         "name": "unset parameters",\r
1422         "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
1423         "comments": "",\r
1424         "x": 1120,\r
1425         "y": 734,\r
1426         "z": "6311a927.78727",\r
1427         "wires": []\r
1428     },\r
1429     {\r
1430         "id": "cf555e48.aeaaa8",\r
1431         "type": "comment",\r
1432         "name": "Not useful anymore",\r
1433         "info": "this domain-A.ltpId is not used anymore",\r
1434         "comments": "",\r
1435         "x": 4465.9998779296875,\r
1436         "y": 253,\r
1437         "z": "6311a927.78727",\r
1438         "wires": []\r
1439     },\r
1440     {\r
1441         "id": "29edf5a1.e0b48a",\r
1442         "type": "comment",\r
1443         "name": "Not useful anymore",\r
1444         "info": "this domain-B.ltpId is not used anymore",\r
1445         "comments": "",\r
1446         "x": 4487.9998779296875,\r
1447         "y": 866,\r
1448         "z": "6311a927.78727",\r
1449         "wires": []\r
1450     },\r
1451     {\r
1452         "id": "7882cf69.81bba",\r
1453         "type": "set",\r
1454         "name": "unset parameters",\r
1455         "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",\r
1456         "comments": "",\r
1457         "x": 761,\r
1458         "y": 662,\r
1459         "z": "6311a927.78727",\r
1460         "wires": []\r
1461     },\r
1462     {\r
1463         "id": "1e669820.d1af2",\r
1464         "type": "comment",\r
1465         "name": "May not be necessary",\r
1466         "info": "",\r
1467         "comments": "",\r
1468         "x": 772,\r
1469         "y": 615,\r
1470         "z": "6311a927.78727",\r
1471         "wires": []\r
1472     },\r
1473     {\r
1474         "id": "f346bebe.50149",\r
1475         "type": "block",\r
1476         "name": "block : atomic",\r
1477         "xml": "<block atomic='true'>",\r
1478         "atomic": "true",\r
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 752,\r
1482         "y": 412,\r
1483         "z": "6311a927.78727",\r
1484         "wires": [\r
1485             [\r
1486                 "bf6f0512.491f98",\r
1487                 "50fbaa58.2b30a4",\r
1488                 "9c16d091.cb39f8",\r
1489                 "67b4d462.48c1b4",\r
1490                 "47a588a1.c73f2",\r
1491                 "7663f303.03da94",\r
1492                 "9122c7e9.cadbc8",\r
1493                 "45b9551b.0a437c",\r
1494                 "3cc2e9be.dc0176",\r
1495                 "5092ace7.ae1144",\r
1496                 "652147e8.77864"\r
1497             ]\r
1498         ]\r
1499     },\r
1500     {\r
1501         "id": "bf6f0512.491f98",\r
1502         "type": "execute",\r
1503         "name": "execute PCE in ccsdk/sli/core",\r
1504         "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",\r
1505         "comments": "",\r
1506         "outputs": 1,\r
1507         "x": 1026,\r
1508         "y": 632,\r
1509         "z": "6311a927.78727",\r
1510         "wires": [\r
1511             [\r
1512                 "278e4eda.dd1afa",\r
1513                 "95a448d5.61bae",\r
1514                 "396c6fcc.348ef"\r
1515             ]\r
1516         ]\r
1517     },\r
1518     {\r
1519         "id": "50fbaa58.2b30a4",\r
1520         "type": "record",\r
1521         "name": "record tmp.pce-src and dst node",\r
1522         "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",\r
1523         "comments": "",\r
1524         "outputs": 1,\r
1525         "x": 1003,\r
1526         "y": 449,\r
1527         "z": "6311a927.78727",\r
1528         "wires": [\r
1529             []\r
1530         ]\r
1531     },\r
1532     {\r
1533         "id": "278e4eda.dd1afa",\r
1534         "type": "other",\r
1535         "name": "other",\r
1536         "xml": "<outcome value='Other'>\n",\r
1537         "comments": "",\r
1538         "outputs": 1,\r
1539         "x": 1271,\r
1540         "y": 664,\r
1541         "z": "6311a927.78727",\r
1542         "wires": [\r
1543             []\r
1544         ]\r
1545     },\r
1546     {\r
1547         "id": "95a448d5.61bae",\r
1548         "type": "not-found",\r
1549         "name": "not-found",\r
1550         "xml": "<outcome value='not-found'>\n",\r
1551         "comments": "",\r
1552         "outputs": 1,\r
1553         "x": 1278,\r
1554         "y": 706,\r
1555         "z": "6311a927.78727",\r
1556         "wires": [\r
1557             []\r
1558         ]\r
1559     },\r
1560     {\r
1561         "id": "396c6fcc.348ef",\r
1562         "type": "success",\r
1563         "name": "success",\r
1564         "xml": "<outcome value='success'>\n",\r
1565         "comments": "",\r
1566         "outputs": 1,\r
1567         "x": 1273,\r
1568         "y": 627,\r
1569         "z": "6311a927.78727",\r
1570         "wires": [\r
1571             []\r
1572         ]\r
1573     },\r
1574     {\r
1575         "id": "9c16d091.cb39f8",\r
1576         "type": "set",\r
1577         "name": "set tmp.pce-src-node",\r
1578         "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
1579         "comments": "",\r
1580         "x": 971,\r
1581         "y": 357,\r
1582         "z": "6311a927.78727",\r
1583         "wires": []\r
1584     },\r
1585     {\r
1586         "id": "67b4d462.48c1b4",\r
1587         "type": "set",\r
1588         "name": "set tmp.pce-dst-node",\r
1589         "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
1590         "comments": "",\r
1591         "x": 971,\r
1592         "y": 403,\r
1593         "z": "6311a927.78727",\r
1594         "wires": []\r
1595     },\r
1596     {\r
1597         "id": "165db6ae.de2bb9",\r
1598         "type": "set",\r
1599         "name": "set src-ltpId",\r
1600         "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
1601         "comments": "",\r
1602         "x": 1102,\r
1603         "y": 865,\r
1604         "z": "6311a927.78727",\r
1605         "wires": []\r
1606     },\r
1607     {\r
1608         "id": "fda3acff.66dac8",\r
1609         "type": "set",\r
1610         "name": "set dst-ltpId",\r
1611         "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
1612         "comments": "",\r
1613         "x": 1103,\r
1614         "y": 915,\r
1615         "z": "6311a927.78727",\r
1616         "wires": []\r
1617     },\r
1618     {\r
1619         "id": "47a588a1.c73f2",\r
1620         "type": "get-resource",\r
1621         "name": "get-resource network-resources-list",\r
1622         "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
1623         "comments": "",\r
1624         "outputs": 1,\r
1625         "x": 1023,\r
1626         "y": 102,\r
1627         "z": "6311a927.78727",\r
1628         "wires": [\r
1629             [\r
1630                 "a6aa209b.6892d",\r
1631                 "487dbe5b.696ae8",\r
1632                 "81fa26f.09db858"\r
1633             ]\r
1634         ]\r
1635     },\r
1636     {\r
1637         "id": "487dbe5b.696ae8",\r
1638         "type": "other",\r
1639         "name": "other",\r
1640         "xml": "<outcome value='Other'>\n",\r
1641         "comments": "",\r
1642         "outputs": 1,\r
1643         "x": 1256,\r
1644         "y": 126,\r
1645         "z": "6311a927.78727",\r
1646         "wires": [\r
1647             []\r
1648         ]\r
1649     },\r
1650     {\r
1651         "id": "81fa26f.09db858",\r
1652         "type": "not-found",\r
1653         "name": "not-found",\r
1654         "xml": "<outcome value='not-found'>\n",\r
1655         "comments": "",\r
1656         "outputs": 1,\r
1657         "x": 1270,\r
1658         "y": 166,\r
1659         "z": "6311a927.78727",\r
1660         "wires": [\r
1661             []\r
1662         ]\r
1663     },\r
1664     {\r
1665         "id": "a6aa209b.6892d",\r
1666         "type": "success",\r
1667         "name": "success",\r
1668         "xml": "<outcome value='success'>\n",\r
1669         "comments": "",\r
1670         "outputs": 1,\r
1671         "x": 1259,\r
1672         "y": 85,\r
1673         "z": "6311a927.78727",\r
1674         "wires": [\r
1675             []\r
1676         ]\r
1677     },\r
1678     {\r
1679         "id": "7663f303.03da94",\r
1680         "type": "for",\r
1681         "name": "for netwidx..allNetworksList_length",\r
1682         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
1683         "comments": "",\r
1684         "outputs": 1,\r
1685         "x": 1015,\r
1686         "y": 148,\r
1687         "z": "6311a927.78727",\r
1688         "wires": [\r
1689             [\r
1690                 "27c5b08b.38fb5"\r
1691             ]\r
1692         ]\r
1693     },\r
1694     {\r
1695         "id": "27c5b08b.38fb5",\r
1696         "type": "switchNode",\r
1697         "name": "switch provider-id domainA",\r
1698         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
1699         "comments": "",\r
1700         "outputs": 1,\r
1701         "x": 1336,\r
1702         "y": 224,\r
1703         "z": "6311a927.78727",\r
1704         "wires": [\r
1705             [\r
1706                 "22cbcd57.e91ce2",\r
1707                 "119bae13.8994fa"\r
1708             ]\r
1709         ]\r
1710     },\r
1711     {\r
1712         "id": "22cbcd57.e91ce2",\r
1713         "type": "outcomeTrue",\r
1714         "name": "true",\r
1715         "xml": "<outcome value='true'>\n",\r
1716         "comments": "",\r
1717         "outputs": 1,\r
1718         "x": 1563,\r
1719         "y": 225,\r
1720         "z": "6311a927.78727",\r
1721         "wires": [\r
1722             [\r
1723                 "1f8d2ed3.4f6c09"\r
1724             ]\r
1725         ]\r
1726     },\r
1727     {\r
1728         "id": "1f8d2ed3.4f6c09",\r
1729         "type": "switchNode",\r
1730         "name": "switch te-topo-id",\r
1731         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
1732         "comments": "",\r
1733         "outputs": 1,\r
1734         "x": 1776,\r
1735         "y": 225,\r
1736         "z": "6311a927.78727",\r
1737         "wires": [\r
1738             [\r
1739                 "cfa8e423.6dd988"\r
1740             ]\r
1741         ]\r
1742     },\r
1743     {\r
1744         "id": "cfa8e423.6dd988",\r
1745         "type": "outcomeTrue",\r
1746         "name": "true",\r
1747         "xml": "<outcome value='true'>\n",\r
1748         "comments": "",\r
1749         "outputs": 1,\r
1750         "x": 1941,\r
1751         "y": 225,\r
1752         "z": "6311a927.78727",\r
1753         "wires": [\r
1754             [\r
1755                 "3bd110a6.a8ba8"\r
1756             ]\r
1757         ]\r
1758     },\r
1759     {\r
1760         "id": "3bd110a6.a8ba8",\r
1761         "type": "set",\r
1762         "name": "set otnTopoIdSrc",\r
1763         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1764         "comments": "",\r
1765         "x": 2110,\r
1766         "y": 225,\r
1767         "z": "6311a927.78727",\r
1768         "wires": []\r
1769     },\r
1770     {\r
1771         "id": "119bae13.8994fa",\r
1772         "type": "outcomeFalse",\r
1773         "name": "false",\r
1774         "xml": "<outcome value='false'>\n",\r
1775         "comments": "",\r
1776         "outputs": 1,\r
1777         "x": 1563,\r
1778         "y": 278,\r
1779         "z": "6311a927.78727",\r
1780         "wires": [\r
1781             [\r
1782                 "4e665bce.dd8f3c"\r
1783             ]\r
1784         ]\r
1785     },\r
1786     {\r
1787         "id": "4e665bce.dd8f3c",\r
1788         "type": "switchNode",\r
1789         "name": "switch provider-id domainB",\r
1790         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
1791         "comments": "",\r
1792         "outputs": 1,\r
1793         "x": 1751,\r
1794         "y": 278,\r
1795         "z": "6311a927.78727",\r
1796         "wires": [\r
1797             [\r
1798                 "5471d1aa.c2b568"\r
1799             ]\r
1800         ]\r
1801     },\r
1802     {\r
1803         "id": "5471d1aa.c2b568",\r
1804         "type": "outcomeTrue",\r
1805         "name": "true",\r
1806         "xml": "<outcome value='true'>\n",\r
1807         "comments": "",\r
1808         "outputs": 1,\r
1809         "x": 1941,\r
1810         "y": 278,\r
1811         "z": "6311a927.78727",\r
1812         "wires": [\r
1813             [\r
1814                 "aa5bb707.4bb48"\r
1815             ]\r
1816         ]\r
1817     },\r
1818     {\r
1819         "id": "aa5bb707.4bb48",\r
1820         "type": "switchNode",\r
1821         "name": "switch te-topo-id",\r
1822         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
1823         "comments": "",\r
1824         "outputs": 1,\r
1825         "x": 2109,\r
1826         "y": 278,\r
1827         "z": "6311a927.78727",\r
1828         "wires": [\r
1829             [\r
1830                 "3a63aeee.a8bb3a"\r
1831             ]\r
1832         ]\r
1833     },\r
1834     {\r
1835         "id": "3a63aeee.a8bb3a",\r
1836         "type": "outcomeTrue",\r
1837         "name": "true",\r
1838         "xml": "<outcome value='true'>\n",\r
1839         "comments": "",\r
1840         "outputs": 1,\r
1841         "x": 2265,\r
1842         "y": 278,\r
1843         "z": "6311a927.78727",\r
1844         "wires": [\r
1845             [\r
1846                 "1438c95.a2947b7"\r
1847             ]\r
1848         ]\r
1849     },\r
1850     {\r
1851         "id": "1438c95.a2947b7",\r
1852         "type": "set",\r
1853         "name": "set otnTopoIdDst",\r
1854         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1855         "comments": "",\r
1856         "x": 2424,\r
1857         "y": 278,\r
1858         "z": "6311a927.78727",\r
1859         "wires": []\r
1860     },\r
1861     {\r
1862         "id": "9122c7e9.cadbc8",\r
1863         "type": "set",\r
1864         "name": "unset parameters",\r
1865         "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
1866         "comments": "",\r
1867         "x": 964,\r
1868         "y": 304,\r
1869         "z": "6311a927.78727",\r
1870         "wires": []\r
1871     },\r
1872     {\r
1873         "id": "45b9551b.0a437c",\r
1874         "type": "set",\r
1875         "name": "unset parameters",\r
1876         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
1877         "comments": "",\r
1878         "x": 968,\r
1879         "y": 219,\r
1880         "z": "6311a927.78727",\r
1881         "wires": []\r
1882     },\r
1883     {\r
1884         "id": "3cc2e9be.dc0176",\r
1885         "type": "set",\r
1886         "name": "unset parameters",\r
1887         "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
1888         "comments": "",\r
1889         "x": 966,\r
1890         "y": 261,\r
1891         "z": "6311a927.78727",\r
1892         "wires": []\r
1893     },\r
1894     {\r
1895         "id": "5092ace7.ae1144",\r
1896         "type": "record",\r
1897         "name": "record otn-oof.",\r
1898         "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
1899         "comments": "",\r
1900         "outputs": 1,\r
1901         "x": 959,\r
1902         "y": 493,\r
1903         "z": "6311a927.78727",\r
1904         "wires": [\r
1905             []\r
1906         ]\r
1907     },\r
1908     {\r
1909         "id": "ab172df4.a758b",\r
1910         "type": "execute",\r
1911         "name": "execute printContext",\r
1912         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
1913         "comments": "",\r
1914         "outputs": 1,\r
1915         "x": 978,\r
1916         "y": 575,\r
1917         "z": "6311a927.78727",\r
1918         "wires": [\r
1919             []\r
1920         ]\r
1921     },\r
1922     {\r
1923         "id": "652147e8.77864",\r
1924         "type": "set",\r
1925         "name": "set filename",\r
1926         "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`\" />",\r
1927         "comments": "",\r
1928         "x": 955,\r
1929         "y": 529,\r
1930         "z": "6311a927.78727",\r
1931         "wires": []\r
1932     }\r
1933 ]