NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).
[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": 1389.0001220703125,\r
207         "y": 756.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": 1383.0001220703125,\r
223         "y": 806.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": 1550.0001220703125,\r
238         "y": 745.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": 1548.0001220703125,\r
249         "y": 801.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",\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": 2198.5001220703125,\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                 "3a661a62.460126",\r
375                 "a736e107.ab857",\r
376                 "51dd454b.e64094"\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": 2330.5001220703125,\r
387         "y": 379,\r
388         "z": "5b68e0d.bd97b2",\r
389         "wires": []\r
390     },\r
391     {\r
392         "id": "a736e107.ab857",\r
393         "type": "get-resource",\r
394         "name": "get-resource src tp",\r
395         "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
396         "comments": "",\r
397         "outputs": 1,\r
398         "x": 2359.5001220703125,\r
399         "y": 529,\r
400         "z": "5b68e0d.bd97b2",\r
401         "wires": [\r
402             [\r
403                 "30082dde.5085da",\r
404                 "a603f43.0659d88",\r
405                 "ed057305.d13bc"\r
406             ]\r
407         ]\r
408     },\r
409     {\r
410         "id": "30082dde.5085da",\r
411         "type": "success",\r
412         "name": "success",\r
413         "xml": "<outcome value='success'>\n",\r
414         "comments": "",\r
415         "outputs": 1,\r
416         "x": 2593.0001220703125,\r
417         "y": 490,\r
418         "z": "5b68e0d.bd97b2",\r
419         "wires": [\r
420             [\r
421                 "b104de88.84b78"\r
422             ]\r
423         ]\r
424     },\r
425     {\r
426         "id": "a603f43.0659d88",\r
427         "type": "not-found",\r
428         "name": "not-found",\r
429         "xml": "<outcome value='not-found'>\n",\r
430         "comments": "",\r
431         "outputs": 1,\r
432         "x": 2590.0001220703125,\r
433         "y": 548,\r
434         "z": "5b68e0d.bd97b2",\r
435         "wires": [\r
436             [\r
437                 "8496f5b4.9321e8"\r
438             ]\r
439         ]\r
440     },\r
441     {\r
442         "id": "ed057305.d13bc",\r
443         "type": "other",\r
444         "name": "other",\r
445         "xml": "<outcome value='Other'>\n",\r
446         "comments": "",\r
447         "outputs": 1,\r
448         "x": 2593.0001220703125,\r
449         "y": 600,\r
450         "z": "5b68e0d.bd97b2",\r
451         "wires": [\r
452             [\r
453                 "1dbdbb79.fd0ced"\r
454             ]\r
455         ]\r
456     },\r
457     {\r
458         "id": "8496f5b4.9321e8",\r
459         "type": "returnFailure",\r
460         "name": "return failure",\r
461         "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
462         "comments": "",\r
463         "x": 2775.0001220703125,\r
464         "y": 552,\r
465         "z": "5b68e0d.bd97b2",\r
466         "wires": []\r
467     },\r
468     {\r
469         "id": "1dbdbb79.fd0ced",\r
470         "type": "returnFailure",\r
471         "name": "return failure",\r
472         "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
473         "comments": "",\r
474         "x": 2763.0001220703125,\r
475         "y": 603,\r
476         "z": "5b68e0d.bd97b2",\r
477         "wires": []\r
478     },\r
479     {\r
480         "id": "94adb9b9.7a0948",\r
481         "type": "set",\r
482         "name": "set tmp.src-pnf-name",\r
483         "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
484         "comments": "",\r
485         "x": 2872.5,\r
486         "y": 445,\r
487         "z": "5b68e0d.bd97b2",\r
488         "wires": []\r
489     },\r
490     {\r
491         "id": "a5379b59.d56668",\r
492         "type": "get-resource",\r
493         "name": "get-resource src pnf",\r
494         "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
495         "comments": "",\r
496         "outputs": 1,\r
497         "x": 2871.5,\r
498         "y": 488,\r
499         "z": "5b68e0d.bd97b2",\r
500         "wires": [\r
501             [\r
502                 "fc1e5cdb.f87da8",\r
503                 "c1dbffa0.3a6ef8",\r
504                 "e17cdd49.4fcf08"\r
505             ]\r
506         ]\r
507     },\r
508     {\r
509         "id": "fc1e5cdb.f87da8",\r
510         "type": "success",\r
511         "name": "success",\r
512         "xml": "<outcome value='success'>\n",\r
513         "comments": "",\r
514         "outputs": 1,\r
515         "x": 3067.0001220703125,\r
516         "y": 445,\r
517         "z": "5b68e0d.bd97b2",\r
518         "wires": [\r
519             [\r
520                 "372db61f.e21a7a"\r
521             ]\r
522         ]\r
523     },\r
524     {\r
525         "id": "c1dbffa0.3a6ef8",\r
526         "type": "not-found",\r
527         "name": "not-found",\r
528         "xml": "<outcome value='not-found'>\n",\r
529         "comments": "",\r
530         "outputs": 1,\r
531         "x": 3059.0001220703125,\r
532         "y": 500,\r
533         "z": "5b68e0d.bd97b2",\r
534         "wires": [\r
535             [\r
536                 "8f21b6ce.dd76a"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "e17cdd49.4fcf08",\r
542         "type": "other",\r
543         "name": "other",\r
544         "xml": "<outcome value='Other'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 3064.0001220703125,\r
548         "y": 557,\r
549         "z": "5b68e0d.bd97b2",\r
550         "wires": [\r
551             [\r
552                 "e804e037.dd4f"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "8f21b6ce.dd76a",\r
558         "type": "returnFailure",\r
559         "name": "return failure",\r
560         "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
561         "comments": "",\r
562         "x": 3227.0001220703125,\r
563         "y": 503,\r
564         "z": "5b68e0d.bd97b2",\r
565         "wires": []\r
566     },\r
567     {\r
568         "id": "e804e037.dd4f",\r
569         "type": "returnFailure",\r
570         "name": "return failure",\r
571         "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
572         "comments": "",\r
573         "x": 3216.0001220703125,\r
574         "y": 558,\r
575         "z": "5b68e0d.bd97b2",\r
576         "wires": []\r
577     },\r
578     {\r
579         "id": "e0784723.78ca28",\r
580         "type": "set",\r
581         "name": "set domain A node ttp-id",\r
582         "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
583         "comments": "",\r
584         "x": 4278.5001220703125,\r
585         "y": 306,\r
586         "z": "5b68e0d.bd97b2",\r
587         "wires": []\r
588     },\r
589     {\r
590         "id": "1b6b3639.216dba",\r
591         "type": "get-resource",\r
592         "name": "get-resource src TTP",\r
593         "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
594         "comments": "",\r
595         "outputs": 1,\r
596         "x": 4267.5001220703125,\r
597         "y": 377,\r
598         "z": "5b68e0d.bd97b2",\r
599         "wires": [\r
600             [\r
601                 "ac3848e1.acfdf8"\r
602             ]\r
603         ]\r
604     },\r
605     {\r
606         "id": "ac3848e1.acfdf8",\r
607         "type": "success",\r
608         "name": "success",\r
609         "xml": "<outcome value='success'>\n",\r
610         "comments": "",\r
611         "outputs": 1,\r
612         "x": 4459.0001220703125,\r
613         "y": 374,\r
614         "z": "5b68e0d.bd97b2",\r
615         "wires": [\r
616             [\r
617                 "ebf0e7da.b09cb"\r
618             ]\r
619         ]\r
620     },\r
621     {\r
622         "id": "ebf0e7da.b09cb",\r
623         "type": "set",\r
624         "name": "set domain A node ttp-id",\r
625         "xml": "<set>\n<parameter name='domain-A.ttp-id' value=\"`$tmp.aai.src-ttp.ttp-id`\" />\n",\r
626         "comments": "",\r
627         "x": 4671.5001220703125,\r
628         "y": 373,\r
629         "z": "5b68e0d.bd97b2",\r
630         "wires": []\r
631     },\r
632     {\r
633         "id": "ae40696e.4ae89",\r
634         "type": "block",\r
635         "name": "block : atomic",\r
636         "xml": "<block atomic=\"true\">",\r
637         "atomic": "true",\r
638         "outputs": 1,\r
639         "x": 4063.5001220703125,\r
640         "y": 556,\r
641         "z": "5b68e0d.bd97b2",\r
642         "wires": [\r
643             [\r
644                 "a860374.60c54c8",\r
645                 "f3ee54c1.b5d84"\r
646             ]\r
647         ]\r
648     },\r
649     {\r
650         "id": "577de1c9.7d7528",\r
651         "type": "outcome",\r
652         "name": "tunnel-termination-point",\r
653         "xml": "<outcome value='tunnel-termination-point'>\n",\r
654         "comments": "",\r
655         "outputs": 1,\r
656         "x": 3859.6685791015625,\r
657         "y": 369.48150634765625,\r
658         "z": "5b68e0d.bd97b2",\r
659         "wires": [\r
660             [\r
661                 "2ec73e0f.7a316a"\r
662             ]\r
663         ]\r
664     },\r
665     {\r
666         "id": "3f827e10.2f07d2",\r
667         "type": "for",\r
668         "name": "for each relationship",\r
669         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
670         "comments": "",\r
671         "outputs": 1,\r
672         "x": 3426.3826904296875,\r
673         "y": 442.65972900390625,\r
674         "z": "5b68e0d.bd97b2",\r
675         "wires": [\r
676             [\r
677                 "7df05538.ae1e24"\r
678             ]\r
679         ]\r
680     },\r
681     {\r
682         "id": "7df05538.ae1e24",\r
683         "type": "switchNode",\r
684         "name": "switch related-to",\r
685         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 3652.3826904296875,\r
689         "y": 442.65972900390625,\r
690         "z": "5b68e0d.bd97b2",\r
691         "wires": [\r
692             [\r
693                 "577de1c9.7d7528",\r
694                 "1569d56e.fb5f8b"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "372db61f.e21a7a",\r
700         "type": "block",\r
701         "name": "block",\r
702         "xml": "<block>\n",\r
703         "atomic": "false",\r
704         "comments": "",\r
705         "outputs": 1,\r
706         "x": 3211.3824462890625,\r
707         "y": 442.6556701660156,\r
708         "z": "5b68e0d.bd97b2",\r
709         "wires": [\r
710             [\r
711                 "3f827e10.2f07d2",\r
712                 "9cbdf6a0.b391f"\r
713             ]\r
714         ]\r
715     },\r
716     {\r
717         "id": "9cbdf6a0.b391f",\r
718         "type": "set",\r
719         "name": "set domain A node-id and tpn",\r
720         "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
721         "comments": "",\r
722         "x": 3470.5001220703125,\r
723         "y": 353,\r
724         "z": "5b68e0d.bd97b2",\r
725         "wires": []\r
726     },\r
727     {\r
728         "id": "1569d56e.fb5f8b",\r
729         "type": "outcome",\r
730         "name": "network-resource",\r
731         "xml": "<outcome value='network-resource'>\n",\r
732         "comments": "",\r
733         "outputs": 1,\r
734         "x": 3850.5001220703125,\r
735         "y": 555,\r
736         "z": "5b68e0d.bd97b2",\r
737         "wires": [\r
738             [\r
739                 "ae40696e.4ae89"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "a860374.60c54c8",\r
745         "type": "set",\r
746         "name": "set domain A network-id",\r
747         "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
748         "comments": "",\r
749         "x": 4298.5001220703125,\r
750         "y": 486,\r
751         "z": "5b68e0d.bd97b2",\r
752         "wires": []\r
753     },\r
754     {\r
755         "id": "2ec73e0f.7a316a",\r
756         "type": "block",\r
757         "name": "block : atomic",\r
758         "xml": "<block atomic=\"true\">",\r
759         "atomic": "true",\r
760         "outputs": 1,\r
761         "x": 4061.5001220703125,\r
762         "y": 365,\r
763         "z": "5b68e0d.bd97b2",\r
764         "wires": [\r
765             [\r
766                 "e0784723.78ca28",\r
767                 "1b6b3639.216dba"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "f3ee54c1.b5d84",\r
773         "type": "get-resource",\r
774         "name": "get-resource src network-resource",\r
775         "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
776         "comments": "",\r
777         "outputs": 1,\r
778         "x": 4306.5001220703125,\r
779         "y": 567,\r
780         "z": "5b68e0d.bd97b2",\r
781         "wires": [\r
782             [\r
783                 "9ea34049.8c12a8"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "9ea34049.8c12a8",\r
789         "type": "success",\r
790         "name": "success",\r
791         "xml": "<outcome value='success'>\n",\r
792         "comments": "",\r
793         "outputs": 1,\r
794         "x": 4539.0001220703125,\r
795         "y": 563,\r
796         "z": "5b68e0d.bd97b2",\r
797         "wires": [\r
798             [\r
799                 "c512a46.74a5bd8"\r
800             ]\r
801         ]\r
802     },\r
803     {\r
804         "id": "c512a46.74a5bd8",\r
805         "type": "set",\r
806         "name": "set domain A network-id, topo-id, client-id, etc",\r
807         "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
808         "comments": "",\r
809         "x": 4780.5001220703125,\r
810         "y": 557,\r
811         "z": "5b68e0d.bd97b2",\r
812         "wires": []\r
813     },\r
814     {\r
815         "id": "51dd454b.e64094",\r
816         "type": "get-resource",\r
817         "name": "get-resource dst tp",\r
818         "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.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
819         "comments": "",\r
820         "outputs": 1,\r
821         "x": 2313.5001220703125,\r
822         "y": 895,\r
823         "z": "5b68e0d.bd97b2",\r
824         "wires": [\r
825             [\r
826                 "a793d2c3.cd625",\r
827                 "8024d4d5.2b62d8",\r
828                 "765b5b90.f1ecd4"\r
829             ]\r
830         ]\r
831     },\r
832     {\r
833         "id": "a793d2c3.cd625",\r
834         "type": "success",\r
835         "name": "success",\r
836         "xml": "<outcome value='success'>\n",\r
837         "comments": "",\r
838         "outputs": 1,\r
839         "x": 2547.0001220703125,\r
840         "y": 856,\r
841         "z": "5b68e0d.bd97b2",\r
842         "wires": [\r
843             [\r
844                 "75eb9694.598e48"\r
845             ]\r
846         ]\r
847     },\r
848     {\r
849         "id": "8024d4d5.2b62d8",\r
850         "type": "not-found",\r
851         "name": "not-found",\r
852         "xml": "<outcome value='not-found'>\n",\r
853         "comments": "",\r
854         "outputs": 1,\r
855         "x": 2544.0001220703125,\r
856         "y": 914,\r
857         "z": "5b68e0d.bd97b2",\r
858         "wires": [\r
859             [\r
860                 "612d2397.585244"\r
861             ]\r
862         ]\r
863     },\r
864     {\r
865         "id": "765b5b90.f1ecd4",\r
866         "type": "other",\r
867         "name": "other",\r
868         "xml": "<outcome value='Other'>\n",\r
869         "comments": "",\r
870         "outputs": 1,\r
871         "x": 2547.0001220703125,\r
872         "y": 966,\r
873         "z": "5b68e0d.bd97b2",\r
874         "wires": [\r
875             [\r
876                 "a08bb92f.3f7318"\r
877             ]\r
878         ]\r
879     },\r
880     {\r
881         "id": "a08bb92f.3f7318",\r
882         "type": "returnFailure",\r
883         "name": "return failure",\r
884         "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
885         "comments": "",\r
886         "x": 2717.0001220703125,\r
887         "y": 969,\r
888         "z": "5b68e0d.bd97b2",\r
889         "wires": []\r
890     },\r
891     {\r
892         "id": "612d2397.585244",\r
893         "type": "returnFailure",\r
894         "name": "return failure",\r
895         "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
896         "comments": "",\r
897         "x": 2729.0001220703125,\r
898         "y": 918,\r
899         "z": "5b68e0d.bd97b2",\r
900         "wires": []\r
901     },\r
902     {\r
903         "id": "670f7157.4b83f",\r
904         "type": "get-resource",\r
905         "name": "get-resource dst pnf",\r
906         "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
907         "comments": "",\r
908         "outputs": 1,\r
909         "x": 2825.5,\r
910         "y": 859,\r
911         "z": "5b68e0d.bd97b2",\r
912         "wires": [\r
913             [\r
914                 "3389e479.7caf4c",\r
915                 "a22904b1.12c91",\r
916                 "3f4df7a2.550db8"\r
917             ]\r
918         ]\r
919     },\r
920     {\r
921         "id": "fbc3aa3e.92a1d",\r
922         "type": "set",\r
923         "name": "set tmp.dst-pnf-name",\r
924         "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
925         "comments": "",\r
926         "x": 2830.5,\r
927         "y": 807,\r
928         "z": "5b68e0d.bd97b2",\r
929         "wires": []\r
930     },\r
931     {\r
932         "id": "3f4df7a2.550db8",\r
933         "type": "other",\r
934         "name": "other",\r
935         "xml": "<outcome value='Other'>\n",\r
936         "comments": "",\r
937         "outputs": 1,\r
938         "x": 3018.0001220703125,\r
939         "y": 923,\r
940         "z": "5b68e0d.bd97b2",\r
941         "wires": [\r
942             [\r
943                 "a7bbc350.7f29"\r
944             ]\r
945         ]\r
946     },\r
947     {\r
948         "id": "a22904b1.12c91",\r
949         "type": "not-found",\r
950         "name": "not-found",\r
951         "xml": "<outcome value='not-found'>\n",\r
952         "comments": "",\r
953         "outputs": 1,\r
954         "x": 3013.0001220703125,\r
955         "y": 866,\r
956         "z": "5b68e0d.bd97b2",\r
957         "wires": [\r
958             [\r
959                 "a788922c.a2883"\r
960             ]\r
961         ]\r
962     },\r
963     {\r
964         "id": "3389e479.7caf4c",\r
965         "type": "success",\r
966         "name": "success",\r
967         "xml": "<outcome value='success'>\n",\r
968         "comments": "",\r
969         "outputs": 1,\r
970         "x": 3021.0001220703125,\r
971         "y": 811,\r
972         "z": "5b68e0d.bd97b2",\r
973         "wires": [\r
974             [\r
975                 "b1d95d9.2f8af2"\r
976             ]\r
977         ]\r
978     },\r
979     {\r
980         "id": "a788922c.a2883",\r
981         "type": "returnFailure",\r
982         "name": "return failure",\r
983         "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
984         "comments": "",\r
985         "x": 3181.0001220703125,\r
986         "y": 869,\r
987         "z": "5b68e0d.bd97b2",\r
988         "wires": []\r
989     },\r
990     {\r
991         "id": "a7bbc350.7f29",\r
992         "type": "returnFailure",\r
993         "name": "return failure",\r
994         "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
995         "comments": "",\r
996         "x": 3170.0001220703125,\r
997         "y": 924,\r
998         "z": "5b68e0d.bd97b2",\r
999         "wires": []\r
1000     },\r
1001     {\r
1002         "id": "b1d95d9.2f8af2",\r
1003         "type": "block",\r
1004         "name": "block",\r
1005         "xml": "<block>\n",\r
1006         "atomic": "false",\r
1007         "comments": "",\r
1008         "outputs": 1,\r
1009         "x": 3165.3824462890625,\r
1010         "y": 808.6556701660156,\r
1011         "z": "5b68e0d.bd97b2",\r
1012         "wires": [\r
1013             [\r
1014                 "b971a7f5.c553f",\r
1015                 "861cb0b.d019fd"\r
1016             ]\r
1017         ]\r
1018     },\r
1019     {\r
1020         "id": "b971a7f5.c553f",\r
1021         "type": "for",\r
1022         "name": "for each relationship",\r
1023         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
1024         "comments": "",\r
1025         "outputs": 1,\r
1026         "x": 3380.3826904296875,\r
1027         "y": 808.6597290039062,\r
1028         "z": "5b68e0d.bd97b2",\r
1029         "wires": [\r
1030             [\r
1031                 "ba0c1a8c.88af28"\r
1032             ]\r
1033         ]\r
1034     },\r
1035     {\r
1036         "id": "ba0c1a8c.88af28",\r
1037         "type": "switchNode",\r
1038         "name": "switch related-to",\r
1039         "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
1040         "comments": "",\r
1041         "outputs": 1,\r
1042         "x": 3606.3826904296875,\r
1043         "y": 808.6597290039062,\r
1044         "z": "5b68e0d.bd97b2",\r
1045         "wires": [\r
1046             [\r
1047                 "799147c0.a8a33",\r
1048                 "f903181b.00f37"\r
1049             ]\r
1050         ]\r
1051     },\r
1052     {\r
1053         "id": "861cb0b.d019fd",\r
1054         "type": "set",\r
1055         "name": "set domain B node-id and tpn",\r
1056         "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
1057         "comments": "",\r
1058         "x": 3424.5001220703125,\r
1059         "y": 719,\r
1060         "z": "5b68e0d.bd97b2",\r
1061         "wires": []\r
1062     },\r
1063     {\r
1064         "id": "802f4f2.687563",\r
1065         "type": "block",\r
1066         "name": "block : atomic",\r
1067         "xml": "<block atomic=\"true\">",\r
1068         "atomic": "true",\r
1069         "outputs": 1,\r
1070         "x": 4017.5001220703125,\r
1071         "y": 922,\r
1072         "z": "5b68e0d.bd97b2",\r
1073         "wires": [\r
1074             [\r
1075                 "d4d32344.490fe8",\r
1076                 "1ab02c14.0e8e64"\r
1077             ]\r
1078         ]\r
1079     },\r
1080     {\r
1081         "id": "799147c0.a8a33",\r
1082         "type": "outcome",\r
1083         "name": "tunnel-termination-point",\r
1084         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1085         "comments": "",\r
1086         "outputs": 1,\r
1087         "x": 3813.6685791015625,\r
1088         "y": 735.4815063476562,\r
1089         "z": "5b68e0d.bd97b2",\r
1090         "wires": [\r
1091             [\r
1092                 "9e4db8b6.012fb"\r
1093             ]\r
1094         ]\r
1095     },\r
1096     {\r
1097         "id": "f903181b.00f37",\r
1098         "type": "outcome",\r
1099         "name": "network-resource",\r
1100         "xml": "<outcome value='network-resource'>\n",\r
1101         "comments": "",\r
1102         "outputs": 1,\r
1103         "x": 3804.5001220703125,\r
1104         "y": 921,\r
1105         "z": "5b68e0d.bd97b2",\r
1106         "wires": [\r
1107             [\r
1108                 "802f4f2.687563"\r
1109             ]\r
1110         ]\r
1111     },\r
1112     {\r
1113         "id": "9e4db8b6.012fb",\r
1114         "type": "block",\r
1115         "name": "block : atomic",\r
1116         "xml": "<block atomic=\"true\">",\r
1117         "atomic": "true",\r
1118         "outputs": 1,\r
1119         "x": 4015.5001220703125,\r
1120         "y": 731,\r
1121         "z": "5b68e0d.bd97b2",\r
1122         "wires": [\r
1123             [\r
1124                 "99609484.86254",\r
1125                 "f094147a.c54bb8"\r
1126             ]\r
1127         ]\r
1128     },\r
1129     {\r
1130         "id": "99609484.86254",\r
1131         "type": "set",\r
1132         "name": "set domain B node ttp-id",\r
1133         "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
1134         "comments": "",\r
1135         "x": 4232.5001220703125,\r
1136         "y": 672,\r
1137         "z": "5b68e0d.bd97b2",\r
1138         "wires": []\r
1139     },\r
1140     {\r
1141         "id": "f094147a.c54bb8",\r
1142         "type": "get-resource",\r
1143         "name": "get-resource dst TTP",\r
1144         "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
1145         "comments": "",\r
1146         "outputs": 1,\r
1147         "x": 4221.5001220703125,\r
1148         "y": 743,\r
1149         "z": "5b68e0d.bd97b2",\r
1150         "wires": [\r
1151             [\r
1152                 "96cf01de.ff5148"\r
1153             ]\r
1154         ]\r
1155     },\r
1156     {\r
1157         "id": "96cf01de.ff5148",\r
1158         "type": "success",\r
1159         "name": "success",\r
1160         "xml": "<outcome value='success'>\n",\r
1161         "comments": "",\r
1162         "outputs": 1,\r
1163         "x": 4413.0001220703125,\r
1164         "y": 740,\r
1165         "z": "5b68e0d.bd97b2",\r
1166         "wires": [\r
1167             [\r
1168                 "5bd66639.66f16"\r
1169             ]\r
1170         ]\r
1171     },\r
1172     {\r
1173         "id": "5bd66639.66f16",\r
1174         "type": "set",\r
1175         "name": "set domain B node ttp-id",\r
1176         "xml": "<set>\n<parameter name='domain-B.ttp-id' value=\"`$tmp.aai.dst-ttp.ttp-id`\" />\n",\r
1177         "comments": "",\r
1178         "x": 4625.5001220703125,\r
1179         "y": 739,\r
1180         "z": "5b68e0d.bd97b2",\r
1181         "wires": []\r
1182     },\r
1183     {\r
1184         "id": "d4d32344.490fe8",\r
1185         "type": "set",\r
1186         "name": "set domain B network-id",\r
1187         "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
1188         "comments": "",\r
1189         "x": 4252.5001220703125,\r
1190         "y": 852,\r
1191         "z": "5b68e0d.bd97b2",\r
1192         "wires": []\r
1193     },\r
1194     {\r
1195         "id": "1ab02c14.0e8e64",\r
1196         "type": "get-resource",\r
1197         "name": "get-resource dst network-resource",\r
1198         "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
1199         "comments": "",\r
1200         "outputs": 1,\r
1201         "x": 4260.5001220703125,\r
1202         "y": 933,\r
1203         "z": "5b68e0d.bd97b2",\r
1204         "wires": [\r
1205             [\r
1206                 "e204fe22.e747c8"\r
1207             ]\r
1208         ]\r
1209     },\r
1210     {\r
1211         "id": "e204fe22.e747c8",\r
1212         "type": "success",\r
1213         "name": "success",\r
1214         "xml": "<outcome value='success'>\n",\r
1215         "comments": "",\r
1216         "outputs": 1,\r
1217         "x": 4493.0001220703125,\r
1218         "y": 929,\r
1219         "z": "5b68e0d.bd97b2",\r
1220         "wires": [\r
1221             [\r
1222                 "c2250516.6a88f"\r
1223             ]\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "c2250516.6a88f",\r
1228         "type": "set",\r
1229         "name": "set domain B network-id, topo-id, client-id, etc",\r
1230         "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
1231         "comments": "",\r
1232         "x": 4734.5001220703125,\r
1233         "y": 923,\r
1234         "z": "5b68e0d.bd97b2",\r
1235         "wires": []\r
1236     },\r
1237     {\r
1238         "id": "b104de88.84b78",\r
1239         "type": "block",\r
1240         "name": "block",\r
1241         "xml": "<block>\n",\r
1242         "atomic": "false",\r
1243         "comments": "",\r
1244         "outputs": 1,\r
1245         "x": 2682,\r
1246         "y": 366,\r
1247         "z": "5b68e0d.bd97b2",\r
1248         "wires": [\r
1249             [\r
1250                 "a5379b59.d56668"\r
1251             ]\r
1252         ]\r
1253     },\r
1254     {\r
1255         "id": "75eb9694.598e48",\r
1256         "type": "block",\r
1257         "name": "block",\r
1258         "xml": "<block>\n",\r
1259         "atomic": "false",\r
1260         "comments": "",\r
1261         "outputs": 1,\r
1262         "x": 2637,\r
1263         "y": 744,\r
1264         "z": "5b68e0d.bd97b2",\r
1265         "wires": [\r
1266             [\r
1267                 "670f7157.4b83f"\r
1268             ]\r
1269         ]\r
1270     },\r
1271     {\r
1272         "id": "c0faec82.816fb8",\r
1273         "type": "switchNode",\r
1274         "name": "test $vidx",\r
1275         "xml": "<switch test='`$vidx`'>\n",\r
1276         "comments": "",\r
1277         "outputs": 1,\r
1278         "x": 1622,\r
1279         "y": 602,\r
1280         "z": "5b68e0d.bd97b2",\r
1281         "wires": [\r
1282             [\r
1283                 "b7d58fe7.9f74b8",\r
1284                 "dc6562ba.9ee77"\r
1285             ]\r
1286         ]\r
1287     },\r
1288     {\r
1289         "id": "b7d58fe7.9f74b8",\r
1290         "type": "outcome",\r
1291         "name": "outcome first",\r
1292         "xml": "<outcome value='0'>\n",\r
1293         "comments": "",\r
1294         "outputs": 1,\r
1295         "x": 1787,\r
1296         "y": 580,\r
1297         "z": "5b68e0d.bd97b2",\r
1298         "wires": [\r
1299             [\r
1300                 "197e1ba0.21ad04"\r
1301             ]\r
1302         ]\r
1303     },\r
1304     {\r
1305         "id": "dc6562ba.9ee77",\r
1306         "type": "outcome",\r
1307         "name": "outcome last",\r
1308         "xml": "<outcome value='`$otn-oof.solutions_length - 1`'>\n",\r
1309         "comments": "",\r
1310         "outputs": 1,\r
1311         "x": 1786,\r
1312         "y": 641,\r
1313         "z": "5b68e0d.bd97b2",\r
1314         "wires": [\r
1315             [\r
1316                 "1e901248.1aaca6"\r
1317             ]\r
1318         ]\r
1319     },\r
1320     {\r
1321         "id": "197e1ba0.21ad04",\r
1322         "type": "set",\r
1323         "name": "set oofsolutions-first info",\r
1324         "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
1325         "comments": "",\r
1326         "x": 1980,\r
1327         "y": 582,\r
1328         "z": "5b68e0d.bd97b2",\r
1329         "wires": []\r
1330     },\r
1331     {\r
1332         "id": "1e901248.1aaca6",\r
1333         "type": "set",\r
1334         "name": "set oofsolutions last info",\r
1335         "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
1336         "comments": "",\r
1337         "x": 1979,\r
1338         "y": 640,\r
1339         "z": "5b68e0d.bd97b2",\r
1340         "wires": []\r
1341     },\r
1342     {\r
1343         "id": "7d949923.feaea8",\r
1344         "type": "block",\r
1345         "name": "block",\r
1346         "xml": "<block>\n",\r
1347         "atomic": "false",\r
1348         "comments": "",\r
1349         "outputs": 1,\r
1350         "x": 1496,\r
1351         "y": 523,\r
1352         "z": "5b68e0d.bd97b2",\r
1353         "wires": [\r
1354             [\r
1355                 "40299798.13bc",\r
1356                 "c0faec82.816fb8"\r
1357             ]\r
1358         ]\r
1359     }\r
1360 ]