3 "id": "b9fcda31.4ec79",
\r
8 "y": 65.00650024414062,
\r
9 "z": "6d6b8a1f.be1cb4",
\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
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": 202.00003051757812,
\r
26 "y": 155.89541244506836,
\r
27 "z": "6d6b8a1f.be1cb4",
\r
35 "id": "de74005b.f44ce8",
\r
37 "name": "update-network-to-aai",
\r
38 "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
\r
41 "x": 238.1112518310547,
\r
42 "y": 226.2287368774414,
\r
43 "z": "6d6b8a1f.be1cb4",
\r
51 "id": "1541ad9c.69aa8a",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 463.33343505859375,
\r
59 "y": 225.784423828125,
\r
60 "z": "6d6b8a1f.be1cb4",
\r
73 "id": "e66d9ed0.3d3d8",
\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
79 "x": 693.333251953125,
\r
80 "y": 131.0065155029297,
\r
81 "z": "6d6b8a1f.be1cb4",
\r
87 "id": "40545c4b.9221f4",
\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": 893.1111450195312,
\r
94 "y": 502.1175842285156,
\r
95 "z": "6d6b8a1f.be1cb4",
\r
101 "id": "f1256a59.e632c",
\r
103 "name": "for each node",
\r
104 "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
\r
107 "x": 664.8888549804688,
\r
108 "y": 482.3398132324219,
\r
109 "z": "6d6b8a1f.be1cb4",
\r
125 "id": "eba2ef35.33c428",
\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
130 "x": 898.111083984375,
\r
131 "y": 398.2287139892578,
\r
132 "z": "6d6b8a1f.be1cb4",
\r
136 "id": "466a40bd.9d277",
\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
142 "x": 989.7779541015625,
\r
143 "y": 677.4509782791138,
\r
144 "z": "6d6b8a1f.be1cb4",
\r
150 "id": "3d4b777c.0e42f",
\r
152 "name": "for each termination point",
\r
153 "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
\r
156 "x": 1297.4444580078125,
\r
157 "y": 593.1175537109375,
\r
158 "z": "6d6b8a1f.be1cb4",
\r
170 "id": "95dfcdd1.046e6",
\r
172 "name": "set termination point",
\r
173 "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
\r
175 "x": 1567.111328125,
\r
176 "y": 576.0065307617188,
\r
177 "z": "6d6b8a1f.be1cb4",
\r
181 "id": "aa2f70cf.6e112",
\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
187 "x": 1561.815185546875,
\r
188 "y": 763.5620727539062,
\r
189 "z": "6d6b8a1f.be1cb4",
\r
198 "id": "6cce4024.476ad",
\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
204 "x": 1382.703857421875,
\r
205 "y": 1676.33984375,
\r
206 "z": "6d6b8a1f.be1cb4",
\r
212 "id": "1ac320c7.c54f67",
\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
217 "x": 1551.000244140625,
\r
218 "y": 633.1175537109375,
\r
219 "z": "6d6b8a1f.be1cb4",
\r
223 "id": "dbbcebe5.6f422",
\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
229 "x": 649.9935302734375,
\r
231 "z": "6d6b8a1f.be1cb4",
\r
237 "id": "4817116d.5f593",
\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
245 "z": "6d6b8a1f.be1cb4",
\r
251 "id": "673078d4.a5cb68",
\r
254 "xml": "<outcome value='success'>\n",
\r
257 "x": 1733.499885559082,
\r
258 "y": 750.7525482177734,
\r
259 "z": "6d6b8a1f.be1cb4",
\r
267 "id": "5651def0.2c85b8",
\r
270 "xml": "<outcome value='failure'>\n",
\r
273 "x": 1727.1784744262695,
\r
274 "y": 802.9668598175049,
\r
275 "z": "6d6b8a1f.be1cb4",
\r
283 "id": "72e23ce3.0ceb8c",
\r
286 "xml": "<block>\n",
\r
290 "x": 1884.0000457763672,
\r
291 "y": 750.0064792633057,
\r
292 "z": "6d6b8a1f.be1cb4",
\r
298 "id": "936d0942.79b6",
\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
305 "y": 804.0064697265625,
\r
306 "z": "6d6b8a1f.be1cb4",
\r
312 "id": "7077dcc4.1aa314",
\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
319 "y": 1055.0064697265625,
\r
320 "z": "6d6b8a1f.be1cb4",
\r
329 "id": "3a45511d.adcf26",
\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
336 "y": 1043.0064697265625,
\r
337 "z": "6d6b8a1f.be1cb4",
\r
350 "id": "2ea4deaf.40bdfa",
\r
352 "name": "set tunnel termination point",
\r
353 "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
\r
356 "y": 963.0064697265625,
\r
357 "z": "6d6b8a1f.be1cb4",
\r
361 "id": "458ce581.77bfe4",
\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
366 "x": 1583.888916015625,
\r
367 "y": 1001.1175537109375,
\r
368 "z": "6d6b8a1f.be1cb4",
\r
372 "id": "ee093e46.66c7d8",
\r
375 "xml": "<outcome value='success'>\n",
\r
379 "y": 1041.0064697265625,
\r
380 "z": "6d6b8a1f.be1cb4",
\r
388 "id": "e9c7ad6a.1577f",
\r
391 "xml": "<outcome value='failure'>\n",
\r
394 "x": 1886.6785888671875,
\r
395 "y": 1093.220781326294,
\r
396 "z": "6d6b8a1f.be1cb4",
\r
404 "id": "1b7d5a60.835d5e",
\r
407 "xml": "<block>\n",
\r
411 "x": 2043.5001602172852,
\r
412 "y": 1040.2604007720947,
\r
413 "z": "6d6b8a1f.be1cb4",
\r
419 "id": "652a4eb1.3c9f7",
\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
426 "y": 1095.0064697265625,
\r
427 "z": "6d6b8a1f.be1cb4",
\r
433 "id": "1acdca56.b6e67e",
\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
439 "y": 445.0065002441406,
\r
440 "z": "6d6b8a1f.be1cb4",
\r
444 "id": "1dca15d7.0a7a3a",
\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
451 "y": 608.0065002441406,
\r
452 "z": "6d6b8a1f.be1cb4",
\r
458 "id": "c87f71c.204801",
\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
465 "y": 1632.0064697265625,
\r
466 "z": "6d6b8a1f.be1cb4",
\r
472 "id": "dad1a90d.61b018",
\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
479 "y": 1147.0064697265625,
\r
480 "z": "6d6b8a1f.be1cb4",
\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
496 "y": 1019.0064697265625,
\r
497 "z": "6d6b8a1f.be1cb4",
\r
507 "id": "d6240165.9d9a1",
\r
510 "xml": "<block>\n",
\r
515 "y": 971.0064697265625,
\r
516 "z": "6d6b8a1f.be1cb4",
\r
522 "id": "f36d0950.312798",
\r
525 "xml": "<outcome value='Other'>\n",
\r
529 "y": 1054.0064697265625,
\r
530 "z": "6d6b8a1f.be1cb4",
\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
545 "y": 569.0064697265625,
\r
546 "z": "6d6b8a1f.be1cb4",
\r
556 "id": "d28496d2.5ae628",
\r
559 "xml": "<outcome value=''>\n",
\r
563 "y": 521.0064697265625,
\r
564 "z": "6d6b8a1f.be1cb4",
\r
572 "id": "74698dba.4a5d9c",
\r
575 "xml": "<outcome value='Other'>\n",
\r
579 "y": 623.0064697265625,
\r
580 "z": "6d6b8a1f.be1cb4",
\r
588 "id": "1912a08f.2e751f",
\r
591 "xml": "<block>\n",
\r
596 "y": 521.0064697265625,
\r
597 "z": "6d6b8a1f.be1cb4",
\r
603 "id": "8794be9f.289a08",
\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
610 "y": 1063.0064697265625,
\r
611 "z": "6d6b8a1f.be1cb4",
\r
617 "id": "3564e5a8.68c49a",
\r
620 "xml": "<outcome value=''>\n",
\r
624 "y": 905.0064697265625,
\r
625 "z": "6d6b8a1f.be1cb4",
\r
633 "id": "fd68b5a4.a3a878",
\r
635 "name": "length 0",
\r
636 "xml": "<outcome value='0'>\n",
\r
640 "y": 980.0064697265625,
\r
641 "z": "6d6b8a1f.be1cb4",
\r
649 "id": "f51e137e.4b4cd",
\r
651 "name": "length 0",
\r
652 "xml": "<outcome value='0'>\n",
\r
656 "y": 569.0064697265625,
\r
657 "z": "6d6b8a1f.be1cb4",
\r
665 "id": "1b6896a8.e62c19",
\r
667 "name": "unset node",
\r
668 "xml": "<set>\n<parameter name='node.' value='' />\n\n",
\r
671 "y": 347.0065002441406,
\r
672 "z": "6d6b8a1f.be1cb4",
\r
676 "id": "64896027.57fb78",
\r
678 "name": "unset termination point",
\r
679 "xml": "<set>\n<parameter name='tp.' value='' />\n",
\r
682 "y": 519.0064697265625,
\r
683 "z": "6d6b8a1f.be1cb4",
\r
687 "id": "7da29c03.1dbdf4",
\r
689 "name": "unset tunnel termination point",
\r
690 "xml": "<set>\n<parameter name='ttp.' value='' />\n",
\r
693 "y": 915.0064697265625,
\r
694 "z": "6d6b8a1f.be1cb4",
\r
698 "id": "486bef2.804149",
\r
701 "xml": "<outcome value='success'>\n",
\r
705 "y": 1150.0064697265625,
\r
706 "z": "6d6b8a1f.be1cb4",
\r
714 "id": "8297f8e3.32f2f",
\r
717 "xml": "<outcome value='failure'>\n",
\r
721 "y": 1198.0064697265625,
\r
722 "z": "6d6b8a1f.be1cb4",
\r
730 "id": "f859267c.20dd3",
\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
737 "y": 1151.0064697265625,
\r
738 "z": "6d6b8a1f.be1cb4",
\r
744 "id": "19a686f.52c17f9",
\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
751 "y": 1199.0064697265625,
\r
752 "z": "6d6b8a1f.be1cb4",
\r
758 "id": "c991cb25.a4c41",
\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
765 "y": 688.0064697265625,
\r
766 "z": "6d6b8a1f.be1cb4",
\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
782 "y": 689.0064697265625,
\r
783 "z": "6d6b8a1f.be1cb4",
\r
792 "id": "a44d5e08.8645a8",
\r
793 "type": "outcomeTrue",
\r
795 "xml": "<outcome value='true'>\n",
\r
799 "y": 642.0064697265625,
\r
800 "z": "6d6b8a1f.be1cb4",
\r
808 "id": "2202ef19.0cb66",
\r
809 "type": "outcomeFalse",
\r
811 "xml": "<outcome value='false'>\n",
\r
815 "y": 688.0064697265625,
\r
816 "z": "6d6b8a1f.be1cb4",
\r
824 "id": "77ac957f.8f7e64",
\r
826 "name": "unset tmp.decoded-plug-id",
\r
827 "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
\r
830 "y": 642.0064697265625,
\r
831 "z": "6d6b8a1f.be1cb4",
\r
835 "id": "dcbfdbac.4106e8",
\r
838 "xml": "<outcome value='success'>\n",
\r
842 "y": 665.0064697265625,
\r
843 "z": "6d6b8a1f.be1cb4",
\r
851 "id": "25f66573.5f2caa",
\r
854 "xml": "<outcome value='failure'>\n",
\r
857 "x": 2243.6785888671875,
\r
858 "y": 717.220781326294,
\r
859 "z": "6d6b8a1f.be1cb4",
\r
867 "id": "21836a86.63b72e",
\r
870 "xml": "<block>\n",
\r
875 "y": 665.0064697265625,
\r
876 "z": "6d6b8a1f.be1cb4",
\r
882 "id": "8297f536.6bb4a",
\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
888 "y": 717.0064697265625,
\r
889 "z": "6d6b8a1f.be1cb4",
\r
893 "id": "1c1d34a0.adaa8b",
\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
899 "y": 81.00650024414062,
\r
900 "z": "6d6b8a1f.be1cb4",
\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
912 "z": "6d6b8a1f.be1cb4",
\r
922 "id": "259a6f10.d859c",
\r
925 "xml": "<outcome value='success'>\n",
\r
930 "z": "6d6b8a1f.be1cb4",
\r
938 "id": "2643a1bc.bc0f46",
\r
939 "type": "not-found",
\r
940 "name": "not-found",
\r
941 "xml": "<outcome value='not-found'>\n",
\r
946 "z": "6d6b8a1f.be1cb4",
\r
954 "id": "7a6e0ac1.83425c",
\r
957 "xml": "<outcome value='Other'>\n",
\r
962 "z": "6d6b8a1f.be1cb4",
\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
977 "z": "6d6b8a1f.be1cb4",
\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
988 "z": "6d6b8a1f.be1cb4",
\r
992 "id": "83c13ac.c0250c8",
\r
995 "xml": "<block>\n",
\r
1001 "z": "6d6b8a1f.be1cb4",
\r
1009 "id": "70f6d2fc.749b0c",
\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
1017 "z": "6d6b8a1f.be1cb4",
\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
1031 "z": "6d6b8a1f.be1cb4",
\r
1041 "id": "cf6621ae.60449",
\r
1044 "xml": "<outcome value=''>\n",
\r
1049 "z": "6d6b8a1f.be1cb4",
\r
1057 "id": "a969fa1e.a9262",
\r
1058 "type": "outcome",
\r
1059 "name": "length 0",
\r
1060 "xml": "<outcome value='0'>\n",
\r
1065 "z": "6d6b8a1f.be1cb4",
\r
1073 "id": "31cb7972.09206e",
\r
1076 "xml": "<outcome value='Other'>\n",
\r
1081 "z": "6d6b8a1f.be1cb4",
\r
1089 "id": "95b8f366.2c9b38",
\r
1092 "xml": "<block>\n",
\r
1093 "atomic": "false",
\r
1098 "z": "6d6b8a1f.be1cb4",
\r
1104 "id": "ba6a5053.fa9158",
\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
1112 "z": "6d6b8a1f.be1cb4",
\r
1118 "id": "f20766b0.56af",
\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
1125 "z": "6d6b8a1f.be1cb4",
\r
1129 "id": "df66f384.e71e78",
\r
1132 "xml": "<block>\n",
\r
1133 "atomic": "false",
\r
1138 "z": "6d6b8a1f.be1cb4",
\r