Using RestApiCallNode instead of RestconfApiCallNode and updating templates accordingly.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn_nni / GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json
1 [\r
2     {\r
3         "id": "aa75113b.2c42b8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 136,\r
8         "y": 78,\r
9         "z": "5b68e0d.bd97b2",\r
10         "wires": [\r
11             [\r
12                 "ab15dc15.738968"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "ab15dc15.738968",\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": 261,\r
26         "y": 404.00001525878906,\r
27         "z": "5b68e0d.bd97b2",\r
28         "wires": [\r
29             [\r
30                 "a46085e4.dea2f"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "a46085e4.dea2f",\r
36         "type": "method",\r
37         "name": "sotn-get-otn-tunnel-path-from-oof",\r
38         "xml": "<method rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 325.0001220703125,\r
42         "y": 497,\r
43         "z": "5b68e0d.bd97b2",\r
44         "wires": [\r
45             [\r
46                 "7d5a0cd3.c6dfbc"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "f51f5245.de05e8",\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`\" />\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": 807.9730834960938,\r
58         "y": 155.99600219726562,\r
59         "z": "5b68e0d.bd97b2",\r
60         "wires": [\r
61             [\r
62                 "8059dde9.1ce2e",\r
63                 "dd740bdc.617d78"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "8059dde9.1ce2e",\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": 1047.9732246398926,\r
75         "y": 179.9959716796875,\r
76         "z": "5b68e0d.bd97b2",\r
77         "wires": [\r
78             [\r
79                 "35b68c0d.85ca94"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "6c823726.8cfc2",\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": 1186.973258972168,\r
90         "y": 128.99606323242188,\r
91         "z": "5b68e0d.bd97b2",\r
92         "wires": []\r
93     },\r
94     {\r
95         "id": "dd740bdc.617d78",\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": 1046.9730110168457,\r
102         "y": 128.99606227874756,\r
103         "z": "5b68e0d.bd97b2",\r
104         "wires": [\r
105             [\r
106                 "6c823726.8cfc2"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "1cad6ca3.0c0a23",\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": 779.4768829345703,\r
117         "y": 112.00000190734863,\r
118         "z": "5b68e0d.bd97b2",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "500e653c.02a91c",\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": 798.972900390625,\r
129         "y": 465.2457275390625,\r
130         "z": "5b68e0d.bd97b2",\r
131         "wires": [\r
132             [\r
133                 "6dab679f.e9004"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "df52b38a.7717c",\r
139         "type": "comment",\r
140         "name": "Loop through OTN links",\r
141         "info": "",\r
142         "comments": "",\r
143         "x": 882.4732055664062,\r
144         "y": 544.74609375,\r
145         "z": "5b68e0d.bd97b2",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "6dab679f.e9004",\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": 903.5001220703125,\r
156         "y": 656.2864990234375,\r
157         "z": "5b68e0d.bd97b2",\r
158         "wires": [\r
159             [\r
160                 "58b38e8f.68cb58",\r
161                 "31a7d8e8.5f496"\r
162             ]\r
163         ]\r
164     },\r
165     {\r
166         "id": "58b38e8f.68cb58",\r
167         "type": "get-resource",\r
168         "name": "get-resource cross-link",\r
169         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n        pfx='tmp.aai.cross-link' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n\n\n",\r
170         "comments": "",\r
171         "outputs": 1,\r
172         "x": 1170.5001220703125,\r
173         "y": 576.2864685058594,\r
174         "z": "5b68e0d.bd97b2",\r
175         "wires": [\r
176             [\r
177                 "a7dfe4ca.7050a8",\r
178                 "147899e8.194c7e",\r
179                 "bd646a50.9ca6d"\r
180             ]\r
181         ]\r
182     },\r
183     {\r
184         "id": "bd646a50.9ca6d",\r
185         "type": "success",\r
186         "name": "success",\r
187         "xml": "<outcome value='success'>\n",\r
188         "comments": "",\r
189         "outputs": 1,\r
190         "x": 1362.0001220703125,\r
191         "y": 521.2864685058594,\r
192         "z": "5b68e0d.bd97b2",\r
193         "wires": [\r
194             [\r
195                 "7d949923.feaea8"\r
196             ]\r
197         ]\r
198     },\r
199     {\r
200         "id": "a7dfe4ca.7050a8",\r
201         "type": "not-found",\r
202         "name": "not-found",\r
203         "xml": "<outcome value='not-found'>\n",\r
204         "comments": "",\r
205         "outputs": 1,\r
206         "x": 1150.0001220703125,\r
207         "y": 1085.2864990234375,\r
208         "z": "5b68e0d.bd97b2",\r
209         "wires": [\r
210             [\r
211                 "6604b8e.b3db548"\r
212             ]\r
213         ]\r
214     },\r
215     {\r
216         "id": "147899e8.194c7e",\r
217         "type": "other",\r
218         "name": "other",\r
219         "xml": "<outcome value='Other'>\n",\r
220         "comments": "",\r
221         "outputs": 1,\r
222         "x": 1144.0001220703125,\r
223         "y": 1135.2864990234375,\r
224         "z": "5b68e0d.bd97b2",\r
225         "wires": [\r
226             [\r
227                 "61e58c1.1c151f4"\r
228             ]\r
229         ]\r
230     },\r
231     {\r
232         "id": "6604b8e.b3db548",\r
233         "type": "returnFailure",\r
234         "name": "return failure",\r
235         "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
236         "comments": "",\r
237         "x": 1311.0001220703125,\r
238         "y": 1074.2864990234375,\r
239         "z": "5b68e0d.bd97b2",\r
240         "wires": []\r
241     },\r
242     {\r
243         "id": "61e58c1.1c151f4",\r
244         "type": "returnFailure",\r
245         "name": "return failure",\r
246         "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
247         "comments": "",\r
248         "x": 1309.0001220703125,\r
249         "y": 1130.2864990234375,\r
250         "z": "5b68e0d.bd97b2",\r
251         "wires": []\r
252     },\r
253     {\r
254         "id": "3a661a62.460126",\r
255         "type": "set",\r
256         "name": "set src-ltpId and dst-ltpId",\r
257         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[0].relationship-value`\" />\n\n\n",\r
258         "comments": "",\r
259         "x": 2362.5001220703125,\r
260         "y": 440.2864685058594,\r
261         "z": "5b68e0d.bd97b2",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "a01c1aa6.b32a",\r
266         "type": "comment",\r
267         "name": "get cross-domain-link information",\r
268         "info": "",\r
269         "comments": "",\r
270         "x": 1171.5001220703125,\r
271         "y": 537.2864685058594,\r
272         "z": "5b68e0d.bd97b2",\r
273         "wires": []\r
274     },\r
275     {\r
276         "id": "31a7d8e8.5f496",\r
277         "type": "set",\r
278         "name": "set otn-oof.link-name",\r
279         "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",\r
280         "comments": "",\r
281         "x": 1153.0001220703125,\r
282         "y": 486.2864685058594,\r
283         "z": "5b68e0d.bd97b2",\r
284         "wires": []\r
285     },\r
286     {\r
287         "id": "35b68c0d.85ca94",\r
288         "type": "block",\r
289         "name": "block",\r
290         "xml": "<block>\n",\r
291         "atomic": "false",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 1193.0002708435059,\r
295         "y": 177.74145698547363,\r
296         "z": "5b68e0d.bd97b2",\r
297         "wires": [\r
298             []\r
299         ]\r
300     },\r
301     {\r
302         "id": "7d5a0cd3.c6dfbc",\r
303         "type": "block",\r
304         "name": "block : atomic",\r
305         "xml": "<block atomic=\"true\">",\r
306         "atomic": "true",\r
307         "outputs": 1,\r
308         "x": 565.9688835144043,\r
309         "y": 423.74163722991943,\r
310         "z": "5b68e0d.bd97b2",\r
311         "wires": [\r
312             [\r
313                 "500e653c.02a91c",\r
314                 "f51f5245.de05e8"\r
315             ]\r
316         ]\r
317     },\r
318     {\r
319         "id": "40299798.13bc",\r
320         "type": "switchNode",\r
321         "name": "test cross-domain-link role",\r
322         "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",\r
323         "comments": "",\r
324         "outputs": 1,\r
325         "x": 1677.5001220703125,\r
326         "y": 521,\r
327         "z": "5b68e0d.bd97b2",\r
328         "wires": [\r
329             [\r
330                 "53a2c424.a12b74"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "53a2c424.a12b74",\r
336         "type": "outcome",\r
337         "name": "outcome cross-domain",\r
338         "xml": "<outcome value='cross-domain'>\n",\r
339         "comments": "",\r
340         "outputs": 1,\r
341         "x": 1913.5001220703125,\r
342         "y": 522,\r
343         "z": "5b68e0d.bd97b2",\r
344         "wires": [\r
345             [\r
346                 "7c9bf405.132f7c"\r
347             ]\r
348         ]\r
349     },\r
350     {\r
351         "id": "dd179bba.27e578",\r
352         "type": "break",\r
353         "name": "break",\r
354         "xml": "<break>\n",\r
355         "comments": "",\r
356         "x": 2232.5,\r
357         "y": 999,\r
358         "z": "5b68e0d.bd97b2",\r
359         "wires": []\r
360     },\r
361     {\r
362         "id": "7c9bf405.132f7c",\r
363         "type": "block",\r
364         "name": "block : atomic",\r
365         "xml": "<block atomic=\"true\">",\r
366         "atomic": "true",\r
367         "outputs": 1,\r
368         "x": 2116.5001220703125,\r
369         "y": 523,\r
370         "z": "5b68e0d.bd97b2",\r
371         "wires": [\r
372             [\r
373                 "dd179bba.27e578",\r
374                 "51dd454b.e64094",\r
375                 "e9ba305b.3f7b08",\r
376                 "a736e107.ab857"\r
377             ]\r
378         ]\r
379     },\r
380     {\r
381         "id": "b97c4b80.2182d",\r
382         "type": "comment",\r
383         "name": "setup variables",\r
384         "info": "",\r
385         "comments": "",\r
386         "x": 2331.5,\r
387         "y": 182,\r
388         "z": "5b68e0d.bd97b2",\r
389         "wires": []\r
390     },\r
391     {\r
392         "id": "30082dde.5085da",\r
393         "type": "success",\r
394         "name": "success",\r
395         "xml": "<outcome value='success'>\n",\r
396         "comments": "",\r
397         "outputs": 1,\r
398         "x": 2593.0001220703125,\r
399         "y": 490,\r
400         "z": "5b68e0d.bd97b2",\r
401         "wires": [\r
402             [\r
403                 "b104de88.84b78"\r
404             ]\r
405         ]\r
406     },\r
407     {\r
408         "id": "a603f43.0659d88",\r
409         "type": "not-found",\r
410         "name": "not-found",\r
411         "xml": "<outcome value='not-found'>\n",\r
412         "comments": "",\r
413         "outputs": 1,\r
414         "x": 2590.0001220703125,\r
415         "y": 548,\r
416         "z": "5b68e0d.bd97b2",\r
417         "wires": [\r
418             [\r
419                 "8496f5b4.9321e8"\r
420             ]\r
421         ]\r
422     },\r
423     {\r
424         "id": "ed057305.d13bc",\r
425         "type": "other",\r
426         "name": "other",\r
427         "xml": "<outcome value='Other'>\n",\r
428         "comments": "",\r
429         "outputs": 1,\r
430         "x": 2593.0001220703125,\r
431         "y": 600,\r
432         "z": "5b68e0d.bd97b2",\r
433         "wires": [\r
434             [\r
435                 "1dbdbb79.fd0ced"\r
436             ]\r
437         ]\r
438     },\r
439     {\r
440         "id": "8496f5b4.9321e8",\r
441         "type": "returnFailure",\r
442         "name": "return failure",\r
443         "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
444         "comments": "",\r
445         "x": 2775.0001220703125,\r
446         "y": 552,\r
447         "z": "5b68e0d.bd97b2",\r
448         "wires": []\r
449     },\r
450     {\r
451         "id": "1dbdbb79.fd0ced",\r
452         "type": "returnFailure",\r
453         "name": "return failure",\r
454         "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
455         "comments": "",\r
456         "x": 2763.0001220703125,\r
457         "y": 603,\r
458         "z": "5b68e0d.bd97b2",\r
459         "wires": []\r
460     },\r
461     {\r
462         "id": "94adb9b9.7a0948",\r
463         "type": "set",\r
464         "name": "set tmp.src-pnf-name",\r
465         "xml": "<set>\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.src-tp.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
466         "comments": "",\r
467         "x": 2872.5,\r
468         "y": 445,\r
469         "z": "5b68e0d.bd97b2",\r
470         "wires": []\r
471     },\r
472     {\r
473         "id": "a5379b59.d56668",\r
474         "type": "get-resource",\r
475         "name": "get-resource src pnf",\r
476         "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\n\n",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 2871.5,\r
480         "y": 488,\r
481         "z": "5b68e0d.bd97b2",\r
482         "wires": [\r
483             [\r
484                 "fc1e5cdb.f87da8",\r
485                 "c1dbffa0.3a6ef8",\r
486                 "e17cdd49.4fcf08"\r
487             ]\r
488         ]\r
489     },\r
490     {\r
491         "id": "fc1e5cdb.f87da8",\r
492         "type": "success",\r
493         "name": "success",\r
494         "xml": "<outcome value='success'>\n",\r
495         "comments": "",\r
496         "outputs": 1,\r
497         "x": 3067.0001220703125,\r
498         "y": 445,\r
499         "z": "5b68e0d.bd97b2",\r
500         "wires": [\r
501             [\r
502                 "372db61f.e21a7a"\r
503             ]\r
504         ]\r
505     },\r
506     {\r
507         "id": "c1dbffa0.3a6ef8",\r
508         "type": "not-found",\r
509         "name": "not-found",\r
510         "xml": "<outcome value='not-found'>\n",\r
511         "comments": "",\r
512         "outputs": 1,\r
513         "x": 3059.0001220703125,\r
514         "y": 500,\r
515         "z": "5b68e0d.bd97b2",\r
516         "wires": [\r
517             [\r
518                 "8f21b6ce.dd76a"\r
519             ]\r
520         ]\r
521     },\r
522     {\r
523         "id": "e17cdd49.4fcf08",\r
524         "type": "other",\r
525         "name": "other",\r
526         "xml": "<outcome value='Other'>\n",\r
527         "comments": "",\r
528         "outputs": 1,\r
529         "x": 3064.0001220703125,\r
530         "y": 557,\r
531         "z": "5b68e0d.bd97b2",\r
532         "wires": [\r
533             [\r
534                 "e804e037.dd4f"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "8f21b6ce.dd76a",\r
540         "type": "returnFailure",\r
541         "name": "return failure",\r
542         "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
543         "comments": "",\r
544         "x": 3227.0001220703125,\r
545         "y": 503,\r
546         "z": "5b68e0d.bd97b2",\r
547         "wires": []\r
548     },\r
549     {\r
550         "id": "e804e037.dd4f",\r
551         "type": "returnFailure",\r
552         "name": "return failure",\r
553         "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
554         "comments": "",\r
555         "x": 3216.0001220703125,\r
556         "y": 558,\r
557         "z": "5b68e0d.bd97b2",\r
558         "wires": []\r
559     },\r
560     {\r
561         "id": "e0784723.78ca28",\r
562         "type": "set",\r
563         "name": "set domain A node ttp-id",\r
564         "xml": "<set>\n<parameter name='tmp.src-ttp-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
565         "comments": "",\r
566         "x": 4278.5001220703125,\r
567         "y": 306,\r
568         "z": "5b68e0d.bd97b2",\r
569         "wires": []\r
570     },\r
571     {\r
572         "id": "1b6b3639.216dba",\r
573         "type": "get-resource",\r
574         "name": "get-resource src TTP",\r
575         "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.src-ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
576         "comments": "",\r
577         "outputs": 1,\r
578         "x": 4267.5001220703125,\r
579         "y": 377,\r
580         "z": "5b68e0d.bd97b2",\r
581         "wires": [\r
582             [\r
583                 "ac3848e1.acfdf8"\r
584             ]\r
585         ]\r
586     },\r
587     {\r
588         "id": "ac3848e1.acfdf8",\r
589         "type": "success",\r
590         "name": "success",\r
591         "xml": "<outcome value='success'>\n",\r
592         "comments": "",\r
593         "outputs": 1,\r
594         "x": 4459.0001220703125,\r
595         "y": 374,\r
596         "z": "5b68e0d.bd97b2",\r
597         "wires": [\r
598             [\r
599                 "a982c4fa.2154f"\r
600             ]\r
601         ]\r
602     },\r
603     {\r
604         "id": "ebf0e7da.b09cb",\r
605         "type": "set",\r
606         "name": "set domain A node ttp-id",\r
607         "xml": "<set>\n<parameter name='domain-A.ttp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",\r
608         "comments": "",\r
609         "x": 6035.5,\r
610         "y": 431,\r
611         "z": "5b68e0d.bd97b2",\r
612         "wires": []\r
613     },\r
614     {\r
615         "id": "ae40696e.4ae89",\r
616         "type": "block",\r
617         "name": "block : atomic",\r
618         "xml": "<block atomic=\"true\">",\r
619         "atomic": "true",\r
620         "outputs": 1,\r
621         "x": 4063.5001220703125,\r
622         "y": 556,\r
623         "z": "5b68e0d.bd97b2",\r
624         "wires": [\r
625             [\r
626                 "a860374.60c54c8",\r
627                 "f3ee54c1.b5d84"\r
628             ]\r
629         ]\r
630     },\r
631     {\r
632         "id": "577de1c9.7d7528",\r
633         "type": "outcome",\r
634         "name": "tunnel-termination-point",\r
635         "xml": "<outcome value='tunnel-termination-point'>\n",\r
636         "comments": "",\r
637         "outputs": 1,\r
638         "x": 3859.6685791015625,\r
639         "y": 369.48150634765625,\r
640         "z": "5b68e0d.bd97b2",\r
641         "wires": [\r
642             [\r
643                 "2ec73e0f.7a316a"\r
644             ]\r
645         ]\r
646     },\r
647     {\r
648         "id": "3f827e10.2f07d2",\r
649         "type": "for",\r
650         "name": "for each relationship",\r
651         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
652         "comments": "",\r
653         "outputs": 1,\r
654         "x": 3426.3826904296875,\r
655         "y": 442.65972900390625,\r
656         "z": "5b68e0d.bd97b2",\r
657         "wires": [\r
658             [\r
659                 "7df05538.ae1e24"\r
660             ]\r
661         ]\r
662     },\r
663     {\r
664         "id": "7df05538.ae1e24",\r
665         "type": "switchNode",\r
666         "name": "switch related-to",\r
667         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
668         "comments": "",\r
669         "outputs": 1,\r
670         "x": 3652.3826904296875,\r
671         "y": 442.65972900390625,\r
672         "z": "5b68e0d.bd97b2",\r
673         "wires": [\r
674             [\r
675                 "577de1c9.7d7528",\r
676                 "1569d56e.fb5f8b"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "372db61f.e21a7a",\r
682         "type": "block",\r
683         "name": "block",\r
684         "xml": "<block>\n",\r
685         "atomic": "false",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 3211.3824462890625,\r
689         "y": 442.6556701660156,\r
690         "z": "5b68e0d.bd97b2",\r
691         "wires": [\r
692             [\r
693                 "3f827e10.2f07d2",\r
694                 "9cbdf6a0.b391f"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "9cbdf6a0.b391f",\r
700         "type": "set",\r
701         "name": "set domain A node-id and tpn",\r
702         "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",\r
703         "comments": "",\r
704         "x": 3470.5001220703125,\r
705         "y": 353,\r
706         "z": "5b68e0d.bd97b2",\r
707         "wires": []\r
708     },\r
709     {\r
710         "id": "1569d56e.fb5f8b",\r
711         "type": "outcome",\r
712         "name": "network-resource",\r
713         "xml": "<outcome value='network-resource'>\n",\r
714         "comments": "",\r
715         "outputs": 1,\r
716         "x": 3850.5001220703125,\r
717         "y": 555,\r
718         "z": "5b68e0d.bd97b2",\r
719         "wires": [\r
720             [\r
721                 "ae40696e.4ae89"\r
722             ]\r
723         ]\r
724     },\r
725     {\r
726         "id": "a860374.60c54c8",\r
727         "type": "set",\r
728         "name": "set domain A network-id",\r
729         "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
730         "comments": "",\r
731         "x": 4298.5001220703125,\r
732         "y": 486,\r
733         "z": "5b68e0d.bd97b2",\r
734         "wires": []\r
735     },\r
736     {\r
737         "id": "2ec73e0f.7a316a",\r
738         "type": "block",\r
739         "name": "block : atomic",\r
740         "xml": "<block atomic=\"true\">",\r
741         "atomic": "true",\r
742         "outputs": 1,\r
743         "x": 4061.5001220703125,\r
744         "y": 365,\r
745         "z": "5b68e0d.bd97b2",\r
746         "wires": [\r
747             [\r
748                 "e0784723.78ca28",\r
749                 "1b6b3639.216dba"\r
750             ]\r
751         ]\r
752     },\r
753     {\r
754         "id": "f3ee54c1.b5d84",\r
755         "type": "get-resource",\r
756         "name": "get-resource src network-resource",\r
757         "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
758         "comments": "",\r
759         "outputs": 1,\r
760         "x": 4306.5001220703125,\r
761         "y": 567,\r
762         "z": "5b68e0d.bd97b2",\r
763         "wires": [\r
764             [\r
765                 "9ea34049.8c12a8"\r
766             ]\r
767         ]\r
768     },\r
769     {\r
770         "id": "9ea34049.8c12a8",\r
771         "type": "success",\r
772         "name": "success",\r
773         "xml": "<outcome value='success'>\n",\r
774         "comments": "",\r
775         "outputs": 1,\r
776         "x": 4539.0001220703125,\r
777         "y": 563,\r
778         "z": "5b68e0d.bd97b2",\r
779         "wires": [\r
780             [\r
781                 "c512a46.74a5bd8"\r
782             ]\r
783         ]\r
784     },\r
785     {\r
786         "id": "c512a46.74a5bd8",\r
787         "type": "set",\r
788         "name": "set domain A network-id, topo-id, client-id, etc",\r
789         "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",\r
790         "comments": "",\r
791         "x": 4780.5001220703125,\r
792         "y": 557,\r
793         "z": "5b68e0d.bd97b2",\r
794         "wires": []\r
795     },\r
796     {\r
797         "id": "51dd454b.e64094",\r
798         "type": "get-resource",\r
799         "name": "get-resource dst tp",\r
800         "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
801         "comments": "",\r
802         "outputs": 1,\r
803         "x": 2313.5001220703125,\r
804         "y": 895,\r
805         "z": "5b68e0d.bd97b2",\r
806         "wires": [\r
807             [\r
808                 "a793d2c3.cd625",\r
809                 "8024d4d5.2b62d8",\r
810                 "765b5b90.f1ecd4"\r
811             ]\r
812         ]\r
813     },\r
814     {\r
815         "id": "a793d2c3.cd625",\r
816         "type": "success",\r
817         "name": "success",\r
818         "xml": "<outcome value='success'>\n",\r
819         "comments": "",\r
820         "outputs": 1,\r
821         "x": 2547.0001220703125,\r
822         "y": 856,\r
823         "z": "5b68e0d.bd97b2",\r
824         "wires": [\r
825             [\r
826                 "75eb9694.598e48"\r
827             ]\r
828         ]\r
829     },\r
830     {\r
831         "id": "8024d4d5.2b62d8",\r
832         "type": "not-found",\r
833         "name": "not-found",\r
834         "xml": "<outcome value='not-found'>\n",\r
835         "comments": "",\r
836         "outputs": 1,\r
837         "x": 2544.0001220703125,\r
838         "y": 914,\r
839         "z": "5b68e0d.bd97b2",\r
840         "wires": [\r
841             [\r
842                 "612d2397.585244"\r
843             ]\r
844         ]\r
845     },\r
846     {\r
847         "id": "765b5b90.f1ecd4",\r
848         "type": "other",\r
849         "name": "other",\r
850         "xml": "<outcome value='Other'>\n",\r
851         "comments": "",\r
852         "outputs": 1,\r
853         "x": 2547.0001220703125,\r
854         "y": 966,\r
855         "z": "5b68e0d.bd97b2",\r
856         "wires": [\r
857             [\r
858                 "a08bb92f.3f7318"\r
859             ]\r
860         ]\r
861     },\r
862     {\r
863         "id": "a08bb92f.3f7318",\r
864         "type": "returnFailure",\r
865         "name": "return failure",\r
866         "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
867         "comments": "",\r
868         "x": 2717.0001220703125,\r
869         "y": 969,\r
870         "z": "5b68e0d.bd97b2",\r
871         "wires": []\r
872     },\r
873     {\r
874         "id": "612d2397.585244",\r
875         "type": "returnFailure",\r
876         "name": "return failure",\r
877         "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
878         "comments": "",\r
879         "x": 2729.0001220703125,\r
880         "y": 918,\r
881         "z": "5b68e0d.bd97b2",\r
882         "wires": []\r
883     },\r
884     {\r
885         "id": "670f7157.4b83f",\r
886         "type": "get-resource",\r
887         "name": "get-resource dst pnf",\r
888         "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
889         "comments": "",\r
890         "outputs": 1,\r
891         "x": 2825.5,\r
892         "y": 859,\r
893         "z": "5b68e0d.bd97b2",\r
894         "wires": [\r
895             [\r
896                 "3389e479.7caf4c",\r
897                 "a22904b1.12c91",\r
898                 "3f4df7a2.550db8"\r
899             ]\r
900         ]\r
901     },\r
902     {\r
903         "id": "fbc3aa3e.92a1d",\r
904         "type": "set",\r
905         "name": "set tmp.dst-pnf-name",\r
906         "xml": "<set>\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
907         "comments": "",\r
908         "x": 2830.5,\r
909         "y": 807,\r
910         "z": "5b68e0d.bd97b2",\r
911         "wires": []\r
912     },\r
913     {\r
914         "id": "3f4df7a2.550db8",\r
915         "type": "other",\r
916         "name": "other",\r
917         "xml": "<outcome value='Other'>\n",\r
918         "comments": "",\r
919         "outputs": 1,\r
920         "x": 3018.0001220703125,\r
921         "y": 923,\r
922         "z": "5b68e0d.bd97b2",\r
923         "wires": [\r
924             [\r
925                 "a7bbc350.7f29"\r
926             ]\r
927         ]\r
928     },\r
929     {\r
930         "id": "a22904b1.12c91",\r
931         "type": "not-found",\r
932         "name": "not-found",\r
933         "xml": "<outcome value='not-found'>\n",\r
934         "comments": "",\r
935         "outputs": 1,\r
936         "x": 3013.0001220703125,\r
937         "y": 866,\r
938         "z": "5b68e0d.bd97b2",\r
939         "wires": [\r
940             [\r
941                 "a788922c.a2883"\r
942             ]\r
943         ]\r
944     },\r
945     {\r
946         "id": "3389e479.7caf4c",\r
947         "type": "success",\r
948         "name": "success",\r
949         "xml": "<outcome value='success'>\n",\r
950         "comments": "",\r
951         "outputs": 1,\r
952         "x": 3021.0001220703125,\r
953         "y": 811,\r
954         "z": "5b68e0d.bd97b2",\r
955         "wires": [\r
956             [\r
957                 "b1d95d9.2f8af2"\r
958             ]\r
959         ]\r
960     },\r
961     {\r
962         "id": "a788922c.a2883",\r
963         "type": "returnFailure",\r
964         "name": "return failure",\r
965         "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
966         "comments": "",\r
967         "x": 3181.0001220703125,\r
968         "y": 869,\r
969         "z": "5b68e0d.bd97b2",\r
970         "wires": []\r
971     },\r
972     {\r
973         "id": "a7bbc350.7f29",\r
974         "type": "returnFailure",\r
975         "name": "return failure",\r
976         "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
977         "comments": "",\r
978         "x": 3170.0001220703125,\r
979         "y": 924,\r
980         "z": "5b68e0d.bd97b2",\r
981         "wires": []\r
982     },\r
983     {\r
984         "id": "b1d95d9.2f8af2",\r
985         "type": "block",\r
986         "name": "block",\r
987         "xml": "<block>\n",\r
988         "atomic": "false",\r
989         "comments": "",\r
990         "outputs": 1,\r
991         "x": 3165.3824462890625,\r
992         "y": 808.6556701660156,\r
993         "z": "5b68e0d.bd97b2",\r
994         "wires": [\r
995             [\r
996                 "b971a7f5.c553f",\r
997                 "861cb0b.d019fd"\r
998             ]\r
999         ]\r
1000     },\r
1001     {\r
1002         "id": "b971a7f5.c553f",\r
1003         "type": "for",\r
1004         "name": "for each relationship",\r
1005         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1006         "comments": "",\r
1007         "outputs": 1,\r
1008         "x": 3380.3826904296875,\r
1009         "y": 808.6597290039062,\r
1010         "z": "5b68e0d.bd97b2",\r
1011         "wires": [\r
1012             [\r
1013                 "ba0c1a8c.88af28"\r
1014             ]\r
1015         ]\r
1016     },\r
1017     {\r
1018         "id": "ba0c1a8c.88af28",\r
1019         "type": "switchNode",\r
1020         "name": "switch related-to",\r
1021         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
1022         "comments": "",\r
1023         "outputs": 1,\r
1024         "x": 3606.3826904296875,\r
1025         "y": 808.6597290039062,\r
1026         "z": "5b68e0d.bd97b2",\r
1027         "wires": [\r
1028             [\r
1029                 "799147c0.a8a33",\r
1030                 "f903181b.00f37"\r
1031             ]\r
1032         ]\r
1033     },\r
1034     {\r
1035         "id": "861cb0b.d019fd",\r
1036         "type": "set",\r
1037         "name": "set domain B node-id and tpn",\r
1038         "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",\r
1039         "comments": "",\r
1040         "x": 3424.5001220703125,\r
1041         "y": 719,\r
1042         "z": "5b68e0d.bd97b2",\r
1043         "wires": []\r
1044     },\r
1045     {\r
1046         "id": "802f4f2.687563",\r
1047         "type": "block",\r
1048         "name": "block : atomic",\r
1049         "xml": "<block atomic=\"true\">",\r
1050         "atomic": "true",\r
1051         "outputs": 1,\r
1052         "x": 4017.5001220703125,\r
1053         "y": 922,\r
1054         "z": "5b68e0d.bd97b2",\r
1055         "wires": [\r
1056             [\r
1057                 "d4d32344.490fe8",\r
1058                 "1ab02c14.0e8e64"\r
1059             ]\r
1060         ]\r
1061     },\r
1062     {\r
1063         "id": "799147c0.a8a33",\r
1064         "type": "outcome",\r
1065         "name": "tunnel-termination-point",\r
1066         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1067         "comments": "",\r
1068         "outputs": 1,\r
1069         "x": 3813.6685791015625,\r
1070         "y": 735.4815063476562,\r
1071         "z": "5b68e0d.bd97b2",\r
1072         "wires": [\r
1073             [\r
1074                 "9e4db8b6.012fb"\r
1075             ]\r
1076         ]\r
1077     },\r
1078     {\r
1079         "id": "f903181b.00f37",\r
1080         "type": "outcome",\r
1081         "name": "network-resource",\r
1082         "xml": "<outcome value='network-resource'>\n",\r
1083         "comments": "",\r
1084         "outputs": 1,\r
1085         "x": 3804.5001220703125,\r
1086         "y": 921,\r
1087         "z": "5b68e0d.bd97b2",\r
1088         "wires": [\r
1089             [\r
1090                 "802f4f2.687563"\r
1091             ]\r
1092         ]\r
1093     },\r
1094     {\r
1095         "id": "9e4db8b6.012fb",\r
1096         "type": "block",\r
1097         "name": "block : atomic",\r
1098         "xml": "<block atomic=\"true\">",\r
1099         "atomic": "true",\r
1100         "outputs": 1,\r
1101         "x": 4015.5001220703125,\r
1102         "y": 731,\r
1103         "z": "5b68e0d.bd97b2",\r
1104         "wires": [\r
1105             [\r
1106                 "99609484.86254",\r
1107                 "f094147a.c54bb8"\r
1108             ]\r
1109         ]\r
1110     },\r
1111     {\r
1112         "id": "99609484.86254",\r
1113         "type": "set",\r
1114         "name": "set domain B node ttp-id",\r
1115         "xml": "<set>\n<parameter name='tmp.dst-ttp-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
1116         "comments": "",\r
1117         "x": 4232.5001220703125,\r
1118         "y": 672,\r
1119         "z": "5b68e0d.bd97b2",\r
1120         "wires": []\r
1121     },\r
1122     {\r
1123         "id": "f094147a.c54bb8",\r
1124         "type": "get-resource",\r
1125         "name": "get-resource dst TTP",\r
1126         "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.dst-ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
1127         "comments": "",\r
1128         "outputs": 1,\r
1129         "x": 4221.5001220703125,\r
1130         "y": 743,\r
1131         "z": "5b68e0d.bd97b2",\r
1132         "wires": [\r
1133             [\r
1134                 "96cf01de.ff5148"\r
1135             ]\r
1136         ]\r
1137     },\r
1138     {\r
1139         "id": "96cf01de.ff5148",\r
1140         "type": "success",\r
1141         "name": "success",\r
1142         "xml": "<outcome value='success'>\n",\r
1143         "comments": "",\r
1144         "outputs": 1,\r
1145         "x": 4413.0001220703125,\r
1146         "y": 740,\r
1147         "z": "5b68e0d.bd97b2",\r
1148         "wires": [\r
1149             [\r
1150                 "fe418352.84c6"\r
1151             ]\r
1152         ]\r
1153     },\r
1154     {\r
1155         "id": "d4d32344.490fe8",\r
1156         "type": "set",\r
1157         "name": "set domain B network-id",\r
1158         "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
1159         "comments": "",\r
1160         "x": 4252.5001220703125,\r
1161         "y": 852,\r
1162         "z": "5b68e0d.bd97b2",\r
1163         "wires": []\r
1164     },\r
1165     {\r
1166         "id": "1ab02c14.0e8e64",\r
1167         "type": "get-resource",\r
1168         "name": "get-resource dst network-resource",\r
1169         "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
1170         "comments": "",\r
1171         "outputs": 1,\r
1172         "x": 4260.5001220703125,\r
1173         "y": 933,\r
1174         "z": "5b68e0d.bd97b2",\r
1175         "wires": [\r
1176             [\r
1177                 "e204fe22.e747c8"\r
1178             ]\r
1179         ]\r
1180     },\r
1181     {\r
1182         "id": "e204fe22.e747c8",\r
1183         "type": "success",\r
1184         "name": "success",\r
1185         "xml": "<outcome value='success'>\n",\r
1186         "comments": "",\r
1187         "outputs": 1,\r
1188         "x": 4493.0001220703125,\r
1189         "y": 929,\r
1190         "z": "5b68e0d.bd97b2",\r
1191         "wires": [\r
1192             [\r
1193                 "c2250516.6a88f"\r
1194             ]\r
1195         ]\r
1196     },\r
1197     {\r
1198         "id": "c2250516.6a88f",\r
1199         "type": "set",\r
1200         "name": "set domain B network-id, topo-id, client-id, etc",\r
1201         "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",\r
1202         "comments": "",\r
1203         "x": 4734.5001220703125,\r
1204         "y": 923,\r
1205         "z": "5b68e0d.bd97b2",\r
1206         "wires": []\r
1207     },\r
1208     {\r
1209         "id": "b104de88.84b78",\r
1210         "type": "block",\r
1211         "name": "block",\r
1212         "xml": "<block>\n",\r
1213         "atomic": "false",\r
1214         "comments": "",\r
1215         "outputs": 1,\r
1216         "x": 2682,\r
1217         "y": 366,\r
1218         "z": "5b68e0d.bd97b2",\r
1219         "wires": [\r
1220             [\r
1221                 "a5379b59.d56668"\r
1222             ]\r
1223         ]\r
1224     },\r
1225     {\r
1226         "id": "75eb9694.598e48",\r
1227         "type": "block",\r
1228         "name": "block",\r
1229         "xml": "<block>\n",\r
1230         "atomic": "false",\r
1231         "comments": "",\r
1232         "outputs": 1,\r
1233         "x": 2637,\r
1234         "y": 744,\r
1235         "z": "5b68e0d.bd97b2",\r
1236         "wires": [\r
1237             [\r
1238                 "670f7157.4b83f"\r
1239             ]\r
1240         ]\r
1241     },\r
1242     {\r
1243         "id": "c0faec82.816fb8",\r
1244         "type": "switchNode",\r
1245         "name": "test $vidx",\r
1246         "xml": "<switch test='`$vidx`'>\n",\r
1247         "comments": "",\r
1248         "outputs": 1,\r
1249         "x": 1622,\r
1250         "y": 602,\r
1251         "z": "5b68e0d.bd97b2",\r
1252         "wires": [\r
1253             [\r
1254                 "b7d58fe7.9f74b8",\r
1255                 "dc6562ba.9ee77"\r
1256             ]\r
1257         ]\r
1258     },\r
1259     {\r
1260         "id": "b7d58fe7.9f74b8",\r
1261         "type": "outcome",\r
1262         "name": "outcome first",\r
1263         "xml": "<outcome value='0'>\n",\r
1264         "comments": "",\r
1265         "outputs": 1,\r
1266         "x": 1787,\r
1267         "y": 580,\r
1268         "z": "5b68e0d.bd97b2",\r
1269         "wires": [\r
1270             [\r
1271                 "197e1ba0.21ad04"\r
1272             ]\r
1273         ]\r
1274     },\r
1275     {\r
1276         "id": "dc6562ba.9ee77",\r
1277         "type": "outcome",\r
1278         "name": "outcome last",\r
1279         "xml": "<outcome value='`$otn-oof.solutions_length - 1`'>\n",\r
1280         "comments": "",\r
1281         "outputs": 1,\r
1282         "x": 1786,\r
1283         "y": 641,\r
1284         "z": "5b68e0d.bd97b2",\r
1285         "wires": [\r
1286             [\r
1287                 "1e901248.1aaca6"\r
1288             ]\r
1289         ]\r
1290     },\r
1291     {\r
1292         "id": "197e1ba0.21ad04",\r
1293         "type": "set",\r
1294         "name": "set oofsolutions-first info",\r
1295         "xml": "<set>\n<parameter name='tmp.oofsolutions-first-src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-first-src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[1].relationship-value`\" />\n\n\n\n",\r
1296         "comments": "",\r
1297         "x": 1980,\r
1298         "y": 582,\r
1299         "z": "5b68e0d.bd97b2",\r
1300         "wires": []\r
1301     },\r
1302     {\r
1303         "id": "1e901248.1aaca6",\r
1304         "type": "set",\r
1305         "name": "set oofsolutions last info",\r
1306         "xml": "<set>\n<parameter name='tmp.oofsolutions-last-dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-last-dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[1].relationship-value`\" />\n",\r
1307         "comments": "",\r
1308         "x": 1979,\r
1309         "y": 640,\r
1310         "z": "5b68e0d.bd97b2",\r
1311         "wires": []\r
1312     },\r
1313     {\r
1314         "id": "7d949923.feaea8",\r
1315         "type": "block",\r
1316         "name": "block",\r
1317         "xml": "<block>\n",\r
1318         "atomic": "false",\r
1319         "comments": "",\r
1320         "outputs": 1,\r
1321         "x": 1496,\r
1322         "y": 523,\r
1323         "z": "5b68e0d.bd97b2",\r
1324         "wires": [\r
1325             [\r
1326                 "40299798.13bc",\r
1327                 "ba0dda0.572ad28"\r
1328             ]\r
1329         ]\r
1330     },\r
1331     {\r
1332         "id": "e9ba305b.3f7b08",\r
1333         "type": "for",\r
1334         "name": "for each relationship",\r
1335         "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
1336         "comments": "",\r
1337         "outputs": 1,\r
1338         "x": 2266,\r
1339         "y": 307,\r
1340         "z": "5b68e0d.bd97b2",\r
1341         "wires": [\r
1342             [\r
1343                 "5728cf0a.e04c88"\r
1344             ]\r
1345         ]\r
1346     },\r
1347     {\r
1348         "id": "5728cf0a.e04c88",\r
1349         "type": "switchNode",\r
1350         "name": "switch related-to",\r
1351         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
1352         "comments": "",\r
1353         "outputs": 1,\r
1354         "x": 2465,\r
1355         "y": 304,\r
1356         "z": "5b68e0d.bd97b2",\r
1357         "wires": [\r
1358             [\r
1359                 "a07b7ba1.16119"\r
1360             ]\r
1361         ]\r
1362     },\r
1363     {\r
1364         "id": "a07b7ba1.16119",\r
1365         "type": "outcome",\r
1366         "name": "p-interface",\r
1367         "xml": "<outcome value='p-interface'>\n",\r
1368         "comments": "",\r
1369         "outputs": 1,\r
1370         "x": 2642.117431640625,\r
1371         "y": 302.34027099609375,\r
1372         "z": "5b68e0d.bd97b2",\r
1373         "wires": [\r
1374             [\r
1375                 "5430daff.402bcc"\r
1376             ]\r
1377         ]\r
1378     },\r
1379     {\r
1380         "id": "b3de6391.5ab778",\r
1381         "type": "set",\r
1382         "name": "set src-ltpId and dst-ltpId",\r
1383         "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",\r
1384         "comments": "",\r
1385         "x": 2956,\r
1386         "y": 246,\r
1387         "z": "5b68e0d.bd97b2",\r
1388         "wires": []\r
1389     },\r
1390     {\r
1391         "id": "cf93cd1e.3a945",\r
1392         "type": "break",\r
1393         "name": "break",\r
1394         "xml": "<break>\n",\r
1395         "comments": "",\r
1396         "x": 2917,\r
1397         "y": 309,\r
1398         "z": "5b68e0d.bd97b2",\r
1399         "wires": []\r
1400     },\r
1401     {\r
1402         "id": "5430daff.402bcc",\r
1403         "type": "block",\r
1404         "name": "block",\r
1405         "xml": "<block>\n",\r
1406         "atomic": "false",\r
1407         "comments": "",\r
1408         "outputs": 1,\r
1409         "x": 2782,\r
1410         "y": 287,\r
1411         "z": "5b68e0d.bd97b2",\r
1412         "wires": [\r
1413             [\r
1414                 "b3de6391.5ab778",\r
1415                 "cf93cd1e.3a945"\r
1416             ]\r
1417         ]\r
1418     },\r
1419     {\r
1420         "id": "f1b6891b.494ac",\r
1421         "type": "for",\r
1422         "name": "for each relationship",\r
1423         "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
1424         "comments": "",\r
1425         "outputs": 1,\r
1426         "x": 1342,\r
1427         "y": 890,\r
1428         "z": "5b68e0d.bd97b2",\r
1429         "wires": [\r
1430             [\r
1431                 "71c25391.1fc4f4"\r
1432             ]\r
1433         ]\r
1434     },\r
1435     {\r
1436         "id": "71c25391.1fc4f4",\r
1437         "type": "switchNode",\r
1438         "name": "switch related-to",\r
1439         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
1440         "comments": "",\r
1441         "outputs": 1,\r
1442         "x": 1541,\r
1443         "y": 887,\r
1444         "z": "5b68e0d.bd97b2",\r
1445         "wires": [\r
1446             [\r
1447                 "fb1d0e47.e5d04"\r
1448             ]\r
1449         ]\r
1450     },\r
1451     {\r
1452         "id": "fb1d0e47.e5d04",\r
1453         "type": "outcome",\r
1454         "name": "p-interface",\r
1455         "xml": "<outcome value='p-interface'>\n",\r
1456         "comments": "",\r
1457         "outputs": 1,\r
1458         "x": 1718.117431640625,\r
1459         "y": 885.3402709960938,\r
1460         "z": "5b68e0d.bd97b2",\r
1461         "wires": [\r
1462             [\r
1463                 "d166e350.8b25f"\r
1464             ]\r
1465         ]\r
1466     },\r
1467     {\r
1468         "id": "d166e350.8b25f",\r
1469         "type": "block",\r
1470         "name": "block",\r
1471         "xml": "<block>\n",\r
1472         "atomic": "false",\r
1473         "comments": "",\r
1474         "outputs": 1,\r
1475         "x": 1858,\r
1476         "y": 870,\r
1477         "z": "5b68e0d.bd97b2",\r
1478         "wires": [\r
1479             [\r
1480                 "76dcccfc.66809c",\r
1481                 "c46fae49.1a78a8"\r
1482             ]\r
1483         ]\r
1484     },\r
1485     {\r
1486         "id": "76dcccfc.66809c",\r
1487         "type": "break",\r
1488         "name": "break",\r
1489         "xml": "<break>\n",\r
1490         "comments": "",\r
1491         "x": 1993,\r
1492         "y": 892,\r
1493         "z": "5b68e0d.bd97b2",\r
1494         "wires": []\r
1495     },\r
1496     {\r
1497         "id": "8ebbd23d.9dd4d",\r
1498         "type": "switchNode",\r
1499         "name": "test $vidx",\r
1500         "xml": "<switch test='`$vidx`'>\n",\r
1501         "comments": "",\r
1502         "outputs": 1,\r
1503         "x": 1793,\r
1504         "y": 730,\r
1505         "z": "5b68e0d.bd97b2",\r
1506         "wires": [\r
1507             [\r
1508                 "e155bd88.0bc8b",\r
1509                 "74a1badc.9d6fbc"\r
1510             ]\r
1511         ]\r
1512     },\r
1513     {\r
1514         "id": "e155bd88.0bc8b",\r
1515         "type": "outcome",\r
1516         "name": "outcome first",\r
1517         "xml": "<outcome value='0'>\n",\r
1518         "comments": "",\r
1519         "outputs": 1,\r
1520         "x": 1958,\r
1521         "y": 708,\r
1522         "z": "5b68e0d.bd97b2",\r
1523         "wires": [\r
1524             [\r
1525                 "f1b6891b.494ac"\r
1526             ]\r
1527         ]\r
1528     },\r
1529     {\r
1530         "id": "74a1badc.9d6fbc",\r
1531         "type": "outcome",\r
1532         "name": "outcome last",\r
1533         "xml": "<outcome value='`$otn-oof.solutions_length - 1`'>\n",\r
1534         "comments": "",\r
1535         "outputs": 1,\r
1536         "x": 1957,\r
1537         "y": 769,\r
1538         "z": "5b68e0d.bd97b2",\r
1539         "wires": [\r
1540             [\r
1541                 "bf04627d.7c822"\r
1542             ]\r
1543         ]\r
1544     },\r
1545     {\r
1546         "id": "c46fae49.1a78a8",\r
1547         "type": "set",\r
1548         "name": "set oofsolutions-first info",\r
1549         "xml": "<set>\n<parameter name='tmp.oofsolutions-first-src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-first-src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n\n\n\n",\r
1550         "comments": "",\r
1551         "x": 2041,\r
1552         "y": 847,\r
1553         "z": "5b68e0d.bd97b2",\r
1554         "wires": []\r
1555     },\r
1556     {\r
1557         "id": "bf04627d.7c822",\r
1558         "type": "for",\r
1559         "name": "for each relationship",\r
1560         "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
1561         "comments": "",\r
1562         "outputs": 1,\r
1563         "x": 1320,\r
1564         "y": 993,\r
1565         "z": "5b68e0d.bd97b2",\r
1566         "wires": [\r
1567             [\r
1568                 "1e746899.4a1de7"\r
1569             ]\r
1570         ]\r
1571     },\r
1572     {\r
1573         "id": "1e746899.4a1de7",\r
1574         "type": "switchNode",\r
1575         "name": "switch related-to",\r
1576         "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
1577         "comments": "",\r
1578         "outputs": 1,\r
1579         "x": 1519,\r
1580         "y": 990,\r
1581         "z": "5b68e0d.bd97b2",\r
1582         "wires": [\r
1583             [\r
1584                 "1fda2797.1ef958"\r
1585             ]\r
1586         ]\r
1587     },\r
1588     {\r
1589         "id": "1fda2797.1ef958",\r
1590         "type": "outcome",\r
1591         "name": "p-interface",\r
1592         "xml": "<outcome value='p-interface'>\n",\r
1593         "comments": "",\r
1594         "outputs": 1,\r
1595         "x": 1696.117431640625,\r
1596         "y": 988.3402709960938,\r
1597         "z": "5b68e0d.bd97b2",\r
1598         "wires": [\r
1599             [\r
1600                 "73e8ef8a.6dee8"\r
1601             ]\r
1602         ]\r
1603     },\r
1604     {\r
1605         "id": "73e8ef8a.6dee8",\r
1606         "type": "block",\r
1607         "name": "block",\r
1608         "xml": "<block>\n",\r
1609         "atomic": "false",\r
1610         "comments": "",\r
1611         "outputs": 1,\r
1612         "x": 1836,\r
1613         "y": 973,\r
1614         "z": "5b68e0d.bd97b2",\r
1615         "wires": [\r
1616             [\r
1617                 "9ff282e5.e46b2",\r
1618                 "d72292cf.36986"\r
1619             ]\r
1620         ]\r
1621     },\r
1622     {\r
1623         "id": "9ff282e5.e46b2",\r
1624         "type": "break",\r
1625         "name": "break",\r
1626         "xml": "<break>\n",\r
1627         "comments": "",\r
1628         "x": 1971,\r
1629         "y": 995,\r
1630         "z": "5b68e0d.bd97b2",\r
1631         "wires": []\r
1632     },\r
1633     {\r
1634         "id": "d72292cf.36986",\r
1635         "type": "set",\r
1636         "name": "set oofsolutions last info",\r
1637         "xml": "<set>\n<parameter name='tmp.oofsolutions-last-dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-last-dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n",\r
1638         "comments": "",\r
1639         "x": 2026,\r
1640         "y": 949,\r
1641         "z": "5b68e0d.bd97b2",\r
1642         "wires": []\r
1643     },\r
1644     {\r
1645         "id": "ba0dda0.572ad28",\r
1646         "type": "switchNode",\r
1647         "name": "switch relationship_length",\r
1648         "xml": "<switch test='`length($tmp.aai.cross-link.relationship-list.relationship) == 0`'>",\r
1649         "comments": "",\r
1650         "outputs": 1,\r
1651         "x": 1440,\r
1652         "y": 731,\r
1653         "z": "5b68e0d.bd97b2",\r
1654         "wires": [\r
1655             [\r
1656                 "d7ed588c.061ed8",\r
1657                 "b66c4a0f.48599"\r
1658             ]\r
1659         ]\r
1660     },\r
1661     {\r
1662         "id": "d7ed588c.061ed8",\r
1663         "type": "outcomeTrue",\r
1664         "name": "true",\r
1665         "xml": "<outcome value='true'>\n",\r
1666         "comments": "",\r
1667         "outputs": 1,\r
1668         "x": 1631,\r
1669         "y": 698,\r
1670         "z": "5b68e0d.bd97b2",\r
1671         "wires": [\r
1672             []\r
1673         ]\r
1674     },\r
1675     {\r
1676         "id": "b66c4a0f.48599",\r
1677         "type": "outcomeFalse",\r
1678         "name": "false",\r
1679         "xml": "<outcome value='false'>\n",\r
1680         "comments": "",\r
1681         "outputs": 1,\r
1682         "x": 1632,\r
1683         "y": 745,\r
1684         "z": "5b68e0d.bd97b2",\r
1685         "wires": [\r
1686             [\r
1687                 "8ebbd23d.9dd4d"\r
1688             ]\r
1689         ]\r
1690     },\r
1691     {\r
1692         "id": "a982c4fa.2154f",\r
1693         "type": "block",\r
1694         "name": "block : atomic",\r
1695         "xml": "<block atomic=\"true\">",\r
1696         "atomic": "true",\r
1697         "outputs": 1,\r
1698         "x": 4642,\r
1699         "y": 370,\r
1700         "z": "5b68e0d.bd97b2",\r
1701         "wires": [\r
1702             [\r
1703                 "203d5e77.1749e2"\r
1704             ]\r
1705         ]\r
1706     },\r
1707     {\r
1708         "id": "7cb92f1c.0d62a8",\r
1709         "type": "for",\r
1710         "name": "for each relationship",\r
1711         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-ttp.relationship-list.relationship_length`' >\n",\r
1712         "comments": "",\r
1713         "outputs": 1,\r
1714         "x": 5223,\r
1715         "y": 433,\r
1716         "z": "5b68e0d.bd97b2",\r
1717         "wires": [\r
1718             [\r
1719                 "517c6485.d4072c"\r
1720             ]\r
1721         ]\r
1722     },\r
1723     {\r
1724         "id": "517c6485.d4072c",\r
1725         "type": "switchNode",\r
1726         "name": "switch related-to",\r
1727         "xml": "<switch test='`$tmp.aai.src-ttp.relationship-list.relationship[$vidx].related-to`'>\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 5449,\r
1731         "y": 433,\r
1732         "z": "5b68e0d.bd97b2",\r
1733         "wires": [\r
1734             [\r
1735                 "66fdc763.76b7a8"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "66fdc763.76b7a8",\r
1741         "type": "outcome",\r
1742         "name": "p-interface",\r
1743         "xml": "<outcome value='p-interface'>\n",\r
1744         "comments": "",\r
1745         "outputs": 1,\r
1746         "x": 5643.2861328125,\r
1747         "y": 432.82177734375,\r
1748         "z": "5b68e0d.bd97b2",\r
1749         "wires": [\r
1750             [\r
1751                 "d6464d3a.f940c8"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "d6464d3a.f940c8",\r
1757         "type": "block",\r
1758         "name": "block : atomic",\r
1759         "xml": "<block atomic=\"true\">",\r
1760         "atomic": "true",\r
1761         "outputs": 1,\r
1762         "x": 5818.1171875,\r
1763         "y": 432.34027099609375,\r
1764         "z": "5b68e0d.bd97b2",\r
1765         "wires": [\r
1766             [\r
1767                 "ebf0e7da.b09cb"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "203d5e77.1749e2",\r
1773         "type": "switchNode",\r
1774         "name": "switch ttp relationship",\r
1775         "xml": "<switch test='`$tmp.aai.src-ttp.relationship-list.relationship_length`'>\n",\r
1776         "comments": "",\r
1777         "outputs": 1,\r
1778         "x": 4840,\r
1779         "y": 372,\r
1780         "z": "5b68e0d.bd97b2",\r
1781         "wires": [\r
1782             [\r
1783                 "6d19c367.9a927c",\r
1784                 "ad218f76.da61f",\r
1785                 "4692a096.2a98"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "6d19c367.9a927c",\r
1791         "type": "other",\r
1792         "name": "Null",\r
1793         "xml": "<outcome value=''>\n",\r
1794         "comments": "",\r
1795         "outputs": 1,\r
1796         "x": 5023,\r
1797         "y": 334,\r
1798         "z": "5b68e0d.bd97b2",\r
1799         "wires": [\r
1800             [\r
1801                 "13f17017.84d56"\r
1802             ]\r
1803         ]\r
1804     },\r
1805     {\r
1806         "id": "4692a096.2a98",\r
1807         "type": "outcome",\r
1808         "name": "length 0",\r
1809         "xml": "<outcome value='0'>\n",\r
1810         "comments": "",\r
1811         "outputs": 1,\r
1812         "x": 5033,\r
1813         "y": 382,\r
1814         "z": "5b68e0d.bd97b2",\r
1815         "wires": [\r
1816             [\r
1817                 "13f17017.84d56"\r
1818             ]\r
1819         ]\r
1820     },\r
1821     {\r
1822         "id": "ad218f76.da61f",\r
1823         "type": "other",\r
1824         "name": "other",\r
1825         "xml": "<outcome value='Other'>\n",\r
1826         "comments": "",\r
1827         "outputs": 1,\r
1828         "x": 5022,\r
1829         "y": 436,\r
1830         "z": "5b68e0d.bd97b2",\r
1831         "wires": [\r
1832             [\r
1833                 "7cb92f1c.0d62a8"\r
1834             ]\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "13f17017.84d56",\r
1839         "type": "block",\r
1840         "name": "block",\r
1841         "xml": "<block>\n",\r
1842         "atomic": "false",\r
1843         "comments": "",\r
1844         "outputs": 1,\r
1845         "x": 5178,\r
1846         "y": 334,\r
1847         "z": "5b68e0d.bd97b2",\r
1848         "wires": [\r
1849             []\r
1850         ]\r
1851     },\r
1852     {\r
1853         "id": "fe418352.84c6",\r
1854         "type": "block",\r
1855         "name": "block : atomic",\r
1856         "xml": "<block atomic=\"true\">",\r
1857         "atomic": "true",\r
1858         "outputs": 1,\r
1859         "x": 4631,\r
1860         "y": 744,\r
1861         "z": "5b68e0d.bd97b2",\r
1862         "wires": [\r
1863             [\r
1864                 "a04c015d.4f2be"\r
1865             ]\r
1866         ]\r
1867     },\r
1868     {\r
1869         "id": "491826fa.0106a8",\r
1870         "type": "for",\r
1871         "name": "for each relationship",\r
1872         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-ttp.relationship-list.relationship_length`' >\n",\r
1873         "comments": "",\r
1874         "outputs": 1,\r
1875         "x": 5212,\r
1876         "y": 807,\r
1877         "z": "5b68e0d.bd97b2",\r
1878         "wires": [\r
1879             [\r
1880                 "1943c22a.5a60a6"\r
1881             ]\r
1882         ]\r
1883     },\r
1884     {\r
1885         "id": "a04c015d.4f2be",\r
1886         "type": "switchNode",\r
1887         "name": "switch ttp relationship",\r
1888         "xml": "<switch test='`$tmp.aai.dst-ttp.relationship-list.relationship_length`'>\n",\r
1889         "comments": "",\r
1890         "outputs": 1,\r
1891         "x": 4829,\r
1892         "y": 746,\r
1893         "z": "5b68e0d.bd97b2",\r
1894         "wires": [\r
1895             [\r
1896                 "d6405c54.6f4518",\r
1897                 "6576831f.203ff4",\r
1898                 "863d1cc0.5d8dc8"\r
1899             ]\r
1900         ]\r
1901     },\r
1902     {\r
1903         "id": "d6405c54.6f4518",\r
1904         "type": "other",\r
1905         "name": "Null",\r
1906         "xml": "<outcome value=''>\n",\r
1907         "comments": "",\r
1908         "outputs": 1,\r
1909         "x": 5012,\r
1910         "y": 708,\r
1911         "z": "5b68e0d.bd97b2",\r
1912         "wires": [\r
1913             [\r
1914                 "3eef1226.8c611e"\r
1915             ]\r
1916         ]\r
1917     },\r
1918     {\r
1919         "id": "863d1cc0.5d8dc8",\r
1920         "type": "outcome",\r
1921         "name": "length 0",\r
1922         "xml": "<outcome value='0'>\n",\r
1923         "comments": "",\r
1924         "outputs": 1,\r
1925         "x": 5022,\r
1926         "y": 756,\r
1927         "z": "5b68e0d.bd97b2",\r
1928         "wires": [\r
1929             [\r
1930                 "3eef1226.8c611e"\r
1931             ]\r
1932         ]\r
1933     },\r
1934     {\r
1935         "id": "6576831f.203ff4",\r
1936         "type": "other",\r
1937         "name": "other",\r
1938         "xml": "<outcome value='Other'>\n",\r
1939         "comments": "",\r
1940         "outputs": 1,\r
1941         "x": 5011,\r
1942         "y": 810,\r
1943         "z": "5b68e0d.bd97b2",\r
1944         "wires": [\r
1945             [\r
1946                 "491826fa.0106a8"\r
1947             ]\r
1948         ]\r
1949     },\r
1950     {\r
1951         "id": "3eef1226.8c611e",\r
1952         "type": "block",\r
1953         "name": "block",\r
1954         "xml": "<block>\n",\r
1955         "atomic": "false",\r
1956         "comments": "",\r
1957         "outputs": 1,\r
1958         "x": 5167,\r
1959         "y": 708,\r
1960         "z": "5b68e0d.bd97b2",\r
1961         "wires": [\r
1962             []\r
1963         ]\r
1964     },\r
1965     {\r
1966         "id": "66a31e69.f659b8",\r
1967         "type": "set",\r
1968         "name": "set domain B node ttp-id",\r
1969         "xml": "<set>\n<parameter name='domain-B.ttp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",\r
1970         "comments": "",\r
1971         "x": 6024.5,\r
1972         "y": 805,\r
1973         "z": "5b68e0d.bd97b2",\r
1974         "wires": []\r
1975     },\r
1976     {\r
1977         "id": "1943c22a.5a60a6",\r
1978         "type": "switchNode",\r
1979         "name": "switch related-to",\r
1980         "xml": "<switch test='`$tmp.aai.dst-ttp.relationship-list.relationship[$vidx].related-to`'>\n",\r
1981         "comments": "",\r
1982         "outputs": 1,\r
1983         "x": 5438,\r
1984         "y": 807,\r
1985         "z": "5b68e0d.bd97b2",\r
1986         "wires": [\r
1987             [\r
1988                 "d1d6f06f.051f98"\r
1989             ]\r
1990         ]\r
1991     },\r
1992     {\r
1993         "id": "d1d6f06f.051f98",\r
1994         "type": "outcome",\r
1995         "name": "p-interface",\r
1996         "xml": "<outcome value='p-interface'>\n",\r
1997         "comments": "",\r
1998         "outputs": 1,\r
1999         "x": 5632.2861328125,\r
2000         "y": 806.82177734375,\r
2001         "z": "5b68e0d.bd97b2",\r
2002         "wires": [\r
2003             [\r
2004                 "c6c9b722.1343d8"\r
2005             ]\r
2006         ]\r
2007     },\r
2008     {\r
2009         "id": "c6c9b722.1343d8",\r
2010         "type": "block",\r
2011         "name": "block : atomic",\r
2012         "xml": "<block atomic=\"true\">",\r
2013         "atomic": "true",\r
2014         "outputs": 1,\r
2015         "x": 5807.1171875,\r
2016         "y": 806.3402709960938,\r
2017         "z": "5b68e0d.bd97b2",\r
2018         "wires": [\r
2019             [\r
2020                 "66a31e69.f659b8"\r
2021             ]\r
2022         ]\r
2023     },\r
2024     {\r
2025         "id": "a736e107.ab857",\r
2026         "type": "get-resource",\r
2027         "name": "get-resource src tp",\r
2028         "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
2029         "comments": "",\r
2030         "outputs": 1,\r
2031         "x": 2359.5001220703125,\r
2032         "y": 529,\r
2033         "z": "5b68e0d.bd97b2",\r
2034         "wires": [\r
2035             [\r
2036                 "30082dde.5085da",\r
2037                 "a603f43.0659d88",\r
2038                 "ed057305.d13bc"\r
2039             ]\r
2040         ]\r
2041     },\r
2042     {\r
2043         "id": "85e1ebfe.ba8e78",\r
2044         "type": "comment",\r
2045         "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)",\r
2046         "info": "",\r
2047         "comments": "",\r
2048         "x": 5703,\r
2049         "y": 377,\r
2050         "z": "5b68e0d.bd97b2",\r
2051         "wires": []\r
2052     },\r
2053     {\r
2054         "id": "1ff536a0.bad579",\r
2055         "type": "comment",\r
2056         "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)",\r
2057         "info": "",\r
2058         "comments": "",\r
2059         "x": 5697,\r
2060         "y": 749,\r
2061         "z": "5b68e0d.bd97b2",\r
2062         "wires": []\r
2063     }\r
2064 ]