Bug fixing in DGs related to network and links storing in AAI.
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-network-to-aai.json
1 [
2   {
3     "id": "ef88be3f.517f78",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 105,
8     "y": 67,
9     "z": "6d6b8a1f.be1cb4",
10     "wires": [
11       [
12         "74a7a837.229be"
13       ]
14     ]
15   },
16   {
17     "id": "74a7a837.229be",
18     "type": "service-logic",
19     "name": "DataChange ${project.version}",
20     "module": "DataChange",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 194.00003051757812,
26     "y": 157.88891220092773,
27     "z": "6d6b8a1f.be1cb4",
28     "wires": [
29       [
30         "284dae72.737532"
31       ]
32     ]
33   },
34   {
35     "id": "284dae72.737532",
36     "type": "method",
37     "name": "update-network-to-aai",
38     "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 230.1112518310547,
42     "y": 228.22223663330078,
43     "z": "6d6b8a1f.be1cb4",
44     "wires": [
45       [
46         "da05320e.186d48"
47       ]
48     ]
49   },
50   {
51     "id": "da05320e.186d48",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "true",
56     "comments": "",
57     "outputs": 1,
58     "x": 455.33343505859375,
59     "y": 227.77792358398438,
60     "z": "6d6b8a1f.be1cb4",
61     "wires": [
62       [
63         "8c187a81.9e4d28",
64         "75113293.98ea0c",
65         "9937b93d.ff5938",
66         "55dde830.cc61b8"
67       ]
68     ]
69   },
70   {
71     "id": "75113293.98ea0c",
72     "type": "save",
73     "name": "save network-resource",
74     "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",
75     "comments": "",
76     "outputs": 1,
77     "x": 685.333251953125,
78     "y": 133.00001525878906,
79     "z": "6d6b8a1f.be1cb4",
80     "wires": [
81       []
82     ]
83   },
84   {
85     "id": "74f65e67.75c658",
86     "type": "save",
87     "name": "save pnf",
88     "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",
89     "comments": "",
90     "outputs": 1,
91     "x": 897.1111450195312,
92     "y": 223.111083984375,
93     "z": "6d6b8a1f.be1cb4",
94     "wires": [
95       []
96     ]
97   },
98   {
99     "id": "9937b93d.ff5938",
100     "type": "for",
101     "name": "for each node",
102     "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
103     "comments": "",
104     "outputs": 1,
105     "x": 668.8888549804688,
106     "y": 203.33331298828125,
107     "z": "6d6b8a1f.be1cb4",
108     "wires": [
109       [
110         "74f65e67.75c658",
111         "60e29b35.16fbd4",
112         "b27f201.393186",
113         "e83884ed.3fb2d8",
114         "7257c53.4f087bc",
115         "395bef40.08498",
116         "1392eb55.76adbd",
117         "e55192de.2cc998"
118       ]
119     ]
120   },
121   {
122     "id": "60e29b35.16fbd4",
123     "type": "set",
124     "name": "set node",
125     "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
126     "comments": "",
127     "x": 902.111083984375,
128     "y": 119.22221374511719,
129     "z": "6d6b8a1f.be1cb4",
130     "wires": []
131   },
132   {
133     "id": "e83884ed.3fb2d8",
134     "type": "save",
135     "name": "save pnf relationship to network-resource in AAI",
136     "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`\" />",
137     "comments": "",
138     "outputs": 1,
139     "x": 993.7779541015625,
140     "y": 398.44447803497314,
141     "z": "6d6b8a1f.be1cb4",
142     "wires": [
143       []
144     ]
145   },
146   {
147     "id": "9c15e41a.6cfbc8",
148     "type": "for",
149     "name": "for each termination point",
150     "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
151     "comments": "",
152     "outputs": 1,
153     "x": 1279.4444580078125,
154     "y": 574.111083984375,
155     "z": "6d6b8a1f.be1cb4",
156     "wires": [
157       [
158         "3c657cae.66477c",
159         "2e1dc2b9.f23686",
160         "8c144095.b1eaf8"
161       ]
162     ]
163   },
164   {
165     "id": "3c657cae.66477c",
166     "type": "set",
167     "name": "set termination point",
168     "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
169     "comments": "",
170     "x": 1550.111328125,
171     "y": 536.0000457763672,
172     "z": "6d6b8a1f.be1cb4",
173     "wires": []
174   },
175   {
176     "id": "8c144095.b1eaf8",
177     "type": "save",
178     "name": "save p-interface",
179     "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\n",
180     "comments": "",
181     "outputs": 1,
182     "x": 1533.815185546875,
183     "y": 628.5556030273438,
184     "z": "6d6b8a1f.be1cb4",
185     "wires": [
186       [
187         "3fc33363.5b82ec",
188         "34c813e4.f5477c"
189       ]
190     ]
191   },
192   {
193     "id": "f6e5129a.8bd048",
194     "type": "save",
195     "name": "save pnf relationship to p-interface in AAI",
196     "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`\" />",
197     "comments": "",
198     "outputs": 1,
199     "x": 1610.703857421875,
200     "y": 784.3333740234375,
201     "z": "6d6b8a1f.be1cb4",
202     "wires": [
203       []
204     ]
205   },
206   {
207     "id": "2e1dc2b9.f23686",
208     "type": "set",
209     "name": "set unique-ltpId",
210     "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
211     "comments": "",
212     "x": 1534.000244140625,
213     "y": 570.1111145019531,
214     "z": "6d6b8a1f.be1cb4",
215     "wires": []
216   },
217   {
218     "id": "8c187a81.9e4d28",
219     "type": "execute",
220     "name": "execute",
221     "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.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",
222     "comments": "",
223     "outputs": 1,
224     "x": 640.9935302734375,
225     "y": 83.99349975585938,
226     "z": "6d6b8a1f.be1cb4",
227     "wires": [
228       []
229     ]
230   },
231   {
232     "id": "b27f201.393186",
233     "type": "save",
234     "name": "save pnf relation with esr-thirdparty-sdnc",
235     "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",
236     "comments": "",
237     "outputs": 1,
238     "x": 975,
239     "y": 434.9934997558594,
240     "z": "6d6b8a1f.be1cb4",
241     "wires": [
242       []
243     ]
244   },
245   {
246     "id": "3fc33363.5b82ec",
247     "type": "success",
248     "name": "success",
249     "xml": "<outcome value='success'>\n",
250     "comments": "",
251     "outputs": 1,
252     "x": 1705.499885559082,
253     "y": 615.7460784912109,
254     "z": "6d6b8a1f.be1cb4",
255     "wires": [
256       [
257         "a873419b.bc81c"
258       ]
259     ]
260   },
261   {
262     "id": "34c813e4.f5477c",
263     "type": "failure",
264     "name": "failure",
265     "xml": "<outcome value='failure'>\n",
266     "comments": "",
267     "outputs": 1,
268     "x": 1699.1784744262695,
269     "y": 667.9603900909424,
270     "z": "6d6b8a1f.be1cb4",
271     "wires": [
272       [
273         "66113f50.7819f8"
274       ]
275     ]
276   },
277   {
278     "id": "a873419b.bc81c",
279     "type": "block",
280     "name": "block",
281     "xml": "<block>\n",
282     "atomic": "false",
283     "comments": "",
284     "outputs": 1,
285     "x": 1856.0000457763672,
286     "y": 615.0000095367432,
287     "z": "6d6b8a1f.be1cb4",
288     "wires": [
289       []
290     ]
291   },
292   {
293     "id": "66113f50.7819f8",
294     "type": "update",
295     "name": "update p-interface",
296     "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`' />",
297     "comments": "",
298     "outputs": 1,
299     "x": 1885,
300     "y": 669,
301     "z": "6d6b8a1f.be1cb4",
302     "wires": [
303       []
304     ]
305   },
306   {
307     "id": "c8e5472a.d10408",
308     "type": "save",
309     "name": "save tunnel-termination-point",
310     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n      key='pnf.pnf-name = $unique-nodeId\n      AND 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`' />\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",
311     "comments": "",
312     "outputs": 1,
313     "x": 1678,
314     "y": 331,
315     "z": "6d6b8a1f.be1cb4",
316     "wires": [
317       [
318         "11cb3cf8.02c3eb",
319         "1a336806.ba4bc8"
320       ]
321     ]
322   },
323   {
324     "id": "8b0a557c.b35cd",
325     "type": "for",
326     "name": "for each tunnel termination point",
327     "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
328     "comments": "",
329     "outputs": 1,
330     "x": 1341,
331     "y": 319,
332     "z": "6d6b8a1f.be1cb4",
333     "wires": [
334       [
335         "58c4d943.63d2f",
336         "e7e93cd.8f563c",
337         "c8e5472a.d10408",
338         "7c00c858.c87ab8"
339       ]
340     ]
341   },
342   {
343     "id": "58c4d943.63d2f",
344     "type": "set",
345     "name": "set tunnel termination point",
346     "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
347     "comments": "",
348     "x": 1676,
349     "y": 239,
350     "z": "6d6b8a1f.be1cb4",
351     "wires": []
352   },
353   {
354     "id": "e7e93cd.8f563c",
355     "type": "set",
356     "name": "set unique-ttpId",
357     "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
358     "comments": "",
359     "x": 1634.888916015625,
360     "y": 277.111083984375,
361     "z": "6d6b8a1f.be1cb4",
362     "wires": []
363   },
364   {
365     "id": "11cb3cf8.02c3eb",
366     "type": "success",
367     "name": "success",
368     "xml": "<outcome value='success'>\n",
369     "comments": "",
370     "outputs": 1,
371     "x": 1944,
372     "y": 317,
373     "z": "6d6b8a1f.be1cb4",
374     "wires": [
375       [
376         "9ad375c8.fab3e8"
377       ]
378     ]
379   },
380   {
381     "id": "1a336806.ba4bc8",
382     "type": "failure",
383     "name": "failure",
384     "xml": "<outcome value='failure'>\n",
385     "comments": "",
386     "outputs": 1,
387     "x": 1937.6785888671875,
388     "y": 369.21431159973145,
389     "z": "6d6b8a1f.be1cb4",
390     "wires": [
391       [
392         "842e7e75.fc0558"
393       ]
394     ]
395   },
396   {
397     "id": "9ad375c8.fab3e8",
398     "type": "block",
399     "name": "block",
400     "xml": "<block>\n",
401     "atomic": "false",
402     "comments": "",
403     "outputs": 1,
404     "x": 2094.500160217285,
405     "y": 316.2539310455322,
406     "z": "6d6b8a1f.be1cb4",
407     "wires": [
408       []
409     ]
410   },
411   {
412     "id": "842e7e75.fc0558",
413     "type": "update",
414     "name": "update tunnel-termination-point",
415     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n      key='pnf.pnf-name = $unique-nodeId\n      AND 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`' />\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",
416     "comments": "",
417     "outputs": 1,
418     "x": 2175,
419     "y": 371,
420     "z": "6d6b8a1f.be1cb4",
421     "wires": [
422       []
423     ]
424   },
425   {
426     "id": "7257c53.4f087bc",
427     "type": "set",
428     "name": "set local variables",
429     "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
430     "comments": "",
431     "x": 927,
432     "y": 166,
433     "z": "6d6b8a1f.be1cb4",
434     "wires": []
435   },
436   {
437     "id": "55dde830.cc61b8",
438     "type": "call",
439     "name": "call update-network-links-to-aai",
440     "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",
441     "comments": "",
442     "outputs": 1,
443     "x": 611,
444     "y": 329,
445     "z": "6d6b8a1f.be1cb4",
446     "wires": [
447       []
448     ]
449   },
450   {
451     "id": "b86a9ee9.558c2",
452     "type": "save",
453     "name": "save pnf-interface relationship to pnf in AAI",
454     "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",
455     "comments": "",
456     "outputs": 1,
457     "x": 1617,
458     "y": 728,
459     "z": "6d6b8a1f.be1cb4",
460     "wires": [
461       []
462     ]
463   },
464   {
465     "id": "7c00c858.c87ab8",
466     "type": "save",
467     "name": "save pnf relationship to tunnel termination point in AAI",
468     "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[$ttidx].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[$ttidx].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"relationship-list.relationship[$ttidx].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />",
469     "comments": "",
470     "outputs": 1,
471     "x": 1749,
472     "y": 423,
473     "z": "6d6b8a1f.be1cb4",
474     "wires": [
475       []
476     ]
477   },
478   {
479     "id": "395bef40.08498",
480     "type": "switchNode",
481     "name": "switch node ttp",
482     "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
483     "comments": "",
484     "outputs": 1,
485     "x": 913,
486     "y": 295,
487     "z": "6d6b8a1f.be1cb4",
488     "wires": [
489       [
490         "84bf875e.b8d51",
491         "cc6df2e.2398e9",
492         "f2d2c388.1aa578"
493       ]
494     ]
495   },
496   {
497     "id": "5889c4ed.3fc544",
498     "type": "block",
499     "name": "block",
500     "xml": "<block>\n",
501     "atomic": "false",
502     "comments": "",
503     "outputs": 1,
504     "x": 1261,
505     "y": 247,
506     "z": "6d6b8a1f.be1cb4",
507     "wires": [
508       []
509     ]
510   },
511   {
512     "id": "f2d2c388.1aa578",
513     "type": "other",
514     "name": "other",
515     "xml": "<outcome value='Other'>\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 1103,
519     "y": 318,
520     "z": "6d6b8a1f.be1cb4",
521     "wires": [
522       [
523         "8b0a557c.b35cd"
524       ]
525     ]
526   },
527   {
528     "id": "1392eb55.76adbd",
529     "type": "switchNode",
530     "name": "switch node tp",
531     "xml": "<switch test='`$node.termination-point_length`'>\n",
532     "comments": "",
533     "outputs": 1,
534     "x": 893,
535     "y": 550,
536     "z": "6d6b8a1f.be1cb4",
537     "wires": [
538       [
539         "c5e649ab.cfe2e8",
540         "d7a3de29.b44a1",
541         "a21fbfb7.b6608"
542       ]
543     ]
544   },
545   {
546     "id": "c5e649ab.cfe2e8",
547     "type": "other",
548     "name": "Null",
549     "xml": "<outcome value=''>\n",
550     "comments": "",
551     "outputs": 1,
552     "x": 1072,
553     "y": 502,
554     "z": "6d6b8a1f.be1cb4",
555     "wires": [
556       [
557         "3d51c59d.7acffa"
558       ]
559     ]
560   },
561   {
562     "id": "d7a3de29.b44a1",
563     "type": "other",
564     "name": "other",
565     "xml": "<outcome value='Other'>\n",
566     "comments": "",
567     "outputs": 1,
568     "x": 1071,
569     "y": 604,
570     "z": "6d6b8a1f.be1cb4",
571     "wires": [
572       [
573         "9c15e41a.6cfbc8"
574       ]
575     ]
576   },
577   {
578     "id": "3d51c59d.7acffa",
579     "type": "block",
580     "name": "block",
581     "xml": "<block>\n",
582     "atomic": "false",
583     "comments": "",
584     "outputs": 1,
585     "x": 1227,
586     "y": 502,
587     "z": "6d6b8a1f.be1cb4",
588     "wires": [
589       []
590     ]
591   },
592   {
593     "id": "e55192de.2cc998",
594     "type": "record",
595     "name": "log file",
596     "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/onap/hesamlogx.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"sucess executing Hesam hesam log file\" />\n    <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n    <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n    ",
597     "comments": "",
598     "outputs": 1,
599     "x": 891,
600     "y": 339,
601     "z": "6d6b8a1f.be1cb4",
602     "wires": [
603       []
604     ]
605   },
606   {
607     "id": "84bf875e.b8d51",
608     "type": "other",
609     "name": "Null",
610     "xml": "<outcome value=''>\n",
611     "comments": "",
612     "outputs": 1,
613     "x": 1101,
614     "y": 181,
615     "z": "6d6b8a1f.be1cb4",
616     "wires": [
617       [
618         "5889c4ed.3fc544"
619       ]
620     ]
621   },
622   {
623     "id": "cc6df2e.2398e9",
624     "type": "outcome",
625     "name": "length 0",
626     "xml": "<outcome value='0'>\n",
627     "comments": "",
628     "outputs": 1,
629     "x": 1106,
630     "y": 256,
631     "z": "6d6b8a1f.be1cb4",
632     "wires": [
633       [
634         "5889c4ed.3fc544"
635       ]
636     ]
637   },
638   {
639     "id": "a21fbfb7.b6608",
640     "type": "outcome",
641     "name": "length 0",
642     "xml": "<outcome value='0'>\n",
643     "comments": "",
644     "outputs": 1,
645     "x": 1082,
646     "y": 550,
647     "z": "6d6b8a1f.be1cb4",
648     "wires": [
649       [
650         "3d51c59d.7acffa"
651       ]
652     ]
653   }
654 ]