-[
- {
- "id": "ef88be3f.517f78",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 105,
- "y": 67,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "74a7a837.229be"
- ]
- ]
- },
- {
- "id": "74a7a837.229be",
- "type": "service-logic",
- "name": "DataChange ${project.version}",
- "module": "DataChange",
- "version": "${project.version}",
- "comments": "",
- "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}'>",
- "outputs": 1,
- "x": 194.00003051757812,
- "y": 157.88891220092773,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "284dae72.737532"
- ]
- ]
- },
- {
- "id": "284dae72.737532",
- "type": "method",
- "name": "update-network-to-aai",
- "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 230.1112518310547,
- "y": 228.22223663330078,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "da05320e.186d48"
- ]
- ]
- },
- {
- "id": "da05320e.186d48",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 455.33343505859375,
- "y": 227.77792358398438,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "8c187a81.9e4d28",
- "75113293.98ea0c",
- "9937b93d.ff5938",
- "55dde830.cc61b8"
- ]
- ]
- },
- {
- "id": "75113293.98ea0c",
- "type": "save",
- "name": "save network-resource",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 685.333251953125,
- "y": 133.00001525878906,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "74f65e67.75c658",
- "type": "save",
- "name": "save pnf",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 897.1111450195312,
- "y": 223.111083984375,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "9937b93d.ff5938",
- "type": "for",
- "name": "for each node",
- "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 668.8888549804688,
- "y": 203.33331298828125,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "74f65e67.75c658",
- "60e29b35.16fbd4",
- "b27f201.393186",
- "e83884ed.3fb2d8",
- "7257c53.4f087bc",
- "395bef40.08498",
- "1392eb55.76adbd",
- "e55192de.2cc998"
- ]
- ]
- },
- {
- "id": "60e29b35.16fbd4",
- "type": "set",
- "name": "set node",
- "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
- "comments": "",
- "x": 902.111083984375,
- "y": 119.22221374511719,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "e83884ed.3fb2d8",
- "type": "save",
- "name": "save pnf relationship to network-resource in AAI",
- "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`\" />",
- "comments": "",
- "outputs": 1,
- "x": 993.7779541015625,
- "y": 398.44447803497314,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "9c15e41a.6cfbc8",
- "type": "for",
- "name": "for each termination point",
- "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1279.4444580078125,
- "y": 574.111083984375,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "3c657cae.66477c",
- "2e1dc2b9.f23686",
- "8c144095.b1eaf8"
- ]
- ]
- },
- {
- "id": "3c657cae.66477c",
- "type": "set",
- "name": "set termination point",
- "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
- "comments": "",
- "x": 1550.111328125,
- "y": 536.0000457763672,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "8c144095.b1eaf8",
- "type": "save",
- "name": "save p-interface",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 1533.815185546875,
- "y": 628.5556030273438,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "3fc33363.5b82ec",
- "34c813e4.f5477c"
- ]
- ]
- },
- {
- "id": "f6e5129a.8bd048",
- "type": "save",
- "name": "save pnf relationship to p-interface in AAI",
- "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`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1610.703857421875,
- "y": 784.3333740234375,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "2e1dc2b9.f23686",
- "type": "set",
- "name": "set unique-ltpId",
- "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
- "comments": "",
- "x": 1534.000244140625,
- "y": 570.1111145019531,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "8c187a81.9e4d28",
- "type": "execute",
- "name": "execute",
- "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 ",
- "comments": "",
- "outputs": 1,
- "x": 640.9935302734375,
- "y": 83.99349975585938,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "b27f201.393186",
- "type": "save",
- "name": "save pnf relation with esr-thirdparty-sdnc",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 975,
- "y": 434.9934997558594,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "3fc33363.5b82ec",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1705.499885559082,
- "y": 615.7460784912109,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "a873419b.bc81c"
- ]
- ]
- },
- {
- "id": "34c813e4.f5477c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1699.1784744262695,
- "y": 667.9603900909424,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "66113f50.7819f8"
- ]
- ]
- },
- {
- "id": "a873419b.bc81c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1856.0000457763672,
- "y": 615.0000095367432,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "66113f50.7819f8",
- "type": "update",
- "name": "update p-interface",
- "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`' />",
- "comments": "",
- "outputs": 1,
- "x": 1885,
- "y": 669,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "c8e5472a.d10408",
- "type": "save",
- "name": "save tunnel-termination-point",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 1678,
- "y": 331,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "11cb3cf8.02c3eb",
- "1a336806.ba4bc8"
- ]
- ]
- },
- {
- "id": "8b0a557c.b35cd",
- "type": "for",
- "name": "for each tunnel termination point",
- "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1341,
- "y": 319,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "58c4d943.63d2f",
- "e7e93cd.8f563c",
- "c8e5472a.d10408",
- "7c00c858.c87ab8"
- ]
- ]
- },
- {
- "id": "58c4d943.63d2f",
- "type": "set",
- "name": "set tunnel termination point",
- "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
- "comments": "",
- "x": 1676,
- "y": 239,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "e7e93cd.8f563c",
- "type": "set",
- "name": "set unique-ttpId",
- "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
- "comments": "",
- "x": 1634.888916015625,
- "y": 277.111083984375,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "11cb3cf8.02c3eb",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1944,
- "y": 317,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "9ad375c8.fab3e8"
- ]
- ]
- },
- {
- "id": "1a336806.ba4bc8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1937.6785888671875,
- "y": 369.21431159973145,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "842e7e75.fc0558"
- ]
- ]
- },
- {
- "id": "9ad375c8.fab3e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2094.500160217285,
- "y": 316.2539310455322,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "842e7e75.fc0558",
- "type": "update",
- "name": "update tunnel-termination-point",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 2175,
- "y": 371,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "7257c53.4f087bc",
- "type": "set",
- "name": "set local variables",
- "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
- "comments": "",
- "x": 927,
- "y": 166,
- "z": "6d6b8a1f.be1cb4",
- "wires": []
- },
- {
- "id": "55dde830.cc61b8",
- "type": "call",
- "name": "call update-network-links-to-aai",
- "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 611,
- "y": 329,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "b86a9ee9.558c2",
- "type": "save",
- "name": "save pnf-interface relationship to pnf in AAI",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 1617,
- "y": 728,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "7c00c858.c87ab8",
- "type": "save",
- "name": "save pnf relationship to tunnel termination point in AAI",
- "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`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1749,
- "y": 423,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "395bef40.08498",
- "type": "switchNode",
- "name": "switch node ttp",
- "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 913,
- "y": 295,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "84bf875e.b8d51",
- "cc6df2e.2398e9",
- "f2d2c388.1aa578"
- ]
- ]
- },
- {
- "id": "5889c4ed.3fc544",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1261,
- "y": 247,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "f2d2c388.1aa578",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1103,
- "y": 318,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "8b0a557c.b35cd"
- ]
- ]
- },
- {
- "id": "1392eb55.76adbd",
- "type": "switchNode",
- "name": "switch node tp",
- "xml": "<switch test='`$node.termination-point_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 893,
- "y": 550,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "c5e649ab.cfe2e8",
- "d7a3de29.b44a1",
- "a21fbfb7.b6608"
- ]
- ]
- },
- {
- "id": "c5e649ab.cfe2e8",
- "type": "other",
- "name": "Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1072,
- "y": 502,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "3d51c59d.7acffa"
- ]
- ]
- },
- {
- "id": "d7a3de29.b44a1",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1071,
- "y": 604,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "9c15e41a.6cfbc8"
- ]
- ]
- },
- {
- "id": "3d51c59d.7acffa",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1227,
- "y": 502,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "e55192de.2cc998",
- "type": "record",
- "name": "log file",
- "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 ",
- "comments": "",
- "outputs": 1,
- "x": 891,
- "y": 339,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- []
- ]
- },
- {
- "id": "84bf875e.b8d51",
- "type": "other",
- "name": "Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1101,
- "y": 181,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "5889c4ed.3fc544"
- ]
- ]
- },
- {
- "id": "cc6df2e.2398e9",
- "type": "outcome",
- "name": "length 0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1106,
- "y": 256,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "5889c4ed.3fc544"
- ]
- ]
- },
- {
- "id": "a21fbfb7.b6608",
- "type": "outcome",
- "name": "length 0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1082,
- "y": 550,
- "z": "6d6b8a1f.be1cb4",
- "wires": [
- [
- "3d51c59d.7acffa"
- ]
- ]
- }
+[\r
+ {\r
+ "id": "833893fc.cd4dc",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 135.56666564941406,\r
+ "y": 158.56666564941406,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "ddef51e8.c000f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ddef51e8.c000f",\r
+ "type": "service-logic",\r
+ "name": "DataChange ${project.version}",\r
+ "module": "DataChange",\r
+ "version": "${project.version}",\r
+ "comments": "",\r
+ "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
+ "outputs": 1,\r
+ "x": 224.5666961669922,\r
+ "y": 249.4555778503418,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "590cf9dc.a4f168"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "590cf9dc.a4f168",\r
+ "type": "method",\r
+ "name": "update-network-to-aai",\r
+ "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 260.67791748046875,\r
+ "y": 319.78890228271484,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "4ea80a5b.3a2674"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4ea80a5b.3a2674",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">\n",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 485.9001007080078,\r
+ "y": 319.34458923339844,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "ebff53.633678b",\r
+ "ca110ee4.0623c",\r
+ "a428df69.d4918",\r
+ "bcb331d5.4b2888",\r
+ "621633c6.c8ab1c",\r
+ "f650a5ef.af19b",\r
+ "41c6a2f9.33057c",\r
+ "55d89697.da8d4",\r
+ "fc94b1ae.7adf4",\r
+ "d0070ca3.12857",\r
+ "7cbfe92.8c19d98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca110ee4.0623c",\r
+ "type": "save",\r
+ "name": "save network-resource",\r
+ "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='`$tmp.client-id`' />\n<parameter name='te-topo-id' value='`$tmp.te-topo-id`' />\n<parameter name='provider-id' value='`$tmp.provider-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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 815.89990234375,\r
+ "y": 1077.5667419433594,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1c5189aa.97911e",\r
+ "type": "save",\r
+ "name": "save pnf",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 979.6777954101562,\r
+ "y": 1599.6777038574219,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a428df69.d4918",\r
+ "type": "for",\r
+ "name": "for each node",\r
+ "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 751.4555053710938,\r
+ "y": 1579.8999328613281,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "1c5189aa.97911e",\r
+ "5cc65873.45f068",\r
+ "6e932325.b3ce0c",\r
+ "fa029f12.0579a8",\r
+ "74eb96bf.859028",\r
+ "f1753d6a.8970a",\r
+ "488b7493.2568f4",\r
+ "5792a57.27026dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5cc65873.45f068",\r
+ "type": "set",\r
+ "name": "set node",\r
+ "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",\r
+ "comments": "",\r
+ "x": 984.677734375,\r
+ "y": 1495.788833618164,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fa029f12.0579a8",\r
+ "type": "save",\r
+ "name": "save pnf relationship to network-resource in AAI",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1076.3446044921875,\r
+ "y": 1775.01109790802,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "673098cb.075338",\r
+ "type": "for",\r
+ "name": "for each termination point",\r
+ "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1384.0111083984375,\r
+ "y": 1690.6776733398438,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "14328870.e01fc8",\r
+ "98b3a9f1.3c7a",\r
+ "1e0cb0c8.6af377",\r
+ "d97910b0.5bb5e8",\r
+ "2568e5e9.694fba"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "14328870.e01fc8",\r
+ "type": "set",\r
+ "name": "set termination point",\r
+ "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",\r
+ "comments": "",\r
+ "x": 1653.677978515625,\r
+ "y": 1673.566650390625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1e0cb0c8.6af377",\r
+ "type": "save",\r
+ "name": "save p-interface",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1648.3818359375,\r
+ "y": 1861.1221923828125,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "27884524.eae2da",\r
+ "6320df74.68c278"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "522b5f86.997c5",\r
+ "type": "save",\r
+ "name": "save pnf relationship to p-interface in AAI",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1469.2705078125,\r
+ "y": 2773.8999633789062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "98b3a9f1.3c7a",\r
+ "type": "set",\r
+ "name": "set unique-ltpId",\r
+ "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1637.56689453125,\r
+ "y": 1730.6776733398438,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ebff53.633678b",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 658.5601806640625,\r
+ "y": 39.56017303466797,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e932325.b3ce0c",\r
+ "type": "save",\r
+ "name": "save pnf relation with esr-thirdparty-sdnc",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1057.566650390625,\r
+ "y": 1811.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "27884524.eae2da",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1820.066535949707,\r
+ "y": 1848.3126678466797,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "eca5dc85.dc169"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6320df74.68c278",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1813.7451248168945,\r
+ "y": 1900.5269794464111,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "4f36fae3.fb3d2c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eca5dc85.dc169",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1970.5666961669922,\r
+ "y": 1847.566598892212,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f36fae3.fb3d2c",\r
+ "type": "update",\r
+ "name": "update p-interface",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1999.566650390625,\r
+ "y": 1901.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9afbe60e.d5e018",\r
+ "type": "save",\r
+ "name": "save tunnel-termination-point",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1713.566650390625,\r
+ "y": 2152.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "d31fa9d0.e36698",\r
+ "6da3b2ca.c0f984"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "db4633a0.6d81",\r
+ "type": "for",\r
+ "name": "for each tunnel termination point",\r
+ "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1376.566650390625,\r
+ "y": 2140.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "f58dd7ba.f71ba8",\r
+ "e9a95ae5.095c7",\r
+ "9afbe60e.d5e018",\r
+ "dfba66a0.a570f",\r
+ "8e56a27.ed9656",\r
+ "a3b0d055.5709c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f58dd7ba.f71ba8",\r
+ "type": "set",\r
+ "name": "set tunnel termination point",\r
+ "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",\r
+ "comments": "",\r
+ "x": 1711.566650390625,\r
+ "y": 2060.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e9a95ae5.095c7",\r
+ "type": "set",\r
+ "name": "set unique-ttpId",\r
+ "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1670.45556640625,\r
+ "y": 2098.6776733398438,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d31fa9d0.e36698",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1979.566650390625,\r
+ "y": 2138.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "95619f03.b62ee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6da3b2ca.c0f984",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1973.2452392578125,\r
+ "y": 2190.7809009552,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "88d246a7.3c6ed8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95619f03.b62ee",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2130.06681060791,\r
+ "y": 2137.820520401001,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "88d246a7.3c6ed8",\r
+ "type": "update",\r
+ "name": "update tunnel-termination-point",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2210.566650390625,\r
+ "y": 2192.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "74eb96bf.859028",\r
+ "type": "set",\r
+ "name": "set local variables",\r
+ "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1009.566650390625,\r
+ "y": 1542.5666198730469,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bcb331d5.4b2888",\r
+ "type": "call",\r
+ "name": "call update-network-links-to-aai",\r
+ "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 693.566650390625,\r
+ "y": 1705.5666198730469,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "842a0151.8415f",\r
+ "type": "save",\r
+ "name": "save pnf-interface relationship to pnf in AAI",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1475.566650390625,\r
+ "y": 2729.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "dfba66a0.a570f",\r
+ "type": "save",\r
+ "name": "save pnf relationship to tunnel termination point in AAI",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1784.566650390625,\r
+ "y": 2244.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "e89e91e3.86ef68",\r
+ "cb114306.b09568"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1753d6a.8970a",\r
+ "type": "switchNode",\r
+ "name": "switch node ttp",\r
+ "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 948.566650390625,\r
+ "y": 2116.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "3e378927.66a8e6",\r
+ "8e7d32ae.6545b8",\r
+ "823a8d5c.adc0e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c17cfb12.a956f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1296.566650390625,\r
+ "y": 2068.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "823a8d5c.adc0e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1143.566650390625,\r
+ "y": 2151.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "db4633a0.6d81"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "488b7493.2568f4",\r
+ "type": "switchNode",\r
+ "name": "switch node tp",\r
+ "xml": "<switch test='`$node.termination-point_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 997.566650390625,\r
+ "y": 1666.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "28c0a1a9.e89256",\r
+ "298d87ce.e145a",\r
+ "dc9cd29a.1758c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "28c0a1a9.e89256",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1176.566650390625,\r
+ "y": 1618.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "dbf4e13b.6fd0b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "298d87ce.e145a",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1175.566650390625,\r
+ "y": 1720.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "673098cb.075338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dbf4e13b.6fd0b",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1331.566650390625,\r
+ "y": 1618.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba8600e5.03dd3",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 926.566650390625,\r
+ "y": 2160.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3e378927.66a8e6",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1136.566650390625,\r
+ "y": 2002.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "c17cfb12.a956f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8e7d32ae.6545b8",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1141.566650390625,\r
+ "y": 2077.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "c17cfb12.a956f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dc9cd29a.1758c8",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1186.566650390625,\r
+ "y": 1666.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "dbf4e13b.6fd0b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5792a57.27026dc",\r
+ "type": "set",\r
+ "name": "unset node",\r
+ "xml": "<set>\n<parameter name='node.' value='' />\n\n",\r
+ "comments": "",\r
+ "x": 981.566650390625,\r
+ "y": 1444.5666198730469,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d97910b0.5bb5e8",\r
+ "type": "set",\r
+ "name": "unset termination point",\r
+ "xml": "<set>\n<parameter name='tp.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1665.566650390625,\r
+ "y": 1616.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8e56a27.ed9656",\r
+ "type": "set",\r
+ "name": "unset tunnel termination point",\r
+ "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1711.566650390625,\r
+ "y": 2012.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e89e91e3.86ef68",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2116.566650390625,\r
+ "y": 2247.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb114306.b09568",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2113.566650390625,\r
+ "y": 2295.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d3d202cd.308948",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2271.566650390625,\r
+ "y": 2248.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8a1cfb4d.696d18",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2272.566650390625,\r
+ "y": 2296.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "50b8a3b8.1b8644",\r
+ "type": "execute",\r
+ "name": "execute Base64 Converter",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2131.566650390625,\r
+ "y": 1785.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "fd502708.7f6088",\r
+ "ceed1c04.61dda"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2568e5e9.694fba",\r
+ "type": "switchNode",\r
+ "name": "switch inter-domain-plug-id empty?",\r
+ "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1701.566650390625,\r
+ "y": 1786.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "96134678.4ddb",\r
+ "b351d2bc.b887c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b351d2bc.b887c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1928.566650390625,\r
+ "y": 1739.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "465845f4.285064"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "96134678.4ddb",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1929.566650390625,\r
+ "y": 1785.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "50b8a3b8.1b8644"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "465845f4.285064",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",\r
+ "comments": "",\r
+ "x": 2132.566650390625,\r
+ "y": 1739.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fd502708.7f6088",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2336.566650390625,\r
+ "y": 1762.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "4fd4e9b0.85ded8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ceed1c04.61dda",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2330.2452392578125,\r
+ "y": 1814.7809009552002,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "7cb0f25f.577834"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4fd4e9b0.85ded8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2477.566650390625,\r
+ "y": 1762.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cb0f25f.577834",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",\r
+ "comments": "",\r
+ "x": 2536.566650390625,\r
+ "y": 1814.5665893554688,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "621633c6.c8ab1c",\r
+ "type": "set",\r
+ "name": "set tmp.network-if",\r
+ "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
+ "comments": "",\r
+ "x": 695.566650390625,\r
+ "y": 84.5666732788086,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f650a5ef.af19b",\r
+ "type": "get-resource",\r
+ "name": "get-resource esr-thirdparty-sdnc",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 822.566650390625,\r
+ "y": 1317.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "bf82df38.5fc2f8",\r
+ "ce81da89.35a2c8",\r
+ "f4d6f467.ce569"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf82df38.5fc2f8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1068.566650390625,\r
+ "y": 1277.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "d25f7df8.46aa78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce81da89.35a2c8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1072.566650390625,\r
+ "y": 1317.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "695ad308.5680bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4d6f467.ce569",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1064.566650390625,\r
+ "y": 1357.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "bf5c49d4.b655e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "695ad308.5680bc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 1222.566650390625,\r
+ "y": 1317.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bf5c49d4.b655e",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 1222.566650390625,\r
+ "y": 1357.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d25f7df8.46aa78",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1212.566650390625,\r
+ "y": 1275.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "792abb8a.e3a5dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "792abb8a.e3a5dc",\r
+ "type": "save",\r
+ "name": "save network-resource relationship to esr-thirdparty-sdnc",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1515.566650390625,\r
+ "y": 1276.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a3b0d055.5709c",\r
+ "type": "switchNode",\r
+ "name": "switch llcl length",\r
+ "xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1645.566650390625,\r
+ "y": 2416.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "51a385c5.556044",\r
+ "df46ecf8.1b26",\r
+ "6a30fe4f.16242"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "51a385c5.556044",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1833.566650390625,\r
+ "y": 2302.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "f8b8a3a6.588ed8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df46ecf8.1b26",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1838.566650390625,\r
+ "y": 2377.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "f8b8a3a6.588ed8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6a30fe4f.16242",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1840.566650390625,\r
+ "y": 2451.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "fa9c435a.363ed"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f8b8a3a6.588ed8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1993.566650390625,\r
+ "y": 2368.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "76c367aa.287738",\r
+ "type": "save",\r
+ "name": "save ttp relationship to tp in AAI",\r
+ "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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2221.566650390625,\r
+ "y": 2454.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c237437d.176ec",\r
+ "type": "set",\r
+ "name": "set unique-ltpId second",\r
+ "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
+ "comments": "",\r
+ "x": 2170.566650390625,\r
+ "y": 2410.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fa9c435a.363ed",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1980.566650390625,\r
+ "y": 2447.5601196289062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "c237437d.176ec",\r
+ "76c367aa.287738"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7aeac230.77765c",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.client-id == null",\r
+ "xml": "<switch test=\"`$tmp.client-id == ''`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1334.566650390625,\r
+ "y": 180.76666259765625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "9fd2771f.b2305"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d25e9719.928048",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1683.566650390625,\r
+ "y": 180.76666259765625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "32b7e6d6.b83d1a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9fd2771f.b2305",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1534.566650390625,\r
+ "y": 180.566650390625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "d25e9719.928048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "41c6a2f9.33057c",\r
+ "type": "set",\r
+ "name": "set tmp.client-id tmp.te-topo-id tmp.provider-id",\r
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.te-topology-identifier.client-id`' />\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-identifier.topology-id`' />\n<parameter name='tmp.provider-id' value='`$network.te-topology-identifier.provider-id`' />",\r
+ "comments": "",\r
+ "x": 790.566650390625,\r
+ "y": 124.16668701171875,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "32b7e6d6.b83d1a",\r
+ "type": "set",\r
+ "name": "set tmp.client-id",\r
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.client-id`' />",\r
+ "comments": "",\r
+ "x": 1849.566650390625,\r
+ "y": 181.16665649414062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6b15946e.9597ac",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.te-topo-id == null",\r
+ "xml": "<switch test=\"`$tmp.te-topo-id == ''`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1335.566650390625,\r
+ "y": 244.16665649414062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "71fa1b7b.ba79b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a3f5f044.007008",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1684.566650390625,\r
+ "y": 244.16665649414062,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "a8f5864b.aef3c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "71fa1b7b.ba79b4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1535.566650390625,\r
+ "y": 243.96664428710938,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "a3f5f044.007008"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a8f5864b.aef3c8",\r
+ "type": "set",\r
+ "name": "set tmp.te-topo-id",\r
+ "xml": "<set>\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-id`' />\n",\r
+ "comments": "",\r
+ "x": 1859.566650390625,\r
+ "y": 243.566650390625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f92eff62.249f6",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.provider-id == null",\r
+ "xml": "<switch test=\"`$tmp.provider-id == ''`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1342.566650390625,\r
+ "y": 296.1666564941406,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "2d5bf1b1.a9788e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a037929.4dd227",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1691.566650390625,\r
+ "y": 296.1666564941406,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "a99d65fe.4861b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d5bf1b1.a9788e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1542.566650390625,\r
+ "y": 295.9666442871094,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "1a037929.4dd227"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a99d65fe.4861b8",\r
+ "type": "set",\r
+ "name": "set tmp.provider-id",\r
+ "xml": "<set>\n<parameter name='tmp.provider-id' value='`$network.provider-id`' />",\r
+ "comments": "",\r
+ "x": 1866.566650390625,\r
+ "y": 296.566650390625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "55d89697.da8d4",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.client-id == null",\r
+ "xml": "<switch test=\"`length($tmp.client-id) == 0`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1267.3333740234375,\r
+ "y": 389.3333435058594,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "272672a2.e44276"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab7feb07.dbe038",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1731.3333740234375,\r
+ "y": 369.3333435058594,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "2193f8b4.77b338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2193f8b4.77b338",\r
+ "type": "set",\r
+ "name": "set tmp.client-id",\r
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.client-id`' />",\r
+ "comments": "",\r
+ "x": 1897.3333740234375,\r
+ "y": 369.73333740234375,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fc94b1ae.7adf4",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.te-topo-id == null",\r
+ "xml": "<switch test=\"`length($tmp.te-topo-id) == 0`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1251.3333740234375,\r
+ "y": 472.7333679199219,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "9b4c347f.fa1878"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "71cf7044.501c68",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1723.3333740234375,\r
+ "y": 436.73333740234375,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "9f940be9.c32868"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9f940be9.c32868",\r
+ "type": "set",\r
+ "name": "set tmp.te-topo-id",\r
+ "xml": "<set>\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-id`' />\n",\r
+ "comments": "",\r
+ "x": 1898.3333740234375,\r
+ "y": 436.1333312988281,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d0070ca3.12857",\r
+ "type": "switchNode",\r
+ "name": "switch tmp.provider-id == null",\r
+ "xml": "<switch test=\"`length($tmp.provider-id) == 0`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1258.3333740234375,\r
+ "y": 537.7333374023438,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "63564627.e914c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ee1eaf5.757aed",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1730.3333740234375,\r
+ "y": 488.73333740234375,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "be338d62.c1df2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "be338d62.c1df2",\r
+ "type": "set",\r
+ "name": "set tmp.provider-id",\r
+ "xml": "<set>\n<parameter name='tmp.provider-id' value='`$network.provider-id`' />",\r
+ "comments": "",\r
+ "x": 1905.3333740234375,\r
+ "y": 489.1333312988281,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "272672a2.e44276",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1468.3333740234375,\r
+ "y": 389.3333435058594,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "ab7feb07.dbe038"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b4c347f.fa1878",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1469.3333740234375,\r
+ "y": 452.73333740234375,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "71cf7044.501c68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "63564627.e914c8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1476.3333740234375,\r
+ "y": 504.73333740234375,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "1ee1eaf5.757aed"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cbfe92.8c19d98",\r
+ "type": "save",\r
+ "name": "get network-resource from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resource\"\n\t key=\"network-resource.network-id = $tmp.network-id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmpo.aai.network-resource\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 819.3333129882812,\r
+ "y": 729.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "8087f47e.b7d908",\r
+ "2e139068.5a46b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8087f47e.b7d908",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1079.333251953125,\r
+ "y": 694.3332824707031,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "6dd6f49f.057544"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e139068.5a46b",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1085.82421875,\r
+ "y": 755.9073486328125,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "6d4b5f63.14c128"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6dd6f49f.057544",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1227.3333740234375,\r
+ "y": 692.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ [\r
+ "4e2a0d4a.685e74",\r
+ "d3c795bb.795f1",\r
+ "5fcca940.5ce38",\r
+ "6c8a563f.779dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6d4b5f63.14c128",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1228.3333740234375,\r
+ "y": 757.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4e2a0d4a.685e74",\r
+ "type": "set",\r
+ "name": "set tmp.network-if",\r
+ "xml": "<set>\n<!--<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />-->\n<parameter name='tmp.network-id' value=\"`'providerId-' + $tmp.provider-id + '-clientId-' + $tmp.client-id + '-topologyId-' + $tmp.te-topo-id `\" />\n<!--<parameter name='tmp.network-id' value=\"`'providerId-' + $tmpo.provider-id `\" />-->\n\n",\r
+ "comments": "",\r
+ "x": 1425.3333740234375,\r
+ "y": 814.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d3c795bb.795f1",\r
+ "type": "set",\r
+ "name": "set tmpo.provider-id",\r
+ "xml": "<set>\n<parameter name='tmpo.provider-id' value=\"`$tmp.provider-id + 'new' `\" />",\r
+ "comments": "",\r
+ "x": 1418.3333740234375,\r
+ "y": 620.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5fcca940.5ce38",\r
+ "type": "set",\r
+ "name": "unset tmp.network-if",\r
+ "xml": "<set>\n<!--<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />-->\n<parameter name='tmp.network-id' value=\"\" />\n\n",\r
+ "comments": "",\r
+ "x": 1425.3333740234375,\r
+ "y": 738.3333129882812,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6c8a563f.779dc",\r
+ "type": "set",\r
+ "name": "set tmp.provider-id",\r
+ "xml": "<set>\n<parameter name='tmp.provider-id' value=\"`$tmpo.provider-id`\" />",\r
+ "comments": "",\r
+ "x": 1419.566650390625,\r
+ "y": 662.566650390625,\r
+ "z": "a00613f8.474e58",\r
+ "wires": []\r
+ }\r