Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-network-to-aai.json
index 7b6731c..0285c5d 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "ef88be3f.517f78",\r
+        "id": "833893fc.cd4dc",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 105,\r
-        "y": 67,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 135.56666564941406,\r
+        "y": 158.56666564941406,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "74a7a837.229be"\r
+                "ddef51e8.c000f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "74a7a837.229be",\r
+        "id": "ddef51e8.c000f",\r
         "type": "service-logic",\r
         "name": "DataChange ${project.version}",\r
         "module": "DataChange",\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": 194.00003051757812,\r
-        "y": 157.88891220092773,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 224.5666961669922,\r
+        "y": 249.4555778503418,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "284dae72.737532"\r
+                "590cf9dc.a4f168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "284dae72.737532",\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": 230.1112518310547,\r
-        "y": 228.22223663330078,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 260.67791748046875,\r
+        "y": 319.78890228271484,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "da05320e.186d48"\r
+                "4ea80a5b.3a2674"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da05320e.186d48",\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": 455.33343505859375,\r
-        "y": 227.77792358398438,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 485.9001007080078,\r
+        "y": 319.34458923339844,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "8c187a81.9e4d28",\r
-                "75113293.98ea0c",\r
-                "9937b93d.ff5938",\r
-                "55dde830.cc61b8",\r
-                "f7667eb6.ec8938"\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": "75113293.98ea0c",\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='`$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
+        "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": 685.333251953125,\r
-        "y": 133.00001525878906,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 815.89990234375,\r
+        "y": 1077.5667419433594,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "74f65e67.75c658",\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": 897.1111450195312,\r
-        "y": 223.111083984375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 979.6777954101562,\r
+        "y": 1599.6777038574219,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9937b93d.ff5938",\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": 668.8888549804688,\r
-        "y": 203.33331298828125,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 751.4555053710938,\r
+        "y": 1579.8999328613281,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "74f65e67.75c658",\r
-                "60e29b35.16fbd4",\r
-                "b27f201.393186",\r
-                "e83884ed.3fb2d8",\r
-                "7257c53.4f087bc",\r
-                "395bef40.08498",\r
-                "1392eb55.76adbd",\r
-                "e55192de.2cc998",\r
-                "a1ffb2f2.4b50b8"\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": "60e29b35.16fbd4",\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": 902.111083984375,\r
-        "y": 119.22221374511719,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 984.677734375,\r
+        "y": 1495.788833618164,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e83884ed.3fb2d8",\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": 993.7779541015625,\r
-        "y": 398.44447803497314,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1076.3446044921875,\r
+        "y": 1775.01109790802,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c15e41a.6cfbc8",\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": 1279.4444580078125,\r
-        "y": 574.111083984375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1384.0111083984375,\r
+        "y": 1690.6776733398438,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "3c657cae.66477c",\r
-                "2e1dc2b9.f23686",\r
-                "8c144095.b1eaf8",\r
-                "9abbad80.6c0f7",\r
-                "ef702ba5.ac71e"\r
+                "14328870.e01fc8",\r
+                "98b3a9f1.3c7a",\r
+                "1e0cb0c8.6af377",\r
+                "d97910b0.5bb5e8",\r
+                "2568e5e9.694fba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c657cae.66477c",\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": 1549.111328125,\r
-        "y": 557.0000610351562,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1653.677978515625,\r
+        "y": 1673.566650390625,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c144095.b1eaf8",\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": 1543.815185546875,\r
-        "y": 744.5556030273438,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1648.3818359375,\r
+        "y": 1861.1221923828125,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "3fc33363.5b82ec",\r
-                "34c813e4.f5477c"\r
+                "27884524.eae2da",\r
+                "6320df74.68c278"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f6e5129a.8bd048",\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": 1626.703857421875,\r
-        "y": 901.3333740234375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1469.2705078125,\r
+        "y": 2773.8999633789062,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2e1dc2b9.f23686",\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": 1533.000244140625,\r
-        "y": 614.111083984375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1637.56689453125,\r
+        "y": 1730.6776733398438,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c187a81.9e4d28",\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": 641.9935302734375,\r
-        "y": 41.993499755859375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 658.5601806640625,\r
+        "y": 39.56017303466797,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b27f201.393186",\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/' + $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
+        "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": 975,\r
-        "y": 434.9934997558594,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1057.566650390625,\r
+        "y": 1811.5601196289062,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3fc33363.5b82ec",\r
+        "id": "27884524.eae2da",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1715.499885559082,\r
-        "y": 731.7460784912109,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1820.066535949707,\r
+        "y": 1848.3126678466797,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "a873419b.bc81c"\r
+                "eca5dc85.dc169"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34c813e4.f5477c",\r
+        "id": "6320df74.68c278",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1709.1784744262695,\r
-        "y": 783.9603900909424,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1813.7451248168945,\r
+        "y": 1900.5269794464111,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "66113f50.7819f8"\r
+                "4f36fae3.fb3d2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a873419b.bc81c",\r
+        "id": "eca5dc85.dc169",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1866.0000457763672,\r
-        "y": 731.0000095367432,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1970.5666961669922,\r
+        "y": 1847.566598892212,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "66113f50.7819f8",\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": 1895,\r
-        "y": 785,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1999.566650390625,\r
+        "y": 1901.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c8e5472a.d10408",\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`' />\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
+        "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": 1678,\r
-        "y": 331,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1713.566650390625,\r
+        "y": 2152.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "11cb3cf8.02c3eb",\r
-                "1a336806.ba4bc8"\r
+                "d31fa9d0.e36698",\r
+                "6da3b2ca.c0f984"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b0a557c.b35cd",\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": 1341,\r
-        "y": 319,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1376.566650390625,\r
+        "y": 2140.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "58c4d943.63d2f",\r
-                "e7e93cd.8f563c",\r
-                "c8e5472a.d10408",\r
-                "7c00c858.c87ab8",\r
-                "1bd07bf.99e9784"\r
+                "f58dd7ba.f71ba8",\r
+                "e9a95ae5.095c7",\r
+                "9afbe60e.d5e018",\r
+                "dfba66a0.a570f",\r
+                "8e56a27.ed9656",\r
+                "a3b0d055.5709c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "58c4d943.63d2f",\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": 1676,\r
-        "y": 239,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1711.566650390625,\r
+        "y": 2060.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e7e93cd.8f563c",\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": 1634.888916015625,\r
-        "y": 277.111083984375,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1670.45556640625,\r
+        "y": 2098.6776733398438,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "11cb3cf8.02c3eb",\r
+        "id": "d31fa9d0.e36698",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1944,\r
-        "y": 317,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1979.566650390625,\r
+        "y": 2138.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "9ad375c8.fab3e8"\r
+                "95619f03.b62ee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a336806.ba4bc8",\r
+        "id": "6da3b2ca.c0f984",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1937.6785888671875,\r
-        "y": 369.21431159973145,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1973.2452392578125,\r
+        "y": 2190.7809009552,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "842e7e75.fc0558"\r
+                "88d246a7.3c6ed8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ad375c8.fab3e8",\r
+        "id": "95619f03.b62ee",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2094.500160217285,\r
-        "y": 316.2539310455322,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2130.06681060791,\r
+        "y": 2137.820520401001,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "842e7e75.fc0558",\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`' />\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
+        "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": 2175,\r
-        "y": 371,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2210.566650390625,\r
+        "y": 2192.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7257c53.4f087bc",\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": 927,\r
-        "y": 166,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1009.566650390625,\r
+        "y": 1542.5666198730469,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "55dde830.cc61b8",\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": 611,\r
-        "y": 329,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 693.566650390625,\r
+        "y": 1705.5666198730469,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b86a9ee9.558c2",\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": 1627,\r
-        "y": 844,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1475.566650390625,\r
+        "y": 2729.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7c00c858.c87ab8",\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[$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].related-link`\" value=\"`'/network/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`\" />",\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": 1749,\r
-        "y": 423,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1784.566650390625,\r
+        "y": 2244.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "5d32d079.32cfb8",\r
-                "5c2d8774.9a9178"\r
+                "e89e91e3.86ef68",\r
+                "cb114306.b09568"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "395bef40.08498",\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": 913,\r
-        "y": 295,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 948.566650390625,\r
+        "y": 2116.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "84bf875e.b8d51",\r
-                "cc6df2e.2398e9",\r
-                "f2d2c388.1aa578"\r
+                "3e378927.66a8e6",\r
+                "8e7d32ae.6545b8",\r
+                "823a8d5c.adc0e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5889c4ed.3fc544",\r
+        "id": "c17cfb12.a956f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1261,\r
-        "y": 247,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1296.566650390625,\r
+        "y": 2068.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f2d2c388.1aa578",\r
+        "id": "823a8d5c.adc0e",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1103,\r
-        "y": 318,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1143.566650390625,\r
+        "y": 2151.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "8b0a557c.b35cd"\r
+                "db4633a0.6d81"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1392eb55.76adbd",\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": 893,\r
-        "y": 550,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 997.566650390625,\r
+        "y": 1666.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "c5e649ab.cfe2e8",\r
-                "d7a3de29.b44a1",\r
-                "a21fbfb7.b6608"\r
+                "28c0a1a9.e89256",\r
+                "298d87ce.e145a",\r
+                "dc9cd29a.1758c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5e649ab.cfe2e8",\r
+        "id": "28c0a1a9.e89256",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1072,\r
-        "y": 502,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1176.566650390625,\r
+        "y": 1618.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "3d51c59d.7acffa"\r
+                "dbf4e13b.6fd0b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7a3de29.b44a1",\r
+        "id": "298d87ce.e145a",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1071,\r
-        "y": 604,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1175.566650390625,\r
+        "y": 1720.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "9c15e41a.6cfbc8"\r
+                "673098cb.075338"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3d51c59d.7acffa",\r
+        "id": "dbf4e13b.6fd0b",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1227,\r
-        "y": 502,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1331.566650390625,\r
+        "y": 1618.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e55192de.2cc998",\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": 891,\r
-        "y": 339,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 926.566650390625,\r
+        "y": 2160.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "84bf875e.b8d51",\r
+        "id": "3e378927.66a8e6",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1101,\r
-        "y": 181,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1136.566650390625,\r
+        "y": 2002.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "5889c4ed.3fc544"\r
+                "c17cfb12.a956f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc6df2e.2398e9",\r
+        "id": "8e7d32ae.6545b8",\r
         "type": "outcome",\r
         "name": "length 0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1106,\r
