3 "id": "761e68a4.20d828",
\r
9 "z": "602a9cf3.38fe14",
\r
17 "id": "77bd0709.0316f8",
\r
18 "type": "service-logic",
\r
19 "name": "DataChange ${project.version}",
\r
20 "module": "DataChange",
\r
21 "version": "${project.version}",
\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
25 "x": 227.00003051757812,
\r
26 "y": 208.88891220092773,
\r
27 "z": "602a9cf3.38fe14",
\r
35 "id": "ce4c01c9.aadb6",
\r
37 "name": "update-network-to-aai",
\r
38 "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
\r
41 "x": 263.1112518310547,
\r
42 "y": 279.2222366333008,
\r
43 "z": "602a9cf3.38fe14",
\r
51 "id": "d7c571d2.ba17",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 488.33343505859375,
\r
59 "y": 278.7779235839844,
\r
60 "z": "602a9cf3.38fe14",
\r
73 "id": "e453d9fe.dac3d",
\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.te-topology-identifier.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-identifier.topology-id`' />\n<parameter name='provider-id' value='`$network.te-topology-identifier.provider-id`' />\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n",
\r
79 "x": 718.333251953125,
\r
80 "y": 184.00001525878906,
\r
81 "z": "602a9cf3.38fe14",
\r
87 "id": "375be865.3c0f",
\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
93 "x": 918.1111450195312,
\r
94 "y": 555.111083984375,
\r
95 "z": "602a9cf3.38fe14",
\r
101 "id": "5625b915.f4097",
\r
103 "name": "for each node",
\r
104 "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
\r
107 "x": 689.8888549804688,
\r
108 "y": 535.3333129882812,
\r
109 "z": "602a9cf3.38fe14",
\r
124 "id": "4ec17378.333f8c",
\r
126 "name": "set node",
\r
127 "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
\r
129 "x": 923.111083984375,
\r
130 "y": 451.2222137451172,
\r
131 "z": "602a9cf3.38fe14",
\r
135 "id": "e61a37ad.722b58",
\r
137 "name": "save pnf relationship to network-resource in AAI",
\r
138 "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
141 "x": 1014.7779541015625,
\r
142 "y": 730.4444780349731,
\r
143 "z": "602a9cf3.38fe14",
\r
149 "id": "663dfab3.1deedc",
\r
151 "name": "for each termination point",
\r
152 "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
\r
155 "x": 1322.4444580078125,
\r
156 "y": 646.1110534667969,
\r
157 "z": "602a9cf3.38fe14",
\r
169 "id": "34b91b9e.a21bbc",
\r
171 "name": "set termination point",
\r
172 "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
\r
174 "x": 1592.111328125,
\r
175 "y": 629.0000305175781,
\r
176 "z": "602a9cf3.38fe14",
\r
180 "id": "15e31265.27a116",
\r
182 "name": "save p-interface",
\r
183 "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
186 "x": 1586.815185546875,
\r
187 "y": 816.5555725097656,
\r
188 "z": "602a9cf3.38fe14",
\r
197 "id": "923c5d7b.98959",
\r
199 "name": "save pnf relationship to p-interface in AAI",
\r
200 "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
203 "x": 1407.703857421875,
\r
204 "y": 1729.3333435058594,
\r
205 "z": "602a9cf3.38fe14",
\r
211 "id": "8ee77851.c5edd8",
\r
213 "name": "set unique-ltpId",
\r
214 "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
\r
216 "x": 1576.000244140625,
\r
217 "y": 686.1110534667969,
\r
218 "z": "602a9cf3.38fe14",
\r
222 "id": "bbf04729.a6b23",
\r
225 "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
228 "x": 674.9935302734375,
\r
229 "y": 92.99349975585938,
\r
230 "z": "602a9cf3.38fe14",
\r
236 "id": "56584a7c.bcf26c",
\r
238 "name": "save pnf relation with esr-thirdparty-sdnc",
\r
239 "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/' + $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
243 "y": 766.9934997558594,
\r
244 "z": "602a9cf3.38fe14",
\r
250 "id": "3101a3f2.5441ec",
\r
253 "xml": "<outcome value='success'>\n",
\r
256 "x": 1758.499885559082,
\r
257 "y": 803.7460479736328,
\r
258 "z": "602a9cf3.38fe14",
\r
266 "id": "1a80d066.48736",
\r
269 "xml": "<outcome value='failure'>\n",
\r
272 "x": 1752.1784744262695,
\r
273 "y": 855.9603595733643,
\r
274 "z": "602a9cf3.38fe14",
\r
282 "id": "f0102e05.0d4918",
\r
285 "xml": "<block>\n",
\r
289 "x": 1909.0000457763672,
\r
290 "y": 802.999979019165,
\r
291 "z": "602a9cf3.38fe14",
\r
297 "id": "851b8afc.ed0d6",
\r
299 "name": "update p-interface",
\r
300 "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
304 "y": 856.9999694824219,
\r
305 "z": "602a9cf3.38fe14",
\r
311 "id": "95d00fe5.3c431",
\r
313 "name": "save tunnel-termination-point",
\r
314 "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
318 "y": 1107.9999694824219,
\r
319 "z": "602a9cf3.38fe14",
\r
328 "id": "9b51f802.015ec",
\r
330 "name": "for each tunnel termination point",
\r
331 "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
\r
335 "y": 1095.9999694824219,
\r
336 "z": "602a9cf3.38fe14",
\r
349 "id": "f4695d4f.8e6e6",
\r
351 "name": "set tunnel termination point",
\r
352 "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
\r
355 "y": 1015.9999694824219,
\r
356 "z": "602a9cf3.38fe14",
\r
360 "id": "5bac7584.0c80fc",
\r
362 "name": "set unique-ttpId",
\r
363 "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
\r
365 "x": 1608.888916015625,
\r
366 "y": 1054.1110534667969,
\r
367 "z": "602a9cf3.38fe14",
\r
371 "id": "fd2c3c98.e696c",
\r
374 "xml": "<outcome value='success'>\n",
\r
378 "y": 1093.9999694824219,
\r
379 "z": "602a9cf3.38fe14",
\r
387 "id": "ddcea662.a71648",
\r
390 "xml": "<outcome value='failure'>\n",
\r
393 "x": 1911.6785888671875,
\r
394 "y": 1146.2142810821533,
\r
395 "z": "602a9cf3.38fe14",
\r
403 "id": "17cf7c51.7123dc",
\r
406 "xml": "<block>\n",
\r
410 "x": 2068.500160217285,
\r
411 "y": 1093.253900527954,
\r
412 "z": "602a9cf3.38fe14",
\r
418 "id": "44867d6a.9d6f04",
\r
420 "name": "update tunnel-termination-point",
\r
421 "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
425 "y": 1147.9999694824219,
\r
426 "z": "602a9cf3.38fe14",
\r
432 "id": "53212212.eee0d4",
\r
434 "name": "set local variables",
\r
435 "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
\r
439 "z": "602a9cf3.38fe14",
\r
443 "id": "c5a21baf.a8c168",
\r
445 "name": "call update-network-links-to-aai",
\r
446 "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",
\r
451 "z": "602a9cf3.38fe14",
\r
457 "id": "bb1cacb7.ad451",
\r
459 "name": "save pnf-interface relationship to pnf in AAI",
\r
460 "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
464 "y": 1684.9999694824219,
\r
465 "z": "602a9cf3.38fe14",
\r
471 "id": "215e84ff.a6a76c",
\r
473 "name": "save pnf relationship to tunnel termination point in AAI",
\r
474 "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
478 "y": 1199.9999694824219,
\r
479 "z": "602a9cf3.38fe14",
\r
488 "id": "d084b3c7.e9a8d8",
\r
489 "type": "switchNode",
\r
490 "name": "switch node ttp",
\r
491 "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
\r
495 "y": 1071.9999694824219,
\r
496 "z": "602a9cf3.38fe14",
\r
506 "id": "35cbe11c.dd6a16",
\r
509 "xml": "<block>\n",
\r
514 "y": 1023.9999694824219,
\r
515 "z": "602a9cf3.38fe14",
\r
521 "id": "57deece8.01b8cc",
\r
524 "xml": "<outcome value='Other'>\n",
\r
528 "y": 1106.9999694824219,
\r
529 "z": "602a9cf3.38fe14",
\r
537 "id": "b406de10.4f976",
\r
538 "type": "switchNode",
\r
539 "name": "switch node tp",
\r
540 "xml": "<switch test='`$node.termination-point_length`'>\n",
\r
544 "y": 621.9999694824219,
\r
545 "z": "602a9cf3.38fe14",
\r
555 "id": "d2843fed.623f28",
\r
558 "xml": "<outcome value=''>\n",
\r
562 "y": 573.9999694824219,
\r
563 "z": "602a9cf3.38fe14",
\r
571 "id": "35baa2d4.5e4b66",
\r
574 "xml": "<outcome value='Other'>\n",
\r
578 "y": 675.9999694824219,
\r
579 "z": "602a9cf3.38fe14",
\r
587 "id": "6b24c820.32a928",
\r
590 "xml": "<block>\n",
\r
595 "y": 573.9999694824219,
\r
596 "z": "602a9cf3.38fe14",
\r
602 "id": "c2dd2cff.e58418",
\r
604 "name": "log file",
\r
605 "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
609 "y": 1115.9999694824219,
\r
610 "z": "602a9cf3.38fe14",
\r
616 "id": "4865cde2.7cfebc",
\r
619 "xml": "<outcome value=''>\n",
\r
623 "y": 957.9999694824219,
\r
624 "z": "602a9cf3.38fe14",
\r
632 "id": "3d27675.a149b18",
\r
634 "name": "length 0",
\r
635 "xml": "<outcome value='0'>\n",
\r
639 "y": 1032.9999694824219,
\r
640 "z": "602a9cf3.38fe14",
\r
648 "id": "ea06dcd1.7022d8",
\r
650 "name": "length 0",
\r
651 "xml": "<outcome value='0'>\n",
\r
655 "y": 621.9999694824219,
\r
656 "z": "602a9cf3.38fe14",
\r
664 "id": "10825cf6.777533",
\r
666 "name": "unset node",
\r
667 "xml": "<set>\n<parameter name='node.' value='' />\n\n",
\r
671 "z": "602a9cf3.38fe14",
\r
675 "id": "bdd15a8d.477f28",
\r
677 "name": "unset termination point",
\r
678 "xml": "<set>\n<parameter name='tp.' value='' />\n",
\r
681 "y": 571.9999694824219,
\r
682 "z": "602a9cf3.38fe14",
\r
686 "id": "27c88040.1575b8",
\r
688 "name": "unset tunnel termination point",
\r
689 "xml": "<set>\n<parameter name='ttp.' value='' />\n",
\r
692 "y": 967.9999694824219,
\r
693 "z": "602a9cf3.38fe14",
\r
697 "id": "b2ce5e57.725c48",
\r
700 "xml": "<outcome value='success'>\n",
\r
704 "y": 1202.9999694824219,
\r
705 "z": "602a9cf3.38fe14",
\r
711 "id": "ecae58d2.6c42a",
\r
714 "xml": "<outcome value='failure'>\n",
\r
718 "y": 1250.9999694824219,
\r
719 "z": "602a9cf3.38fe14",
\r
725 "id": "66810254.224164",
\r
727 "name": "log file",
\r
728 "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
732 "y": 1203.9999694824219,
\r
733 "z": "602a9cf3.38fe14",
\r
739 "id": "1bb980b.9e20b7f",
\r
741 "name": "log file",
\r
742 "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
746 "y": 1251.9999694824219,
\r
747 "z": "602a9cf3.38fe14",
\r
753 "id": "7353d26c.dd96ec",
\r
755 "name": "execute Base64 Converter",
\r
756 "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
760 "y": 740.9999694824219,
\r
761 "z": "602a9cf3.38fe14",
\r
770 "id": "847fbf7b.b4b66",
\r
771 "type": "switchNode",
\r
772 "name": "switch inter-domain-plug-id empty?",
\r
773 "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",
\r
777 "y": 741.9999694824219,
\r
778 "z": "602a9cf3.38fe14",
\r
787 "id": "cdd8e382.236ad",
\r
788 "type": "outcomeTrue",
\r
790 "xml": "<outcome value='true'>\n",
\r
794 "y": 694.9999694824219,
\r
795 "z": "602a9cf3.38fe14",
\r
803 "id": "c7b2022.f3821",
\r
804 "type": "outcomeFalse",
\r
806 "xml": "<outcome value='false'>\n",
\r
810 "y": 740.9999694824219,
\r
811 "z": "602a9cf3.38fe14",
\r
819 "id": "7cffd999.b3b1b8",
\r
821 "name": "unset tmp.decoded-plug-id",
\r
822 "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
\r
825 "y": 694.9999694824219,
\r
826 "z": "602a9cf3.38fe14",
\r
830 "id": "5edff614.826d5",
\r
833 "xml": "<outcome value='success'>\n",
\r
837 "y": 717.9999694824219,
\r
838 "z": "602a9cf3.38fe14",
\r
846 "id": "1737b2af.9f2d45",
\r
849 "xml": "<outcome value='failure'>\n",
\r
852 "x": 2268.6785888671875,
\r
853 "y": 770.2142810821533,
\r
854 "z": "602a9cf3.38fe14",
\r
862 "id": "c0e19e99.143c08",
\r
865 "xml": "<block>\n",
\r
870 "y": 717.9999694824219,
\r
871 "z": "602a9cf3.38fe14",
\r
877 "id": "d55c12df.ae4af8",
\r
879 "name": "unset tmp.decoded-plug-id",
\r
880 "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",
\r
883 "y": 769.9999694824219,
\r
884 "z": "602a9cf3.38fe14",
\r
888 "id": "6179e02b.bcf5",
\r
890 "name": "set tmp.network-if",
\r
891 "xml": "<set>\n<!--<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />-->\n<parameter name='tmp.network-id' value=\"`$tmp.original-network-id`\" />\n\n",
\r
895 "z": "602a9cf3.38fe14",
\r
899 "id": "1d5c0100.129fd7",
\r
900 "type": "get-resource",
\r
901 "name": "get-resource esr-thirdparty-sdnc",
\r
902 "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
906 "y": 272.9934997558594,
\r
907 "z": "602a9cf3.38fe14",
\r
917 "id": "90eb31b2.77c238",
\r
920 "xml": "<outcome value='success'>\n",
\r
924 "y": 232.99349975585938,
\r
925 "z": "602a9cf3.38fe14",
\r
933 "id": "f3a7ce78.cbd56",
\r
934 "type": "not-found",
\r
935 "name": "not-found",
\r
936 "xml": "<outcome value='not-found'>\n",
\r
940 "y": 272.9934997558594,
\r
941 "z": "602a9cf3.38fe14",
\r
949 "id": "9f7c8245.3dec38",
\r
952 "xml": "<outcome value='Other'>\n",
\r
956 "y": 312.9934997558594,
\r
957 "z": "602a9cf3.38fe14",
\r
965 "id": "ecbad826.8cc148",
\r
966 "type": "returnFailure",
\r
967 "name": "return failure",
\r
968 "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
971 "y": 272.9934997558594,
\r
972 "z": "602a9cf3.38fe14",
\r
976 "id": "cf84ec83.d6cc78",
\r
977 "type": "returnFailure",
\r
978 "name": "return failure",
\r
979 "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
982 "y": 312.9934997558594,
\r
983 "z": "602a9cf3.38fe14",
\r
987 "id": "8f122881.12a378",
\r
990 "xml": "<block>\n",
\r
995 "y": 230.99349975585938,
\r
996 "z": "602a9cf3.38fe14",
\r
1004 "id": "1e7c71ae.903b3e",
\r
1006 "name": "save network-resource relationship to esr-thirdparty-sdnc",
\r
1007 "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
1011 "y": 231.99349975585938,
\r
1012 "z": "602a9cf3.38fe14",
\r
1018 "id": "cbf87dc2.898dc8",
\r
1019 "type": "switchNode",
\r
1020 "name": "switch llcl length",
\r
1021 "xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",
\r
1025 "y": 1371.9934997558594,
\r
1026 "z": "602a9cf3.38fe14",
\r
1029 "63cc82cd.b17e4c",
\r
1036 "id": "63cc82cd.b17e4c",
\r
1039 "xml": "<outcome value=''>\n",
\r
1043 "y": 1257.9934997558594,
\r
1044 "z": "602a9cf3.38fe14",
\r
1052 "id": "7a2ef7bd.18409",
\r
1053 "type": "outcome",
\r
1054 "name": "length 0",
\r
1055 "xml": "<outcome value='0'>\n",
\r
1059 "y": 1332.9934997558594,
\r
1060 "z": "602a9cf3.38fe14",
\r
1068 "id": "bb4f9fb3.43afc8",
\r
1071 "xml": "<outcome value='Other'>\n",
\r
1075 "y": 1406.9934997558594,
\r
1076 "z": "602a9cf3.38fe14",
\r
1084 "id": "6223b1f1.46672",
\r
1087 "xml": "<block>\n",
\r
1088 "atomic": "false",
\r
1092 "y": 1323.9934997558594,
\r
1093 "z": "602a9cf3.38fe14",
\r
1099 "id": "7f51d8cc.cf481",
\r
1101 "name": "save ttp relationship to tp in AAI",
\r
1102 "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
1106 "y": 1409.9934997558594,
\r
1107 "z": "602a9cf3.38fe14",
\r
1113 "id": "23d6e8d8.b0dc08",
\r
1115 "name": "set unique-ltpId second",
\r
1116 "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
1119 "y": 1365.9934997558594,
\r
1120 "z": "602a9cf3.38fe14",
\r
1124 "id": "3a444976.a40cae",
\r
1127 "xml": "<block>\n",
\r
1128 "atomic": "false",
\r
1132 "y": 1402.9934997558594,
\r
1133 "z": "602a9cf3.38fe14",
\r
1136 "23d6e8d8.b0dc08",
\r