Support for integration of E-Line based Cloud Leased Line service with hardware domai...
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-network-to-aai.json
index 9e0f17a..0285c5d 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "8623b35d.0cf2f",\r
+        "id": "833893fc.cd4dc",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 125.00390625,\r
-        "y": 106.00650644302368,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 135.56666564941406,\r
+        "y": 158.56666564941406,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "e714b902.20b798"\r
+                "ddef51e8.c000f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e714b902.20b798",\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": 327.0039291381836,\r
-        "y": 106.89541959762573,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 224.5666961669922,\r
+        "y": 249.4555778503418,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "fb9820f4.4f92d"\r
+                "590cf9dc.a4f168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb9820f4.4f92d",\r
+        "id": "590cf9dc.a4f168",\r
         "type": "method",\r
-        "name": "method update-network-to-aai",\r
+        "name": "update-network-to-aai",\r
         "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 336.1151580810547,\r
-        "y": 178.22874116897583,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 260.67791748046875,\r
+        "y": 319.78890228271484,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "b1c5fee.fa526"\r
+                "4ea80a5b.3a2674"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1c5fee.fa526",\r
+        "id": "4ea80a5b.3a2674",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 583.3373489379883,\r
-        "y": 176.78443002700806,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 485.9001007080078,\r
+        "y": 319.34458923339844,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "d5568e89.0fd49",\r
-                "65e1e67.b95e318",\r
-                "fcfec7b9.699088"\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": "d5568e89.0fd49",\r
-        "type": "update",\r
-        "name": "save Zone",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='zone' \n      key='zone.zone-id = $tmp.network-id' >\n<parameter name='zone-id' value='`$tmp.network-id`' />\n<parameter name='zone-name' value='`$network.client-id`' />\n<parameter name='design-type' value='`$network.te-topology-id`' />\n<parameter name='zone-context' value='`$network.provider-id`' />\n\n",\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": 808.3371810913086,\r
-        "y": 176.00651788711548,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 815.89990234375,\r
+        "y": 1077.5667419433594,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "af980bc1.1f72b8",\r
-        "type": "update",\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 = $node.node-id' >\n<parameter name='pnf-name' value='`$node.node-id`' />\n<parameter name='pnf-id' value='`$node.node-id`' />\n<parameter name='in-maint' value='true' />\n\n",\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": 1052.1150245666504,\r
-        "y": 271.11759901046753,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 979.6777954101562,\r
+        "y": 1599.6777038574219,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "65e1e67.b95e318",\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": 823.8927383422852,\r
-        "y": 339.33982038497925,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 751.4555053710938,\r
+        "y": 1579.8999328613281,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "af980bc1.1f72b8",\r
-                "476a4fdb.dc5f5",\r
-                "96688ca0.6a9f6",\r
-                "9b63a4a9.acd508",\r
-                "8140ea7f.0a90f8"\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": "476a4fdb.dc5f5",\r
+        "id": "5cc65873.45f068",\r
         "type": "set",\r
-        "name": "set network",\r
-        "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n",\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": 1062.114990234375,\r
-        "y": 202.22872114181519,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 984.677734375,\r
+        "y": 1495.788833618164,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "96688ca0.6a9f6",\r
+        "id": "fa029f12.0579a8",\r
         "type": "save",\r
-        "name": "save pnf relationship to zone in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $node.node-id' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"zone\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/zones/zone/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"zone.zone-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />",\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": 1138.7819213867188,\r
-        "y": 344.4509873390198,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1076.3446044921875,\r
+        "y": 1775.01109790802,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9b63a4a9.acd508",\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": 1099.448387145996,\r
-        "y": 497.11759424209595,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1384.0111083984375,\r
+        "y": 1690.6776733398438,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             [\r
-                "b34b1b54.abd288",\r
-                "66fee673.3f4e78",\r
-                "6031db9d.646964",\r
-                "3a479676.ca94ea"\r
+                "14328870.e01fc8",\r
+                "98b3a9f1.3c7a",\r
+                "1e0cb0c8.6af377",\r
+                "d97910b0.5bb5e8",\r
+                "2568e5e9.694fba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b34b1b54.abd288",\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": 1480.1151962280273,\r
-        "y": 384.00655603408813,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1653.677978515625,\r
+        "y": 1673.566650390625,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "66fee673.3f4e78",\r
-        "type": "update",\r
-        "name": "save logical-link",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n      key='logical-link.link-name = $unique-ltpId' >\n<parameter name='link-name' value='`$unique-ltpId`' />\n<parameter name='link-type' value='VL' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='in-maint' value='`$tp.svc.supported-classification.transparent`' />\n\n",\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": 1463.8188934326172,\r
-        "y": 509.5621018409729,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1648.3818359375,\r
+        "y": 1861.1221923828125,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
-            []\r
+            [\r
+                "27884524.eae2da",\r
+                "6320df74.68c278"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "6031db9d.646964",\r
+        "id": "522b5f86.997c5",\r
         "type": "save",\r
-        "name": "save pnf relationship to logical-link in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $node.node-id' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $unique-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId`\" />",\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": 1542.7077331542969,\r
-        "y": 577.3398509025574,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1469.2705078125,\r
+        "y": 2773.8999633789062,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3a479676.ca94ea",\r
+        "id": "98b3a9f1.3c7a",\r
         "type": "set",\r
         "name": "set unique-ltpId",\r
-        "xml": "<set>\n<parameter name='unique-ltpId' value=\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
+        "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 1459.0040893554688,\r
-        "y": 445.1176323890686,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 1637.56689453125,\r
+        "y": 1730.6776733398438,\r
+        "z": "a00613f8.474e58",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fcfec7b9.699088",\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.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\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": 796.9974060058594,\r
-        "y": 79.99999856948853,\r
-        "z": "1ef7a393.52dc1c",\r
+        "x": 658.5601806640625,\r
+        "y": 39.56017303466797,\r
+        "z": "a00613f8.474e58",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8140ea7f.0a90f8",\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": 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": 1119.00390625,\r
-        "y": 414.9999985694885,\r
-        "z": "1ef7a393.52dc1c",\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
 ]
\ No newline at end of file