Bug fixing for CCVPN IBN closed-loop operation.
[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": "55da1918.a645e",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 271.566650390625,\r
8         "y": 122.56666564941406,\r
9         "z": "a133aed2.437bc",\r
10         "wires": [\r
11             [\r
12                 "1bc5ef1e.555379"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "1bc5ef1e.555379",\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": 418.566650390625,\r
26         "y": 697.5666809082031,\r
27         "z": "a133aed2.437bc",\r
28         "wires": [\r
29             [\r
30                 "72a47d96.f0464c"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "72a47d96.f0464c",\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": 482.5667724609375,\r
42         "y": 790.5666656494141,\r
43         "z": "a133aed2.437bc",\r
44         "wires": [\r
45             [\r
46                 "34c3e8c4.75c3c8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "c7e5fdd1.51b5a",\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": 528.5397186279297,\r
58         "y": 309.56266593933105,\r
59         "z": "a133aed2.437bc",\r
60         "wires": [\r
61             [\r
62                 "d6e108d2.5fc108",\r
63                 "c846370c.449d6"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "d6e108d2.5fc108",\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": 768.5398597717285,\r
75         "y": 333.56263542175293,\r
76         "z": "a133aed2.437bc",\r
77         "wires": [\r
78             [\r
79                 "33dac520.fd9612"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "1749300b.377e9",\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": 938.5397796630859,\r
90         "y": 273.5627269744873,\r
91         "z": "a133aed2.437bc",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "c846370c.449d6",\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": 767.5396461486816,\r
102         "y": 282.562726020813,\r
103         "z": "a133aed2.437bc",\r
104         "wires": [\r
105             [\r
106                 "1749300b.377e9"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "aabf6007.38015",\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": 500.04351806640625,\r
117         "y": 265.56666564941406,\r
118         "z": "a133aed2.437bc",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "66a1cd55.f26304",\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": 956.53955078125,\r
129         "y": 758.8123931884766,\r
130         "z": "a133aed2.437bc",\r
131         "wires": [\r
132             [\r
133                 "34bde7e7.01eac8"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "b912adec.34afe",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 1040.0398559570312,\r
144         "y": 838.3127593994141,\r
145         "z": "a133aed2.437bc",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "34bde7e7.01eac8",\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": 1061.0667724609375,\r
156         "y": 949.8531646728516,\r
157         "z": "a133aed2.437bc",\r
158         "wires": [\r
159             [\r
160                 "7334f4ec.cbdcec",\r
161                 "a07b9575.5fb718",\r
162                 "78ed6398.2c281c",\r
163                 "a81521ff.85b448",\r
164                 "f61d745e.897b28"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "7334f4ec.cbdcec",\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": 1307.5667724609375,\r
175         "y": 842.8531646728516,\r
176         "z": "a133aed2.437bc",\r
177         "wires": []\r
178     },\r
179     {\r
180         "id": "33dac520.fd9612",\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": 913.5669059753418,\r
188         "y": 331.30812072753906,\r
189         "z": "a133aed2.437bc",\r
190         "wires": [\r
191             []\r
192         ]\r
193     },\r
194     {\r
195         "id": "34c3e8c4.75c3c8",\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": 723.5355339050293,\r
202         "y": 717.3083028793335,\r
203         "z": "a133aed2.437bc",\r
204         "wires": [\r
205             [\r
206                 "66a1cd55.f26304",\r
207                 "10360917.9b8077",\r
208                 "9aea1ae3.78f458",\r
209                 "949527f9.d2ae5"\r
210             ]\r
211         ]\r
212     },\r
213     {\r
214         "id": "4f42b7a6.ec3be8",\r
215         "type": "break",\r
216         "name": "break",\r
217         "xml": "<break>\n",\r
218         "comments": "",\r
219         "x": 2475.0665283203125,\r
220         "y": 1275.566665649414,\r
221         "z": "a133aed2.437bc",\r
222         "wires": []\r
223     },\r
224     {\r
225         "id": "f61d745e.897b28",\r
226         "type": "block",\r
227         "name": "block : atomic",\r
228         "xml": "<block atomic=\"true\">",\r
229         "atomic": "true",\r
230         "outputs": 1,\r
231         "x": 1274.0667724609375,\r
232         "y": 1031.566665649414,\r
233         "z": "a133aed2.437bc",\r
234         "wires": [\r
235             [\r
236                 "edcf8a17.3c1388",\r
237                 "21981b27.dc0a0c"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "d41411aa.2fbe08",\r
243         "type": "success",\r
244         "name": "success",\r
245         "xml": "<outcome value='success'>\n",\r
246         "comments": "",\r
247         "outputs": 1,\r
248         "x": 2799.5665283203125,\r
249         "y": 766.5666656494141,\r
250         "z": "a133aed2.437bc",\r
251         "wires": [\r
252             [\r
253                 "1b874a77.cb23d6"\r
254             ]\r
255         ]\r
256     },\r
257     {\r
258         "id": "ec1c7dff.7ed9c",\r
259         "type": "not-found",\r
260         "name": "not-found",\r
261         "xml": "<outcome value='not-found'>\n",\r
262         "comments": "",\r
263         "outputs": 1,\r
264         "x": 2832.566650390625,\r
265         "y": 824.5666656494141,\r
266         "z": "a133aed2.437bc",\r
267         "wires": [\r
268             [\r
269                 "6a0b9275.25af84"\r
270             ]\r
271         ]\r
272     },\r
273     {\r
274         "id": "593d14b8.4d3af4",\r
275         "type": "other",\r
276         "name": "other",\r
277         "xml": "<outcome value='Other'>\n",\r
278         "comments": "",\r
279         "outputs": 1,\r
280         "x": 2835.566650390625,\r
281         "y": 876.5666656494141,\r
282         "z": "a133aed2.437bc",\r
283         "wires": [\r
284             [\r
285                 "7711b881.aaafb8"\r
286             ]\r
287         ]\r
288     },\r
289     {\r
290         "id": "6a0b9275.25af84",\r
291         "type": "returnFailure",\r
292         "name": "return failure",\r
293         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
294         "comments": "",\r
295         "x": 3017.566650390625,\r
296         "y": 828.5666656494141,\r
297         "z": "a133aed2.437bc",\r
298         "wires": []\r
299     },\r
300     {\r
301         "id": "7711b881.aaafb8",\r
302         "type": "returnFailure",\r
303         "name": "return failure",\r
304         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
305         "comments": "",\r
306         "x": 3005.566650390625,\r
307         "y": 879.5666656494141,\r
308         "z": "a133aed2.437bc",\r
309         "wires": []\r
310     },\r
311     {\r
312         "id": "c385141d.3475d8",\r
313         "type": "set",\r
314         "name": "set domain A node ttp-id",\r
315         "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
316         "comments": "",\r
317         "x": 4136.0665283203125,\r
318         "y": 681.5666656494141,\r
319         "z": "a133aed2.437bc",\r
320         "wires": []\r
321     },\r
322     {\r
323         "id": "8b31beaa.98c0f8",\r
324         "type": "get-resource",\r
325         "name": "get-resource src TTP",\r
326         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
327         "comments": "",\r
328         "outputs": 1,\r
329         "x": 4144.0665283203125,\r
330         "y": 733.5666656494141,\r
331         "z": "a133aed2.437bc",\r
332         "wires": [\r
333             [\r
334                 "d767d020.bad1e"\r
335             ]\r
336         ]\r
337     },\r
338     {\r
339         "id": "d767d020.bad1e",\r
340         "type": "success",\r
341         "name": "success",\r
342         "xml": "<outcome value='success'>\n",\r
343         "comments": "",\r
344         "outputs": 1,\r
345         "x": 4350.5665283203125,\r
346         "y": 711.5666656494141,\r
347         "z": "a133aed2.437bc",\r
348         "wires": [\r
349             [\r
350                 "d5ff040e.d2f8b"\r
351             ]\r
352         ]\r
353     },\r
354     {\r
355         "id": "a5ba7946.9385e8",\r
356         "type": "outcome",\r
357         "name": "tunnel-termination-point",\r
358         "xml": "<outcome value='tunnel-termination-point'>\n",\r
359         "comments": "",\r
360         "outputs": 1,\r
361         "x": 3688.2349853515625,\r
362         "y": 760.0481719970703,\r
363         "z": "a133aed2.437bc",\r
364         "wires": [\r
365             [\r
366                 "325b8414.0a0f7c"\r
367             ]\r
368         ]\r
369     },\r
370     {\r
371         "id": "dd30a478.a8f71",\r
372         "type": "for",\r
373         "name": "for each relationship",\r
374         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
375         "comments": "",\r
376         "outputs": 1,\r
377         "x": 3150.9493408203125,\r
378         "y": 762.2263946533203,\r
379         "z": "a133aed2.437bc",\r
380         "wires": [\r
381             [\r
382                 "d8739293.dd811"\r
383             ]\r
384         ]\r
385     },\r
386     {\r
387         "id": "d8739293.dd811",\r
388         "type": "switchNode",\r
389         "name": "switch related-to",\r
390         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
391         "comments": "",\r
392         "outputs": 1,\r
393         "x": 3402.9493408203125,\r
394         "y": 759.2263946533203,\r
395         "z": "a133aed2.437bc",\r
396         "wires": [\r
397             [\r
398                 "a5ba7946.9385e8"\r
399             ]\r
400         ]\r
401     },\r
402     {\r
403         "id": "325b8414.0a0f7c",\r
404         "type": "block",\r
405         "name": "block : atomic",\r
406         "xml": "<block atomic=\"true\">",\r
407         "atomic": "true",\r
408         "outputs": 1,\r
409         "x": 3915.0665283203125,\r
410         "y": 748.5666656494141,\r
411         "z": "a133aed2.437bc",\r
412         "wires": [\r
413             [\r
414                 "c385141d.3475d8",\r
415                 "8b31beaa.98c0f8",\r
416                 "9cb3666f.fe6288",\r
417                 "cc03f562.203da8",\r
418                 "b538ddb.0ac7ba"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "edcf8a17.3c1388",\r
424         "type": "get-resource",\r
425         "name": "get-resource dst tp",\r
426         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 2556.066650390625,\r
430         "y": 1171.566665649414,\r
431         "z": "a133aed2.437bc",\r
432         "wires": [\r
433             [\r
434                 "966cd988.263208",\r
435                 "2f0ba896.1bff08",\r
436                 "5512ef83.d0409"\r
437             ]\r
438         ]\r
439     },\r
440     {\r
441         "id": "966cd988.263208",\r
442         "type": "success",\r
443         "name": "success",\r
444         "xml": "<outcome value='success'>\n",\r
445         "comments": "",\r
446         "outputs": 1,\r
447         "x": 2778.5665283203125,\r
448         "y": 1313.566665649414,\r
449         "z": "a133aed2.437bc",\r
450         "wires": [\r
451             [\r
452                 "d01135ac.6fb8"\r
453             ]\r
454         ]\r
455     },\r
456     {\r
457         "id": "2f0ba896.1bff08",\r
458         "type": "not-found",\r
459         "name": "not-found",\r
460         "xml": "<outcome value='not-found'>\n",\r
461         "comments": "",\r
462         "outputs": 1,\r
463         "x": 2762.5665283203125,\r
464         "y": 1364.566665649414,\r
465         "z": "a133aed2.437bc",\r
466         "wires": [\r
467             [\r
468                 "dc2d6a40.545b28"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "5512ef83.d0409",\r
474         "type": "other",\r
475         "name": "other",\r
476         "xml": "<outcome value='Other'>\n",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 2765.5665283203125,\r
480         "y": 1416.566665649414,\r
481         "z": "a133aed2.437bc",\r
482         "wires": [\r
483             [\r
484                 "f1dc200a.0079b8"\r
485             ]\r
486         ]\r
487     },\r
488     {\r
489         "id": "f1dc200a.0079b8",\r
490         "type": "returnFailure",\r
491         "name": "return failure",\r
492         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
493         "comments": "",\r
494         "x": 2935.5665283203125,\r
495         "y": 1419.566665649414,\r
496         "z": "a133aed2.437bc",\r
497         "wires": []\r
498     },\r
499     {\r
500         "id": "dc2d6a40.545b28",\r
501         "type": "returnFailure",\r
502         "name": "return failure",\r
503         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
504         "comments": "",\r
505         "x": 2947.5665283203125,\r
506         "y": 1368.566665649414,\r
507         "z": "a133aed2.437bc",\r
508         "wires": []\r
509     },\r
510     {\r
511         "id": "eda7d352.9073e",\r
512         "type": "for",\r
513         "name": "for each relationship",\r
514         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
515         "comments": "",\r
516         "outputs": 1,\r
517         "x": 3134.9493408203125,\r
518         "y": 1324.2263946533203,\r
519         "z": "a133aed2.437bc",\r
520         "wires": [\r
521             [\r
522                 "3127fdbc.48d8ba"\r
523             ]\r
524         ]\r
525     },\r
526     {\r
527         "id": "3127fdbc.48d8ba",\r
528         "type": "switchNode",\r
529         "name": "switch related-to",\r
530         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
531         "comments": "",\r
532         "outputs": 1,\r
533         "x": 3377.9493408203125,\r
534         "y": 1323.2263946533203,\r
535         "z": "a133aed2.437bc",\r
536         "wires": [\r
537             [\r
538                 "1629bb11.b51185"\r
539             ]\r
540         ]\r
541     },\r
542     {\r
543         "id": "2bfd4c7b.7322cc",\r
544         "type": "block",\r
545         "name": "block : atomic",\r
546         "xml": "<block atomic=\"true\">",\r
547         "atomic": "true",\r
548         "outputs": 1,\r
549         "x": 5144.0665283203125,\r
550         "y": 1124.566665649414,\r
551         "z": "a133aed2.437bc",\r
552         "wires": [\r
553             [\r
554                 "83a9dba4.165df8",\r
555                 "213b5817.319d6",\r
556                 "eacf08ed.9b6908"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "1629bb11.b51185",\r
562         "type": "outcome",\r
563         "name": "tunnel-termination-point",\r
564         "xml": "<outcome value='tunnel-termination-point'>\n",\r
565         "comments": "",\r
566         "outputs": 1,\r
567         "x": 3634.2349853515625,\r
568         "y": 1323.0481719970703,\r
569         "z": "a133aed2.437bc",\r
570         "wires": [\r
571             [\r
572                 "1697afc2.a7d658"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "a4a4d9de.8b1e5",\r
578         "type": "outcome",\r
579         "name": "network-resource",\r
580         "xml": "<outcome value='network-resource'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 4931.0665283203125,\r
584         "y": 1123.566665649414,\r
585         "z": "a133aed2.437bc",\r
586         "wires": [\r
587             [\r
588                 "2bfd4c7b.7322cc"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "1697afc2.a7d658",\r
594         "type": "block",\r
595         "name": "block : atomic",\r
596         "xml": "<block atomic=\"true\">",\r
597         "atomic": "true",\r
598         "outputs": 1,\r
599         "x": 3934.0665283203125,\r
600         "y": 1320.566665649414,\r
601         "z": "a133aed2.437bc",\r
602         "wires": [\r
603             [\r
604                 "64565dd0.7224d4",\r
605                 "60e5c227.98dd4c",\r
606                 "aa1de99e.ebfdb8",\r
607                 "1e08769.d5ce909",\r
608                 "19848a3.1ad4df6"\r
609             ]\r
610         ]\r
611     },\r
612     {\r
613         "id": "64565dd0.7224d4",\r
614         "type": "set",\r
615         "name": "set domain B node ttp-id",\r
616         "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
617         "comments": "",\r
618         "x": 4176.0665283203125,\r
619         "y": 1274.566665649414,\r
620         "z": "a133aed2.437bc",\r
621         "wires": []\r
622     },\r
623     {\r
624         "id": "60e5c227.98dd4c",\r
625         "type": "get-resource",\r
626         "name": "get-resource dst TTP",\r
627         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-B.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
628         "comments": "",\r
629         "outputs": 1,\r
630         "x": 4166.0665283203125,\r
631         "y": 1325.566665649414,\r
632         "z": "a133aed2.437bc",\r
633         "wires": [\r
634             [\r
635                 "1423a8aa.1e5bbf"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "1423a8aa.1e5bbf",\r
641         "type": "success",\r
642         "name": "success",\r
643         "xml": "<outcome value='success'>\n",\r
644         "comments": "",\r
645         "outputs": 1,\r
646         "x": 4353.5665283203125,\r
647         "y": 1323.566665649414,\r
648         "z": "a133aed2.437bc",\r
649         "wires": [\r
650             [\r
651                 "fe536508.3d42a8"\r
652             ]\r
653         ]\r
654     },\r
655     {\r
656         "id": "83a9dba4.165df8",\r
657         "type": "set",\r
658         "name": "set domain B network-id",\r
659         "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
660         "comments": "",\r
661         "x": 5414.0665283203125,\r
662         "y": 1100.566665649414,\r
663         "z": "a133aed2.437bc",\r
664         "wires": []\r
665     },\r
666     {\r
667         "id": "213b5817.319d6",\r
668         "type": "get-resource",\r
669         "name": "get-resource dst network-resource",\r
670         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
671         "comments": "",\r
672         "outputs": 1,\r
673         "x": 5424.0665283203125,\r
674         "y": 1146.566665649414,\r
675         "z": "a133aed2.437bc",\r
676         "wires": [\r
677             [\r
678                 "93d4670b.467a7"\r
679             ]\r
680         ]\r
681     },\r
682     {\r
683         "id": "93d4670b.467a7",\r
684         "type": "success",\r
685         "name": "success",\r
686         "xml": "<outcome value='success'>\n",\r
687         "comments": "",\r
688         "outputs": 1,\r
689         "x": 5639.5665283203125,\r
690         "y": 1137.566665649414,\r
691         "z": "a133aed2.437bc",\r
692         "wires": [\r
693             [\r
694                 "3c1a17a3.7c5698"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "3c1a17a3.7c5698",\r
700         "type": "set",\r
701         "name": "set domain B network-id, topo-id, client-id, etc",\r
702         "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
703         "comments": "",\r
704         "x": 5894.0665283203125,\r
705         "y": 1143.566665649414,\r
706         "z": "a133aed2.437bc",\r
707         "wires": []\r
708     },\r
709     {\r
710         "id": "1b874a77.cb23d6",\r
711         "type": "block",\r
712         "name": "block",\r
713         "xml": "<block>\n",\r
714         "atomic": "false",\r
715         "comments": "",\r
716         "outputs": 1,\r
717         "x": 2933.5665283203125,\r
718         "y": 762.5666656494141,\r
719         "z": "a133aed2.437bc",\r
720         "wires": [\r
721             [\r
722                 "dd30a478.a8f71"\r
723             ]\r
724         ]\r
725     },\r
726     {\r
727         "id": "d01135ac.6fb8",\r
728         "type": "block",\r
729         "name": "block",\r
730         "xml": "<block>\n",\r
731         "atomic": "false",\r
732         "comments": "",\r
733         "outputs": 1,\r
734         "x": 2924.5665283203125,\r
735         "y": 1304.566665649414,\r
736         "z": "a133aed2.437bc",\r
737         "wires": [\r
738             [\r
739                 "eda7d352.9073e"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "d5ff040e.d2f8b",\r
745         "type": "block",\r
746         "name": "block : atomic",\r
747         "xml": "<block atomic=\"true\">",\r
748         "atomic": "true",\r
749         "outputs": 1,\r
750         "x": 4525.5665283203125,\r
751         "y": 707.5666656494141,\r
752         "z": "a133aed2.437bc",\r
753         "wires": [\r
754             [\r
755                 "7a85cdc9.21de74"\r
756             ]\r
757         ]\r
758     },\r
759     {\r
760         "id": "fe536508.3d42a8",\r
761         "type": "block",\r
762         "name": "block : atomic",\r
763         "xml": "<block atomic=\"true\">",\r
764         "atomic": "true",\r
765         "outputs": 1,\r
766         "x": 4542.5665283203125,\r
767         "y": 1312.566665649414,\r
768         "z": "a133aed2.437bc",\r
769         "wires": [\r
770             [\r
771                 "7f789c56.73a404"\r
772             ]\r
773         ]\r
774     },\r
775     {\r
776         "id": "21981b27.dc0a0c",\r
777         "type": "get-resource",\r
778         "name": "get-resource src tp",\r
779         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
780         "comments": "",\r
781         "outputs": 1,\r
782         "x": 2602.066650390625,\r
783         "y": 805.5666656494141,\r
784         "z": "a133aed2.437bc",\r
785         "wires": [\r
786             [\r
787                 "d41411aa.2fbe08",\r
788                 "ec1c7dff.7ed9c",\r
789                 "593d14b8.4d3af4"\r
790             ]\r
791         ]\r
792     },\r
793     {\r
794         "id": "9cb3666f.fe6288",\r
795         "type": "get-resource",\r
796         "name": "get-resource src pnf",\r
797         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
798         "comments": "",\r
799         "outputs": 1,\r
800         "x": 4005.5665283203125,\r
801         "y": 551.5666656494141,\r
802         "z": "a133aed2.437bc",\r
803         "wires": [\r
804             [\r
805                 "2d596f92.386da",\r
806                 "b8bb35c7.68022",\r
807                 "50dbd465.907d94"\r
808             ]\r
809         ]\r
810     },\r
811     {\r
812         "id": "2d596f92.386da",\r
813         "type": "success",\r
814         "name": "success",\r
815         "xml": "<outcome value='success'>\n",\r
816         "comments": "",\r
817         "outputs": 1,\r
818         "x": 4201.066650390625,\r
819         "y": 503.56666564941406,\r
820         "z": "a133aed2.437bc",\r
821         "wires": [\r
822             [\r
823                 "7b9cb223.733344"\r
824             ]\r
825         ]\r
826     },\r
827     {\r
828         "id": "b8bb35c7.68022",\r
829         "type": "not-found",\r
830         "name": "not-found",\r
831         "xml": "<outcome value='not-found'>\n",\r
832         "comments": "",\r
833         "outputs": 1,\r
834         "x": 4193.066650390625,\r
835         "y": 558.5666656494141,\r
836         "z": "a133aed2.437bc",\r
837         "wires": [\r
838             [\r
839                 "def9d226.6d2cf8"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "50dbd465.907d94",\r
845         "type": "other",\r
846         "name": "other",\r
847         "xml": "<outcome value='Other'>\n",\r
848         "comments": "",\r
849         "outputs": 1,\r
850         "x": 4198.066650390625,\r
851         "y": 615.5666656494141,\r
852         "z": "a133aed2.437bc",\r
853         "wires": [\r
854             [\r
855                 "7c7e6039.479ca8"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "7c7e6039.479ca8",\r
861         "type": "returnFailure",\r
862         "name": "return failure",\r
863         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
864         "comments": "",\r
865         "x": 4350.066650390625,\r
866         "y": 616.5666656494141,\r
867         "z": "a133aed2.437bc",\r
868         "wires": []\r
869     },\r
870     {\r
871         "id": "def9d226.6d2cf8",\r
872         "type": "returnFailure",\r
873         "name": "return failure",\r
874         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
875         "comments": "",\r
876         "x": 4361.066650390625,\r
877         "y": 561.5666656494141,\r
878         "z": "a133aed2.437bc",\r
879         "wires": []\r
880     },\r
881     {\r
882         "id": "7b9cb223.733344",\r
883         "type": "block",\r
884         "name": "block",\r
885         "xml": "<block>\n",\r
886         "atomic": "false",\r
887         "comments": "",\r
888         "outputs": 1,\r
889         "x": 4345.448974609375,\r
890         "y": 501.2223358154297,\r
891         "z": "a133aed2.437bc",\r
892         "wires": [\r
893             [\r
894                 "726f1c43.81de24",\r
895                 "6baa44bf.896aa4"\r
896             ]\r
897         ]\r
898     },\r
899     {\r
900         "id": "726f1c43.81de24",\r
901         "type": "set",\r
902         "name": "set domain A node-id and tpn",\r
903         "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
904         "comments": "",\r
905         "x": 4570.5665283203125,\r
906         "y": 456.56666564941406,\r
907         "z": "a133aed2.437bc",\r
908         "wires": []\r
909     },\r
910     {\r
911         "id": "cc03f562.203da8",\r
912         "type": "break",\r
913         "name": "break",\r
914         "xml": "<break>\n",\r
915         "comments": "",\r
916         "x": 4092.5665283203125,\r
917         "y": 798.5666656494141,\r
918         "z": "a133aed2.437bc",\r
919         "wires": []\r
920     },\r
921     {\r
922         "id": "7a85cdc9.21de74",\r
923         "type": "set",\r
924         "name": "set domain A tunnel tp ip",\r
925         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n",\r
926         "comments": "",\r
927         "x": 4786.5665283203125,\r
928         "y": 704.5666656494141,\r
929         "z": "a133aed2.437bc",\r
930         "wires": []\r
931     },\r
932     {\r
933         "id": "1e08769.d5ce909",\r
934         "type": "get-resource",\r
935         "name": "get-resource dst pnf",\r
936         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
937         "comments": "",\r
938         "outputs": 1,\r
939         "x": 4002.5665283203125,\r
940         "y": 1154.566665649414,\r
941         "z": "a133aed2.437bc",\r
942         "wires": [\r
943             [\r
944                 "1a2b49d5.b5a17e",\r
945                 "7bc68f65.9bf008",\r
946                 "aa0e1591.186978"\r
947             ]\r
948         ]\r
949     },\r
950     {\r
951         "id": "aa0e1591.186978",\r
952         "type": "success",\r
953         "name": "success",\r
954         "xml": "<outcome value='success'>\n",\r
955         "comments": "",\r
956         "outputs": 1,\r
957         "x": 4198.066650390625,\r
958         "y": 1106.566665649414,\r
959         "z": "a133aed2.437bc",\r
960         "wires": [\r
961             [\r
962                 "d1b079c.9297d08"\r
963             ]\r
964         ]\r
965     },\r
966     {\r
967         "id": "7bc68f65.9bf008",\r
968         "type": "not-found",\r
969         "name": "not-found",\r
970         "xml": "<outcome value='not-found'>\n",\r
971         "comments": "",\r
972         "outputs": 1,\r
973         "x": 4190.066650390625,\r
974         "y": 1161.566665649414,\r
975         "z": "a133aed2.437bc",\r
976         "wires": [\r
977             [\r
978                 "2daddcb3.194964"\r
979             ]\r
980         ]\r
981     },\r
982     {\r
983         "id": "1a2b49d5.b5a17e",\r
984         "type": "other",\r
985         "name": "other",\r
986         "xml": "<outcome value='Other'>\n",\r
987         "comments": "",\r
988         "outputs": 1,\r
989         "x": 4195.066650390625,\r
990         "y": 1218.566665649414,\r
991         "z": "a133aed2.437bc",\r
992         "wires": [\r
993             [\r
994                 "ec80c220.eda94"\r
995             ]\r
996         ]\r
997     },\r
998     {\r
999         "id": "d1b079c.9297d08",\r
1000         "type": "block",\r
1001         "name": "block",\r
1002         "xml": "<block>\n",\r
1003         "atomic": "false",\r
1004         "comments": "",\r
1005         "outputs": 1,\r
1006         "x": 4342.448974609375,\r
1007         "y": 1104.2223358154297,\r
1008         "z": "a133aed2.437bc",\r
1009         "wires": [\r
1010             [\r
1011                 "86d91eb8.1d4188",\r
1012                 "ccc8b0e3.aa30a"\r
1013             ]\r
1014         ]\r
1015     },\r
1016     {\r
1017         "id": "2daddcb3.194964",\r
1018         "type": "returnFailure",\r
1019         "name": "return failure",\r
1020         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1021         "comments": "",\r
1022         "x": 4358.066650390625,\r
1023         "y": 1164.566665649414,\r
1024         "z": "a133aed2.437bc",\r
1025         "wires": []\r
1026     },\r
1027     {\r
1028         "id": "ec80c220.eda94",\r
1029         "type": "returnFailure",\r
1030         "name": "return failure",\r
1031         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1032         "comments": "",\r
1033         "x": 4347.066650390625,\r
1034         "y": 1219.566665649414,\r
1035         "z": "a133aed2.437bc",\r
1036         "wires": []\r
1037     },\r
1038     {\r
1039         "id": "86d91eb8.1d4188",\r
1040         "type": "set",\r
1041         "name": "set domain B node-id and tpn",\r
1042         "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
1043         "comments": "",\r
1044         "x": 4551.5665283203125,\r
1045         "y": 1071.566665649414,\r
1046         "z": "a133aed2.437bc",\r
1047         "wires": []\r
1048     },\r
1049     {\r
1050         "id": "aa1de99e.ebfdb8",\r
1051         "type": "break",\r
1052         "name": "break",\r
1053         "xml": "<break>\n",\r
1054         "comments": "",\r
1055         "x": 4121.5665283203125,\r
1056         "y": 1366.566665649414,\r
1057         "z": "a133aed2.437bc",\r
1058         "wires": []\r
1059     },\r
1060     {\r
1061         "id": "7f789c56.73a404",\r
1062         "type": "set",\r
1063         "name": "set domain B tunnel tp id",\r
1064         "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
1065         "comments": "",\r
1066         "x": 4775.5665283203125,\r
1067         "y": 1311.566665649414,\r
1068         "z": "a133aed2.437bc",\r
1069         "wires": []\r
1070     },\r
1071     {\r
1072         "id": "4af47e1.d24b48",\r
1073         "type": "outcome",\r
1074         "name": "network-resource",\r
1075         "xml": "<outcome value='network-resource'>\n",\r
1076         "comments": "",\r
1077         "outputs": 1,\r
1078         "x": 4927.5665283203125,\r
1079         "y": 519.5666656494141,\r
1080         "z": "a133aed2.437bc",\r
1081         "wires": [\r
1082             [\r
1083                 "4f3cf505.2fca3c"\r
1084             ]\r
1085         ]\r
1086     },\r
1087     {\r
1088         "id": "4f3cf505.2fca3c",\r
1089         "type": "block",\r
1090         "name": "block : atomic",\r
1091         "xml": "<block atomic=\"true\">",\r
1092         "atomic": "true",\r
1093         "outputs": 1,\r
1094         "x": 5104.5665283203125,\r
1095         "y": 511.56666564941406,\r
1096         "z": "a133aed2.437bc",\r
1097         "wires": [\r
1098             [\r
1099                 "3a45344a.82c99c",\r
1100                 "6a555c5c.0d6d94",\r
1101                 "bc9971ad.98e16"\r
1102             ]\r
1103         ]\r
1104     },\r
1105     {\r
1106         "id": "3a45344a.82c99c",\r
1107         "type": "set",\r
1108         "name": "set domain A network-id",\r
1109         "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
1110         "comments": "",\r
1111         "x": 5319.5665283203125,\r
1112         "y": 492.56666564941406,\r
1113         "z": "a133aed2.437bc",\r
1114         "wires": []\r
1115     },\r
1116     {\r
1117         "id": "6a555c5c.0d6d94",\r
1118         "type": "get-resource",\r
1119         "name": "get-resource src network-resource",\r
1120         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
1121         "comments": "",\r
1122         "outputs": 1,\r
1123         "x": 5336.5665283203125,\r
1124         "y": 556.5666656494141,\r
1125         "z": "a133aed2.437bc",\r
1126         "wires": [\r
1127             [\r
1128                 "12908a50.109196"\r
1129             ]\r
1130         ]\r
1131     },\r
1132     {\r
1133         "id": "12908a50.109196",\r
1134         "type": "success",\r
1135         "name": "success",\r
1136         "xml": "<outcome value='success'>\n",\r
1137         "comments": "",\r
1138         "outputs": 1,\r
1139         "x": 5560.0665283203125,\r
1140         "y": 557.5666656494141,\r
1141         "z": "a133aed2.437bc",\r
1142         "wires": [\r
1143             [\r
1144                 "d7f6c969.bf14a8"\r
1145             ]\r
1146         ]\r
1147     },\r
1148     {\r
1149         "id": "d7f6c969.bf14a8",\r
1150         "type": "set",\r
1151         "name": "set domain A network-id, topo-id, client-id, etc",\r
1152         "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n\n\n",\r
1153         "comments": "",\r
1154         "x": 5824.5665283203125,\r
1155         "y": 546.5666656494141,\r
1156         "z": "a133aed2.437bc",\r
1157         "wires": []\r
1158     },\r
1159     {\r
1160         "id": "6baa44bf.896aa4",\r
1161         "type": "for",\r
1162         "name": "for each relationship",\r
1163         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
1164         "comments": "",\r
1165         "outputs": 1,\r
1166         "x": 4529.5665283203125,\r
1167         "y": 515.5666656494141,\r
1168         "z": "a133aed2.437bc",\r
1169         "wires": [\r
1170             [\r
1171                 "c5bce932.312ae8"\r
1172             ]\r
1173         ]\r
1174     },\r
1175     {\r
1176         "id": "c5bce932.312ae8",\r
1177         "type": "switchNode",\r
1178         "name": "switch related-to",\r
1179         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
1180         "comments": "",\r
1181         "outputs": 1,\r
1182         "x": 4724.5665283203125,\r
1183         "y": 515.5666656494141,\r
1184         "z": "a133aed2.437bc",\r
1185         "wires": [\r
1186             [\r
1187                 "4af47e1.d24b48"\r
1188             ]\r
1189         ]\r
1190     },\r
1191     {\r
1192         "id": "bc9971ad.98e16",\r
1193         "type": "break",\r
1194         "name": "break",\r
1195         "xml": "<break>\n",\r
1196         "comments": "",\r
1197         "x": 5263.5665283203125,\r
1198         "y": 609.5666656494141,\r
1199         "z": "a133aed2.437bc",\r
1200         "wires": []\r
1201     },\r
1202     {\r
1203         "id": "ccc8b0e3.aa30a",\r
1204         "type": "for",\r
1205         "name": "for each relationship",\r
1206         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1207         "comments": "",\r
1208         "outputs": 1,\r
1209         "x": 4530.5665283203125,\r
1210         "y": 1122.566665649414,\r
1211         "z": "a133aed2.437bc",\r
1212         "wires": [\r
1213             [\r
1214                 "2505107d.3aa54"\r
1215             ]\r
1216         ]\r
1217     },\r
1218     {\r
1219         "id": "2505107d.3aa54",\r
1220         "type": "switchNode",\r
1221         "name": "switch related-to",\r
1222         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
1223         "comments": "",\r
1224         "outputs": 1,\r
1225         "x": 4725.5665283203125,\r
1226         "y": 1122.566665649414,\r
1227         "z": "a133aed2.437bc",\r
1228         "wires": [\r
1229             [\r
1230                 "a4a4d9de.8b1e5"\r
1231             ]\r
1232         ]\r
1233     },\r
1234     {\r
1235         "id": "eacf08ed.9b6908",\r
1236         "type": "break",\r
1237         "name": "break",\r
1238         "xml": "<break>\n",\r
1239         "comments": "",\r
1240         "x": 5349.5665283203125,\r
1241         "y": 1202.566665649414,\r
1242         "z": "a133aed2.437bc",\r
1243         "wires": []\r
1244     },\r
1245     {\r
1246         "id": "b538ddb.0ac7ba",\r
1247         "type": "execute",\r
1248         "name": "execute split tp-id to get pnf-name",\r
1249         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<!--<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
1250         "comments": "",\r
1251         "outputs": 1,\r
1252         "x": 4033.5665283203125,\r
1253         "y": 345.56666564941406,\r
1254         "z": "a133aed2.437bc",\r
1255         "wires": [\r
1256             [\r
1257                 "e05ff3f0.c79818",\r
1258                 "bfafe917.9e0828"\r
1259             ]\r
1260         ]\r
1261     },\r
1262     {\r
1263         "id": "bfafe917.9e0828",\r
1264         "type": "failure",\r
1265         "name": "success",\r
1266         "xml": "<outcome value='success'>\n",\r
1267         "comments": "",\r
1268         "outputs": 1,\r
1269         "x": 4254.5665283203125,\r
1270         "y": 313.56666564941406,\r
1271         "z": "a133aed2.437bc",\r
1272         "wires": [\r
1273             [\r
1274                 "984c7f99.dba1f8"\r
1275             ]\r
1276         ]\r
1277     },\r
1278     {\r
1279         "id": "e05ff3f0.c79818",\r
1280         "type": "failure",\r
1281         "name": "failure",\r
1282         "xml": "<outcome value='failure'>\n",\r
1283         "comments": "",\r
1284         "outputs": 1,\r
1285         "x": 4254.5665283203125,\r
1286         "y": 360.56666564941406,\r
1287         "z": "a133aed2.437bc",\r
1288         "wires": [\r
1289             [\r
1290                 "ab85b68d.00fab8"\r
1291             ]\r
1292         ]\r
1293     },\r
1294     {\r
1295         "id": "984c7f99.dba1f8",\r
1296         "type": "block",\r
1297         "name": "block : atomic",\r
1298         "xml": "<block atomic=\"true\">",\r
1299         "atomic": "true",\r
1300         "outputs": 1,\r
1301         "x": 4419.5665283203125,\r
1302         "y": 310.56666564941406,\r
1303         "z": "a133aed2.437bc",\r
1304         "wires": [\r
1305             [\r
1306                 "1167b845.d3eb88"\r
1307             ]\r
1308         ]\r
1309     },\r
1310     {\r
1311         "id": "1167b845.d3eb88",\r
1312         "type": "set",\r
1313         "name": "set domain-A.ltpId",\r
1314         "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
1315         "comments": "",\r
1316         "x": 4601.5665283203125,\r
1317         "y": 314.56666564941406,\r
1318         "z": "a133aed2.437bc",\r
1319         "wires": []\r
1320     },\r
1321     {\r
1322         "id": "ab85b68d.00fab8",\r
1323         "type": "returnFailure",\r
1324         "name": "return failure",\r
1325         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1326         "comments": "",\r
1327         "x": 4421.5665283203125,\r
1328         "y": 360.56666564941406,\r
1329         "z": "a133aed2.437bc",\r
1330         "wires": []\r
1331     },\r
1332     {\r
1333         "id": "19848a3.1ad4df6",\r
1334         "type": "execute",\r
1335         "name": "execute split tp-id to get pnf-name",\r
1336         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
1337         "comments": "",\r
1338         "outputs": 1,\r
1339         "x": 4041.5665283203125,\r
1340         "y": 969.5666656494141,\r
1341         "z": "a133aed2.437bc",\r
1342         "wires": [\r
1343             [\r
1344                 "bcadf20f.09707",\r
1345                 "f49b197.760f268"\r
1346             ]\r
1347         ]\r
1348     },\r
1349     {\r
1350         "id": "f49b197.760f268",\r
1351         "type": "failure",\r
1352         "name": "success",\r
1353         "xml": "<outcome value='success'>\n",\r
1354         "comments": "",\r
1355         "outputs": 1,\r
1356         "x": 4262.5665283203125,\r
1357         "y": 937.5666656494141,\r
1358         "z": "a133aed2.437bc",\r
1359         "wires": [\r
1360             [\r
1361                 "7a4a14cb.2c7cc4"\r
1362             ]\r
1363         ]\r
1364     },\r
1365     {\r
1366         "id": "bcadf20f.09707",\r
1367         "type": "failure",\r
1368         "name": "failure",\r
1369         "xml": "<outcome value='failure'>\n",\r
1370         "comments": "",\r
1371         "outputs": 1,\r
1372         "x": 4262.5665283203125,\r
1373         "y": 984.5666656494141,\r
1374         "z": "a133aed2.437bc",\r
1375         "wires": [\r
1376             [\r
1377                 "f8a2353e.30053"\r
1378             ]\r
1379         ]\r
1380     },\r
1381     {\r
1382         "id": "7a4a14cb.2c7cc4",\r
1383         "type": "block",\r
1384         "name": "block : atomic",\r
1385         "xml": "<block atomic=\"true\">",\r
1386         "atomic": "true",\r
1387         "outputs": 1,\r
1388         "x": 4427.5665283203125,\r
1389         "y": 934.5666656494141,\r
1390         "z": "a133aed2.437bc",\r
1391         "wires": [\r
1392             [\r
1393                 "c7ad40e1.18d2e8"\r
1394             ]\r
1395         ]\r
1396     },\r
1397     {\r
1398         "id": "c7ad40e1.18d2e8",\r
1399         "type": "set",\r
1400         "name": "set domain-B.ltpId",\r
1401         "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
1402         "comments": "",\r
1403         "x": 4623.5665283203125,\r
1404         "y": 931.5666656494141,\r
1405         "z": "a133aed2.437bc",\r
1406         "wires": []\r
1407     },\r
1408     {\r
1409         "id": "f8a2353e.30053",\r
1410         "type": "returnFailure",\r
1411         "name": "return failure",\r
1412         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1413         "comments": "",\r
1414         "x": 4429.5665283203125,\r
1415         "y": 984.5666656494141,\r
1416         "z": "a133aed2.437bc",\r
1417         "wires": []\r
1418     },\r
1419     {\r
1420         "id": "a07b9575.5fb718",\r
1421         "type": "set",\r
1422         "name": "unset parameters",\r
1423         "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->",\r
1424         "comments": "",\r
1425         "x": 1298.566650390625,\r
1426         "y": 771.5666656494141,\r
1427         "z": "a133aed2.437bc",\r
1428         "wires": []\r
1429     },\r
1430     {\r
1431         "id": "49f4a3da.f830dc",\r
1432         "type": "comment",\r
1433         "name": "Not useful anymore",\r
1434         "info": "this domain-A.ltpId is not used anymore",\r
1435         "comments": "",\r
1436         "x": 4644.5665283203125,\r
1437         "y": 290.56666564941406,\r
1438         "z": "a133aed2.437bc",\r
1439         "wires": []\r
1440     },\r
1441     {\r
1442         "id": "6c8ca0d9.ae8db8",\r
1443         "type": "comment",\r
1444         "name": "Not useful anymore",\r
1445         "info": "this domain-B.ltpId is not used anymore",\r
1446         "comments": "",\r
1447         "x": 4666.5665283203125,\r
1448         "y": 903.5666656494141,\r
1449         "z": "a133aed2.437bc",\r
1450         "wires": []\r
1451     },\r
1452     {\r
1453         "id": "10360917.9b8077",\r
1454         "type": "set",\r
1455         "name": "unset parameters",\r
1456         "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",\r
1457         "comments": "",\r
1458         "x": 939.566650390625,\r
1459         "y": 699.5666656494141,\r
1460         "z": "a133aed2.437bc",\r
1461         "wires": []\r
1462     },\r
1463     {\r
1464         "id": "197c2e5d.40b5c2",\r
1465         "type": "comment",\r
1466         "name": "May not be necessary",\r
1467         "info": "",\r
1468         "comments": "",\r
1469         "x": 950.566650390625,\r
1470         "y": 652.5666656494141,\r
1471         "z": "a133aed2.437bc",\r
1472         "wires": []\r
1473     },\r
1474     {\r
1475         "id": "9aea1ae3.78f458",\r
1476         "type": "block",\r
1477         "name": "block : atomic",\r
1478         "xml": "<block atomic='true'>",\r
1479         "atomic": "true",\r
1480         "comments": "",\r
1481         "outputs": 1,\r
1482         "x": 930.566650390625,\r
1483         "y": 449.56666564941406,\r
1484         "z": "a133aed2.437bc",\r
1485         "wires": [\r
1486             [\r
1487                 "8d20e71f.73ff3",\r
1488                 "a7d23344.01d178",\r
1489                 "bdabda22.abbcf",\r
1490                 "2d95a78.15b9dd8",\r
1491                 "fa4a5e3a.f8a4e8",\r
1492                 "1732667e.72f262",\r
1493                 "2d0258cc.74942",\r
1494                 "52bfffd9.b2be3",\r
1495                 "9fbe4c7e.064f2",\r
1496                 "272b0d1.5ea4172",\r
1497                 "c5b8562e.825c2",\r
1498                 "f2fd0ea2.f13608",\r
1499                 "5207916.8d843f"\r
1500             ]\r
1501         ]\r
1502     },\r
1503     {\r
1504         "id": "b34bb5ff.c918e",\r
1505         "type": "execute",\r
1506         "name": "execute PCE in ccsdk/sli/core",\r
1507         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",\r
1508         "comments": "",\r
1509         "outputs": 1,\r
1510         "x": 1752.566650390625,\r
1511         "y": 696.5666656494141,\r
1512         "z": "a133aed2.437bc",\r
1513         "wires": [\r
1514             [\r
1515                 "d8269b88.a628f",\r
1516                 "bd71ad8b.09afd",\r
1517                 "ab86e983.081cb"\r
1518             ]\r
1519         ]\r
1520     },\r
1521     {\r
1522         "id": "8d20e71f.73ff3",\r
1523         "type": "record",\r
1524         "name": "record tmp.pce-src and dst node and backup",\r
1525         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",\r
1526         "comments": "",\r
1527         "outputs": 1,\r
1528         "x": 1226.566650390625,\r
1529         "y": 482.56666564941406,\r
1530         "z": "a133aed2.437bc",\r
1531         "wires": [\r
1532             []\r
1533         ]\r
1534     },\r
1535     {\r
1536         "id": "d8269b88.a628f",\r
1537         "type": "other",\r
1538         "name": "other",\r
1539         "xml": "<outcome value='Other'>\n",\r
1540         "comments": "",\r
1541         "outputs": 1,\r
1542         "x": 1997.566650390625,\r
1543         "y": 728.5666656494141,\r
1544         "z": "a133aed2.437bc",\r
1545         "wires": [\r
1546             []\r
1547         ]\r
1548     },\r
1549     {\r
1550         "id": "bd71ad8b.09afd",\r
1551         "type": "not-found",\r
1552         "name": "not-found",\r
1553         "xml": "<outcome value='not-found'>\n",\r
1554         "comments": "",\r
1555         "outputs": 1,\r
1556         "x": 2004.566650390625,\r
1557         "y": 770.5666656494141,\r
1558         "z": "a133aed2.437bc",\r
1559         "wires": [\r
1560             []\r
1561         ]\r
1562     },\r
1563     {\r
1564         "id": "ab86e983.081cb",\r
1565         "type": "success",\r
1566         "name": "success",\r
1567         "xml": "<outcome value='success'>\n",\r
1568         "comments": "",\r
1569         "outputs": 1,\r
1570         "x": 1999.566650390625,\r
1571         "y": 691.5666656494141,\r
1572         "z": "a133aed2.437bc",\r
1573         "wires": [\r
1574             []\r
1575         ]\r
1576     },\r
1577     {\r
1578         "id": "a7d23344.01d178",\r
1579         "type": "set",\r
1580         "name": "set tmp.pce-src-node",\r
1581         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
1582         "comments": "",\r
1583         "x": 1147.566650390625,\r
1584         "y": 354.56666564941406,\r
1585         "z": "a133aed2.437bc",\r
1586         "wires": []\r
1587     },\r
1588     {\r
1589         "id": "bdabda22.abbcf",\r
1590         "type": "set",\r
1591         "name": "set tmp.pce-dst-node",\r
1592         "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $otnTopoIdDst + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />",\r
1593         "comments": "",\r
1594         "x": 1147.566650390625,\r
1595         "y": 394.56666564941406,\r
1596         "z": "a133aed2.437bc",\r
1597         "wires": []\r
1598     },\r
1599     {\r
1600         "id": "78ed6398.2c281c",\r
1601         "type": "set",\r
1602         "name": "set src-ltpId",\r
1603         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",\r
1604         "comments": "",\r
1605         "x": 1280.566650390625,\r
1606         "y": 902.5666656494141,\r
1607         "z": "a133aed2.437bc",\r
1608         "wires": []\r
1609     },\r
1610     {\r
1611         "id": "a81521ff.85b448",\r
1612         "type": "set",\r
1613         "name": "set dst-ltpId",\r
1614         "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",\r
1615         "comments": "",\r
1616         "x": 1281.566650390625,\r
1617         "y": 952.5666656494141,\r
1618         "z": "a133aed2.437bc",\r
1619         "wires": []\r
1620     },\r
1621     {\r
1622         "id": "2d95a78.15b9dd8",\r
1623         "type": "get-resource",\r
1624         "name": "get-resource network-resources-list",\r
1625         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
1626         "comments": "",\r
1627         "outputs": 1,\r
1628         "x": 1204.566650390625,\r
1629         "y": 78.56666564941406,\r
1630         "z": "a133aed2.437bc",\r
1631         "wires": [\r
1632             [\r
1633                 "85160fe1.7646a8",\r
1634                 "5cf07174.f97d5",\r
1635                 "95dd25f4.16dd98"\r
1636             ]\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "5cf07174.f97d5",\r
1641         "type": "other",\r
1642         "name": "other",\r
1643         "xml": "<outcome value='Other'>\n",\r
1644         "comments": "",\r
1645         "outputs": 1,\r
1646         "x": 1437.566650390625,\r
1647         "y": 102.56666564941406,\r
1648         "z": "a133aed2.437bc",\r
1649         "wires": [\r
1650             []\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "95dd25f4.16dd98",\r
1655         "type": "not-found",\r
1656         "name": "not-found",\r
1657         "xml": "<outcome value='not-found'>\n",\r
1658         "comments": "",\r
1659         "outputs": 1,\r
1660         "x": 1451.566650390625,\r
1661         "y": 142.56666564941406,\r
1662         "z": "a133aed2.437bc",\r
1663         "wires": [\r
1664             []\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "85160fe1.7646a8",\r
1669         "type": "success",\r
1670         "name": "success",\r
1671         "xml": "<outcome value='success'>\n",\r
1672         "comments": "",\r
1673         "outputs": 1,\r
1674         "x": 1440.566650390625,\r
1675         "y": 61.56666564941406,\r
1676         "z": "a133aed2.437bc",\r
1677         "wires": [\r
1678             []\r
1679         ]\r
1680     },\r
1681     {\r
1682         "id": "fa4a5e3a.f8a4e8",\r
1683         "type": "for",\r
1684         "name": "for netwidx..allNetworksList_length",\r
1685         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
1686         "comments": "",\r
1687         "outputs": 1,\r
1688         "x": 1196.566650390625,\r
1689         "y": 124.56666564941406,\r
1690         "z": "a133aed2.437bc",\r
1691         "wires": [\r
1692             [\r
1693                 "a46c1b09.222d88"\r
1694             ]\r
1695         ]\r
1696     },\r
1697     {\r
1698         "id": "a46c1b09.222d88",\r
1699         "type": "switchNode",\r
1700         "name": "switch provider-id domainA",\r
1701         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
1702         "comments": "",\r
1703         "outputs": 1,\r
1704         "x": 1517.566650390625,\r
1705         "y": 200.56666564941406,\r
1706         "z": "a133aed2.437bc",\r
1707         "wires": [\r
1708             [\r
1709                 "d01d8d32.ec5d38",\r
1710                 "81f4ca42.44c8"\r
1711             ]\r
1712         ]\r
1713     },\r
1714     {\r
1715         "id": "d01d8d32.ec5d38",\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": 1741.566650390625,\r
1722         "y": 262.56666564941406,\r
1723         "z": "a133aed2.437bc",\r
1724         "wires": [\r
1725             [\r
1726                 "87874c93.14d4c8"\r
1727             ]\r
1728         ]\r
1729     },\r
1730     {\r
1731         "id": "87874c93.14d4c8",\r
1732         "type": "switchNode",\r
1733         "name": "switch te-topo-id",\r
1734         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
1735         "comments": "",\r
1736         "outputs": 1,\r
1737         "x": 1954.566650390625,\r
1738         "y": 262.56666564941406,\r
1739         "z": "a133aed2.437bc",\r
1740         "wires": [\r
1741             [\r
1742                 "1f97427e.3bd1ce"\r
1743             ]\r
1744         ]\r
1745     },\r
1746     {\r
1747         "id": "1f97427e.3bd1ce",\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": 2119.566650390625,\r
1754         "y": 262.56666564941406,\r
1755         "z": "a133aed2.437bc",\r
1756         "wires": [\r
1757             [\r
1758                 "e1187fc2.b7873"\r
1759             ]\r
1760         ]\r
1761     },\r
1762     {\r
1763         "id": "e1187fc2.b7873",\r
1764         "type": "set",\r
1765         "name": "set otnTopoIdSrc",\r
1766         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1767         "comments": "",\r
1768         "x": 2288.566650390625,\r
1769         "y": 262.56666564941406,\r
1770         "z": "a133aed2.437bc",\r
1771         "wires": []\r
1772     },\r
1773     {\r
1774         "id": "81f4ca42.44c8",\r
1775         "type": "outcomeFalse",\r
1776         "name": "false",\r
1777         "xml": "<outcome value='false'>\n",\r
1778         "comments": "",\r
1779         "outputs": 1,\r
1780         "x": 1741.566650390625,\r
1781         "y": 315.56666564941406,\r
1782         "z": "a133aed2.437bc",\r
1783         "wires": [\r
1784             [\r
1785                 "c4d51181.d481d"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "c4d51181.d481d",\r
1791         "type": "switchNode",\r
1792         "name": "switch provider-id domainB",\r
1793         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
1794         "comments": "",\r
1795         "outputs": 1,\r
1796         "x": 1929.566650390625,\r
1797         "y": 315.56666564941406,\r
1798         "z": "a133aed2.437bc",\r
1799         "wires": [\r
1800             [\r
1801                 "1eb6a395.543214",\r
1802                 "aff2e998.39f418"\r
1803             ]\r
1804         ]\r
1805     },\r
1806     {\r
1807         "id": "1eb6a395.543214",\r
1808         "type": "outcomeTrue",\r
1809         "name": "true",\r
1810         "xml": "<outcome value='true'>\n",\r
1811         "comments": "",\r
1812         "outputs": 1,\r
1813         "x": 2119.566650390625,\r
1814         "y": 315.56666564941406,\r
1815         "z": "a133aed2.437bc",\r
1816         "wires": [\r
1817             [\r
1818                 "131fed58.61933b"\r
1819             ]\r
1820         ]\r
1821     },\r
1822     {\r
1823         "id": "131fed58.61933b",\r
1824         "type": "switchNode",\r
1825         "name": "switch te-topo-id",\r
1826         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
1827         "comments": "",\r
1828         "outputs": 1,\r
1829         "x": 2287.566650390625,\r
1830         "y": 315.56666564941406,\r
1831         "z": "a133aed2.437bc",\r
1832         "wires": [\r
1833             [\r
1834                 "beb59651.122648"\r
1835             ]\r
1836         ]\r
1837     },\r
1838     {\r
1839         "id": "beb59651.122648",\r
1840         "type": "outcomeTrue",\r
1841         "name": "true",\r
1842         "xml": "<outcome value='true'>\n",\r
1843         "comments": "",\r
1844         "outputs": 1,\r
1845         "x": 2443.566650390625,\r
1846         "y": 315.56666564941406,\r
1847         "z": "a133aed2.437bc",\r
1848         "wires": [\r
1849             [\r
1850                 "27e9a268.b581ce"\r
1851             ]\r
1852         ]\r
1853     },\r
1854     {\r
1855         "id": "fe5f3417.d45418",\r
1856         "type": "set",\r
1857         "name": "set otnTopoIdDst",\r
1858         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1859         "comments": "",\r
1860         "x": 3138.566650390625,\r
1861         "y": 219.56666564941406,\r
1862         "z": "a133aed2.437bc",\r
1863         "wires": []\r
1864     },\r
1865     {\r
1866         "id": "1732667e.72f262",\r
1867         "type": "set",\r
1868         "name": "unset parameters",\r
1869         "xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",\r
1870         "comments": "",\r
1871         "x": 1141.566650390625,\r
1872         "y": 295.56666564941406,\r
1873         "z": "a133aed2.437bc",\r
1874         "wires": []\r
1875     },\r
1876     {\r
1877         "id": "2d0258cc.74942",\r
1878         "type": "set",\r
1879         "name": "unset parameters",\r
1880         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
1881         "comments": "",\r
1882         "x": 1150.566650390625,\r
1883         "y": 177.56666564941406,\r
1884         "z": "a133aed2.437bc",\r
1885         "wires": []\r
1886     },\r
1887     {\r
1888         "id": "52bfffd9.b2be3",\r
1889         "type": "set",\r
1890         "name": "unset parameters",\r
1891         "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
1892         "comments": "",\r
1893         "x": 1148.566650390625,\r
1894         "y": 219.56666564941406,\r
1895         "z": "a133aed2.437bc",\r
1896         "wires": []\r
1897     },\r
1898     {\r
1899         "id": "9fbe4c7e.064f2",\r
1900         "type": "record",\r
1901         "name": "record otn-oof.",\r
1902         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",\r
1903         "comments": "",\r
1904         "outputs": 1,\r
1905         "x": 1137.566650390625,\r
1906         "y": 530.5666656494141,\r
1907         "z": "a133aed2.437bc",\r
1908         "wires": [\r
1909             []\r
1910         ]\r
1911     },\r
1912     {\r
1913         "id": "6130a3db.8f4a2c",\r
1914         "type": "execute",\r
1915         "name": "execute printContext",\r
1916         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
1917         "comments": "",\r
1918         "outputs": 1,\r
1919         "x": 1159.566650390625,\r
1920         "y": 603.5666656494141,\r
1921         "z": "a133aed2.437bc",\r
1922         "wires": [\r
1923             []\r
1924         ]\r
1925     },\r
1926     {\r
1927         "id": "272b0d1.5ea4172",\r
1928         "type": "set",\r
1929         "name": "set filename",\r
1930         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",\r
1931         "comments": "",\r
1932         "x": 1133.566650390625,\r
1933         "y": 566.5666656494141,\r
1934         "z": "a133aed2.437bc",\r
1935         "wires": []\r
1936     },\r
1937     {\r
1938         "id": "aff2e998.39f418",\r
1939         "type": "outcomeFalse",\r
1940         "name": "false",\r
1941         "xml": "<outcome value='false'>\n",\r
1942         "comments": "",\r
1943         "outputs": 1,\r
1944         "x": 2109.566650390625,\r
1945         "y": 379.56666564941406,\r
1946         "z": "a133aed2.437bc",\r
1947         "wires": [\r
1948             [\r
1949                 "45368237.09cbd4"\r
1950             ]\r
1951         ]\r
1952     },\r
1953     {\r
1954         "id": "45368237.09cbd4",\r
1955         "type": "switchNode",\r
1956         "name": "switch provider-id domainC",\r
1957         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
1958         "comments": "",\r
1959         "outputs": 1,\r
1960         "x": 2310.566650390625,\r
1961         "y": 380.56666564941406,\r
1962         "z": "a133aed2.437bc",\r
1963         "wires": [\r
1964             [\r
1965                 "60978bb2.ce9a04"\r
1966             ]\r
1967         ]\r
1968     },\r
1969     {\r
1970         "id": "60978bb2.ce9a04",\r
1971         "type": "outcomeTrue",\r
1972         "name": "true",\r
1973         "xml": "<outcome value='true'>\n",\r
1974         "comments": "",\r
1975         "outputs": 1,\r
1976         "x": 2520.566650390625,\r
1977         "y": 380.56666564941406,\r
1978         "z": "a133aed2.437bc",\r
1979         "wires": [\r
1980             [\r
1981                 "cc22664a.751d9"\r
1982             ]\r
1983         ]\r
1984     },\r
1985     {\r
1986         "id": "2b3da5c.c5bcc5a",\r
1987         "type": "set",\r
1988         "name": "set otnTopoIdDstBackup",\r
1989         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
1990         "comments": "",\r
1991         "x": 3228.566650390625,\r
1992         "y": 470.5666961669922,\r
1993         "z": "a133aed2.437bc",\r
1994         "wires": []\r
1995     },\r
1996     {\r
1997         "id": "c5b8562e.825c2",\r
1998         "type": "set",\r
1999         "name": "unset parameters",\r
2000         "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
2001         "comments": "",\r
2002         "x": 1146.566650390625,\r
2003         "y": 257.56666564941406,\r
2004         "z": "a133aed2.437bc",\r
2005         "wires": []\r
2006     },\r
2007     {\r
2008         "id": "f2fd0ea2.f13608",\r
2009         "type": "set",\r
2010         "name": "set tmp.pce-dst-node-backup",\r
2011         "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $otnTopoIdDstBackup + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />",\r
2012         "comments": "",\r
2013         "x": 1178.566650390625,\r
2014         "y": 435.56666564941406,\r
2015         "z": "a133aed2.437bc",\r
2016         "wires": []\r
2017     },\r
2018     {\r
2019         "id": "5207916.8d843f",\r
2020         "type": "switchNode",\r
2021         "name": "switch $hasSecondary",\r
2022         "xml": "<switch test='`$hasSecondary`'>\n",\r
2023         "comments": "",\r
2024         "outputs": 1,\r
2025         "x": 1182.566650390625,\r
2026         "y": 682.5666656494141,\r
2027         "z": "a133aed2.437bc",\r
2028         "wires": [\r
2029             [\r
2030                 "9d24bff4.f7fc3",\r
2031                 "53b4e0bd.3986c8"\r
2032             ]\r
2033         ]\r
2034     },\r
2035     {\r
2036         "id": "9d24bff4.f7fc3",\r
2037         "type": "outcomeTrue",\r
2038         "name": "true",\r
2039         "xml": "<outcome value='true'>\n",\r
2040         "comments": "",\r
2041         "outputs": 1,\r
2042         "x": 1373.566650390625,\r
2043         "y": 686.5666656494141,\r
2044         "z": "a133aed2.437bc",\r
2045         "wires": [\r
2046             [\r
2047                 "c8813a5.7f98b48"\r
2048             ]\r
2049         ]\r
2050     },\r
2051     {\r
2052         "id": "c8813a5.7f98b48",\r
2053         "type": "block",\r
2054         "name": "block",\r
2055         "xml": "<block>\n",\r
2056         "atomic": "false",\r
2057         "comments": "",\r
2058         "outputs": 1,\r
2059         "x": 1500.566650390625,\r
2060         "y": 685.5666656494141,\r
2061         "z": "a133aed2.437bc",\r
2062         "wires": [\r
2063             [\r
2064                 "b34bb5ff.c918e"\r
2065             ]\r
2066         ]\r
2067     },\r
2068     {\r
2069         "id": "53b4e0bd.3986c8",\r
2070         "type": "outcomeTrue",\r
2071         "name": "false",\r
2072         "xml": "<outcome value='false'>\n",\r
2073         "comments": "",\r
2074         "outputs": 1,\r
2075         "x": 1375.566650390625,\r
2076         "y": 639.5666656494141,\r
2077         "z": "a133aed2.437bc",\r
2078         "wires": [\r
2079             [\r
2080                 "758c479c.bf4b8"\r
2081             ]\r
2082         ]\r
2083     },\r
2084     {\r
2085         "id": "758c479c.bf4b8",\r
2086         "type": "execute",\r
2087         "name": "execute PCE in ccsdk/sli/core",\r
2088         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",\r
2089         "comments": "",\r
2090         "outputs": 1,\r
2091         "x": 1749.566650390625,\r
2092         "y": 569.5666656494141,\r
2093         "z": "a133aed2.437bc",\r
2094         "wires": [\r
2095             [\r
2096                 "b6552b0f.7b51e8",\r
2097                 "e27e8a21.4f0d3",\r
2098                 "b3bc4161.bbb128"\r
2099             ]\r
2100         ]\r
2101     },\r
2102     {\r
2103         "id": "b6552b0f.7b51e8",\r
2104         "type": "other",\r
2105         "name": "other",\r
2106         "xml": "<outcome value='Other'>\n",\r
2107         "comments": "",\r
2108         "outputs": 1,\r
2109         "x": 1994.566650390625,\r
2110         "y": 601.5666656494141,\r
2111         "z": "a133aed2.437bc",\r
2112         "wires": [\r
2113             []\r
2114         ]\r
2115     },\r
2116     {\r
2117         "id": "e27e8a21.4f0d3",\r
2118         "type": "not-found",\r
2119         "name": "not-found",\r
2120         "xml": "<outcome value='not-found'>\n",\r
2121         "comments": "",\r
2122         "outputs": 1,\r
2123         "x": 2001.566650390625,\r
2124         "y": 643.5666656494141,\r
2125         "z": "a133aed2.437bc",\r
2126         "wires": [\r
2127             []\r
2128         ]\r
2129     },\r
2130     {\r
2131         "id": "b3bc4161.bbb128",\r
2132         "type": "success",\r
2133         "name": "success",\r
2134         "xml": "<outcome value='success'>\n",\r
2135         "comments": "",\r
2136         "outputs": 1,\r
2137         "x": 1996.566650390625,\r
2138         "y": 564.5666656494141,\r
2139         "z": "a133aed2.437bc",\r
2140         "wires": [\r
2141             []\r
2142         ]\r
2143     },\r
2144     {\r
2145         "id": "c19998ca.837848",\r
2146         "type": "for",\r
2147         "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
2148         "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
2149         "comments": "",\r
2150         "outputs": 1,\r
2151         "x": 947.566650390625,\r
2152         "y": 2100.566665649414,\r
2153         "z": "a133aed2.437bc",\r
2154         "wires": [\r
2155             [\r
2156                 "decd0bab.6330f"\r
2157             ]\r
2158         ]\r
2159     },\r
2160     {\r
2161         "id": "decd0bab.6330f",\r
2162         "type": "block",\r
2163         "name": "block : atomic",\r
2164         "xml": "<block atomic=\"true\">",\r
2165         "atomic": "true",\r
2166         "outputs": 1,\r
2167         "x": 1052.0938720703125,\r
2168         "y": 2291.607437133789,\r
2169         "z": "a133aed2.437bc",\r
2170         "wires": [\r
2171             [\r
2172                 "81b9ae35.358fd",\r
2173                 "74f1c10d.f5627",\r
2174                 "64fb9896.7c1ac8",\r
2175                 "74b04e90.089e28",\r
2176                 "d162f07e.eec04"\r
2177             ]\r
2178         ]\r
2179     },\r
2180     {\r
2181         "id": "81b9ae35.358fd",\r
2182         "type": "set",\r
2183         "name": "set otn-oof.link-name and etc.",\r
2184         "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",\r
2185         "comments": "",\r
2186         "x": 1298.5938720703125,\r
2187         "y": 2184.607437133789,\r
2188         "z": "a133aed2.437bc",\r
2189         "wires": []\r
2190     },\r
2191     {\r
2192         "id": "d162f07e.eec04",\r
2193         "type": "block",\r
2194         "name": "block : atomic",\r
2195         "xml": "<block atomic=\"true\">",\r
2196         "atomic": "true",\r
2197         "outputs": 1,\r
2198         "x": 1265.0938720703125,\r
2199         "y": 2373.3209381103516,\r
2200         "z": "a133aed2.437bc",\r
2201         "wires": [\r
2202             [\r
2203                 "9a15bd2c.c28818",\r
2204                 "85fd58d.daa8628"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "74f1c10d.f5627",\r
2210         "type": "set",\r
2211         "name": "unset parameters",\r
2212         "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",\r
2213         "comments": "",\r
2214         "x": 1289.59375,\r
2215         "y": 2113.3209381103516,\r
2216         "z": "a133aed2.437bc",\r
2217         "wires": []\r
2218     },\r
2219     {\r
2220         "id": "64fb9896.7c1ac8",\r
2221         "type": "set",\r
2222         "name": "set src-ltpId",\r
2223         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",\r
2224         "comments": "",\r
2225         "x": 1271.59375,\r
2226         "y": 2244.3209381103516,\r
2227         "z": "a133aed2.437bc",\r
2228         "wires": []\r
2229     },\r
2230     {\r
2231         "id": "74b04e90.089e28",\r
2232         "type": "set",\r
2233         "name": "set dst-ltpId",\r
2234         "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",\r
2235         "comments": "",\r
2236         "x": 1272.59375,\r
2237         "y": 2294.3209381103516,\r
2238         "z": "a133aed2.437bc",\r
2239         "wires": []\r
2240     },\r
2241     {\r
2242         "id": "46c3f571.5e6ab4",\r
2243         "type": "success",\r
2244         "name": "success",\r
2245         "xml": "<outcome value='success'>\n",\r
2246         "comments": "",\r
2247         "outputs": 1,\r
2248         "x": 2790.5936279296875,\r
2249         "y": 2108.3209381103516,\r
2250         "z": "a133aed2.437bc",\r
2251         "wires": [\r
2252             [\r
2253                 "190fafd3.9d5618"\r
2254             ]\r
2255         ]\r
2256     },\r
2257     {\r
2258         "id": "1af50a9f.ba08f5",\r
2259         "type": "not-found",\r
2260         "name": "not-found",\r
2261         "xml": "<outcome value='not-found'>\n",\r
2262         "comments": "",\r
2263         "outputs": 1,\r
2264         "x": 2823.59375,\r
2265         "y": 2166.3209381103516,\r
2266         "z": "a133aed2.437bc",\r
2267         "wires": [\r
2268             [\r
2269                 "eb6a21e7.d2544"\r
2270             ]\r
2271         ]\r
2272     },\r
2273     {\r
2274         "id": "9ac3f118.22cc9",\r
2275         "type": "other",\r
2276         "name": "other",\r
2277         "xml": "<outcome value='Other'>\n",\r
2278         "comments": "",\r
2279         "outputs": 1,\r
2280         "x": 2826.59375,\r
2281         "y": 2218.3209381103516,\r
2282         "z": "a133aed2.437bc",\r
2283         "wires": [\r
2284             [\r
2285                 "5df935cf.d90ef4"\r
2286             ]\r
2287         ]\r
2288     },\r
2289     {\r
2290         "id": "eb6a21e7.d2544",\r
2291         "type": "returnFailure",\r
2292         "name": "return failure",\r
2293         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2294         "comments": "",\r
2295         "x": 3008.59375,\r
2296         "y": 2170.3209381103516,\r
2297         "z": "a133aed2.437bc",\r
2298         "wires": []\r
2299     },\r
2300     {\r
2301         "id": "5df935cf.d90ef4",\r
2302         "type": "returnFailure",\r
2303         "name": "return failure",\r
2304         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2305         "comments": "",\r
2306         "x": 2996.59375,\r
2307         "y": 2221.3209381103516,\r
2308         "z": "a133aed2.437bc",\r
2309         "wires": []\r
2310     },\r
2311     {\r
2312         "id": "76d93361.427b24",\r
2313         "type": "for",\r
2314         "name": "for each relationship",\r
2315         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
2316         "comments": "",\r
2317         "outputs": 1,\r
2318         "x": 3141.9764404296875,\r
2319         "y": 2103.980667114258,\r
2320         "z": "a133aed2.437bc",\r
2321         "wires": [\r
2322             [\r
2323                 "3f5fbc68.02a224"\r
2324             ]\r
2325         ]\r
2326     },\r
2327     {\r
2328         "id": "3f5fbc68.02a224",\r
2329         "type": "switchNode",\r
2330         "name": "switch related-to",\r
2331         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
2332         "comments": "",\r
2333         "outputs": 1,\r
2334         "x": 3393.9764404296875,\r
2335         "y": 2100.980667114258,\r
2336         "z": "a133aed2.437bc",\r
2337         "wires": [\r
2338             [\r
2339                 "ba2b4720.d65cf"\r
2340             ]\r
2341         ]\r
2342     },\r
2343     {\r
2344         "id": "190fafd3.9d5618",\r
2345         "type": "block",\r
2346         "name": "block",\r
2347         "xml": "<block>\n",\r
2348         "atomic": "false",\r
2349         "comments": "",\r
2350         "outputs": 1,\r
2351         "x": 2924.5936279296875,\r
2352         "y": 2104.3209381103516,\r
2353         "z": "a133aed2.437bc",\r
2354         "wires": [\r
2355             [\r
2356                 "76d93361.427b24"\r
2357             ]\r
2358         ]\r
2359     },\r
2360     {\r
2361         "id": "85fd58d.daa8628",\r
2362         "type": "get-resource",\r
2363         "name": "get-resource src tp",\r
2364         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
2365         "comments": "",\r
2366         "outputs": 1,\r
2367         "x": 2593.09375,\r
2368         "y": 2147.3209381103516,\r
2369         "z": "a133aed2.437bc",\r
2370         "wires": [\r
2371             [\r
2372                 "46c3f571.5e6ab4",\r
2373                 "1af50a9f.ba08f5",\r
2374                 "9ac3f118.22cc9"\r
2375             ]\r
2376         ]\r
2377     },\r
2378     {\r
2379         "id": "17b12d07.01db03",\r
2380         "type": "set",\r
2381         "name": "set domain A node ttp-id",\r
2382         "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
2383         "comments": "",\r
2384         "x": 4127.0936279296875,\r
2385         "y": 2023.3209381103516,\r
2386         "z": "a133aed2.437bc",\r
2387         "wires": []\r
2388     },\r
2389     {\r
2390         "id": "56dc3866.a81c4",\r
2391         "type": "get-resource",\r
2392         "name": "get-resource src TTP",\r
2393         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
2394         "comments": "",\r
2395         "outputs": 1,\r
2396         "x": 4135.0936279296875,\r
2397         "y": 2075.3209381103516,\r
2398         "z": "a133aed2.437bc",\r
2399         "wires": [\r
2400             [\r
2401                 "bd3f106f.63b0f8"\r
2402             ]\r
2403         ]\r
2404     },\r
2405     {\r
2406         "id": "bd3f106f.63b0f8",\r
2407         "type": "success",\r
2408         "name": "success",\r
2409         "xml": "<outcome value='success'>\n",\r
2410         "comments": "",\r
2411         "outputs": 1,\r
2412         "x": 4341.5936279296875,\r
2413         "y": 2053.3209381103516,\r
2414         "z": "a133aed2.437bc",\r
2415         "wires": [\r
2416             [\r
2417                 "e873d0c7.864da"\r
2418             ]\r
2419         ]\r
2420     },\r
2421     {\r
2422         "id": "ba2b4720.d65cf",\r
2423         "type": "outcome",\r
2424         "name": "tunnel-termination-point",\r
2425         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2426         "comments": "",\r
2427         "outputs": 1,\r
2428         "x": 3679.2620849609375,\r
2429         "y": 2101.802444458008,\r
2430         "z": "a133aed2.437bc",\r
2431         "wires": [\r
2432             [\r
2433                 "53671013.434608"\r
2434             ]\r
2435         ]\r
2436     },\r
2437     {\r
2438         "id": "53671013.434608",\r
2439         "type": "block",\r
2440         "name": "block : atomic",\r
2441         "xml": "<block atomic=\"true\">",\r
2442         "atomic": "true",\r
2443         "outputs": 1,\r
2444         "x": 3906.0936279296875,\r
2445         "y": 2090.3209381103516,\r
2446         "z": "a133aed2.437bc",\r
2447         "wires": [\r
2448             [\r
2449                 "17b12d07.01db03",\r
2450                 "56dc3866.a81c4",\r
2451                 "c0980ef4.f86658",\r
2452                 "1febeafa.37d915",\r
2453                 "ab68a575.dbe428"\r
2454             ]\r
2455         ]\r
2456     },\r
2457     {\r
2458         "id": "e873d0c7.864da",\r
2459         "type": "block",\r
2460         "name": "block : atomic",\r
2461         "xml": "<block atomic=\"true\">",\r
2462         "atomic": "true",\r
2463         "outputs": 1,\r
2464         "x": 4516.5936279296875,\r
2465         "y": 2049.3209381103516,\r
2466         "z": "a133aed2.437bc",\r
2467         "wires": [\r
2468             [\r
2469                 "42a0b5ef.0a3e6c"\r
2470             ]\r
2471         ]\r
2472     },\r
2473     {\r
2474         "id": "c0980ef4.f86658",\r
2475         "type": "get-resource",\r
2476         "name": "get-resource src pnf",\r
2477         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2478         "comments": "",\r
2479         "outputs": 1,\r
2480         "x": 3996.5936279296875,\r
2481         "y": 1893.3209381103516,\r
2482         "z": "a133aed2.437bc",\r
2483         "wires": [\r
2484             [\r
2485                 "fabc0bd7.062ae",\r
2486                 "cfe003ed.a587d",\r
2487                 "45d38fe1.3add68"\r
2488             ]\r
2489         ]\r
2490     },\r
2491     {\r
2492         "id": "fabc0bd7.062ae",\r
2493         "type": "success",\r
2494         "name": "success",\r
2495         "xml": "<outcome value='success'>\n",\r
2496         "comments": "",\r
2497         "outputs": 1,\r
2498         "x": 4192.09375,\r
2499         "y": 1845.3209381103516,\r
2500         "z": "a133aed2.437bc",\r
2501         "wires": [\r
2502             [\r
2503                 "c6a1c641.2a058"\r
2504             ]\r
2505         ]\r
2506     },\r
2507     {\r
2508         "id": "cfe003ed.a587d",\r
2509         "type": "not-found",\r
2510         "name": "not-found",\r
2511         "xml": "<outcome value='not-found'>\n",\r
2512         "comments": "",\r
2513         "outputs": 1,\r
2514         "x": 4184.09375,\r
2515         "y": 1900.3209381103516,\r
2516         "z": "a133aed2.437bc",\r
2517         "wires": [\r
2518             [\r
2519                 "1b4dfe50.a881e2"\r
2520             ]\r
2521         ]\r
2522     },\r
2523     {\r
2524         "id": "45d38fe1.3add68",\r
2525         "type": "other",\r
2526         "name": "other",\r
2527         "xml": "<outcome value='Other'>\n",\r
2528         "comments": "",\r
2529         "outputs": 1,\r
2530         "x": 4189.09375,\r
2531         "y": 1957.3209381103516,\r
2532         "z": "a133aed2.437bc",\r
2533         "wires": [\r
2534             [\r
2535                 "6ffbe3ea.ec634c"\r
2536             ]\r
2537         ]\r
2538     },\r
2539     {\r
2540         "id": "6ffbe3ea.ec634c",\r
2541         "type": "returnFailure",\r
2542         "name": "return failure",\r
2543         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2544         "comments": "",\r
2545         "x": 4341.09375,\r
2546         "y": 1958.3209381103516,\r
2547         "z": "a133aed2.437bc",\r
2548         "wires": []\r
2549     },\r
2550     {\r
2551         "id": "1b4dfe50.a881e2",\r
2552         "type": "returnFailure",\r
2553         "name": "return failure",\r
2554         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2555         "comments": "",\r
2556         "x": 4352.09375,\r
2557         "y": 1903.3209381103516,\r
2558         "z": "a133aed2.437bc",\r
2559         "wires": []\r
2560     },\r
2561     {\r
2562         "id": "c6a1c641.2a058",\r
2563         "type": "block",\r
2564         "name": "block",\r
2565         "xml": "<block>\n",\r
2566         "atomic": "false",\r
2567         "comments": "",\r
2568         "outputs": 1,\r
2569         "x": 4336.47607421875,\r
2570         "y": 1842.9766082763672,\r
2571         "z": "a133aed2.437bc",\r
2572         "wires": [\r
2573             [\r
2574                 "59cb321.8a1954c",\r
2575                 "49c6e1ec.24535"\r
2576             ]\r
2577         ]\r
2578     },\r
2579     {\r
2580         "id": "59cb321.8a1954c",\r
2581         "type": "set",\r
2582         "name": "set domain A node-id and tpn",\r
2583         "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
2584         "comments": "",\r
2585         "x": 4561.5936279296875,\r
2586         "y": 1798.3209381103516,\r
2587         "z": "a133aed2.437bc",\r
2588         "wires": []\r
2589     },\r
2590     {\r
2591         "id": "1febeafa.37d915",\r
2592         "type": "break",\r
2593         "name": "break",\r
2594         "xml": "<break>\n",\r
2595         "comments": "",\r
2596         "x": 4083.5936279296875,\r
2597         "y": 2140.3209381103516,\r
2598         "z": "a133aed2.437bc",\r
2599         "wires": []\r
2600     },\r
2601     {\r
2602         "id": "49c6e1ec.24535",\r
2603         "type": "for",\r
2604         "name": "for each relationship",\r
2605         "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
2606         "comments": "",\r
2607         "outputs": 1,\r
2608         "x": 4520.5936279296875,\r
2609         "y": 1857.3209381103516,\r
2610         "z": "a133aed2.437bc",\r
2611         "wires": [\r
2612             [\r
2613                 "8d839c87.82ade8"\r
2614             ]\r
2615         ]\r
2616     },\r
2617     {\r
2618         "id": "ab68a575.dbe428",\r
2619         "type": "execute",\r
2620         "name": "execute split tp-id to get pnf-name",\r
2621         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<!--<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
2622         "comments": "",\r
2623         "outputs": 1,\r
2624         "x": 4024.5936279296875,\r
2625         "y": 1687.3209381103516,\r
2626         "z": "a133aed2.437bc",\r
2627         "wires": [\r
2628             [\r
2629                 "f1409763.115658",\r
2630                 "697906a6.2f581"\r
2631             ]\r
2632         ]\r
2633     },\r
2634     {\r
2635         "id": "697906a6.2f581",\r
2636         "type": "failure",\r
2637         "name": "success",\r
2638         "xml": "<outcome value='success'>\n",\r
2639         "comments": "",\r
2640         "outputs": 1,\r
2641         "x": 4245.5936279296875,\r
2642         "y": 1655.3209381103516,\r
2643         "z": "a133aed2.437bc",\r
2644         "wires": [\r
2645             [\r
2646                 "54d6be87.274308"\r
2647             ]\r
2648         ]\r
2649     },\r
2650     {\r
2651         "id": "f1409763.115658",\r
2652         "type": "failure",\r
2653         "name": "failure",\r
2654         "xml": "<outcome value='failure'>\n",\r
2655         "comments": "",\r
2656         "outputs": 1,\r
2657         "x": 4245.5936279296875,\r
2658         "y": 1702.3209381103516,\r
2659         "z": "a133aed2.437bc",\r
2660         "wires": [\r
2661             [\r
2662                 "6390534f.61c684"\r
2663             ]\r
2664         ]\r
2665     },\r
2666     {\r
2667         "id": "54d6be87.274308",\r
2668         "type": "block",\r
2669         "name": "block : atomic",\r
2670         "xml": "<block atomic=\"true\">",\r
2671         "atomic": "true",\r
2672         "outputs": 1,\r
2673         "x": 4410.5936279296875,\r
2674         "y": 1652.3209381103516,\r
2675         "z": "a133aed2.437bc",\r
2676         "wires": [\r
2677             [\r
2678                 "f9eb1fe5.bf94b8"\r
2679             ]\r
2680         ]\r
2681     },\r
2682     {\r
2683         "id": "f9eb1fe5.bf94b8",\r
2684         "type": "set",\r
2685         "name": "set domain-A.ltpId",\r
2686         "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
2687         "comments": "",\r
2688         "x": 4592.5936279296875,\r
2689         "y": 1656.3209381103516,\r
2690         "z": "a133aed2.437bc",\r
2691         "wires": []\r
2692     },\r
2693     {\r
2694         "id": "6390534f.61c684",\r
2695         "type": "returnFailure",\r
2696         "name": "return failure",\r
2697         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
2698         "comments": "",\r
2699         "x": 4412.5936279296875,\r
2700         "y": 1702.3209381103516,\r
2701         "z": "a133aed2.437bc",\r
2702         "wires": []\r
2703     },\r
2704     {\r
2705         "id": "78eb0221.5dfc84",\r
2706         "type": "comment",\r
2707         "name": "Not useful anymore",\r
2708         "info": "this domain-A.ltpId is not used anymore",\r
2709         "comments": "",\r
2710         "x": 4635.5936279296875,\r
2711         "y": 1632.3209381103516,\r
2712         "z": "a133aed2.437bc",\r
2713         "wires": []\r
2714     },\r
2715     {\r
2716         "id": "42a0b5ef.0a3e6c",\r
2717         "type": "set",\r
2718         "name": "set domain A tunnel tp ip",\r
2719         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",\r
2720         "comments": "",\r
2721         "x": 4777.5936279296875,\r
2722         "y": 2046.3209381103516,\r
2723         "z": "a133aed2.437bc",\r
2724         "wires": []\r
2725     },\r
2726     {\r
2727         "id": "ba5b9e92.be837",\r
2728         "type": "outcome",\r
2729         "name": "network-resource",\r
2730         "xml": "<outcome value='network-resource'>\n",\r
2731         "comments": "",\r
2732         "outputs": 1,\r
2733         "x": 4918.5936279296875,\r
2734         "y": 1861.3209381103516,\r
2735         "z": "a133aed2.437bc",\r
2736         "wires": [\r
2737             [\r
2738                 "897ba475.c5f53"\r
2739             ]\r
2740         ]\r
2741     },\r
2742     {\r
2743         "id": "8d839c87.82ade8",\r
2744         "type": "switchNode",\r
2745         "name": "switch related-to",\r
2746         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
2747         "comments": "",\r
2748         "outputs": 1,\r
2749         "x": 4715.5936279296875,\r
2750         "y": 1857.3209381103516,\r
2751         "z": "a133aed2.437bc",\r
2752         "wires": [\r
2753             [\r
2754                 "ba5b9e92.be837"\r
2755             ]\r
2756         ]\r
2757     },\r
2758     {\r
2759         "id": "897ba475.c5f53",\r
2760         "type": "block",\r
2761         "name": "block : atomic",\r
2762         "xml": "<block atomic=\"true\">",\r
2763         "atomic": "true",\r
2764         "outputs": 1,\r
2765         "x": 5095.5936279296875,\r
2766         "y": 1853.3209381103516,\r
2767         "z": "a133aed2.437bc",\r
2768         "wires": [\r
2769             [\r
2770                 "bef188d5.c786d8",\r
2771                 "792f44ce.13c154",\r
2772                 "18753ca.06672c3"\r
2773             ]\r
2774         ]\r
2775     },\r
2776     {\r
2777         "id": "bef188d5.c786d8",\r
2778         "type": "set",\r
2779         "name": "set domain A network-id",\r
2780         "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
2781         "comments": "",\r
2782         "x": 5310.5936279296875,\r
2783         "y": 1834.3209381103516,\r
2784         "z": "a133aed2.437bc",\r
2785         "wires": []\r
2786     },\r
2787     {\r
2788         "id": "792f44ce.13c154",\r
2789         "type": "get-resource",\r
2790         "name": "get-resource src network-resource",\r
2791         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
2792         "comments": "",\r
2793         "outputs": 1,\r
2794         "x": 5327.5936279296875,\r
2795         "y": 1898.3209381103516,\r
2796         "z": "a133aed2.437bc",\r
2797         "wires": [\r
2798             [\r
2799                 "5b892dc0.3c8d04"\r
2800             ]\r
2801         ]\r
2802     },\r
2803     {\r
2804         "id": "5b892dc0.3c8d04",\r
2805         "type": "success",\r
2806         "name": "success",\r
2807         "xml": "<outcome value='success'>\n",\r
2808         "comments": "",\r
2809         "outputs": 1,\r
2810         "x": 5551.0936279296875,\r
2811         "y": 1899.3209381103516,\r
2812         "z": "a133aed2.437bc",\r
2813         "wires": [\r
2814             [\r
2815                 "ba2d6189.94da7"\r
2816             ]\r
2817         ]\r
2818     },\r
2819     {\r
2820         "id": "ba2d6189.94da7",\r
2821         "type": "set",\r
2822         "name": "set domain A network-id, topo-id, client-id, etc",\r
2823         "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",\r
2824         "comments": "",\r
2825         "x": 5815.5936279296875,\r
2826         "y": 1888.3209381103516,\r
2827         "z": "a133aed2.437bc",\r
2828         "wires": []\r
2829     },\r
2830     {\r
2831         "id": "18753ca.06672c3",\r
2832         "type": "break",\r
2833         "name": "break",\r
2834         "xml": "<break>\n",\r
2835         "comments": "",\r
2836         "x": 5254.5936279296875,\r
2837         "y": 1951.3209381103516,\r
2838         "z": "a133aed2.437bc",\r
2839         "wires": []\r
2840     },\r
2841     {\r
2842         "id": "8130be42.c4b418",\r
2843         "type": "break",\r
2844         "name": "break",\r
2845         "xml": "<break>\n",\r
2846         "comments": "",\r
2847         "x": 2466.0936279296875,\r
2848         "y": 2617.3209381103516,\r
2849         "z": "a133aed2.437bc",\r
2850         "wires": []\r
2851     },\r
2852     {\r
2853         "id": "9a15bd2c.c28818",\r
2854         "type": "get-resource",\r
2855         "name": "get-resource dst tp",\r
2856         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
2857         "comments": "",\r
2858         "outputs": 1,\r
2859         "x": 2547.09375,\r
2860         "y": 2513.3209381103516,\r
2861         "z": "a133aed2.437bc",\r
2862         "wires": [\r
2863             [\r
2864                 "bbfaea50.2f8978",\r
2865                 "48b1011.95ef3",\r
2866                 "f850bc1.45f5a4"\r
2867             ]\r
2868         ]\r
2869     },\r
2870     {\r
2871         "id": "bbfaea50.2f8978",\r
2872         "type": "success",\r
2873         "name": "success",\r
2874         "xml": "<outcome value='success'>\n",\r
2875         "comments": "",\r
2876         "outputs": 1,\r
2877         "x": 2769.5936279296875,\r
2878         "y": 2655.3209381103516,\r
2879         "z": "a133aed2.437bc",\r
2880         "wires": [\r
2881             [\r
2882                 "8bd3d4c4.129cd"\r
2883             ]\r
2884         ]\r
2885     },\r
2886     {\r
2887         "id": "48b1011.95ef3",\r
2888         "type": "not-found",\r
2889         "name": "not-found",\r
2890         "xml": "<outcome value='not-found'>\n",\r
2891         "comments": "",\r
2892         "outputs": 1,\r
2893         "x": 2753.5936279296875,\r
2894         "y": 2706.3209381103516,\r
2895         "z": "a133aed2.437bc",\r
2896         "wires": [\r
2897             [\r
2898                 "31d51c19.564114"\r
2899             ]\r
2900         ]\r
2901     },\r
2902     {\r
2903         "id": "f850bc1.45f5a4",\r
2904         "type": "other",\r
2905         "name": "other",\r
2906         "xml": "<outcome value='Other'>\n",\r
2907         "comments": "",\r
2908         "outputs": 1,\r
2909         "x": 2756.5936279296875,\r
2910         "y": 2758.3209381103516,\r
2911         "z": "a133aed2.437bc",\r
2912         "wires": [\r
2913             [\r
2914                 "e3e65a88.eeb708"\r
2915             ]\r
2916         ]\r
2917     },\r
2918     {\r
2919         "id": "e3e65a88.eeb708",\r
2920         "type": "returnFailure",\r
2921         "name": "return failure",\r
2922         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2923         "comments": "",\r
2924         "x": 2926.5936279296875,\r
2925         "y": 2761.3209381103516,\r
2926         "z": "a133aed2.437bc",\r
2927         "wires": []\r
2928     },\r
2929     {\r
2930         "id": "31d51c19.564114",\r
2931         "type": "returnFailure",\r
2932         "name": "return failure",\r
2933         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2934         "comments": "",\r
2935         "x": 2938.5936279296875,\r
2936         "y": 2710.3209381103516,\r
2937         "z": "a133aed2.437bc",\r
2938         "wires": []\r
2939     },\r
2940     {\r
2941         "id": "93be1dc8.40e81",\r
2942         "type": "for",\r
2943         "name": "for each relationship",\r
2944         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
2945         "comments": "",\r
2946         "outputs": 1,\r
2947         "x": 3125.9764404296875,\r
2948         "y": 2665.980667114258,\r
2949         "z": "a133aed2.437bc",\r
2950         "wires": [\r
2951             [\r
2952                 "fdc63182.4572f"\r
2953             ]\r
2954         ]\r
2955     },\r
2956     {\r
2957         "id": "fdc63182.4572f",\r
2958         "type": "switchNode",\r
2959         "name": "switch related-to",\r
2960         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
2961         "comments": "",\r
2962         "outputs": 1,\r
2963         "x": 3368.9764404296875,\r
2964         "y": 2664.980667114258,\r
2965         "z": "a133aed2.437bc",\r
2966         "wires": [\r
2967             [\r
2968                 "d054e714.1f47"\r
2969             ]\r
2970         ]\r
2971     },\r
2972     {\r
2973         "id": "8bd3d4c4.129cd",\r
2974         "type": "block",\r
2975         "name": "block",\r
2976         "xml": "<block>\n",\r
2977         "atomic": "false",\r
2978         "comments": "",\r
2979         "outputs": 1,\r
2980         "x": 2915.5936279296875,\r
2981         "y": 2646.3209381103516,\r
2982         "z": "a133aed2.437bc",\r
2983         "wires": [\r
2984             [\r
2985                 "93be1dc8.40e81"\r
2986             ]\r
2987         ]\r
2988     },\r
2989     {\r
2990         "id": "d054e714.1f47",\r
2991         "type": "outcome",\r
2992         "name": "tunnel-termination-point",\r
2993         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2994         "comments": "",\r
2995         "outputs": 1,\r
2996         "x": 3625.2620849609375,\r
2997         "y": 2664.802444458008,\r
2998         "z": "a133aed2.437bc",\r
2999         "wires": [\r
3000             [\r
3001                 "64e60c2e.997314"\r
3002             ]\r
3003         ]\r
3004     },\r
3005     {\r
3006         "id": "64e60c2e.997314",\r
3007         "type": "block",\r
3008         "name": "block : atomic",\r
3009         "xml": "<block atomic=\"true\">",\r
3010         "atomic": "true",\r
3011         "outputs": 1,\r
3012         "x": 3925.0936279296875,\r
3013         "y": 2662.3209381103516,\r
3014         "z": "a133aed2.437bc",\r
3015         "wires": [\r
3016             [\r
3017                 "1bae9a4e.9212ce",\r
3018                 "de2043de.3cb548",\r
3019                 "3a2030d6.3a864",\r
3020                 "5ff21da9.833f84",\r
3021                 "8657cf90.772ff"\r
3022             ]\r
3023         ]\r
3024     },\r
3025     {\r
3026         "id": "1bae9a4e.9212ce",\r
3027         "type": "set",\r
3028         "name": "set domain C node ttp-id",\r
3029         "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
3030         "comments": "",\r
3031         "x": 4167.0936279296875,\r
3032         "y": 2616.3209381103516,\r
3033         "z": "a133aed2.437bc",\r
3034         "wires": []\r
3035     },\r
3036     {\r
3037         "id": "de2043de.3cb548",\r
3038         "type": "get-resource",\r
3039         "name": "get-resource dst TTP",\r
3040         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-C.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
3041         "comments": "",\r
3042         "outputs": 1,\r
3043         "x": 4157.0936279296875,\r
3044         "y": 2667.3209381103516,\r
3045         "z": "a133aed2.437bc",\r
3046         "wires": [\r
3047             [\r
3048                 "5c3476dc.51e558"\r
3049             ]\r
3050         ]\r
3051     },\r
3052     {\r
3053         "id": "5c3476dc.51e558",\r
3054         "type": "success",\r
3055         "name": "success",\r
3056         "xml": "<outcome value='success'>\n",\r
3057         "comments": "",\r
3058         "outputs": 1,\r
3059         "x": 4344.5936279296875,\r
3060         "y": 2665.3209381103516,\r
3061         "z": "a133aed2.437bc",\r
3062         "wires": [\r
3063             [\r
3064                 "4eaafddf.a6a3f4"\r
3065             ]\r
3066         ]\r
3067     },\r
3068     {\r
3069         "id": "4eaafddf.a6a3f4",\r
3070         "type": "block",\r
3071         "name": "block : atomic",\r
3072         "xml": "<block atomic=\"true\">",\r
3073         "atomic": "true",\r
3074         "outputs": 1,\r
3075         "x": 4533.5936279296875,\r
3076         "y": 2654.3209381103516,\r
3077         "z": "a133aed2.437bc",\r
3078         "wires": [\r
3079             [\r
3080                 "c29c48f8.7f86a8"\r
3081             ]\r
3082         ]\r
3083     },\r
3084     {\r
3085         "id": "5ff21da9.833f84",\r
3086         "type": "get-resource",\r
3087         "name": "get-resource dst pnf",\r
3088         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
3089         "comments": "",\r
3090         "outputs": 1,\r
3091         "x": 3993.5936279296875,\r
3092         "y": 2496.3209381103516,\r
3093         "z": "a133aed2.437bc",\r
3094         "wires": [\r
3095             [\r
3096                 "89d8cb14.97ad38",\r
3097                 "b75d0391.114cc8",\r
3098                 "e1054df9.4be03"\r
3099             ]\r
3100         ]\r
3101     },\r
3102     {\r
3103         "id": "e1054df9.4be03",\r
3104         "type": "success",\r
3105         "name": "success",\r
3106         "xml": "<outcome value='success'>\n",\r
3107         "comments": "",\r
3108         "outputs": 1,\r
3109         "x": 4189.09375,\r
3110         "y": 2448.3209381103516,\r
3111         "z": "a133aed2.437bc",\r
3112         "wires": [\r
3113             [\r
3114                 "1aa1ec12.0bb82c"\r
3115             ]\r
3116         ]\r
3117     },\r
3118     {\r
3119         "id": "b75d0391.114cc8",\r
3120         "type": "not-found",\r
3121         "name": "not-found",\r
3122         "xml": "<outcome value='not-found'>\n",\r
3123         "comments": "",\r
3124         "outputs": 1,\r
3125         "x": 4181.09375,\r
3126         "y": 2503.3209381103516,\r
3127         "z": "a133aed2.437bc",\r
3128         "wires": [\r
3129             [\r
3130                 "e4160067.4070c"\r
3131             ]\r
3132         ]\r
3133     },\r
3134     {\r
3135         "id": "89d8cb14.97ad38",\r
3136         "type": "other",\r
3137         "name": "other",\r
3138         "xml": "<outcome value='Other'>\n",\r
3139         "comments": "",\r
3140         "outputs": 1,\r
3141         "x": 4186.09375,\r
3142         "y": 2560.3209381103516,\r
3143         "z": "a133aed2.437bc",\r
3144         "wires": [\r
3145             [\r
3146                 "f68c7777.771208"\r
3147             ]\r
3148         ]\r
3149     },\r
3150     {\r
3151         "id": "1aa1ec12.0bb82c",\r
3152         "type": "block",\r
3153         "name": "block",\r
3154         "xml": "<block>\n",\r
3155         "atomic": "false",\r
3156         "comments": "",\r
3157         "outputs": 1,\r
3158         "x": 4333.47607421875,\r
3159         "y": 2445.976608276367,\r
3160         "z": "a133aed2.437bc",\r
3161         "wires": [\r
3162             [\r
3163                 "f0006d82.9607f",\r
3164                 "e28e5fb.1f15da"\r
3165             ]\r
3166         ]\r
3167     },\r
3168     {\r
3169         "id": "e4160067.4070c",\r
3170         "type": "returnFailure",\r
3171         "name": "return failure",\r
3172         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3173         "comments": "",\r
3174         "x": 4349.09375,\r
3175         "y": 2506.3209381103516,\r
3176         "z": "a133aed2.437bc",\r
3177         "wires": []\r
3178     },\r
3179     {\r
3180         "id": "f68c7777.771208",\r
3181         "type": "returnFailure",\r
3182         "name": "return failure",\r
3183         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3184         "comments": "",\r
3185         "x": 4338.09375,\r
3186         "y": 2561.3209381103516,\r
3187         "z": "a133aed2.437bc",\r
3188         "wires": []\r
3189     },\r
3190     {\r
3191         "id": "f0006d82.9607f",\r
3192         "type": "set",\r
3193         "name": "set domain C node-id and tpn",\r
3194         "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
3195         "comments": "",\r
3196         "x": 4542.5936279296875,\r
3197         "y": 2413.3209381103516,\r
3198         "z": "a133aed2.437bc",\r
3199         "wires": []\r
3200     },\r
3201     {\r
3202         "id": "3a2030d6.3a864",\r
3203         "type": "break",\r
3204         "name": "break",\r
3205         "xml": "<break>\n",\r
3206         "comments": "",\r
3207         "x": 4112.5936279296875,\r
3208         "y": 2708.3209381103516,\r
3209         "z": "a133aed2.437bc",\r
3210         "wires": []\r
3211     },\r
3212     {\r
3213         "id": "e28e5fb.1f15da",\r
3214         "type": "for",\r
3215         "name": "for each relationship",\r
3216         "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
3217         "comments": "",\r
3218         "outputs": 1,\r
3219         "x": 4521.5936279296875,\r
3220         "y": 2464.3209381103516,\r
3221         "z": "a133aed2.437bc",\r
3222         "wires": [\r
3223             [\r
3224                 "6f7c8401.0c5c44"\r
3225             ]\r
3226         ]\r
3227     },\r
3228     {\r
3229         "id": "8657cf90.772ff",\r
3230         "type": "execute",\r
3231         "name": "execute split tp-id to get pnf-name",\r
3232         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
3233         "comments": "",\r
3234         "outputs": 1,\r
3235         "x": 4032.5936279296875,\r
3236         "y": 2311.3209381103516,\r
3237         "z": "a133aed2.437bc",\r
3238         "wires": [\r
3239             [\r
3240                 "1edc2bcc.25093c",\r
3241                 "7c75489d.8c3e48"\r
3242             ]\r
3243         ]\r
3244     },\r
3245     {\r
3246         "id": "7c75489d.8c3e48",\r
3247         "type": "failure",\r
3248         "name": "success",\r
3249         "xml": "<outcome value='success'>\n",\r
3250         "comments": "",\r
3251         "outputs": 1,\r
3252         "x": 4253.5936279296875,\r
3253         "y": 2279.3209381103516,\r
3254         "z": "a133aed2.437bc",\r
3255         "wires": [\r
3256             [\r
3257                 "1008d1fe.94472e"\r
3258             ]\r
3259         ]\r
3260     },\r
3261     {\r
3262         "id": "1edc2bcc.25093c",\r
3263         "type": "failure",\r
3264         "name": "failure",\r
3265         "xml": "<outcome value='failure'>\n",\r
3266         "comments": "",\r
3267         "outputs": 1,\r
3268         "x": 4253.5936279296875,\r
3269         "y": 2326.3209381103516,\r
3270         "z": "a133aed2.437bc",\r
3271         "wires": [\r
3272             [\r
3273                 "409a6e6.a5b3f9"\r
3274             ]\r
3275         ]\r
3276     },\r
3277     {\r
3278         "id": "1008d1fe.94472e",\r
3279         "type": "block",\r
3280         "name": "block : atomic",\r
3281         "xml": "<block atomic=\"true\">",\r
3282         "atomic": "true",\r
3283         "outputs": 1,\r
3284         "x": 4418.5936279296875,\r
3285         "y": 2276.3209381103516,\r
3286         "z": "a133aed2.437bc",\r
3287         "wires": [\r
3288             [\r
3289                 "e91b8d2.d0cd6f"\r
3290             ]\r
3291         ]\r
3292     },\r
3293     {\r
3294         "id": "e91b8d2.d0cd6f",\r
3295         "type": "set",\r
3296         "name": "set domain-C.ltpId",\r
3297         "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
3298         "comments": "",\r
3299         "x": 4614.5936279296875,\r
3300         "y": 2273.3209381103516,\r
3301         "z": "a133aed2.437bc",\r
3302         "wires": []\r
3303     },\r
3304     {\r
3305         "id": "409a6e6.a5b3f9",\r
3306         "type": "returnFailure",\r
3307         "name": "return failure",\r
3308         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
3309         "comments": "",\r
3310         "x": 4420.5936279296875,\r
3311         "y": 2326.3209381103516,\r
3312         "z": "a133aed2.437bc",\r
3313         "wires": []\r
3314     },\r
3315     {\r
3316         "id": "8a9fa566.6d58a8",\r
3317         "type": "block",\r
3318         "name": "block : atomic",\r
3319         "xml": "<block atomic=\"true\">",\r
3320         "atomic": "true",\r
3321         "outputs": 1,\r
3322         "x": 5135.0936279296875,\r
3323         "y": 2466.3209381103516,\r
3324         "z": "a133aed2.437bc",\r
3325         "wires": [\r
3326             [\r
3327                 "7fa0b1d.d6b0bd",\r
3328                 "7faa7643.b3f3a8",\r
3329                 "2f37cf12.b49ef8"\r
3330             ]\r
3331         ]\r
3332     },\r
3333     {\r
3334         "id": "19157173.11a35f",\r
3335         "type": "outcome",\r
3336         "name": "network-resource",\r
3337         "xml": "<outcome value='network-resource'>\n",\r
3338         "comments": "",\r
3339         "outputs": 1,\r
3340         "x": 4922.0936279296875,\r
3341         "y": 2465.3209381103516,\r
3342         "z": "a133aed2.437bc",\r
3343         "wires": [\r
3344             [\r
3345                 "8a9fa566.6d58a8"\r
3346             ]\r
3347         ]\r
3348     },\r
3349     {\r
3350         "id": "c29c48f8.7f86a8",\r
3351         "type": "set",\r
3352         "name": "set domain C tunnel tp id",\r
3353         "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
3354         "comments": "",\r
3355         "x": 4766.5936279296875,\r
3356         "y": 2653.3209381103516,\r
3357         "z": "a133aed2.437bc",\r
3358         "wires": []\r
3359     },\r
3360     {\r
3361         "id": "6f7c8401.0c5c44",\r
3362         "type": "switchNode",\r
3363         "name": "switch related-to",\r
3364         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
3365         "comments": "",\r
3366         "outputs": 1,\r
3367         "x": 4716.5936279296875,\r
3368         "y": 2464.3209381103516,\r
3369         "z": "a133aed2.437bc",\r
3370         "wires": [\r
3371             [\r
3372                 "19157173.11a35f"\r
3373             ]\r
3374         ]\r
3375     },\r
3376     {\r
3377         "id": "2f37cf12.b49ef8",\r
3378         "type": "break",\r
3379         "name": "break",\r
3380         "xml": "<break>\n",\r
3381         "comments": "",\r
3382         "x": 5340.5936279296875,\r
3383         "y": 2544.3209381103516,\r
3384         "z": "a133aed2.437bc",\r
3385         "wires": []\r
3386     },\r
3387     {\r
3388         "id": "be660170.47dfc",\r
3389         "type": "comment",\r
3390         "name": "Not useful anymore",\r
3391         "info": "this domain-B.ltpId is not used anymore",\r
3392         "comments": "",\r
3393         "x": 4657.5936279296875,\r
3394         "y": 2245.3209381103516,\r
3395         "z": "a133aed2.437bc",\r
3396         "wires": []\r
3397     },\r
3398     {\r
3399         "id": "7fa0b1d.d6b0bd",\r
3400         "type": "set",\r
3401         "name": "set domain C network-id",\r
3402         "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
3403         "comments": "",\r
3404         "x": 5405.0936279296875,\r
3405         "y": 2442.3209381103516,\r
3406         "z": "a133aed2.437bc",\r
3407         "wires": []\r
3408     },\r
3409     {\r
3410         "id": "7faa7643.b3f3a8",\r
3411         "type": "get-resource",\r
3412         "name": "get-resource dst network-resource",\r
3413         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-C.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
3414         "comments": "",\r
3415         "outputs": 1,\r
3416         "x": 5415.0936279296875,\r
3417         "y": 2488.3209381103516,\r
3418         "z": "a133aed2.437bc",\r
3419         "wires": [\r
3420             [\r
3421                 "e4da28c1.f29fa8"\r
3422             ]\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "e4da28c1.f29fa8",\r
3427         "type": "success",\r
3428         "name": "success",\r
3429         "xml": "<outcome value='success'>\n",\r
3430         "comments": "",\r
3431         "outputs": 1,\r
3432         "x": 5630.5936279296875,\r
3433         "y": 2479.3209381103516,\r
3434         "z": "a133aed2.437bc",\r
3435         "wires": [\r
3436             [\r
3437                 "93b6182a.3d472"\r
3438             ]\r
3439         ]\r
3440     },\r
3441     {\r
3442         "id": "93b6182a.3d472",\r
3443         "type": "set",\r
3444         "name": "set domain B network-id, topo-id, client-id, etc",\r
3445         "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",\r
3446         "comments": "",\r
3447         "x": 5885.0936279296875,\r
3448         "y": 2485.3209381103516,\r
3449         "z": "a133aed2.437bc",\r
3450         "wires": []\r
3451     },\r
3452     {\r
3453         "id": "4ccd67a2.a775c8",\r
3454         "type": "switchNode",\r
3455         "name": "switch $hasSecondary",\r
3456         "xml": "<switch test='`$hasSecondary`'>\n",\r
3457         "comments": "",\r
3458         "outputs": 1,\r
3459         "x": 2791.7666015625,\r
3460         "y": 303.6499938964844,\r
3461         "z": "a133aed2.437bc",\r
3462         "wires": [\r
3463             [\r
3464                 "aa20e714.81e31",\r
3465                 "2de4f8e2.b5cb18"\r
3466             ]\r
3467         ]\r
3468     },\r
3469     {\r
3470         "id": "aa20e714.81e31",\r
3471         "type": "outcomeTrue",\r
3472         "name": "true",\r
3473         "xml": "<outcome value='true'>\n",\r
3474         "comments": "",\r
3475         "outputs": 1,\r
3476         "x": 2982.7666015625,\r
3477         "y": 307.6499938964844,\r
3478         "z": "a133aed2.437bc",\r
3479         "wires": [\r
3480             [\r
3481                 "4f32b0ce.2765f8"\r
3482             ]\r
3483         ]\r
3484     },\r
3485     {\r
3486         "id": "4f32b0ce.2765f8",\r
3487         "type": "block",\r
3488         "name": "block",\r
3489         "xml": "<block>\n",\r
3490         "atomic": "false",\r
3491         "comments": "",\r
3492         "outputs": 1,\r
3493         "x": 3109.7666015625,\r
3494         "y": 306.6499938964844,\r
3495         "z": "a133aed2.437bc",\r
3496         "wires": [\r
3497             [\r
3498                 "fabeb9f8.04ca88"\r
3499             ]\r
3500         ]\r
3501     },\r
3502     {\r
3503         "id": "fabeb9f8.04ca88",\r
3504         "type": "switchNode",\r
3505         "name": "switch 2-ROOTS in same domain?",\r
3506         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
3507         "comments": "",\r
3508         "outputs": 1,\r
3509         "x": 3332.64990234375,\r
3510         "y": 301.53330993652344,\r
3511         "z": "a133aed2.437bc",\r
3512         "wires": [\r
3513             [\r
3514                 "412e1237.d5a904",\r
3515                 "43345576.1d340c"\r
3516             ]\r
3517         ]\r
3518     },\r
3519     {\r
3520         "id": "412e1237.d5a904",\r
3521         "type": "outcomeTrue",\r
3522         "name": "true",\r
3523         "xml": "<outcome value='true'>\n",\r
3524         "comments": "",\r
3525         "outputs": 1,\r
3526         "x": 3539.64990234375,\r
3527         "y": 238.53330993652344,\r
3528         "z": "a133aed2.437bc",\r
3529         "wires": [\r
3530             [\r
3531                 "f849ec26.60ce68"\r
3532             ]\r
3533         ]\r
3534     },\r
3535     {\r
3536         "id": "43345576.1d340c",\r
3537         "type": "outcomeTrue",\r
3538         "name": "false",\r
3539         "xml": "<outcome value='false'>\n",\r
3540         "comments": "",\r
3541         "outputs": 1,\r
3542         "x": 3469.64990234375,\r
3543         "y": 429.53334045410156,\r
3544         "z": "a133aed2.437bc",\r
3545         "wires": [\r
3546             [\r
3547                 "2b8c6199.dff38e"\r
3548             ]\r
3549         ]\r
3550     },\r
3551     {\r
3552         "id": "f849ec26.60ce68",\r
3553         "type": "block",\r
3554         "name": "block",\r
3555         "xml": "<block>\n",\r
3556         "atomic": "false",\r
3557         "comments": "",\r
3558         "outputs": 1,\r
3559         "x": 3681.64990234375,\r
3560         "y": 228.53330993652344,\r
3561         "z": "a133aed2.437bc",\r
3562         "wires": [\r
3563             [\r
3564                 "7903a049.c8cd48",\r
3565                 "db701786.21e23"\r
3566             ]\r
3567         ]\r
3568     },\r
3569     {\r
3570         "id": "2b8c6199.dff38e",\r
3571         "type": "block",\r
3572         "name": "block",\r
3573         "xml": "<block>\n",\r
3574         "atomic": "false",\r
3575         "comments": "",\r
3576         "outputs": 1,\r
3577         "x": 3595.64990234375,\r
3578         "y": 429.53334045410156,\r
3579         "z": "a133aed2.437bc",\r
3580         "wires": [\r
3581             [\r
3582                 "66a832b6.6cd354"\r
3583             ]\r
3584         ]\r
3585     },\r
3586     {\r
3587         "id": "27e9a268.b581ce",\r
3588         "type": "block",\r
3589         "name": "block",\r
3590         "xml": "<block>\n",\r
3591         "atomic": "false",\r
3592         "comments": "",\r
3593         "outputs": 1,\r
3594         "x": 2592.533447265625,\r
3595         "y": 306.65000915527344,\r
3596         "z": "a133aed2.437bc",\r
3597         "wires": [\r
3598             [\r
3599                 "4ccd67a2.a775c8"\r
3600             ]\r
3601         ]\r
3602     },\r
3603     {\r
3604         "id": "2de4f8e2.b5cb18",\r
3605         "type": "outcomeTrue",\r
3606         "name": "false",\r
3607         "xml": "<outcome value='false'>\n",\r
3608         "comments": "",\r
3609         "outputs": 1,\r
3610         "x": 2987.5,\r
3611         "y": 259.6499938964844,\r
3612         "z": "a133aed2.437bc",\r
3613         "wires": [\r
3614             [\r
3615                 "fe5f3417.d45418"\r
3616             ]\r
3617         ]\r
3618     },\r
3619     {\r
3620         "id": "7903a049.c8cd48",\r
3621         "type": "set",\r
3622         "name": "set otnTopoIdDst",\r
3623         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3624         "comments": "",\r
3625         "x": 3840.2333984375,\r
3626         "y": 207.64999389648438,\r
3627         "z": "a133aed2.437bc",\r
3628         "wires": []\r
3629     },\r
3630     {\r
3631         "id": "db701786.21e23",\r
3632         "type": "set",\r
3633         "name": "set otnTopoIdDstBackup",\r
3634         "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3635         "comments": "",\r
3636         "x": 3862.2333984375,\r
3637         "y": 255.64999389648438,\r
3638         "z": "a133aed2.437bc",\r
3639         "wires": []\r
3640     },\r
3641     {\r
3642         "id": "66a832b6.6cd354",\r
3643         "type": "set",\r
3644         "name": "set otnTopoIdDst",\r
3645         "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3646         "comments": "",\r
3647         "x": 3766.2333984375,\r
3648         "y": 429.65000915527344,\r
3649         "z": "a133aed2.437bc",\r
3650         "wires": []\r
3651     },\r
3652     {\r
3653         "id": "cc22664a.751d9",\r
3654         "type": "block",\r
3655         "name": "block",\r
3656         "xml": "<block>\n",\r
3657         "atomic": "false",\r
3658         "comments": "",\r
3659         "outputs": 1,\r
3660         "x": 2661.25,\r
3661         "y": 381.4499969482422,\r
3662         "z": "a133aed2.437bc",\r
3663         "wires": [\r
3664             [\r
3665                 "2f2b5b65.5b64dc"\r
3666             ]\r
3667         ]\r
3668     },\r
3669     {\r
3670         "id": "2f2b5b65.5b64dc",\r
3671         "type": "switchNode",\r
3672         "name": "switch $hasSecondary",\r
3673         "xml": "<switch test='`$hasSecondary`'>\n",\r
3674         "comments": "",\r
3675         "outputs": 1,\r
3676         "x": 2860.483154296875,\r
3677         "y": 378.4499816894531,\r
3678         "z": "a133aed2.437bc",\r
3679         "wires": [\r
3680             [\r
3681                 "36697354.fca184"\r
3682             ]\r
3683         ]\r
3684     },\r
3685     {\r
3686         "id": "36697354.fca184",\r
3687         "type": "outcomeTrue",\r
3688         "name": "true",\r
3689         "xml": "<outcome value='true'>\n",\r
3690         "comments": "",\r
3691         "outputs": 1,\r
3692         "x": 3051.483154296875,\r
3693         "y": 382.4499816894531,\r
3694         "z": "a133aed2.437bc",\r
3695         "wires": [\r
3696             [\r
3697                 "5c3e361c.5c18a8"\r
3698             ]\r
3699         ]\r
3700     },\r
3701     {\r
3702         "id": "5c3e361c.5c18a8",\r
3703         "type": "block",\r
3704         "name": "block",\r
3705         "xml": "<block>\n",\r
3706         "atomic": "false",\r
3707         "comments": "",\r
3708         "outputs": 1,\r
3709         "x": 3178.483154296875,\r
3710         "y": 381.4499816894531,\r
3711         "z": "a133aed2.437bc",\r
3712         "wires": [\r
3713             []\r
3714         ]\r
3715     },\r
3716     {\r
3717         "id": "b1b9b64d.59ccf8",\r
3718         "type": "switchNode",\r
3719         "name": "switch secondarySolutions empty?",\r
3720         "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
3721         "comments": "",\r
3722         "outputs": 1,\r
3723         "x": 1522.13330078125,\r
3724         "y": 1685.133316040039,\r
3725         "z": "a133aed2.437bc",\r
3726         "wires": [\r
3727             [\r
3728                 "65a1fc27.84c2b4",\r
3729                 "d975b6ca.6d1d08"\r
3730             ]\r
3731         ]\r
3732     },\r
3733     {\r
3734         "id": "65a1fc27.84c2b4",\r
3735         "type": "outcomeTrue",\r
3736         "name": "true",\r
3737         "xml": "<outcome value='true'>\n",\r
3738         "comments": "",\r
3739         "outputs": 1,\r
3740         "x": 1748.0333251953125,\r
3741         "y": 1657.133316040039,\r
3742         "z": "a133aed2.437bc",\r
3743         "wires": [\r
3744             [\r
3745                 "c43f0dda.93b268"\r
3746             ]\r
3747         ]\r
3748     },\r
3749     {\r
3750         "id": "d975b6ca.6d1d08",\r
3751         "type": "outcomeFalse",\r
3752         "name": "false",\r
3753         "xml": "<outcome value='false'>\n",\r
3754         "comments": "",\r
3755         "outputs": 1,\r
3756         "x": 1746.0333251953125,\r
3757         "y": 1707.133316040039,\r
3758         "z": "a133aed2.437bc",\r
3759         "wires": [\r
3760             []\r
3761         ]\r
3762     },\r
3763     {\r
3764         "id": "c43f0dda.93b268",\r
3765         "type": "block",\r
3766         "name": "block",\r
3767         "xml": "<block>\n",\r
3768         "atomic": "false",\r
3769         "comments": "",\r
3770         "outputs": 1,\r
3771         "x": 1890.13330078125,\r
3772         "y": 1657.133316040039,\r
3773         "z": "a133aed2.437bc",\r
3774         "wires": [\r
3775             []\r
3776         ]\r
3777     },\r
3778     {\r
3779         "id": "949527f9.d2ae5",\r
3780         "type": "switchNode",\r
3781         "name": "switch $hasSecondary",\r
3782         "xml": "<switch test='`$hasSecondary`'>\n",\r
3783         "comments": "",\r
3784         "outputs": 1,\r
3785         "x": 901.0333251953125,\r
3786         "y": 1874.133316040039,\r
3787         "z": "a133aed2.437bc",\r
3788         "wires": [\r
3789             [\r
3790                 "c20cf138.dc1e5"\r
3791             ]\r
3792         ]\r
3793     },\r
3794     {\r
3795         "id": "c20cf138.dc1e5",\r
3796         "type": "outcomeTrue",\r
3797         "name": "true",\r
3798         "xml": "<outcome value='true'>\n",\r
3799         "comments": "",\r
3800         "outputs": 1,\r
3801         "x": 1087.0333251953125,\r
3802         "y": 1875.133316040039,\r
3803         "z": "a133aed2.437bc",\r
3804         "wires": [\r
3805             [\r
3806                 "2941d5fe.c9ad8a"\r
3807             ]\r
3808         ]\r
3809     },\r
3810     {\r
3811         "id": "2941d5fe.c9ad8a",\r
3812         "type": "block",\r
3813         "name": "block",\r
3814         "xml": "<block>\n",\r
3815         "atomic": "false",\r
3816         "comments": "",\r
3817         "outputs": 1,\r
3818         "x": 1217.0333251953125,\r
3819         "y": 1875.133316040039,\r
3820         "z": "a133aed2.437bc",\r
3821         "wires": [\r
3822             [\r
3823                 "c19998ca.837848"\r
3824             ]\r
3825         ]\r
3826     }\r
3827 ]