Adding local-link-connectivity-list (llcl) information to match ttp and tp locally...
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-network-to-aai.json
1 [\r
2     {\r
3         "id": "b9fcda31.4ec79",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 113,\r
8         "y": 65.00650024414062,\r
9         "z": "6d6b8a1f.be1cb4",\r
10         "wires": [\r
11             [\r
12                 "3760ce9c.1bf2e2"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "3760ce9c.1bf2e2",\r
18         "type": "service-logic",\r
19         "name": "DataChange ${project.version}",\r
20         "module": "DataChange",\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='DataChange' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 202.00003051757812,\r
26         "y": 155.89541244506836,\r
27         "z": "6d6b8a1f.be1cb4",\r
28         "wires": [\r
29             [\r
30                 "de74005b.f44ce8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "de74005b.f44ce8",\r
36         "type": "method",\r
37         "name": "update-network-to-aai",\r
38         "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 238.1112518310547,\r
42         "y": 226.2287368774414,\r
43         "z": "6d6b8a1f.be1cb4",\r
44         "wires": [\r
45             [\r
46                 "1541ad9c.69aa8a"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "1541ad9c.69aa8a",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">\n",\r
55         "atomic": "true",\r
56         "comments": "",\r
57         "outputs": 1,\r
58         "x": 463.33343505859375,\r
59         "y": 225.784423828125,\r
60         "z": "6d6b8a1f.be1cb4",\r
61         "wires": [\r
62             [\r
63                 "dbbcebe5.6f422",\r
64                 "e66d9ed0.3d3d8",\r
65                 "f1256a59.e632c",\r
66                 "1dca15d7.0a7a3a",\r
67                 "1c1d34a0.adaa8b",\r
68                 "4469da89.6a377c"\r
69             ]\r
70         ]\r
71     },\r
72     {\r
73         "id": "e66d9ed0.3d3d8",\r
74         "type": "save",\r
75         "name": "save network-resource",\r
76         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource'  \n     key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />\n<parameter name='client-id' value='`$network.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-id`' />\n<parameter name='provider-id' value='`$network.provider-id`' />\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n",\r
77         "comments": "",\r
78         "outputs": 1,\r
79         "x": 693.333251953125,\r
80         "y": 131.0065155029297,\r
81         "z": "6d6b8a1f.be1cb4",\r
82         "wires": [\r
83             []\r
84         ]\r
85     },\r
86     {\r
87         "id": "40545c4b.9221f4",\r
88         "type": "save",\r
89         "name": "save pnf",\r
90         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $unique-nodeId' >\n<parameter name='pnf-name' value='`$unique-nodeId`' />\n<parameter name='pnf-id' value='`$node.node-id`' />\n<parameter name='operational-status' value='`$node.te.oper-status`' />\n<parameter name='admin-status' value='`$node.te.te-node-attributes.admin-status`' />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
91         "comments": "",\r
92         "outputs": 1,\r
93         "x": 893.1111450195312,\r
94         "y": 502.1175842285156,\r
95         "z": "6d6b8a1f.be1cb4",\r
96         "wires": [\r
97             []\r
98         ]\r
99     },\r
100     {\r
101         "id": "f1256a59.e632c",\r
102         "type": "for",\r
103         "name": "for each node",\r
104         "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",\r
105         "comments": "",\r
106         "outputs": 1,\r
107         "x": 664.8888549804688,\r
108         "y": 482.3398132324219,\r
109         "z": "6d6b8a1f.be1cb4",\r
110         "wires": [\r
111             [\r
112                 "40545c4b.9221f4",\r
113                 "eba2ef35.33c428",\r
114                 "4817116d.5f593",\r
115                 "466a40bd.9d277",\r
116                 "1acdca56.b6e67e",\r
117                 "3e1f14bc.ee90c4",\r
118                 "6de7541f.0e2a24",\r
119                 "8794be9f.289a08",\r
120                 "1b6896a8.e62c19"\r
121             ]\r
122         ]\r
123     },\r
124     {\r
125         "id": "eba2ef35.33c428",\r
126         "type": "set",\r
127         "name": "set node",\r
128         "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",\r
129         "comments": "",\r
130         "x": 898.111083984375,\r
131         "y": 398.2287139892578,\r
132         "z": "6d6b8a1f.be1cb4",\r
133         "wires": []\r
134     },\r
135     {\r
136         "id": "466a40bd.9d277",\r
137         "type": "save",\r
138         "name": "save pnf relationship to network-resource in AAI",\r
139         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />",\r
140         "comments": "",\r
141         "outputs": 1,\r
142         "x": 989.7779541015625,\r
143         "y": 677.4509782791138,\r
144         "z": "6d6b8a1f.be1cb4",\r
145         "wires": [\r
146             []\r
147         ]\r
148     },\r
149     {\r
150         "id": "3d4b777c.0e42f",\r
151         "type": "for",\r
152         "name": "for each termination point",\r
153         "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",\r
154         "comments": "",\r
155         "outputs": 1,\r
156         "x": 1297.4444580078125,\r
157         "y": 593.1175537109375,\r
158         "z": "6d6b8a1f.be1cb4",\r
159         "wires": [\r
160             [\r
161                 "95dfcdd1.046e6",\r
162                 "1ac320c7.c54f67",\r
163                 "aa2f70cf.6e112",\r
164                 "64896027.57fb78",\r
165                 "fe275075.949f1"\r
166             ]\r
167         ]\r
168     },\r
169     {\r
170         "id": "95dfcdd1.046e6",\r
171         "type": "set",\r
172         "name": "set termination point",\r
173         "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",\r
174         "comments": "",\r
175         "x": 1567.111328125,\r
176         "y": 576.0065307617188,\r
177         "z": "6d6b8a1f.be1cb4",\r
178         "wires": []\r
179     },\r
180     {\r
181         "id": "aa2f70cf.6e112",\r
182         "type": "save",\r
183         "name": "save p-interface",\r
184         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $unique-nodeId\n      AND p-interface.interface-name = $unique-ltpId' >      \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />\n\n",\r
185         "comments": "",\r
186         "outputs": 1,\r
187         "x": 1561.815185546875,\r
188         "y": 763.5620727539062,\r
189         "z": "6d6b8a1f.be1cb4",\r
190         "wires": [\r
191             [\r
192                 "673078d4.a5cb68",\r
193                 "5651def0.2c85b8"\r
194             ]\r
195         ]\r
196     },\r
197     {\r
198         "id": "6cce4024.476ad",\r
199         "type": "save",\r
200         "name": "save pnf relationship to p-interface in AAI",\r
201         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $unique-nodeId '/p-interfaces/p-interface/' + $unique-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId`\" />",\r
202         "comments": "",\r
203         "outputs": 1,\r
204         "x": 1382.703857421875,\r
205         "y": 1676.33984375,\r
206         "z": "6d6b8a1f.be1cb4",\r
207         "wires": [\r
208             []\r
209         ]\r
210     },\r
211     {\r
212         "id": "1ac320c7.c54f67",\r
213         "type": "set",\r
214         "name": "set unique-ltpId",\r
215         "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
216         "comments": "",\r
217         "x": 1551.000244140625,\r
218         "y": 633.1175537109375,\r
219         "z": "6d6b8a1f.be1cb4",\r
220         "wires": []\r
221     },\r
222     {\r
223         "id": "dbbcebe5.6f422",\r
224         "type": "execute",\r
225         "name": "execute",\r
226         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$network.network-id`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.original-network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\r
227         "comments": "",\r
228         "outputs": 1,\r
229         "x": 649.9935302734375,\r
230         "y": 40,\r
231         "z": "6d6b8a1f.be1cb4",\r
232         "wires": [\r
233             []\r
234         ]\r
235     },\r
236     {\r
237         "id": "4817116d.5f593",\r
238         "type": "save",\r
239         "name": "save pnf relation with esr-thirdparty-sdnc",\r
240         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n      key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $node.node-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$node.node-id`\" />\n",\r
241         "comments": "",\r
242         "outputs": 1,\r
243         "x": 971,\r
244         "y": 714,\r
245         "z": "6d6b8a1f.be1cb4",\r
246         "wires": [\r
247             []\r
248         ]\r
249     },\r
250     {\r
251         "id": "673078d4.a5cb68",\r
252         "type": "success",\r
253         "name": "success",\r
254         "xml": "<outcome value='success'>\n",\r
255         "comments": "",\r
256         "outputs": 1,\r
257         "x": 1733.499885559082,\r
258         "y": 750.7525482177734,\r
259         "z": "6d6b8a1f.be1cb4",\r
260         "wires": [\r
261             [\r
262                 "72e23ce3.0ceb8c"\r
263             ]\r
264         ]\r
265     },\r
266     {\r
267         "id": "5651def0.2c85b8",\r
268         "type": "failure",\r
269         "name": "failure",\r
270         "xml": "<outcome value='failure'>\n",\r
271         "comments": "",\r
272         "outputs": 1,\r
273         "x": 1727.1784744262695,\r
274         "y": 802.9668598175049,\r
275         "z": "6d6b8a1f.be1cb4",\r
276         "wires": [\r
277             [\r
278                 "936d0942.79b6"\r
279             ]\r
280         ]\r
281     },\r
282     {\r
283         "id": "72e23ce3.0ceb8c",\r
284         "type": "block",\r
285         "name": "block",\r
286         "xml": "<block>\n",\r
287         "atomic": "false",\r
288         "comments": "",\r
289         "outputs": 1,\r
290         "x": 1884.0000457763672,\r
291         "y": 750.0064792633057,\r
292         "z": "6d6b8a1f.be1cb4",\r
293         "wires": [\r
294             []\r
295         ]\r
296     },\r
297     {\r
298         "id": "936d0942.79b6",\r
299         "type": "update",\r
300         "name": "update p-interface",\r
301         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $unique-nodeId\n      AND p-interface.interface-name = $unique-ltpId' >      \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />",\r
302         "comments": "",\r
303         "outputs": 1,\r
304         "x": 1913,\r
305         "y": 804.0064697265625,\r
306         "z": "6d6b8a1f.be1cb4",\r
307         "wires": [\r
308             []\r
309         ]\r
310     },\r
311     {\r
312         "id": "7077dcc4.1aa314",\r
313         "type": "save",\r
314         "name": "save tunnel-termination-point",\r
315         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n      key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id[0]`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
316         "comments": "",\r
317         "outputs": 1,\r
318         "x": 1627,\r
319         "y": 1055.0064697265625,\r
320         "z": "6d6b8a1f.be1cb4",\r
321         "wires": [\r
322             [\r
323                 "ee093e46.66c7d8",\r
324                 "e9c7ad6a.1577f"\r
325             ]\r
326         ]\r
327     },\r
328     {\r
329         "id": "3a45511d.adcf26",\r
330         "type": "for",\r
331         "name": "for each tunnel termination point",\r
332         "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",\r
333         "comments": "",\r
334         "outputs": 1,\r
335         "x": 1290,\r
336         "y": 1043.0064697265625,\r
337         "z": "6d6b8a1f.be1cb4",\r
338         "wires": [\r
339             [\r
340                 "2ea4deaf.40bdfa",\r
341                 "458ce581.77bfe4",\r
342                 "7077dcc4.1aa314",\r
343                 "dad1a90d.61b018",\r
344                 "7da29c03.1dbdf4",\r
345                 "58b65656.8480c8"\r
346             ]\r
347         ]\r
348     },\r
349     {\r
350         "id": "2ea4deaf.40bdfa",\r
351         "type": "set",\r
352         "name": "set tunnel termination point",\r
353         "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",\r
354         "comments": "",\r
355         "x": 1625,\r
356         "y": 963.0064697265625,\r
357         "z": "6d6b8a1f.be1cb4",\r
358         "wires": []\r
359     },\r
360     {\r
361         "id": "458ce581.77bfe4",\r
362         "type": "set",\r
363         "name": "set unique-ttpId",\r
364         "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",\r
365         "comments": "",\r
366         "x": 1583.888916015625,\r
367         "y": 1001.1175537109375,\r
368         "z": "6d6b8a1f.be1cb4",\r
369         "wires": []\r
370     },\r
371     {\r
372         "id": "ee093e46.66c7d8",\r
373         "type": "success",\r
374         "name": "success",\r
375         "xml": "<outcome value='success'>\n",\r
376         "comments": "",\r
377         "outputs": 1,\r
378         "x": 1893,\r
379         "y": 1041.0064697265625,\r
380         "z": "6d6b8a1f.be1cb4",\r
381         "wires": [\r
382             [\r
383                 "1b7d5a60.835d5e"\r
384             ]\r
385         ]\r
386     },\r
387     {\r
388         "id": "e9c7ad6a.1577f",\r
389         "type": "failure",\r
390         "name": "failure",\r
391         "xml": "<outcome value='failure'>\n",\r
392         "comments": "",\r
393         "outputs": 1,\r
394         "x": 1886.6785888671875,\r
395         "y": 1093.220781326294,\r
396         "z": "6d6b8a1f.be1cb4",\r
397         "wires": [\r
398             [\r
399                 "652a4eb1.3c9f7"\r
400             ]\r
401         ]\r
402     },\r
403     {\r
404         "id": "1b7d5a60.835d5e",\r
405         "type": "block",\r
406         "name": "block",\r
407         "xml": "<block>\n",\r
408         "atomic": "false",\r
409         "comments": "",\r
410         "outputs": 1,\r
411         "x": 2043.5001602172852,\r
412         "y": 1040.2604007720947,\r
413         "z": "6d6b8a1f.be1cb4",\r
414         "wires": [\r
415             []\r
416         ]\r
417     },\r
418     {\r
419         "id": "652a4eb1.3c9f7",\r
420         "type": "update",\r
421         "name": "update tunnel-termination-point",\r
422         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n      key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id[0]`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
423         "comments": "",\r
424         "outputs": 1,\r
425         "x": 2124,\r
426         "y": 1095.0064697265625,\r
427         "z": "6d6b8a1f.be1cb4",\r
428         "wires": [\r
429             []\r
430         ]\r
431     },\r
432     {\r
433         "id": "1acdca56.b6e67e",\r
434         "type": "set",\r
435         "name": "set local variables",\r
436         "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",\r
437         "comments": "",\r
438         "x": 923,\r
439         "y": 445.0065002441406,\r
440         "z": "6d6b8a1f.be1cb4",\r
441         "wires": []\r
442     },\r
443     {\r
444         "id": "1dca15d7.0a7a3a",\r
445         "type": "call",\r
446         "name": "call update-network-links-to-aai",\r
447         "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",\r
448         "comments": "",\r
449         "outputs": 1,\r
450         "x": 607,\r
451         "y": 608.0065002441406,\r
452         "z": "6d6b8a1f.be1cb4",\r
453         "wires": [\r
454             []\r
455         ]\r
456     },\r
457     {\r
458         "id": "c87f71c.204801",\r
459         "type": "save",\r
460         "name": "save pnf-interface relationship to pnf in AAI",\r
461         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n      key='pnf.pnf-name = $unique-nodeId\n      AND p-interface.interface-name = $unique-ltpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n",\r
462         "comments": "",\r
463         "outputs": 1,\r
464         "x": 1389,\r
465         "y": 1632.0064697265625,\r
466         "z": "6d6b8a1f.be1cb4",\r
467         "wires": [\r
468             []\r
469         ]\r
470     },\r
471     {\r
472         "id": "dad1a90d.61b018",\r
473         "type": "save",\r
474         "name": "save pnf relationship to tunnel termination point in AAI",\r
475         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tunnel-termination-point\" />\n<!--<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />-->\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />",\r
476         "comments": "",\r
477         "outputs": 1,\r
478         "x": 1698,\r
479         "y": 1147.0064697265625,\r
480         "z": "6d6b8a1f.be1cb4",\r
481         "wires": [\r
482             [\r
483                 "486bef2.804149",\r
484                 "8297f8e3.32f2f"\r
485             ]\r
486         ]\r
487     },\r
488     {\r
489         "id": "3e1f14bc.ee90c4",\r
490         "type": "switchNode",\r
491         "name": "switch node ttp",\r
492         "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",\r
493         "comments": "",\r
494         "outputs": 1,\r
495         "x": 862,\r
496         "y": 1019.0064697265625,\r
497         "z": "6d6b8a1f.be1cb4",\r
498         "wires": [\r
499             [\r
500                 "3564e5a8.68c49a",\r
501                 "fd68b5a4.a3a878",\r
502                 "f36d0950.312798"\r
503             ]\r
504         ]\r
505     },\r
506     {\r
507         "id": "d6240165.9d9a1",\r
508         "type": "block",\r
509         "name": "block",\r
510         "xml": "<block>\n",\r
511         "atomic": "false",\r
512         "comments": "",\r
513         "outputs": 1,\r
514         "x": 1210,\r
515         "y": 971.0064697265625,\r
516         "z": "6d6b8a1f.be1cb4",\r
517         "wires": [\r
518             []\r
519         ]\r
520     },\r
521     {\r
522         "id": "f36d0950.312798",\r
523         "type": "other",\r
524         "name": "other",\r
525         "xml": "<outcome value='Other'>\n",\r
526         "comments": "",\r
527         "outputs": 1,\r
528         "x": 1057,\r
529         "y": 1054.0064697265625,\r
530         "z": "6d6b8a1f.be1cb4",\r
531         "wires": [\r
532             [\r
533                 "3a45511d.adcf26"\r
534             ]\r
535         ]\r
536     },\r
537     {\r
538         "id": "6de7541f.0e2a24",\r
539         "type": "switchNode",\r
540         "name": "switch node tp",\r
541         "xml": "<switch test='`$node.termination-point_length`'>\n",\r
542         "comments": "",\r
543         "outputs": 1,\r
544         "x": 911,\r
545         "y": 569.0064697265625,\r
546         "z": "6d6b8a1f.be1cb4",\r
547         "wires": [\r
548             [\r
549                 "d28496d2.5ae628",\r
550                 "74698dba.4a5d9c",\r
551                 "f51e137e.4b4cd"\r
552             ]\r
553         ]\r
554     },\r
555     {\r
556         "id": "d28496d2.5ae628",\r
557         "type": "other",\r
558         "name": "Null",\r
559         "xml": "<outcome value=''>\n",\r
560         "comments": "",\r
561         "outputs": 1,\r
562         "x": 1090,\r
563         "y": 521.0064697265625,\r
564         "z": "6d6b8a1f.be1cb4",\r
565         "wires": [\r
566             [\r
567                 "1912a08f.2e751f"\r
568             ]\r
569         ]\r
570     },\r
571     {\r
572         "id": "74698dba.4a5d9c",\r
573         "type": "other",\r
574         "name": "other",\r
575         "xml": "<outcome value='Other'>\n",\r
576         "comments": "",\r
577         "outputs": 1,\r
578         "x": 1089,\r
579         "y": 623.0064697265625,\r
580         "z": "6d6b8a1f.be1cb4",\r
581         "wires": [\r
582             [\r
583                 "3d4b777c.0e42f"\r
584             ]\r
585         ]\r
586     },\r
587     {\r
588         "id": "1912a08f.2e751f",\r
589         "type": "block",\r
590         "name": "block",\r
591         "xml": "<block>\n",\r
592         "atomic": "false",\r
593         "comments": "",\r
594         "outputs": 1,\r
595         "x": 1245,\r
596         "y": 521.0064697265625,\r
597         "z": "6d6b8a1f.be1cb4",\r
598         "wires": [\r
599             []\r
600         ]\r
601     },\r
602     {\r
603         "id": "8794be9f.289a08",\r
604         "type": "record",\r
605         "name": "log file",\r
606         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n    <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n    <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n    ",\r
607         "comments": "",\r
608         "outputs": 1,\r
609         "x": 840,\r
610         "y": 1063.0064697265625,\r
611         "z": "6d6b8a1f.be1cb4",\r
612         "wires": [\r
613             []\r
614         ]\r
615     },\r
616     {\r
617         "id": "3564e5a8.68c49a",\r
618         "type": "other",\r
619         "name": "Null",\r
620         "xml": "<outcome value=''>\n",\r
621         "comments": "",\r
622         "outputs": 1,\r
623         "x": 1050,\r
624         "y": 905.0064697265625,\r
625         "z": "6d6b8a1f.be1cb4",\r
626         "wires": [\r
627             [\r
628                 "d6240165.9d9a1"\r
629             ]\r
630         ]\r
631     },\r
632     {\r
633         "id": "fd68b5a4.a3a878",\r
634         "type": "outcome",\r
635         "name": "length 0",\r
636         "xml": "<outcome value='0'>\n",\r
637         "comments": "",\r
638         "outputs": 1,\r
639         "x": 1055,\r
640         "y": 980.0064697265625,\r
641         "z": "6d6b8a1f.be1cb4",\r
642         "wires": [\r
643             [\r
644                 "d6240165.9d9a1"\r
645             ]\r
646         ]\r
647     },\r
648     {\r
649         "id": "f51e137e.4b4cd",\r
650         "type": "outcome",\r
651         "name": "length 0",\r
652         "xml": "<outcome value='0'>\n",\r
653         "comments": "",\r
654         "outputs": 1,\r
655         "x": 1100,\r
656         "y": 569.0064697265625,\r
657         "z": "6d6b8a1f.be1cb4",\r
658         "wires": [\r
659             [\r
660                 "1912a08f.2e751f"\r
661             ]\r
662         ]\r
663     },\r
664     {\r
665         "id": "1b6896a8.e62c19",\r
666         "type": "set",\r
667         "name": "unset node",\r
668         "xml": "<set>\n<parameter name='node.' value='' />\n\n",\r
669         "comments": "",\r
670         "x": 895,\r
671         "y": 347.0065002441406,\r
672         "z": "6d6b8a1f.be1cb4",\r
673         "wires": []\r
674     },\r
675     {\r
676         "id": "64896027.57fb78",\r
677         "type": "set",\r
678         "name": "unset termination point",\r
679         "xml": "<set>\n<parameter name='tp.' value='' />\n",\r
680         "comments": "",\r
681         "x": 1579,\r
682         "y": 519.0064697265625,\r
683         "z": "6d6b8a1f.be1cb4",\r
684         "wires": []\r
685     },\r
686     {\r
687         "id": "7da29c03.1dbdf4",\r
688         "type": "set",\r
689         "name": "unset tunnel termination point",\r
690         "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
691         "comments": "",\r
692         "x": 1625,\r
693         "y": 915.0064697265625,\r
694         "z": "6d6b8a1f.be1cb4",\r
695         "wires": []\r
696     },\r
697     {\r
698         "id": "486bef2.804149",\r
699         "type": "success",\r
700         "name": "success",\r
701         "xml": "<outcome value='success'>\n",\r
702         "comments": "",\r
703         "outputs": 1,\r
704         "x": 2030,\r
705         "y": 1150.0064697265625,\r
706         "z": "6d6b8a1f.be1cb4",\r
707         "wires": [\r
708             [\r
709                 "f859267c.20dd3"\r
710             ]\r
711         ]\r
712     },\r
713     {\r
714         "id": "8297f8e3.32f2f",\r
715         "type": "failure",\r
716         "name": "failure",\r
717         "xml": "<outcome value='failure'>\n",\r
718         "comments": "",\r
719         "outputs": 1,\r
720         "x": 2027,\r
721         "y": 1198.0064697265625,\r
722         "z": "6d6b8a1f.be1cb4",\r
723         "wires": [\r
724             [\r
725                 "19a686f.52c17f9"\r
726             ]\r
727         ]\r
728     },\r
729     {\r
730         "id": "f859267c.20dd3",\r
731         "type": "record",\r
732         "name": "log file",\r
733         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n    <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n    <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n    <parameter name=\"field5\" value=\"sucessfully saved ttp\" />\n    <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n    ",\r
734         "comments": "",\r
735         "outputs": 1,\r
736         "x": 2185,\r
737         "y": 1151.0064697265625,\r
738         "z": "6d6b8a1f.be1cb4",\r
739         "wires": [\r
740             []\r
741         ]\r
742     },\r
743     {\r
744         "id": "19a686f.52c17f9",\r
745         "type": "record",\r
746         "name": "log file",\r
747         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n    <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n    <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n    <parameter name=\"field5\" value=\"failuire on saving ttp\" />\n    <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n\n    ",\r
748         "comments": "",\r
749         "outputs": 1,\r
750         "x": 2186,\r
751         "y": 1199.0064697265625,\r
752         "z": "6d6b8a1f.be1cb4",\r
753         "wires": [\r
754             []\r
755         ]\r
756     },\r
757     {\r
758         "id": "c991cb25.a4c41",\r
759         "type": "execute",\r
760         "name": "execute Base64 Converter",\r
761         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='base64DecodingAlgo' >\n    <parameter name=\"encodedValue\" value='`$tp.te.inter-domain-plug-id`'/>\n    <parameter name=\"decodedValue\" value=\"tmp.decoded-plug-id\"/>\n    ",\r
762         "comments": "",\r
763         "outputs": 1,\r
764         "x": 2045,\r
765         "y": 688.0064697265625,\r
766         "z": "6d6b8a1f.be1cb4",\r
767         "wires": [\r
768             [\r
769                 "dcbfdbac.4106e8",\r
770                 "25f66573.5f2caa"\r
771             ]\r
772         ]\r
773     },\r
774     {\r
775         "id": "fe275075.949f1",\r
776         "type": "switchNode",\r
777         "name": "switch inter-domain-plug-id empty?",\r
778         "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",\r
779         "comments": "",\r
780         "outputs": 1,\r
781         "x": 1615,\r
782         "y": 689.0064697265625,\r
783         "z": "6d6b8a1f.be1cb4",\r
784         "wires": [\r
785             [\r
786                 "2202ef19.0cb66",\r
787                 "a44d5e08.8645a8"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "a44d5e08.8645a8",\r
793         "type": "outcomeTrue",\r
794         "name": "true",\r
795         "xml": "<outcome value='true'>\n",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 1842,\r
799         "y": 642.0064697265625,\r
800         "z": "6d6b8a1f.be1cb4",\r
801         "wires": [\r
802             [\r
803                 "77ac957f.8f7e64"\r
804             ]\r
805         ]\r
806     },\r
807     {\r
808         "id": "2202ef19.0cb66",\r
809         "type": "outcomeFalse",\r
810         "name": "false",\r
811         "xml": "<outcome value='false'>\n",\r
812         "comments": "",\r
813         "outputs": 1,\r
814         "x": 1843,\r
815         "y": 688.0064697265625,\r
816         "z": "6d6b8a1f.be1cb4",\r
817         "wires": [\r
818             [\r
819                 "c991cb25.a4c41"\r
820             ]\r
821         ]\r
822     },\r
823     {\r
824         "id": "77ac957f.8f7e64",\r
825         "type": "set",\r
826         "name": "unset tmp.decoded-plug-id",\r
827         "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",\r
828         "comments": "",\r
829         "x": 2046,\r
830         "y": 642.0064697265625,\r
831         "z": "6d6b8a1f.be1cb4",\r
832         "wires": []\r
833     },\r
834     {\r
835         "id": "dcbfdbac.4106e8",\r
836         "type": "success",\r
837         "name": "success",\r
838         "xml": "<outcome value='success'>\n",\r
839         "comments": "",\r
840         "outputs": 1,\r
841         "x": 2250,\r
842         "y": 665.0064697265625,\r
843         "z": "6d6b8a1f.be1cb4",\r
844         "wires": [\r
845             [\r
846                 "21836a86.63b72e"\r
847             ]\r
848         ]\r
849     },\r
850     {\r
851         "id": "25f66573.5f2caa",\r
852         "type": "failure",\r
853         "name": "failure",\r
854         "xml": "<outcome value='failure'>\n",\r
855         "comments": "",\r
856         "outputs": 1,\r
857         "x": 2243.6785888671875,\r
858         "y": 717.220781326294,\r
859         "z": "6d6b8a1f.be1cb4",\r
860         "wires": [\r
861             [\r
862                 "8297f536.6bb4a"\r
863             ]\r
864         ]\r
865     },\r
866     {\r
867         "id": "21836a86.63b72e",\r
868         "type": "block",\r
869         "name": "block",\r
870         "xml": "<block>\n",\r
871         "atomic": "false",\r
872         "comments": "",\r
873         "outputs": 1,\r
874         "x": 2391,\r
875         "y": 665.0064697265625,\r
876         "z": "6d6b8a1f.be1cb4",\r
877         "wires": [\r
878             []\r
879         ]\r
880     },\r
881     {\r
882         "id": "8297f536.6bb4a",\r
883         "type": "set",\r
884         "name": "unset tmp.decoded-plug-id",\r
885         "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",\r
886         "comments": "",\r
887         "x": 2450,\r
888         "y": 717.0064697265625,\r
889         "z": "6d6b8a1f.be1cb4",\r
890         "wires": []\r
891     },\r
892     {\r
893         "id": "1c1d34a0.adaa8b",\r
894         "type": "set",\r
895         "name": "set tmp.network-if",\r
896         "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",\r
897         "comments": "",\r
898         "x": 675,\r
899         "y": 81.00650024414062,\r
900         "z": "6d6b8a1f.be1cb4",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "4469da89.6a377c",\r
905         "type": "get-resource",\r
906         "name": "get-resource esr-thirdparty-sdnc",\r
907         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
908         "comments": "",\r
909         "outputs": 1,\r
910         "x": 736,\r
911         "y": 220,\r
912         "z": "6d6b8a1f.be1cb4",\r
913         "wires": [\r
914             [\r
915                 "259a6f10.d859c",\r
916                 "2643a1bc.bc0f46",\r
917                 "7a6e0ac1.83425c"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "259a6f10.d859c",\r
923         "type": "success",\r
924         "name": "success",\r
925         "xml": "<outcome value='success'>\n",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 982,\r
929         "y": 180,\r
930         "z": "6d6b8a1f.be1cb4",\r
931         "wires": [\r
932             [\r
933                 "83c13ac.c0250c8"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "2643a1bc.bc0f46",\r
939         "type": "not-found",\r
940         "name": "not-found",\r
941         "xml": "<outcome value='not-found'>\n",\r
942         "comments": "",\r
943         "outputs": 1,\r
944         "x": 986,\r
945         "y": 220,\r
946         "z": "6d6b8a1f.be1cb4",\r
947         "wires": [\r
948             [\r
949                 "7add65bd.d43c1c"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "7a6e0ac1.83425c",\r
955         "type": "other",\r
956         "name": "other",\r
957         "xml": "<outcome value='Other'>\n",\r
958         "comments": "",\r
959         "outputs": 1,\r
960         "x": 978,\r
961         "y": 260,\r
962         "z": "6d6b8a1f.be1cb4",\r
963         "wires": [\r
964             [\r
965                 "a3451a06.01294"\r
966             ]\r
967         ]\r
968     },\r
969     {\r
970         "id": "7add65bd.d43c1c",\r
971         "type": "returnFailure",\r
972         "name": "return failure",\r
973         "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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
974         "comments": "",\r
975         "x": 1136,\r
976         "y": 220,\r
977         "z": "6d6b8a1f.be1cb4",\r
978         "wires": []\r
979     },\r
980     {\r
981         "id": "a3451a06.01294",\r
982         "type": "returnFailure",\r
983         "name": "return failure",\r
984         "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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
985         "comments": "",\r
986         "x": 1136,\r
987         "y": 260,\r
988         "z": "6d6b8a1f.be1cb4",\r
989         "wires": []\r
990     },\r
991     {\r
992         "id": "83c13ac.c0250c8",\r
993         "type": "block",\r
994         "name": "block",\r
995         "xml": "<block>\n",\r
996         "atomic": "false",\r
997         "comments": "",\r
998         "outputs": 1,\r
999         "x": 1126,\r
1000         "y": 178,\r
1001         "z": "6d6b8a1f.be1cb4",\r
1002         "wires": [\r
1003             [\r
1004                 "70f6d2fc.749b0c"\r
1005             ]\r
1006         ]\r
1007     },\r
1008     {\r
1009         "id": "70f6d2fc.749b0c",\r
1010         "type": "save",\r
1011         "name": "save network-resource relationship to esr-thirdparty-sdnc",\r
1012         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource:relationship-list' \n      key='network-resource.network-id = $tmp.network-id'\n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"esr-thirdparty-sdnc\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"esr-thirdparty-sdnc.thirdparty-sdnc-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n<!--/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/SOTNControllerDomain2-->\n",\r
1013         "comments": "",\r
1014         "outputs": 1,\r
1015         "x": 1429,\r
1016         "y": 179,\r
1017         "z": "6d6b8a1f.be1cb4",\r
1018         "wires": [\r
1019             []\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "58b65656.8480c8",\r
1024         "type": "switchNode",\r
1025         "name": "switch llcl length",\r
1026         "xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",\r
1027         "comments": "",\r
1028         "outputs": 1,\r
1029         "x": 1559,\r
1030         "y": 1319,\r
1031         "z": "6d6b8a1f.be1cb4",\r
1032         "wires": [\r
1033             [\r
1034                 "cf6621ae.60449",\r
1035                 "a969fa1e.a9262",\r
1036                 "31cb7972.09206e"\r
1037             ]\r
1038         ]\r
1039     },\r
1040     {\r
1041         "id": "cf6621ae.60449",\r
1042         "type": "other",\r
1043         "name": "Null",\r
1044         "xml": "<outcome value=''>\n",\r
1045         "comments": "",\r
1046         "outputs": 1,\r
1047         "x": 1747,\r
1048         "y": 1205,\r
1049         "z": "6d6b8a1f.be1cb4",\r
1050         "wires": [\r
1051             [\r
1052                 "95b8f366.2c9b38"\r
1053             ]\r
1054         ]\r
1055     },\r
1056     {\r
1057         "id": "a969fa1e.a9262",\r
1058         "type": "outcome",\r
1059         "name": "length 0",\r
1060         "xml": "<outcome value='0'>\n",\r
1061         "comments": "",\r
1062         "outputs": 1,\r
1063         "x": 1752,\r
1064         "y": 1280,\r
1065         "z": "6d6b8a1f.be1cb4",\r
1066         "wires": [\r
1067             [\r
1068                 "95b8f366.2c9b38"\r
1069             ]\r
1070         ]\r
1071     },\r
1072     {\r
1073         "id": "31cb7972.09206e",\r
1074         "type": "other",\r
1075         "name": "other",\r
1076         "xml": "<outcome value='Other'>\n",\r
1077         "comments": "",\r
1078         "outputs": 1,\r
1079         "x": 1754,\r
1080         "y": 1354,\r
1081         "z": "6d6b8a1f.be1cb4",\r
1082         "wires": [\r
1083             [\r
1084                 "df66f384.e71e78"\r
1085             ]\r
1086         ]\r
1087     },\r
1088     {\r
1089         "id": "95b8f366.2c9b38",\r
1090         "type": "block",\r
1091         "name": "block",\r
1092         "xml": "<block>\n",\r
1093         "atomic": "false",\r
1094         "comments": "",\r
1095         "outputs": 1,\r
1096         "x": 1907,\r
1097         "y": 1271,\r
1098         "z": "6d6b8a1f.be1cb4",\r
1099         "wires": [\r
1100             []\r
1101         ]\r
1102     },\r
1103     {\r
1104         "id": "ba6a5053.fa9158",\r
1105         "type": "save",\r
1106         "name": "save ttp relationship to tp in AAI",\r
1107         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point:relationship-list' \n      key='tunnel-termination-point.ttp-id = $unique-ttpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId + '/p-interfaces/p-interface/' + $unique-ltpId-second`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId-second`\" />",\r
1108         "comments": "",\r
1109         "outputs": 1,\r
1110         "x": 2135,\r
1111         "y": 1357,\r
1112         "z": "6d6b8a1f.be1cb4",\r
1113         "wires": [\r
1114             []\r
1115         ]\r
1116     },\r
1117     {\r
1118         "id": "f20766b0.56af",\r
1119         "type": "set",\r
1120         "name": "set unique-ltpId second",\r
1121         "xml": "<set>\n<parameter name='unique-ltpId-second' value=\"`$unique-nodeId + '-ltpId-' + $node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity[0].link-tp-ref`\" />\n",\r
1122         "comments": "",\r
1123         "x": 2084,\r
1124         "y": 1313,\r
1125         "z": "6d6b8a1f.be1cb4",\r
1126         "wires": []\r
1127     },\r
1128     {\r
1129         "id": "df66f384.e71e78",\r
1130         "type": "block",\r
1131         "name": "block",\r
1132         "xml": "<block>\n",\r
1133         "atomic": "false",\r
1134         "comments": "",\r
1135         "outputs": 1,\r
1136         "x": 1894,\r
1137         "y": 1350,\r
1138         "z": "6d6b8a1f.be1cb4",\r
1139         "wires": [\r
1140             [\r
1141                 "f20766b0.56af",\r
1142                 "ba6a5053.fa9158"\r
1143             ]\r
1144         ]\r
1145     }\r
1146 ]