-        "y": 256,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1141.566650390625,\r
+        "y": 2077.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "5889c4ed.3fc544"\r
+                "c17cfb12.a956f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a21fbfb7.b6608",\r
+        "id": "dc9cd29a.1758c8",\r
         "type": "outcome",\r
         "name": "length 0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1082,\r
-        "y": 550,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1186.566650390625,\r
+        "y": 1666.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "3d51c59d.7acffa"\r
+                "dbf4e13b.6fd0b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1ffb2f2.4b50b8",\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": 899,\r
-        "y": 68,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 981.566650390625,\r
+        "y": 1444.5666198730469,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9abbad80.6c0f7",\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": 1561,\r
-        "y": 500,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1665.566650390625,\r
+        "y": 1616.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1bd07bf.99e9784",\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": 1676,\r
-        "y": 191,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1711.566650390625,\r
+        "y": 2012.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d32d079.32cfb8",\r
+        "id": "e89e91e3.86ef68",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2081,\r
-        "y": 426,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2116.566650390625,\r
+        "y": 2247.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
-            [\r
-                "42b15971.2191b8"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "5c2d8774.9a9178",\r
+        "id": "cb114306.b09568",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2078,\r
-        "y": 474,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2113.566650390625,\r
+        "y": 2295.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
-            [\r
-                "ad595c83.2160d"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "42b15971.2191b8",\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": 2236,\r
-        "y": 427,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2271.566650390625,\r
+        "y": 2248.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ad595c83.2160d",\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": 2237,\r
-        "y": 475,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2272.566650390625,\r
+        "y": 2296.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b9a378e9.3ee13",\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": 2027,\r
-        "y": 669,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2131.566650390625,\r
+        "y": 1785.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "1cdf8713.954a51",\r
-                "3754d4b.0357eac"\r
+                "fd502708.7f6088",\r
+                "ceed1c04.61dda"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ef702ba5.ac71e",\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": 1597,\r
-        "y": 670,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1701.566650390625,\r
+        "y": 1786.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "95523b36.e61fe",\r
-                "a2f27028.9e578"\r
+                "96134678.4ddb",\r
+                "b351d2bc.b887c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2f27028.9e578",\r
+        "id": "b351d2bc.b887c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1824,\r
-        "y": 623,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1928.566650390625,\r
+        "y": 1739.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "ce508a28.fe217"\r
+                "465845f4.285064"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "95523b36.e61fe",\r
+        "id": "96134678.4ddb",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1825,\r
-        "y": 669,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1929.566650390625,\r
+        "y": 1785.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "b9a378e9.3ee13"\r
+                "50b8a3b8.1b8644"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce508a28.fe217",\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": 2028,\r
-        "y": 623,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2132.566650390625,\r
+        "y": 1739.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1cdf8713.954a51",\r
+        "id": "fd502708.7f6088",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2232,\r
-        "y": 646,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2336.566650390625,\r
+        "y": 1762.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "611d993d.82c5c"\r
+                "4fd4e9b0.85ded8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3754d4b.0357eac",\r
+        "id": "ceed1c04.61dda",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2225.6785888671875,\r
-        "y": 698.2143115997314,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2330.2452392578125,\r
+        "y": 1814.7809009552002,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "495bfe4.4b1a"\r
+                "7cb0f25f.577834"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "611d993d.82c5c",\r
+        "id": "4fd4e9b0.85ded8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2373,\r
-        "y": 646,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2477.566650390625,\r
+        "y": 1762.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "495bfe4.4b1a",\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": 2432,\r
-        "y": 698,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 2536.566650390625,\r
+        "y": 1814.5665893554688,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f7667eb6.ec8938",\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\n",\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": 667,\r
-        "y": 83,\r
-        "z": "6d6b8a1f.be1cb4",\r
+        "x": 1419.566650390625,\r
+        "y": 662.566650390625,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     }\r
 ]
\ No newline at end of file