Few modifications in DataChange DGs 91/106091/1
authorFranklin Dsilva <franklin.dsilva@us.fujitsu.com>
Thu, 16 Apr 2020 11:06:44 +0000 (11:06 +0000)
committerFranklin Dsilva <franklin.dsilva@us.fujitsu.com>
Thu, 16 Apr 2020 11:06:57 +0000 (11:06 +0000)
Change-Id: I608ffee7ab5b24013cc7136abb62faecb353587e
Issue-ID: SDNC-1144
Signed-off-by: Franklin Dsilva <franklin.dsilva@us.fujitsu.com>
Former-commit-id: 6ffbef3f0528e9cafecadf59317f5722942d8228

platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
platform-logic/datachange/src/main/json/DataChange_msa-update-network-to-aai.json
platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml
platform-logic/datachange/src/main/xml/DataChange_msa-update-network-to-aai.xml
platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml

index c3b3127..ca5ed7a 100644 (file)
 [\r
     {\r
-        "id": "cd2352df.fe133",\r
+        "id": "346770b6.e0b2e",\r
         "type": "other",\r
         "name": "update",\r
         "xml": "<outcome value='Update'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 717,\r
-        "y": 280,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 666,\r
+        "y": 282,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "d7605eba.de53c8"\r
+                "ac79093c.29ec78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a5fb8600.92c56",\r
+        "id": "2f504934.7894c6",\r
         "type": "other",\r
         "name": "delete",\r
-        "xml": "<outcome value='delete'>\n",\r
+        "xml": "<outcome value='Delete'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 717,\r
-        "y": 360,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 666,\r
+        "y": 362,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "a9fa59c4.23eb88"\r
+                "5f23df82.9ac6e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9fa59c4.23eb88",\r
+        "id": "5f23df82.9ac6e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 858.5,\r
-        "y": 360,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 807.5,\r
+        "y": 362,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
-            []\r
+            [\r
+                "dc10cae0.74e44"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "4266435.e82743c",\r
-        "type": "comment",\r
-        "name": "TODO: Delete topology from AAI",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 791.3335189819336,\r
-        "y": 327.96899485588074,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "78227710.8145c",\r
+        "id": "5a242175.0e7ef",\r
         "type": "switchNode",\r
         "name": "switch aai-event-trigger",\r
         "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 547.5,\r
-        "y": 320,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 496.5,\r
+        "y": 322,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "cd2352df.fe133",\r
-                "a5fb8600.92c56"\r
+                "346770b6.e0b2e",\r
+                "2f504934.7894c6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a609919.dbddb",\r
+        "id": "39f2e6f9.408272",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1244.5,\r
-        "y": 191,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1193.5,\r
+        "y": 193,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "a8db8257.07cda8",\r
-                "6c3c4f73.322ab8",\r
-                "49ad06a0.4e0b98",\r
-                "5d1f20b8.954bc8",\r
-                "8b00173e.a90248"\r
+                "97074a04.9156f",\r
+                "a612156e.6c82f",\r
+                "af67ee77.5ddb88",\r
+                "8f8e9805.87c3c8",\r
+                "9d5ac624.def28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c3c4f73.322ab8",\r
+        "id": "a612156e.6c82f",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Get token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.5001983642578,\r
-        "y": 112.00000953674316,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1466.5001983642578,\r
+        "y": 114.00000953674316,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "4ca383bd.7f19f4",\r
-                "a7b25c4e.37855"\r
+                "e7c29f07.2a4d28",\r
+                "fe96d7c9.6dc11"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ca383bd.7f19f4",\r
+        "id": "e7c29f07.2a4d28",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1807.000244140625,\r
-        "y": 104,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1756.000244140625,\r
+        "y": 106,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "bb6558fe.165e6"\r
+                "9a41c115.acccd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a7b25c4e.37855",\r
+        "id": "fe96d7c9.6dc11",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1803.000244140625,\r
-        "y": 144,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1752.000244140625,\r
+        "y": 146,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "929ec7a5.9a46b8"\r
+                "142d0bb2.73cbec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb6558fe.165e6",\r
+        "id": "9a41c115.acccd8",\r
         "type": "set",\r
         "name": "set token-id",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
         "comments": "",\r
-        "x": 1957.500244140625,\r
-        "y": 104,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1906.500244140625,\r
+        "y": 106,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3afa5b8a.d8b45c",\r
+        "id": "74c607f5.33c7f",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Get Topology",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2024.500244140625,\r
-        "y": 224,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1973.500244140625,\r
+        "y": 226,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "fe4ed86b.9ca41",\r
-                "6e1598d4.05ae"\r
+                "46585599.99541c",\r
+                "e4dc69e3.746e88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe4ed86b.9ca41",\r
+        "id": "46585599.99541c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2267.000244140625,\r
-        "y": 244,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2216.000244140625,\r
+        "y": 246,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "f8f7918f.b05da"\r
+                "c7c89355.9ce378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f8f7918f.b05da",\r
+        "id": "c7c89355.9ce378",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2424.500244140625,\r
-        "y": 244,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2373.500244140625,\r
+        "y": 246,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "6837c77a.4d245",\r
-                "945331d0.def158"\r
+                "b3a801bb.6b3e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c26cc871.32d778",\r
+        "id": "4462058b.03bf7c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
         "comments": "",\r
-        "x": 2401.000244140625,\r
-        "y": 144,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2350.000244140625,\r
+        "y": 146,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6e1598d4.05ae",\r
+        "id": "e4dc69e3.746e88",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2263.000244140625,\r
-        "y": 144,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2212.000244140625,\r
+        "y": 146,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "c26cc871.32d778"\r
+                "4462058b.03bf7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "74011233.c1b04c",\r
+        "id": "e48e789f.6305e8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 170,\r
-        "y": 55,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 119,\r
+        "y": 57,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "7dcd2a77.b03e04"\r
+                "f17ff4c0.c3b85"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7dcd2a77.b03e04",\r
+        "id": "f17ff4c0.c3b85",\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": 183,\r
-        "y": 115,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 132,\r
+        "y": 117,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "e046753f.a8811"\r
+                "dcee4efc.fbc398"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e046753f.a8811",\r
+        "id": "dcee4efc.fbc398",\r
         "type": "method",\r
         "name": "method esr-thirdparty-sdnc-discovery",\r
         "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 203,\r
-        "y": 195,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 152,\r
+        "y": 197,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "a7955eaa.8ebd"\r
+                "ee1d05c.842daf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a7955eaa.8ebd",\r
+        "id": "ee1d05c.842daf8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 450.5,\r
-        "y": 195,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 399.5,\r
+        "y": 197,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "cee74437.1c5038"\r
+                "289966fd.257632"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6837c77a.4d245",\r
+        "id": "b3a801bb.6b3e08",\r
         "type": "for",\r
         "name": "for each Network",\r
         "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2663.500244140625,\r
-        "y": 204,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1799.500259399414,\r
+        "y": 345.00001525878906,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "d73b1be.693fde8"\r
+                "f46be5c.444e598"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d73b1be.693fde8",\r
+        "id": "f46be5c.444e598",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2840.000244140625,\r
-        "y": 199,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1948.000259399414,\r
+        "y": 345.00001525878906,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "1071ecfb.db6683",\r
-                "22040d8e.81ad3a"\r
+                "9f7c6e21.8e3448",\r
+                "a45b31cf.5b428"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1071ecfb.db6683",\r
+        "id": "9f7c6e21.8e3448",\r
         "type": "call",\r
         "name": "call update-network-to-aai",\r
         "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3019.000244140625,\r
-        "y": 219,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2127.000259399414,\r
+        "y": 365.00001525878906,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "22040d8e.81ad3a",\r
+        "id": "a45b31cf.5b428",\r
         "type": "set",\r
         "name": "set network",\r
         "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",\r
         "comments": "",\r
-        "x": 2974.000244140625,\r
-        "y": 179,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2082.000259399414,\r
+        "y": 325.00001525878906,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "929ec7a5.9a46b8",\r
+        "id": "142d0bb2.73cbec",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1923.000244140625,\r
-        "y": 144,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1872.000244140625,\r
+        "y": 146,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a95e321b.626b1",\r
+        "id": "77d98c9a.bbdddc",\r
         "type": "comment",\r
         "name": "Do Nothing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2093.000244140625,\r
-        "y": 184,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2042.000244140625,\r
+        "y": 186,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "30eb5834.80e7d",\r
+        "id": "7a5efd17.5c18a4",\r
         "type": "switchNode",\r
         "name": "switch type",\r
         "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 970,\r
-        "y": 280,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 919,\r
+        "y": 282,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "bad9968b.bbaf5",\r
-                "826758bc.846648",\r
-                "f43baf3c.399558",\r
-                "6e19e1c4.aa4d28"\r
+                "c610bb27.6f7938",\r
+                "f6f15d6a.b855f8",\r
+                "2ed61a13.0813c6",\r
+                "ca97ad3.a311cd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7605eba.de53c8",\r
+        "id": "ac79093c.29ec78",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 837,\r
-        "y": 280,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 786,\r
+        "y": 282,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "30eb5834.80e7d"\r
+                "7a5efd17.5c18a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bad9968b.bbaf5",\r
+        "id": "c610bb27.6f7938",\r
         "type": "other",\r
         "name": "SOTN",\r
         "xml": "<outcome value='SOTN'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1083,\r
-        "y": 191,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1032,\r
+        "y": 193,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "6a609919.dbddb"\r
+                "39f2e6f9.408272"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "826758bc.846648",\r
+        "id": "f6f15d6a.b855f8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1085.000087738037,\r
-        "y": 740.0001106262207,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1061.5,\r
+        "y": 654.5001220703125,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "8d466c1d.2dbd88"\r
+                "bacba57d.e755a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8d466c1d.2dbd88",\r
+        "id": "bacba57d.e755a8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
         "comments": "",\r
-        "x": 1235.0000610351562,\r
-        "y": 736.0000972747803,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1247.75,\r
+        "y": 680.5001220703125,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a8db8257.07cda8",\r
+        "id": "97074a04.9156f",\r
         "type": "execute",\r
         "name": "execute Properties",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1464.0001983642578,\r
-        "y": 72.00000953674316,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1413.0001983642578,\r
+        "y": 74.00000953674316,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "49ad06a0.4e0b98",\r
+        "id": "af67ee77.5ddb88",\r
         "type": "switchNode",\r
         "name": "switch prop.sdncRestApi.token_id",\r
         "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1510.5001983642578,\r
-        "y": 192.00000953674316,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1459.5001983642578,\r
+        "y": 194.00000953674316,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "8c8153ea.0d28b8",\r
-                "f01555ec.92788"\r
+                "196dbf86.289fe8",\r
+                "2e000adc.427cfe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c8153ea.0d28b8",\r
+        "id": "196dbf86.289fe8",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1803.000244140625,\r
-        "y": 184,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1752.000244140625,\r
+        "y": 186,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "6e76fd4a.c154c4"\r
+                "58dbe772.71f75"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f01555ec.92788",\r
+        "id": "2e000adc.427cfe",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1803.000244140625,\r
-        "y": 224,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1752.000244140625,\r
+        "y": 226,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "3afa5b8a.d8b45c"\r
+                "74c607f5.33c7f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e76fd4a.c154c4",\r
+        "id": "58dbe772.71f75",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Get Topology",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2024.500244140625,\r
-        "y": 184,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1973.500244140625,\r
+        "y": 186,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "6e1598d4.05ae",\r
-                "fe4ed86b.9ca41"\r
+                "e4dc69e3.746e88",\r
+                "46585599.99541c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b00173e.a90248",\r
+        "id": "9d5ac624.def28",\r
         "type": "execute",\r
         "name": "execute RestconfDiscoveryNode",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1507.0001983642578,\r
-        "y": 332.00000953674316,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1456.0001983642578,\r
+        "y": 334.00000953674316,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5d1f20b8.954bc8",\r
+        "id": "8f8e9805.87c3c8",\r
         "type": "set",\r
         "name": "set encoding-format",\r
         "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",\r
         "comments": "",\r
-        "x": 1467.0001983642578,\r
-        "y": 292.00000953674316,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1416.0001983642578,\r
+        "y": 294.00000953674316,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "720c5fa5.cf9fc8",\r
+        "id": "bcab4612.fb18e",\r
         "type": "comment",\r
         "name": "Notification subscription",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1472.000343322754,\r
-        "y": 249.00000858306885,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1421.000343322754,\r
+        "y": 251.00000858306885,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cee74437.1c5038",\r
+        "id": "289966fd.257632",\r
         "type": "switchNode",\r
         "name": "switch",\r
         "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 157,\r
-        "y": 320,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 106,\r
+        "y": 322,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "68735a94.d40f5c",\r
-                "ab95c3e8.90657"\r
+                "8432bc7f.958c98",\r
+                "dbdc5153.c45968"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68735a94.d40f5c",\r
+        "id": "8432bc7f.958c98",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 344,\r
-        "y": 320,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 293,\r
+        "y": 322,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "78227710.8145c"\r
+                "5a242175.0e7ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab95c3e8.90657",\r
+        "id": "dbdc5153.c45968",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 345,\r
-        "y": 445,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 67.00003051757812,\r
+        "y": 1078.75,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "9bf3753b.e16a38"\r
+                "94027433.59821"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9bf3753b.e16a38",\r
+        "id": "94027433.59821",\r
         "type": "call",\r
         "name": "call esr-thirdparty-sdnc-of-zte",\r
         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 568,\r
-        "y": 445,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 298.75,\r
+        "y": 1095.5000610351562,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f43baf3c.399558",\r
+        "id": "2ed61a13.0813c6",\r
         "type": "other",\r
         "name": "TAPI",\r
         "xml": "<outcome value='TAPI'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1161,\r
-        "y": 425,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1110,\r
+        "y": 427,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "75540bd7.9ba5f4"\r
+                "4691c66b.5d4a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75540bd7.9ba5f4",\r
+        "id": "4691c66b.5d4a4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1324,\r
-        "y": 424,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1273,\r
+        "y": 426,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "a24deaa6.af3108"\r
+                "7dd7f464.c6c9e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a24deaa6.af3108",\r
+        "id": "7dd7f464.c6c9e4",\r
         "type": "execute",\r
         "name": "execute",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/>  \n    <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>  \n    <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>  \n    <parameter name=\"format\" value=\"json\"/>  \n    <parameter name=\"httpMethod\" value=\"get\"/>  \n    <parameter name=\"responsePrefix\" value=\"topologies\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.jks\"/>  \n    <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>  \n    <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>  \n    <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1485,\r
-        "y": 423,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1434,\r
+        "y": 425,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "cdd2d534.962938",\r
-                "363290e2.c2512"\r
+                "4311848d.591ed4",\r
+                "fc46f47a.aebbb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "363290e2.c2512",\r
+        "id": "fc46f47a.aebbb",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1627,\r
-        "y": 499,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1576,\r
+        "y": 501,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "91d6cda6.f47358"\r
+                "cc96eb4.79b6718"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cdd2d534.962938",\r
+        "id": "4311848d.591ed4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1661,\r
-        "y": 420,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1610,\r
+        "y": 422,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "78d89c1.df36ce4"\r
+                "85a205fd.e6fe2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78d89c1.df36ce4",\r
+        "id": "85a205fd.e6fe2",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",\r
         "comments": "",\r
-        "x": 1831,\r
-        "y": 419,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1780,\r
+        "y": 421,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "91d6cda6.f47358",\r
+        "id": "cc96eb4.79b6718",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1788,\r
-        "y": 498,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1737,\r
+        "y": 500,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "68a08572.6d4e94"\r
+                "84ea29d7.966748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68a08572.6d4e94",\r
+        "id": "84ea29d7.966748",\r
         "type": "for",\r
         "name": "for each topology",\r
         "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1967,\r
-        "y": 498,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1916,\r
+        "y": 500,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "e2491c10.3a12"\r
+                "23afbd29.52671a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2491c10.3a12",\r
+        "id": "23afbd29.52671a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2134,\r
-        "y": 499,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2083,\r
+        "y": 501,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "b1c3c921.3c12a",\r
-                "b5a39927.d40208"\r
+                "be671cf9.1f4a38",\r
+                "2c9a9e44.4d4e72"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1c3c921.3c12a",\r
+        "id": "be671cf9.1f4a38",\r
         "type": "set",\r
         "name": "set topology",\r
         "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",\r
         "comments": "",\r
-        "x": 2293,\r
-        "y": 500,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2242,\r
+        "y": 502,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b5a39927.d40208",\r
+        "id": "2c9a9e44.4d4e72",\r
         "type": "call",\r
         "name": "call tapi-update-network-to-aai",\r
         "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2284,\r
-        "y": 566,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2233,\r
+        "y": 568,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6e19e1c4.aa4d28",\r
+        "id": "ca97ad3.a311cd",\r
         "type": "outcome",\r
         "name": "MSA",\r
         "xml": "<outcome value='MSA'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1131.677324295044,\r
-        "y": 581.8993349075317,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1080.677324295044,\r
+        "y": 583.8993349075317,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "4227a936.fe14d"\r
+                "c2e22ff3.03e78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4227a936.fe14d",\r
+        "id": "c2e22ff3.03e78",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1293.6773872375488,\r
-        "y": 579.899335861206,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1242.6773872375488,\r
+        "y": 581.899335861206,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "f20725de.f4794"\r
+                "cdc360bb.4f8c6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f20725de.f4794",\r
+        "id": "cdc360bb.4f8c6",\r
         "type": "execute",\r
         "name": "execute",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/>  \n    <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>  \n    <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>  \n    <parameter name=\"format\" value=\"json\"/>  \n    <parameter name=\"httpMethod\" value=\"get\"/>  \n    <parameter name=\"responsePrefix\" value=\"networks\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.jks\"/>  \n    <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>  \n    <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>  \n    <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1470.6771354675293,\r
-        "y": 571.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1419.6771354675293,\r
+        "y": 573.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "49b0fd8b.249e2c",\r
-                "792d01db.8d11"\r
+                "150d6764.a614e9",\r
+                "1e259e4f.0e9d9a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49b0fd8b.249e2c",\r
+        "id": "150d6764.a614e9",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1623.6771354675293,\r
-        "y": 568.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1572.6771354675293,\r
+        "y": 570.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "85d21e1a.a14be8"\r
+                "a457e272.01c1b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85d21e1a.a14be8",\r
+        "id": "a457e272.01c1b8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",\r
         "comments": "",\r
-        "x": 1798.6771354675293,\r
-        "y": 567.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1747.6771354675293,\r
+        "y": 569.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "792d01db.8d11",\r
+        "id": "1e259e4f.0e9d9a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1629.6771354675293,\r
-        "y": 641.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1578.6771354675293,\r
+        "y": 643.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "d5110405.aee948"\r
+                "c148d343.01eac8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5110405.aee948",\r
+        "id": "c148d343.01eac8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1813.6771354675293,\r
-        "y": 643.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1762.6771354675293,\r
+        "y": 645.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "68851b61.ef75e4"\r
+                "f964e642.cb1ae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68851b61.ef75e4",\r
+        "id": "f964e642.cb1ae",\r
         "type": "call",\r
         "name": "call msa-update-network-to-aai",\r
         "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2092.677001953125,\r
-        "y": 641.8992919921875,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "945331d0.def158",\r
-        "type": "switchNode",\r
-        "name": "switch network_length",\r
-        "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2684,\r
-        "y": 310,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "901d4e1a.652118",\r
-                "11935c8a.a490ab"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9c61f388.1f0838",\r
-        "type": "outcome",\r
-        "name": "2 Topologies (1 Domain)",\r
-        "xml": "<outcome value='2'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2894,\r
-        "y": 611,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 2041.677001953125,\r
+        "y": 643.8992919921875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "326c6d24.4336b2",\r
+        "id": "dc10cae0.74e44",\r
         "type": "switchNode",\r
-        "name": "switch network-types[0]",\r
-        "xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",\r
+        "name": "switch type",\r
+        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4603,\r
-        "y": 400,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 212.566650390625,\r
+        "y": 812.5666809082031,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "709f94a4.b34cf4",\r
-                "9cfb2d7f.448bd8"\r
+                "447a364c.b91ea8",\r
+                "f7872c45.99a4e",\r
+                "c8e48bf6.778e98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "709f94a4.b34cf4",\r
+        "id": "447a364c.b91ea8",\r
         "type": "outcome",\r
-        "name": "ethernet-topology",\r
-        "xml": "<outcome value='ethernet-topology'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4819,\r
-        "y": 400,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "6ad78f52.8d683"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6ad78f52.8d683",\r
-        "type": "switchNode",\r
-        "name": "switch network-types[1]",\r
-        "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
+        "name": "MSA",\r
+        "xml": "<outcome value='MSA'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5044,\r
-        "y": 400,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 391.857177734375,\r
+        "y": 729.9285888671875,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "4e12c36c.f82d3c",\r
-                "17b8d1f3.652706"\r
+                "a07fdc63.5a34d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e12c36c.f82d3c",\r
-        "type": "outcome",\r
-        "name": "otn-topology",\r
-        "xml": "<outcome value='otn-topology'>\n",\r
+        "id": "f7872c45.99a4e",\r
+        "type": "other",\r
+        "name": "TAPI",\r
+        "xml": "<outcome value='TAPI'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5280,\r
-        "y": 353,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 400.6070556640625,\r
+        "y": 980.6428527832031,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "cd9d2417.06096"\r
+                "6d4308e1.31c5f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "172a24d9.92ec93",\r
-        "type": "call",\r
-        "name": "call update-tp-ttp-relationship",\r
-        "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5696,\r
-        "y": 341,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "61a560e1.35c54",\r
-        "type": "set",\r
-        "name": "set networks",\r
-        "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",\r
-        "comments": "",\r
-        "x": 5541,\r
-        "y": 207,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9cfb2d7f.448bd8",\r
-        "type": "outcome",\r
-        "name": "otn-topology",\r
-        "xml": "<outcome value='otn-topology'>\n",\r
+        "id": "a07fdc63.5a34d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4824,\r
-        "y": 457,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 545.607177734375,\r
+        "y": 726.7143249511719,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "f16b5928.2b534"\r
+                "cfc4d202.c64d78",\r
+                "366bec81.83eddc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd9d2417.06096",\r
+        "id": "6d4308e1.31c5f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5462,\r
-        "y": 327,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 550,\r
+        "y": 980.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "61a560e1.35c54",\r
-                "172a24d9.92ec93"\r
+                "6a48df29.ca491",\r
+                "62ccb800.ba59c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f16b5928.2b534",\r
-        "type": "switchNode",\r
-        "name": "switch network-types[1]",\r
-        "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5043,\r
-        "y": 459,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "b02955b9.ece2c",\r
-                "1f0d239a.a59004"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "17b8d1f3.652706",\r
+        "id": "c8e48bf6.778e98",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5274,\r
-        "y": 412,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 503,\r
+        "y": 1144.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "d245d127.681cb"\r
+                "ab761f62.a873d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d245d127.681cb",\r
+        "id": "ab761f62.a873d",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
         "comments": "",\r
-        "x": 5476,\r
-        "y": 410,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 665,\r
+        "y": 1183.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b02955b9.ece2c",\r
-        "type": "outcome",\r
-        "name": "ethernet-topology",\r
-        "xml": "<outcome value='ethernet-topology'>\n",\r
+        "id": "cfc4d202.c64d78",\r
+        "type": "get-resource",\r
+        "name": "get resources from DB -controller_id",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5266,\r
-        "y": 473,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 777.5,\r
+        "y": 774.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "a776716e.08be98"\r
+                "69e5b135.13096",\r
+                "70bf128f.7ac3cc",\r
+                "136d8709.29f489"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b2d9af5c.6d71e8",\r
+        "id": "366bec81.83eddc",\r
         "type": "set",\r
-        "name": "set networks",\r
-        "xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",\r
-        "comments": "",\r
-        "x": 5682,\r
-        "y": 454,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1f0d239a.a59004",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5225,\r
-        "y": 534,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "7a25521e.b55894"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7a25521e.b55894",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "name": "set controller_id",\r
+        "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
         "comments": "",\r
-        "x": 5370,\r
-        "y": 541,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 737.5,\r
+        "y": 708.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a776716e.08be98",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5444,\r
-        "y": 469,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "b2d9af5c.6d71e8",\r
-                "7141defd.d7f3a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1a8710e5.1ad6b7",\r
-        "type": "get-resource",\r
-        "name": "get-resource network-resources",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n        pfx='tmp.aai.network-resources' local-only='false' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2504,\r
-        "y": 784,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "3a8bf069.f85ce",\r
-                "aebcabff.82acc",\r
-                "1f447726.4be529"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3a8bf069.f85ce",\r
+        "id": "69e5b135.13096",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2757,\r
-        "y": 702,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "e98ead73.d60f3"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "aebcabff.82acc",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2760.490966796875,\r
-        "y": 749.5740356445312,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "94257a05.fc968"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1f447726.4be529",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2748.823974609375,\r
-        "y": 793.9073486328125,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1016.5,\r
+        "y": 794.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "fe4ab328.74eee"\r
+                "f7324afe.a3cb98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7141defd.d7f3a8",\r
-        "type": "call",\r
-        "name": "call update-tp-ttp-relationship",\r
-        "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
+        "id": "f7324afe.a3cb98",\r
+        "type": "delete",\r
+        "name": "delete from db",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n    resource=\"SQL\"\n    key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5717,\r
-        "y": 520,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1185.5,\r
+        "y": 801.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "db2f1670.e36278",\r
-        "type": "call",\r
-        "name": "call update-open-ended-links",\r
-        "xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3712,\r
-        "y": 737,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e98ead73.d60f3",\r
-        "type": "switchNode",\r
-        "name": "switch network-resources_length",\r
-        "xml": "<switch test='tmp.aai.network-resources_length'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2972,\r
-        "y": 700,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "c72d2527.4f27d8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c72d2527.4f27d8",\r
-        "type": "outcome",\r
-        "name": "4 Topologies (2 Domains)",\r
-        "xml": "<outcome value='4'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3233,\r
-        "y": 700,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "3dcb11c5.a0564e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "94257a05.fc968",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
-        "comments": "",\r
-        "x": 2933,\r
-        "y": 750,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fe4ab328.74eee",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
-        "comments": "",\r
-        "x": 2922,\r
-        "y": 796,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6b9df565.677604",\r
-        "type": "for",\r
-        "name": "for each network-resource",\r
-        "xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3695,\r
-        "y": 664,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "db1ad019.66229"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "db1ad019.66229",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3924,\r
-        "y": 690,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "9c9a1adf.4a9568",\r
-                "df8384d1.95fc28"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9c9a1adf.4a9568",\r
-        "type": "switchNode",\r
-        "name": "switch network-types[nridx]",\r
-        "xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4197,\r
-        "y": 715,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "be613956.e7594"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "be613956.e7594",\r
-        "type": "outcome",\r
-        "name": "otn-topology",\r
-        "xml": "<outcome value='otn-topology'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4410,\r
-        "y": 709,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "a82463e6.b9c248"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "369083d8.76a43c",\r
-        "type": "set",\r
-        "name": "set network-resource-otn[$otnidx]",\r
-        "xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",\r
-        "comments": "",\r
-        "x": 4776,\r
-        "y": 702,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "df8384d1.95fc28",\r
-        "type": "set",\r
-        "name": "set otnidx",\r
-        "xml": "<set>\n<parameter name='otnidx' value='0' />\n",\r
-        "comments": "",\r
-        "x": 4142,\r
-        "y": 673,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fd786916.269048",\r
+        "id": "6a48df29.ca491",\r
         "type": "set",\r
-        "name": "set otnidx",\r
-        "xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",\r
+        "name": "set controller_id",\r
+        "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
         "comments": "",\r
-        "x": 4693,\r
-        "y": 754,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 714.5,\r
+        "y": 936.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a82463e6.b9c248",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4556,\r
-        "y": 722,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "369083d8.76a43c",\r
-                "fd786916.269048"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3dcb11c5.a0564e",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3449,\r
-        "y": 695,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "6b9df565.677604",\r
-                "db2f1670.e36278"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "901d4e1a.652118",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
+        "id": "62ccb800.ba59c8",\r
+        "type": "get-resource",\r
+        "name": "get resources from DB -controller_id",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2866,\r
-        "y": 311,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 727.5,\r
+        "y": 1025.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "2165924a.476cde"\r
+                "4cc181ad.c4d1f8",\r
+                "85870c46.3089f",\r
+                "d2032fdb.614ce8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11935c8a.a490ab",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
+        "id": "4cc181ad.c4d1f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2868,\r
-        "y": 358,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 952.5,\r
+        "y": 1040.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "94ef4628.95e6b8"\r
+                "ebe8f601.eebec8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "94ef4628.95e6b8",\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/logSdncDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"networks_length\" />\n    <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n    ",\r
+        "id": "ebe8f601.eebec8",\r
+        "type": "delete",\r
+        "name": "delete from db",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n    resource=\"SQL\"\n    key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2996,\r
-        "y": 360,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1123.5,\r
+        "y": 1041.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2165924a.476cde",\r
-        "type": "for",\r
-        "name": "for each Network",\r
-        "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",\r
+        "id": "70bf128f.7ac3cc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3039,\r
-        "y": 310,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1002.5,\r
+        "y": 873.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "115276c4.acec21"\r
+                "dd76e326.6dd408"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "115276c4.acec21",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "85870c46.3089f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3209,\r
-        "y": 308,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 933.5,\r
+        "y": 1113.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "2a57d05e.a0dc88",\r
-                "dde988af.f0e1f",\r
-                "ccc4b2dc.03b6",\r
-                "9266c042.cf422",\r
-                "b4168243.614878"\r
+                "b35680d0.668ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a57d05e.a0dc88",\r
-        "type": "set",\r
-        "name": "set network",\r
-        "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",\r
+        "id": "dd76e326.6dd408",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",\r
         "comments": "",\r
-        "x": 3375,\r
-        "y": 276,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1163.5,\r
+        "y": 878.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dde988af.f0e1f",\r
-        "type": "switchNode",\r
-        "name": "switch network-types with topologyId",\r
-        "xml": "<switch test='`$network.te-topology-id`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3420,\r
-        "y": 355,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "eaf6a3f8.6275b",\r
-                "92b40685.e87b6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b3e974ed.02509",\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/logSdncDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"networks_length\" />\n    <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n    <parameter name=\"field4\" value=\"network-type-is\" />\n    <parameter name=\"field5\" value=\"OTN\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3904,\r
-        "y": 245,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "eaf6a3f8.6275b",\r
-        "type": "outcome",\r
-        "name": "11",\r
-        "xml": "<outcome value='11'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3639,\r
-        "y": 309,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "7df875b.d3cf70c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "92b40685.e87b6",\r
-        "type": "outcome",\r
-        "name": "33",\r
-        "xml": "<outcome value='33'>\n",\r
+        "id": "136d8709.29f489",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3639,\r
-        "y": 370,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 993.5,\r
+        "y": 933.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "16aa4525.8ff0c3"\r
+                "84fa6086.1cdbd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d246fb34.c2a69",\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/logSdncDiscovery.txt\" />\n    <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n    <parameter name=\"field2\" value=\"networks_length\" />\n    <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n    <parameter name=\"field4\" value=\"network-type-is\" />\n    <parameter name=\"field5\" value=\"ETH\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3898,\r
-        "y": 370,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "50aa8e02.3ace68",\r
-        "type": "set",\r
-        "name": "set network-otn",\r
-        "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",\r
-        "comments": "",\r
-        "x": 3934,\r
-        "y": 315,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1ffaf146.64fab7",\r
-        "type": "set",\r
-        "name": "set networks",\r
-        "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",\r
+        "id": "84fa6086.1cdbd",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",\r
         "comments": "",\r
-        "x": 3916,\r
-        "y": 409,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1142.5,\r
+        "y": 935.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ccc4b2dc.03b6",\r
-        "type": "set",\r
-        "name": "unset network",\r
-        "xml": "<set>\n<parameter name='network.' value='' />\n",\r
+        "id": "b35680d0.668ed",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",\r
         "comments": "",\r
-        "x": 3369,\r
-        "y": 222,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 1081.5,\r
+        "y": 1114.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9266c042.cf422",\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/logSdncDiscovery.txt\" />\n    <parameter name=\"field6\" value=\"network-otn-is\" />\n    <parameter name=\"field7\" value=\"`$network-otn.te-topology-id`\" />\n    <parameter name=\"field8\" value=\"network-eth-is\" />\n    <parameter name=\"field9\" value=\"`$network-eth.te-topology-id`\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3340,\r
-        "y": 480,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "7df875b.d3cf70c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3770,\r
-        "y": 314,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            [\r
-                "b3e974ed.02509",\r
-                "50aa8e02.3ace68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "16aa4525.8ff0c3",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "d2032fdb.614ce8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3775,\r
-        "y": 391,\r
-        "z": "1620e9e3.f93e5e",\r
+        "x": 933.5,\r
+        "y": 1157.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
         "wires": [\r
             [\r
-                "d246fb34.c2a69",\r
-                "1ffaf146.64fab7"\r
+                "a6db07ae.aaca38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b4168243.614878",\r
-        "type": "call",\r
-        "name": "call update-tp-ttp-relationship",\r
-        "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
+        "id": "a6db07ae.aaca38",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",\r
         "comments": "",\r
-        "outputs": 1,\r
-        "x": 3410,\r
-        "y": 531,\r
-        "z": "1620e9e3.f93e5e",\r
-        "wires": [\r
-            []\r
-        ]\r
+        "x": 1098.5,\r
+        "y": 1154.5,\r
+        "z": "7bb5d2cb.8cfacc",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index cb66423..326f08f 100644 (file)
                 "9a1981e1.920fd8",\r
                 "6b40a855.ff49b",\r
                 "32cd571a.6766f",\r
-                "79c2bf41.e84278",\r
-                "6ab14ba2.b06b3c"\r
+                "79c2bf41.e84278"\r
             ]\r
         ]\r
     },\r
             []\r
         ]\r
     },\r
-    {\r
-        "id": "6ab14ba2.b06b3c",\r
-        "type": "save",\r
-        "name": "save",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='custom-query' \n      key=\"format='resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"data\">      \n<parameter name='interface-name' value='`$interfaceName`' />\n<parameter name='port-description' value='`$tp.tp-id`' />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1809,\r
-        "y": 903.5666656494141,\r
-        "z": "8859ea1e.d24268",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
     {\r
         "id": "81e5bdae.f433c8",\r
         "type": "set",\r
         "name": "set controller_id",\r
-        "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url`\" />\n\n\n\n",\r
+        "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
         "comments": "",\r
         "x": 865.5,\r
         "y": 235.56666564941406,\r
index 88eef90..ad93223 100644 (file)
@@ -1,6 +1,6 @@
 [\r
     {\r
-        "id": "935a3170.617d58",\r
+        "id": "dd0d634e.2a2c2",\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": 328.5,\r
-        "y": 96,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 335,\r
+        "y": 65.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "b0347539.62863"\r
+                "1cbc4994.bb76be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b0347539.62863",\r
+        "id": "1cbc4994.bb76be",\r
         "type": "method",\r
         "name": "method tapi-update-network-to-aai",\r
         "xml": "<method rpc='tapi-update-network-to-aai' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 142.5,\r
-        "y": 154,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 149,\r
+        "y": 123.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "c7d276d1.b2201"\r
+                "94d58717.09f498"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7d276d1.b2201",\r
+        "id": "94d58717.09f498",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 366.5,\r
-        "y": 199,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 373,\r
+        "y": 168.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "9d541262.2259c",\r
-                "9085ed80.90f39",\r
-                "a234d204.9ad8d",\r
-                "cd55a1ab.6e1058",\r
-                "42993030.f025",\r
-                "68ba4fb8.0ba9e",\r
-                "6381672e.4b66e8"\r
+                "9ab8c0cf.e6f98",\r
+                "e690bc57.ec78a",\r
+                "35fef5d3.ca4d02",\r
+                "e0fab15a.f10c18",\r
+                "60d36464.813cfc",\r
+                "4f3ea1d6.c426d",\r
+                "de75f383.c32b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b010e3f2.4096b",\r
+        "id": "7a504318.e0fe94",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 77.5,\r
-        "y": 97,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 84,\r
+        "y": 66.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "935a3170.617d58"\r
+                "dd0d634e.2a2c2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42993030.f025",\r
+        "id": "60d36464.813cfc",\r
         "type": "set",\r
         "name": "set network-id",\r
         "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-TAPI-' + $topology.uuid`\" />\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 638,\r
-        "y": 107,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 644.5,\r
+        "y": 76.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9d541262.2259c",\r
+        "id": "9ab8c0cf.e6f98",\r
         "type": "save",\r
         "name": "save network-resource in AAI",\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`' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 652,\r
-        "y": 208,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 658.5,\r
+        "y": 177.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9085ed80.90f39",\r
+        "id": "e690bc57.ec78a",\r
         "type": "save",\r
         "name": "save network-resource 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=\"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": 720,\r
-        "y": 253,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 726.5,\r
+        "y": 222.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a234d204.9ad8d",\r
+        "id": "35fef5d3.ca4d02",\r
         "type": "for",\r
         "name": "for each node",\r
         "xml": "<for index='nidx' start='0' end='`$topology.node_length`' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 511,\r
-        "y": 410,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 517.5,\r
+        "y": 379.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "50a0e2c1.af46dc",\r
-                "b0afae25.cb087",\r
-                "e9e2ecad.80a61"\r
+                "3c67cc6c.cfe42c",\r
+                "9229822e.14f158",\r
+                "6b1527e8.25be7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50a0e2c1.af46dc",\r
+        "id": "3c67cc6c.cfe42c",\r
         "type": "set",\r
         "name": "set node",\r
         "xml": "<set>\n<parameter name='node.' value='`$topology.node[$nidx].`' />\n",\r
         "comments": "",\r
-        "x": 734,\r
-        "y": 332,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 740.5,\r
+        "y": 301.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b0afae25.cb087",\r
+        "id": "9229822e.14f158",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 730,\r
-        "y": 384,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 736.5,\r
+        "y": 353.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "4e4155b0.3e1144"\r
+                "7815b3bd.d57894"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd732489.b8daa",\r
+        "id": "705eebcd.82fa04",\r
         "type": "switchNode",\r
         "name": "switch name_length",\r
         "xml": "<switch test='`$node.name_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1174,\r
-        "y": 381,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1180.5,\r
+        "y": 350.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3bb8d7e2.eaee28",\r
-                "80a53d1e.bbca58"\r
+                "e6f8e410.73b858",\r
+                "4d0546eb.27bdd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bb8d7e2.eaee28",\r
+        "id": "e6f8e410.73b858",\r
         "type": "outcomeTrue",\r
         "name": "NULL Do nothing",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1439,\r
-        "y": 345,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1445.5,\r
+        "y": 314.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "80a53d1e.bbca58",\r
+        "id": "4d0546eb.27bdd8",\r
         "type": "outcomeTrue",\r
         "name": "Other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1398,\r
-        "y": 467,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1404.5,\r
+        "y": 436.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "52f17a63.9bfd44"\r
+                "6dad649c.dedce4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "52f17a63.9bfd44",\r
+        "id": "6dad649c.dedce4",\r
         "type": "for",\r
         "name": "for each name ",\r
         "xml": "<for index='na-idx' start='0' end='`$node.name_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1612,\r
-        "y": 470,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1618.5,\r
+        "y": 439.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "1eee1e7b.5435f2"\r
+                "cfe7c49.701eab8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1eee1e7b.5435f2",\r
+        "id": "cfe7c49.701eab8",\r
         "type": "switchNode",\r
         "name": "switch name-value = name",\r
         "xml": "<switch test=\"`$node.name[$na-idx].value-name == 'name'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1522,\r
-        "y": 532,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1528.5,\r
+        "y": 501.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "1cf3cb4d.a6fb3d"\r
+                "72453289.f9940c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1cf3cb4d.a6fb3d",\r
+        "id": "72453289.f9940c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1728,\r
-        "y": 529,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1734.5,\r
+        "y": 498.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "38316d9c.01edfa"\r
+                "98c4c13b.021d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38316d9c.01edfa",\r
+        "id": "98c4c13b.021d4",\r
         "type": "set",\r
         "name": "set node-name",\r
         "xml": "<set>\n<parameter name='node-name' value=\"`$node.name[$na-idx].value`\"/>\n",\r
         "comments": "",\r
-        "x": 1898,\r
-        "y": 525,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1904.5,\r
+        "y": 494.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6555285e.9ebd6",\r
+        "id": "ee278548.48c048",\r
         "type": "save",\r
         "name": "save pnf in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf'\nkey='pnf.pnf-name = $node.uuid' >\n    <parameter name='pnf-name' value='`$node.uuid`' />\n    <parameter name='pnf-id' value='`$node-name`' />\n    <parameter name='in-maint' value='true' />\n    \n                         \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1172,\r
-        "y": 512,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1178.5,\r
+        "y": 481.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "81aa1acf.f68a58",\r
+        "id": "f54e4cb0.06b158",\r
         "type": "save",\r
         "name": "save pnf relationship to network-resource in AAI",\r
         "xml": "\n<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $node.uuid' 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`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1193,\r
-        "y": 580,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1199.5,\r
+        "y": 549.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e9e2ecad.80a61",\r
+        "id": "6b1527e8.25be7",\r
         "type": "for",\r
         "name": "for each termination point",\r
         "xml": "<for index='tpidx' start='0' end='`$node.node-edge-point_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 460,\r
-        "y": 746,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 466.5,\r
+        "y": 715.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "c89d18fe.055318",\r
-                "ac9bd5ab.d519c"\r
+                "9bc4ad0d.346da",\r
+                "3f256854.d899a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ac9bd5ab.d519c",\r
+        "id": "3f256854.d899a",\r
         "type": "set",\r
         "name": "set termination point",\r
         "xml": "<set>\n<parameter name='tp.' value='`$node.node-edge-point[$tpidx].`' />\n",\r
         "comments": "",\r
-        "x": 688,\r
-        "y": 696,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 694.5,\r
+        "y": 665.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6f66e8cb.64f95",\r
+        "id": "dfedd521.86b5a",\r
         "type": "switchNode",\r
         "name": "switch name_length",\r
         "xml": "<switch test='`$tp.name_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1213,\r
-        "y": 768,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1219.5,\r
+        "y": 737.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "ee3c6985.76e71",\r
-                "bfda0f7b.b56b18"\r
+                "b7d6f4f0.e0bd3",\r
+                "66cf26fb.09f71"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee3c6985.76e71",\r
+        "id": "b7d6f4f0.e0bd3",\r
         "type": "outcomeTrue",\r
         "name": "If NULL Do nothing",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1477,\r
-        "y": 632,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1483.5,\r
+        "y": 601.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bfda0f7b.b56b18",\r
+        "id": "66cf26fb.09f71",\r
         "type": "outcomeTrue",\r
         "name": "Other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1442,\r
-        "y": 767,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1448.5,\r
+        "y": 736.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "9320404b.db2348"\r
+                "862b958d.f2e34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9320404b.db2348",\r
+        "id": "862b958d.f2e34",\r
         "type": "for",\r
         "name": "for each name ",\r
         "xml": "<for index='na-idx' start='0' end='`$tp.name_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1614,\r
-        "y": 768,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1620.5,\r
+        "y": 737.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "aef7823d.d8a618",\r
-                "35cc269a.e40662"\r
+                "a4a363d9.79d1a",\r
+                "3453f969.e5d4fe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aef7823d.d8a618",\r
+        "id": "a4a363d9.79d1a",\r
         "type": "switchNode",\r
         "name": "switch name-value = name",\r
         "xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'name'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1829,\r
-        "y": 619,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1835.5,\r
+        "y": 588.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "35fb5cff.eb7ef4"\r
+                "162774dd.4da85b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "35fb5cff.eb7ef4",\r
+        "id": "162774dd.4da85b",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2043,\r
-        "y": 661,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2049.5,\r
+        "y": 630.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "9d15562e.3da29"\r
+                "62abe205.1c35e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d15562e.3da29",\r
+        "id": "62abe205.1c35e4",\r
         "type": "set",\r
         "name": "set equipment identifier (tp-name)",\r
         "xml": "<set>\n<parameter name='tp-name' value=\"`$tp.name[$na-idx].value`\"/>\n",\r
         "comments": "",\r
-        "x": 2265,\r
-        "y": 659,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2271.5,\r
+        "y": 628.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6381672e.4b66e8",\r
+        "id": "de75f383.c32b18",\r
         "type": "for",\r
         "name": " for each link",\r
         "xml": "<for index='lidx' start='0' end='`$topology.link_length`' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 314,\r
-        "y": 945,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 320.5,\r
+        "y": 914.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "c58ed545.369738",\r
-                "719956b2.0cd3",\r
-                "7e813e06.d7a0a8",\r
-                "b416801f.d4ff5",\r
-                "10707cde.2f4863"\r
+                "82a5932e.ce1e3",\r
+                "7acdad8b.581844",\r
+                "c92f2637.6550b8",\r
+                "1af3399a.6caa5e",\r
+                "137abc28.75c06c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c58ed545.369738",\r
+        "id": "82a5932e.ce1e3",\r
         "type": "set",\r
         "name": "set link",\r
         "xml": "<set>\n<parameter name='link.' value='`$topology.link[$lidx].`' />\n",\r
         "comments": "",\r
-        "x": 472,\r
-        "y": 869,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 478.5,\r
+        "y": 838.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cd55a1ab.6e1058",\r
+        "id": "e0fab15a.f10c18",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$topology.name[0].value`\"/>\n<parameter name=\"field2\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\"/>\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 604,\r
-        "y": 154,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 610.5,\r
+        "y": 123.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ac455a91.e52088",\r
+        "id": "5d2cdae.4f905a4",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value='`$node.name_length`'/>\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1155,\r
-        "y": 446,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1161.5,\r
+        "y": 415.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "719956b2.0cd3",\r
+        "id": "7acdad8b.581844",\r
         "type": "set",\r
         "name": "set link-name",\r
         "xml": "<set>\n<parameter name='link.name' value=\"`$link.uuid`\" />\n",\r
         "comments": "",\r
-        "x": 512,\r
-        "y": 1005,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 518.5,\r
+        "y": 974.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7e813e06.d7a0a8",\r
+        "id": "c92f2637.6550b8",\r
         "type": "save",\r
         "name": "save link in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link'\nkey='logical-link.link-name = $link.name' >\n    <parameter name='link-name' value='`$link.name`' />\n    <parameter name='link-type' value='OTN-LINK' />\n    <parameter name='in-maint' value='true' />\n    <parameter name='operational-status' value='`$link.operational-state`' />\n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 504,\r
-        "y": 1097,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 510.5,\r
+        "y": 1066.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b416801f.d4ff5",\r
+        "id": "1af3399a.6caa5e",\r
         "type": "save",\r
         "name": "save logical-link relationship to p-interface",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n      key='logical-link.link-name = $link.name' 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/' + $pnf1 + '/p-interfaces/p-interface/' + $interface1 `\" />\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=\"`$pnf1`\" /> \n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $pnf2 + '/p-interfaces/p-interface/' + $interface2 `\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$pnf2`\" /> ",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 536,\r
-        "y": 1175,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 542.5,\r
+        "y": 1144.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "35cc269a.e40662",\r
+        "id": "3453f969.e5d4fe",\r
         "type": "switchNode",\r
         "name": "switch name-value=rate",\r
         "xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'rate'`\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1869,\r
-        "y": 778,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1875.5,\r
+        "y": 747.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "1b3ff34.e74448d"\r
+                "f20b41d5.0223a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ec747020.3cd26",\r
+        "id": "66cfa48e.98759c",\r
         "type": "set",\r
         "name": "set speed-value",\r
         "xml": "<set>\n<parameter name='tp-speed' value=\"`$tp.name[$na-idx].value`\"/>",\r
         "comments": "",\r
-        "x": 2267,\r
-        "y": 783,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2273.5,\r
+        "y": 752.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1b3ff34.e74448d",\r
+        "id": "f20b41d5.0223a8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2085,\r
-        "y": 777,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2091.5,\r
+        "y": 746.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "ec747020.3cd26"\r
+                "66cfa48e.98759c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "72dab98.9c32948",\r
+        "id": "c0fc82b3.30b7b8",\r
         "type": "switchNode",\r
         "name": "switch speed-value",\r
         "xml": "<switch test='`$tp-speed`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1206,\r
-        "y": 976,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1212.5,\r
+        "y": 945.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "7c1acbf6.52a7b4",\r
-                "e680c1d4.8d26b",\r
-                "637bc8ed.78c8f8",\r
-                "546b1c73.cde174",\r
-                "ff2067e8.34ff3",\r
-                "137d910.c7ebc6f",\r
-                "3a380053.5e28e8",\r
-                "c59da1dd.0a3a6",\r
-                "d7b0999b.5401d8",\r
-                "9ef45078.45166",\r
-                "a8b7220d.93d588"\r
+                "e27e9d29.e7909",\r
+                "a8a78b1e.d9fbe8",\r
+                "6d366e8d.e15bb",\r
+                "760758e3.4dee9",\r
+                "7b7866ff.b65f9",\r
+                "ee64d5ad.37015",\r
+                "ebd113cf.809d58",\r
+                "55df563c.f847e8",\r
+                "5e039964.21b738",\r
+                "2a77e6fd.99cfe2",\r
+                "b446277d.b32c2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c1acbf6.52a7b4",\r
+        "id": "e27e9d29.e7909",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1379,\r
-        "y": 848,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1385.5,\r
+        "y": 817.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "c6b4b57e.be0f4"\r
+                "88200379.ba144"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f789e8e.088bd2",\r
+        "id": "fe9ed448.89feb",\r
         "type": "set",\r
         "name": "set interface-type as NNI",\r
         "xml": "<set>\n<parameter name='netinttype' value='NNI' />",\r
         "comments": "",\r
-        "x": 1713,\r
-        "y": 978,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1719.5,\r
+        "y": 947.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c6b4b57e.be0f4",\r
+        "id": "88200379.ba144",\r
         "type": "set",\r
         "name": "set interface type as UNI",\r
         "xml": "<set>\n<parameter name='netinttype' value='UNI' />\n",\r
         "comments": "",\r
-        "x": 1570,\r
-        "y": 849,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1576.5,\r
+        "y": 818.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4ff9fdea.07798c",\r
+        "id": "62c4a0a9.7119d",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"speed-values\"/>\n<parameter name=\"field2\" value=\"`$tp-speed`\"/>\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1239,\r
-        "y": 842,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1245.5,\r
+        "y": 811.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c89d18fe.055318",\r
+        "id": "9bc4ad0d.346da",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 650,\r
-        "y": 809,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 656.5,\r
+        "y": 778.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "7215b4d0.41eff4"\r
+                "20b1aa33.4b13b6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7215b4d0.41eff4",\r
+        "id": "20b1aa33.4b13b6",\r
         "type": "switchNode",\r
         "name": "switch protocol-name",\r
         "xml": "<switch test='`$tp.layer-protocol-name`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 816,\r
-        "y": 760,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 822.5,\r
+        "y": 729.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "2a45d6ca.fdcd6a",\r
-                "9e6c2d7a.6a9"\r
+                "3ccfdf03.565b68",\r
+                "36a79e43.96952a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a45d6ca.fdcd6a",\r
+        "id": "3ccfdf03.565b68",\r
         "type": "outcome",\r
         "name": "ODU",\r
         "xml": "<outcome value='ODU'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 853,\r
-        "y": 835,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 859.5,\r
+        "y": 804.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "dbc08438.6ccc88"\r
+                "689242aa.067e9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e6c2d7a.6a9",\r
+        "id": "36a79e43.96952a",\r
         "type": "other",\r
         "name": "other : Do nothing",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1011,\r
-        "y": 701,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1017.5,\r
+        "y": 670.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4e4155b0.3e1144",\r
+        "id": "7815b3bd.d57894",\r
         "type": "switchNode",\r
         "name": "switch protocol-name",\r
         "xml": "<switch test='`$node.layer-protocol-name[0]`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 748,\r
-        "y": 444,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 754.5,\r
+        "y": 413.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "7222169b.377ed8",\r
-                "491fb5e5.6c1c64"\r
+                "228d2ded.a28e1a",\r
+                "c84e2543.54c0f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7222169b.377ed8",\r
+        "id": "228d2ded.a28e1a",\r
         "type": "outcome",\r
         "name": "ODU",\r
         "xml": "<outcome value='ODU'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 916,\r
-        "y": 393,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 922.5,\r
+        "y": 362.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "7f13a4a.2f87fdc"\r
+                "90388069.5c1f6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "491fb5e5.6c1c64",\r
+        "id": "c84e2543.54c0f8",\r
         "type": "other",\r
         "name": "other : Do nothing",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 839,\r
-        "y": 561,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 845.5,\r
+        "y": 530.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7f13a4a.2f87fdc",\r
+        "id": "90388069.5c1f6",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 969,\r
-        "y": 453,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 975.5,\r
+        "y": 422.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "fd732489.b8daa",\r
-                "ac455a91.e52088",\r
-                "6555285e.9ebd6",\r
-                "81aa1acf.f68a58"\r
+                "705eebcd.82fa04",\r
+                "5d2cdae.4f905a4",\r
+                "ee278548.48c048",\r
+                "f54e4cb0.06b158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dbc08438.6ccc88",\r
+        "id": "689242aa.067e9c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 994,\r
-        "y": 833,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1000.5,\r
+        "y": 802.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "6f66e8cb.64f95",\r
-                "4ff9fdea.07798c",\r
-                "72dab98.9c32948",\r
-                "e75de0f2.fdaed",\r
-                "f6aff657.ff10f8",\r
-                "caaa66fd.e0cba",\r
-                "38a93e32.54219a",\r
-                "500637ea.435bb8",\r
-                "8c9dedce.28c178"\r
+                "dfedd521.86b5a",\r
+                "62c4a0a9.7119d",\r
+                "c0fc82b3.30b7b8",\r
+                "d13f710c.ed5cd",\r
+                "f6b93d25.146b98",\r
+                "ac5930e6.a398f8",\r
+                "618e03f2.2580c4",\r
+                "7b143047.5b21b8",\r
+                "9e26b070.282158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10707cde.2f4863",\r
+        "id": "137abc28.75c06c",\r
         "type": "set",\r
         "name": "set link paramaters",\r
         "xml": "<set>\n<parameter name='interface1' value=\"`$link.node-edge-point[0].node-edge-point-uuid`\" />\n<parameter name='interface2' value=\"`$link.node-edge-point[1].node-edge-point-uuid`\" />\n<parameter name='pnf1' value=\"`$link.node-edge-point[0].node-uuid`\" />\n<parameter name='pnf2' value=\"`$link.node-edge-point[1].node-uuid`\" />\n",\r
         "comments": "",\r
-        "x": 537,\r
-        "y": 926,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 543.5,\r
+        "y": 895.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "68ba4fb8.0ba9e",\r
+        "id": "4f3ea1d6.c426d",\r
         "type": "set",\r
-        "name": "set",\r
-        "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url`\" />\n\n\n\n",\r
+        "name": "set controller_id",\r
+        "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
         "comments": "",\r
-        "x": 572,\r
-        "y": 305,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 578.5,\r
+        "y": 274.56666564941406,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e680c1d4.8d26b",\r
+        "id": "a8a78b1e.d9fbe8",\r
         "type": "outcome",\r
         "name": "ODU0",\r
         "xml": "<outcome value='ODU0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1401,\r
-        "y": 912,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1407.5,\r
+        "y": 881.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "637bc8ed.78c8f8",\r
+        "id": "6d366e8d.e15bb",\r
         "type": "outcome",\r
         "name": "ODU1",\r
         "xml": "<outcome value='ODU1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1401,\r
-        "y": 950,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1407.5,\r
+        "y": 919.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "546b1c73.cde174",\r
+        "id": "760758e3.4dee9",\r
         "type": "outcome",\r
         "name": "ODU2",\r
         "xml": "<outcome value='ODU2'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1394,\r
-        "y": 988,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1400.5,\r
+        "y": 957.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38a93e32.54219a",\r
+        "id": "618e03f2.2580c4",\r
         "type": "for",\r
         "name": "for each connection-point",\r
         "xml": "<for index='cepx' start='0' end='`$tp.cep-list.connection-end-point_length`' >\n    \n    \n    \n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 753.75,\r
-        "y": 2695.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 760.25,\r
+        "y": 2664.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "e2073ad2.b58ea8",\r
-                "9baa5127.75eb5"\r
+                "20e29f32.cd952",\r
+                "cc6c35b3.c62f2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "500637ea.435bb8",\r
+        "id": "7b143047.5b21b8",\r
         "type": "save",\r
         "name": "save pnf & p-interface in DB",\r
         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE VALUES ( $tp.uuid , $tp-name , $node.uuid , $node-name , $controller_id , $tp-speed , null , $ce );\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 715.75,\r
-        "y": 2829.5498046875,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 722.25,\r
+        "y": 2799.116470336914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e2073ad2.b58ea8",\r
+        "id": "20e29f32.cd952",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"For every uuid\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point[$cepx].uuid`\"/>\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 965.61669921875,\r
-        "y": 2616.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 972.11669921875,\r
+        "y": 2585.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9baa5127.75eb5",\r
+        "id": "cc6c35b3.c62f2",\r
         "type": "switchNode",\r
         "name": "switch",\r
         "xml": "<switch test='`$tp.cep-list.connection-end-point_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 971.61669921875,\r
-        "y": 2720.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 978.11669921875,\r
+        "y": 2689.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "d3741b24.f41a38",\r
-                "fbbf0be.c3047f8",\r
-                "5c2bdcbd.9ea0e4",\r
-                "7cb8cac.25fb634"\r
+                "273def74.3cce9",\r
+                "6fc0b135.b9369",\r
+                "7d3171a.679f41",\r
+                "ad2c24d8.6c26"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4519c61a.330528",\r
+        "id": "322c7b5a.6844d4",\r
         "type": "set",\r
         "name": "set cep-uuid ",\r
         "xml": "<set>\n<parameter name='ce' value=\"`$ce + $tp.cep-list.connection-end-point[0].uuid`\" />\n",\r
         "comments": "",\r
-        "x": 1520.61669921875,\r
-        "y": 2625.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1527.11669921875,\r
+        "y": 2594.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7cb8cac.25fb634",\r
+        "id": "ad2c24d8.6c26",\r
         "type": "other",\r
         "name": "0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1144.61669921875,\r
-        "y": 2579.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1151.11669921875,\r
+        "y": 2548.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "467d498d.a66ab8"\r
+                "c49ebae2.bd0708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d3741b24.f41a38",\r
+        "id": "273def74.3cce9",\r
         "type": "other",\r
         "name": "1",\r
         "xml": "<outcome value='1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1149.783447265625,\r
-        "y": 2657.433349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1156.283447265625,\r
+        "y": 2627.000015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "322831f2.c2967e"\r
+                "40ec28a5.0ef9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fbbf0be.c3047f8",\r
+        "id": "6fc0b135.b9369",\r
         "type": "other",\r
         "name": "2",\r
         "xml": "<outcome value='2'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1117.61669921875,\r
-        "y": 2721.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1124.11669921875,\r
+        "y": 2690.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "2bf1c373.508c94"\r
+                "45a84518.ed353c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cbf030b5.5d4338",\r
+        "id": "f10a50ff.a09b",\r
         "type": "set",\r
         "name": "set cep-uuid ",\r
         "xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='ce' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n\n",\r
         "comments": "",\r
-        "x": 1479.783447265625,\r
-        "y": 2699.433349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1486.283447265625,\r
+        "y": 2669.000015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5c2bdcbd.9ea0e4",\r
+        "id": "7d3171a.679f41",\r
         "type": "other",\r
         "name": "3",\r
         "xml": "<outcome value='3'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1130.666748046875,\r
-        "y": 2843.216796875,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1137.166748046875,\r
+        "y": 2812.783462524414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "f57bea8c.8d2af8"\r
+                "35343890.318c5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ef6bffe9.2ced08",\r
+        "id": "972c5dc6.97f998",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='cep' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n<parameter name='ce' value=\"`$cep + ',' + $tp.cep-list.connection-end-point[2].uuid`\" />\n",\r
         "comments": "",\r
-        "x": 1488.61669921875,\r
-        "y": 2847.0166015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1495.11669921875,\r
+        "y": 2816.583267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "322831f2.c2967e",\r
+        "id": "40ec28a5.0ef9b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1309.4833984375,\r
-        "y": 2643.38330078125,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1315.9833984375,\r
+        "y": 2612.949966430664,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "4519c61a.330528"\r
+                "322c7b5a.6844d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2bf1c373.508c94",\r
+        "id": "45a84518.ed353c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1296.4833984375,\r
-        "y": 2719.38330078125,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1302.9833984375,\r
+        "y": 2688.949966430664,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "cbf030b5.5d4338",\r
-                "d43dd35.5a18fb"\r
+                "f10a50ff.a09b",\r
+                "8f18f763.8fc5f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f57bea8c.8d2af8",\r
+        "id": "35343890.318c5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1319.4833984375,\r
-        "y": 2851.38330078125,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1325.9833984375,\r
+        "y": 2820.949966430664,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "ef6bffe9.2ced08"\r
+                "972c5dc6.97f998"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d43dd35.5a18fb",\r
+        "id": "8f18f763.8fc5f",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Length\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point_length`\"/>\n\n<parameter name=\"field3\" value=\"`$some1`\"/>\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1488.4833984375,\r
-        "y": 2752.38330078125,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1494.9833984375,\r
+        "y": 2721.949966430664,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d03ef92d.fe74c8",\r
+        "id": "134a61b.b91ba1e",\r
         "type": "set",\r
         "name": "set cep-uuid ",\r
         "xml": "<set>\n<parameter name='ce' value='' />\n",\r
         "comments": "",\r
-        "x": 1506.783447265625,\r
-        "y": 2561.433349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1513.283447265625,\r
+        "y": 2531.000015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "467d498d.a66ab8",\r
+        "id": "c49ebae2.bd0708",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1305.4833984375,\r
-        "y": 2572.88330078125,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1311.9833984375,\r
+        "y": 2542.449966430664,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "d03ef92d.fe74c8"\r
+                "134a61b.b91ba1e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e75de0f2.fdaed",\r
+        "id": "d13f710c.ed5cd",\r
         "type": "save",\r
         "name": "save p-interface in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid' >      \n<parameter name='interface-name' value='`$tp.uuid`' />\n<parameter name='port-description' value='`$tp-name`' />\n<parameter name='operational-status' value='`$tp.administrative-state`' />\n<parameter name='in-maint' value=\"true\" />\n<parameter name='network-interface-type' value='`$netinttype`' />\n<parameter name='speed-units' value=\"Gbps\" />\n<parameter name='speed-value' value='`$tp-speed`' />\n<parameter name='available-capacity' value='`$tp-speed`' />\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1171,\r
-        "y": 1217,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1177.5,\r
+        "y": 1186.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ff2067e8.34ff3",\r
+        "id": "7b7866ff.b65f9",\r
         "type": "outcome",\r
         "name": "ODU3",\r
         "xml": "<outcome value='ODU3'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1398,\r
-        "y": 1022,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1404.5,\r
+        "y": 991.5666656494141,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "137d910.c7ebc6f",\r
+        "id": "ee64d5ad.37015",\r
         "type": "outcome",\r
         "name": "ODU4",\r
         "xml": "<outcome value='ODU4'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1396,\r
-        "y": 1061,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1402.5,\r
+        "y": 1030.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f6aff657.ff10f8",\r
+        "id": "f6b93d25.146b98",\r
         "type": "get-resource",\r
         "name": "get-resource",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid'  \n      pfx='aai.service' local-only='false'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1089.566650390625,\r
-        "y": 1354.566650390625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1096.066650390625,\r
+        "y": 1324.133316040039,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "12efb7be.6d223"\r
+                "453ceaef.3975e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12efb7be.6d223",\r
+        "id": "453ceaef.3975e4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1307.75,\r
-        "y": 1363.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1314.25,\r
+        "y": 1333.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "87e62e83.a861a"\r
+                "be595bc4.13c43"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "87e62e83.a861a",\r
+        "id": "be595bc4.13c43",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='interface-type' value='`$aai.service.network-interface-type`' />\n<parameter name='rate-param' value='`$aai.service.speed-value`' />\n\n",\r
         "comments": "",\r
-        "x": 1460.75,\r
-        "y": 1362.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1467.25,\r
+        "y": 1332.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "caaa66fd.e0cba",\r
+        "id": "ac5930e6.a398f8",\r
         "type": "switchNode",\r
         "name": "switch",\r
         "xml": "<switch test='`$interface-type`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1054.75,\r
-        "y": 1470.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1061.25,\r
+        "y": 1440.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "62e0ec7.acc3f94",\r
-                "b8317d0d.95e438"\r
+                "cdc64818.36fd",\r
+                "b011f5a6.ef38d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62e0ec7.acc3f94",\r
+        "id": "cdc64818.36fd",\r
         "type": "outcome",\r
         "name": "UNI : Do Nothing",\r
         "xml": "<outcome value='UNI'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1216.75,\r
-        "y": 1436.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1223.25,\r
+        "y": 1406.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b8317d0d.95e438",\r
+        "id": "b011f5a6.ef38d8",\r
         "type": "outcome",\r
         "name": "NNI",\r
         "xml": "<outcome value='NNI'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1192.75,\r
-        "y": 1573.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1199.25,\r
+        "y": 1543.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "4eb8450f.7429b4"\r
+                "f7262702.8d2888"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4eb8450f.7429b4",\r
+        "id": "f7262702.8d2888",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1391.75,\r
-        "y": 1466.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1398.25,\r
+        "y": 1436.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3796a832.dd7c9",\r
-                "f32c42b.ef627c",\r
-                "113f1be5.7b839c",\r
-                "d298a5ec.4701a8"\r
+                "8e99d37.4c0f43",\r
+                "3b2ad59e.117432",\r
+                "d63ed666.f191b8",\r
+                "6902bc7e.130e9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3796a832.dd7c9",\r
+        "id": "8e99d37.4c0f43",\r
         "type": "save",\r
         "name": "save p-interface in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-attribute' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba' >      \n<parameter name='bwa-id' value='`$random-ba`' />\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1628.75,\r
-        "y": 1490.7499389648438,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1635.25,\r
+        "y": 1460.3166046142578,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8c9dedce.28c178",\r
+        "id": "9e26b070.282158",\r
         "type": "set",\r
         "name": "set cep-uuid ",\r
         "xml": "<set>\n<parameter name='ce' value='' />\n<parameter name='some' value='' />\n",\r
         "comments": "",\r
-        "x": 744.75,\r
-        "y": 2613.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 751.25,\r
+        "y": 2582.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f32c42b.ef627c",\r
+        "id": "3b2ad59e.117432",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 1608.75,\r
-        "y": 1408.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1615.25,\r
+        "y": 1377.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "113f1be5.7b839c",\r
+        "id": "d63ed666.f191b8",\r
         "type": "execute",\r
         "name": "execute",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1615.75,\r
-        "y": 1325.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1622.25,\r
+        "y": 1295.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d298a5ec.4701a8",\r
+        "id": "6902bc7e.130e9c",\r
         "type": "switchNode",\r
         "name": "switch rate in NNI",\r
         "xml": "<switch test='`$rate-param`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1080.75,\r
-        "y": 1966.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1087.25,\r
+        "y": 1936.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "4b3e2ceb.2eb48c",\r
-                "721cd7f0.663828",\r
-                "91cb4231.18cc9",\r
-                "7a32a1a.1876ce",\r
-                "8e655d43.d52e48"\r
+                "5071ff0f.45a7a",\r
+                "ab34cf8f.734be",\r
+                "c356f219.2efb",\r
+                "d2d986e3.cc045",\r
+                "2091cc41.70c8cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b3e2ceb.2eb48c",\r
+        "id": "5071ff0f.45a7a",\r
         "type": "outcome",\r
         "name": "ODU0",\r
         "xml": "<outcome value='ODU0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1748.933349609375,\r
-        "y": 1552.933349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1755.433349609375,\r
+        "y": 1522.500015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "9c235584.62579"\r
+                "19f4b73d.cdd069"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "721cd7f0.663828",\r
+        "id": "ab34cf8f.734be",\r
         "type": "outcome",\r
         "name": "ODU1",\r
         "xml": "<outcome value='ODU1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1705.933349609375,\r
-        "y": 1815.933349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1712.433349609375,\r
+        "y": 1785.500015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "b7bd314d.9cf0d"\r
+                "1e178e7a.d3ed5a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91cb4231.18cc9",\r
+        "id": "c356f219.2efb",\r
         "type": "outcome",\r
         "name": "ODU2",\r
         "xml": "<outcome value='ODU2'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1659.933349609375,\r
-        "y": 2045.933349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1666.433349609375,\r
+        "y": 2015.500015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "b7e44f5e.25e06"\r
+                "40f83d7a.41a484"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a32a1a.1876ce",\r
+        "id": "d2d986e3.cc045",\r
         "type": "outcome",\r
         "name": "ODU3",\r
         "xml": "<outcome value='ODU3'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1751.933349609375,\r
-        "y": 2416.933349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1758.433349609375,\r
+        "y": 2386.500015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "ca6f1330.654d"\r
+                "91b89ace.609a68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e655d43.d52e48",\r
+        "id": "2091cc41.70c8cc",\r
         "type": "outcome",\r
         "name": "ODU4",\r
         "xml": "<outcome value='ODU4'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1736.933349609375,\r
-        "y": 2642.933349609375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1743.433349609375,\r
+        "y": 2612.500015258789,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "c8a60ea.86b8df"\r
+                "f610d634.b8cc4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c235584.62579",\r
+        "id": "19f4b73d.cdd069",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1893.933349609375,\r
-        "y": 1429.7333984375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1900.433349609375,\r
+        "y": 1399.300064086914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "b06987be.8600c8",\r
-                "2152e5a8.234e4a",\r
-                "fee249b2.2732e8",\r
-                "8d5bc0c.88ed84",\r
-                "227e1b10.a2fb2c",\r
-                "3bb8f50c.9c58ca"\r
+                "19e54ba0.7c2e0c",\r
+                "9b8b0393.415698",\r
+                "ae120072.9b7ff",\r
+                "d8f0832e.4d0f7",\r
+                "e2261dd3.e1a278",\r
+                "c59ccd0.41ff13"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b06987be.8600c8",\r
+        "id": "19e54ba0.7c2e0c",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu0",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2181.933349609375,\r
-        "y": 1277.7333984375,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2188.433349609375,\r
+        "y": 1247.300064086914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2152e5a8.234e4a",\r
+        "id": "9b8b0393.415698",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu1",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2175.25,\r
-        "y": 1332.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2181.75,\r
+        "y": 1302.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fee249b2.2732e8",\r
+        "id": "ae120072.9b7ff",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu2",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2163.25,\r
-        "y": 1406.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2169.75,\r
+        "y": 1376.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8d5bc0c.88ed84",\r
+        "id": "d8f0832e.4d0f7",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu3",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2162.25,\r
-        "y": 1480.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2168.75,\r
+        "y": 1450.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "227e1b10.a2fb2c",\r
+        "id": "e2261dd3.e1a278",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu4",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2181.25,\r
-        "y": 1583.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2187.75,\r
+        "y": 1553.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b7bd314d.9cf0d",\r
+        "id": "1e178e7a.d3ed5a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1888.25,\r
-        "y": 1815.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1894.75,\r
+        "y": 1785.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "6ef755ed.99548c",\r
-                "dd2f7629.777398",\r
-                "66e62552.4aa394",\r
-                "8609ccb1.2d8bd",\r
-                "87595d0e.b05d38",\r
-                "ce9a967c.b09018"\r
+                "11cbd181.874abe",\r
+                "2f3663f5.b479dc",\r
+                "de12e90e.01947",\r
+                "790ae74c.b00338",\r
+                "2418cab2.d227fe",\r
+                "97c5cda9.f9b988"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ef755ed.99548c",\r
+        "id": "11cbd181.874abe",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu0",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2213.25,\r
-        "y": 1662.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2219.75,\r
+        "y": 1632.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "dd2f7629.777398",\r
+        "id": "2f3663f5.b479dc",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu1",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2196.566650390625,\r
-        "y": 1733.7666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2203.066650390625,\r
+        "y": 1703.333267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "66e62552.4aa394",\r
+        "id": "de12e90e.01947",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu2",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2192.566650390625,\r
-        "y": 1788.7666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2199.066650390625,\r
+        "y": 1758.333267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8609ccb1.2d8bd",\r
+        "id": "790ae74c.b00338",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu3",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2207.566650390625,\r
-        "y": 1853.7666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2214.066650390625,\r
+        "y": 1823.333267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "87595d0e.b05d38",\r
+        "id": "2418cab2.d227fe",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu4",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2202.566650390625,\r
-        "y": 1922.7666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2209.066650390625,\r
+        "y": 1892.333267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b7e44f5e.25e06",\r
+        "id": "40f83d7a.41a484",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1901.25,\r
-        "y": 2121.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1907.75,\r
+        "y": 2090.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "b6290079.3768d8",\r
-                "aeacf8f2.125a18",\r
-                "3a3745a4.09acaa",\r
-                "20f621b2.75d936",\r
-                "d5c969cd.0b6938",\r
-                "fa7682f.bf183"\r
+                "4406468d.5ce9b",\r
+                "bfd3738c.6803a8",\r
+                "b85d6527.346848",\r
+                "b41c7ac9.59a77",\r
+                "8f7d9a54.5cdd1",\r
+                "31c35c3d.e2a904"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6290079.3768d8",\r
+        "id": "4406468d.5ce9b",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu0",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='8' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2226.25,\r
-        "y": 1968.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2232.75,\r
+        "y": 1937.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "aeacf8f2.125a18",\r
+        "id": "bfd3738c.6803a8",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu1",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='4' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2209.566650390625,\r
-        "y": 2039.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2216.066650390625,\r
+        "y": 2008.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3a3745a4.09acaa",\r
+        "id": "b85d6527.346848",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu2",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2205.566650390625,\r
-        "y": 2094.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2212.066650390625,\r
+        "y": 2063.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "20f621b2.75d936",\r
+        "id": "b41c7ac9.59a77",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu3",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2220.566650390625,\r
-        "y": 2159.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2227.066650390625,\r
+        "y": 2128.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d5c969cd.0b6938",\r
+        "id": "8f7d9a54.5cdd1",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu4",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2215.566650390625,\r
-        "y": 2228.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2222.066650390625,\r
+        "y": 2197.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ca6f1330.654d",\r
+        "id": "91b89ace.609a68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1921.25,\r
-        "y": 2442.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1927.75,\r
+        "y": 2411.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "2be58a1d.aed496",\r
-                "89903ba4.c414c8",\r
-                "41154fca.298178",\r
-                "e906813f.b5869",\r
-                "96b9d670.d50be8",\r
-                "82c447b3.e8f528"\r
+                "ee326db5.8436a",\r
+                "35407e33.d79e02",\r
+                "18be1ac.ac0dde5",\r
+                "aebddf9c.15c58",\r
+                "765cd24e.25591c",\r
+                "7d4e01bf.0dfb3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2be58a1d.aed496",\r
+        "id": "ee326db5.8436a",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu0",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2280.25,\r
-        "y": 2293.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2286.75,\r
+        "y": 2262.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "89903ba4.c414c8",\r
+        "id": "35407e33.d79e02",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu1",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='20' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2277.566650390625,\r
-        "y": 2360.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2284.066650390625,\r
+        "y": 2329.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "41154fca.298178",\r
+        "id": "18be1ac.ac0dde5",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu2",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='5' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2225.566650390625,\r
-        "y": 2415.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2232.066650390625,\r
+        "y": 2384.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e906813f.b5869",\r
+        "id": "aebddf9c.15c58",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu3",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2240.566650390625,\r
-        "y": 2480.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2247.066650390625,\r
+        "y": 2449.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "96b9d670.d50be8",\r
+        "id": "765cd24e.25591c",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu4",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2235.566650390625,\r
-        "y": 2549.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2242.066650390625,\r
+        "y": 2518.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c8a60ea.86b8df",\r
+        "id": "f610d634.b8cc4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1945.25,\r
-        "y": 2776.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1951.75,\r
+        "y": 2745.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "2e6514f0.94b6c4",\r
-                "b0455458.6d62f",\r
-                "6ee00e0.0c53cf4",\r
-                "1a460df7.cad502",\r
-                "62cd4705.4d3d4",\r
-                "6816d709.9fbb6"\r
+                "46acc9e7.1d9a8",\r
+                "a8c71c34.c3e7c",\r
+                "4f6686a5.9e0468",\r
+                "ae2f3dac.166",\r
+                "ad5a2744.3a73f",\r
+                "2aeb6b3e.6c3a4c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e6514f0.94b6c4",\r
+        "id": "46acc9e7.1d9a8",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu0",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='80' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2306.25,\r
-        "y": 2623.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2312.75,\r
+        "y": 2592.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b0455458.6d62f",\r
+        "id": "a8c71c34.c3e7c",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu1",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2291.566650390625,\r
-        "y": 2694.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2298.066650390625,\r
+        "y": 2663.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6ee00e0.0c53cf4",\r
+        "id": "4f6686a5.9e0468",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu2",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='10' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2249.566650390625,\r
-        "y": 2749.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2256.066650390625,\r
+        "y": 2718.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1a460df7.cad502",\r
+        "id": "ae2f3dac.166",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu3",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2264.566650390625,\r
-        "y": 2814.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2271.066650390625,\r
+        "y": 2783.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "62cd4705.4d3d4",\r
+        "id": "ad5a2744.3a73f",\r
         "type": "save",\r
         "name": "save available-bandwidth in AAI for odu4",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2259.566650390625,\r
-        "y": 2883.2666015625,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2266.066650390625,\r
+        "y": 2852.833267211914,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3a380053.5e28e8",\r
+        "id": "ebd113cf.809d58",\r
         "type": "outcome",\r
         "name": "OTU0",\r
         "xml": "<outcome value='OTU0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1392.75,\r
-        "y": 1096.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1399.25,\r
+        "y": 1066.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7b0999b.5401d8",\r
+        "id": "5e039964.21b738",\r
         "type": "outcome",\r
         "name": "OTU1",\r
         "xml": "<outcome value='OTU1'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1389.75,\r
-        "y": 1134.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1396.25,\r
+        "y": 1104.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c59da1dd.0a3a6",\r
+        "id": "55df563c.f847e8",\r
         "type": "outcome",\r
         "name": "OTU2",\r
         "xml": "<outcome value='OTU2'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1396.75,\r
-        "y": 1181.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1403.25,\r
+        "y": 1151.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ef45078.45166",\r
+        "id": "2a77e6fd.99cfe2",\r
         "type": "outcome",\r
         "name": "OTU3",\r
         "xml": "<outcome value='OTU3'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1396.75,\r
-        "y": 1229.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1403.25,\r
+        "y": 1199.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8b7220d.93d588",\r
+        "id": "b446277d.b32c2",\r
         "type": "outcome",\r
         "name": "OTU4",\r
         "xml": "<outcome value='OTU4'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1392.75,\r
-        "y": 1276.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1399.25,\r
+        "y": 1246.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": [\r
             [\r
-                "3f789e8e.088bd2"\r
+                "fe9ed448.89feb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bb8f50c.9c58ca",\r
+        "id": "c59ccd0.41ff13",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 1938,\r
-        "y": 1294.25,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1944.5,\r
+        "y": 1263.816665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ce9a967c.b09018",\r
+        "id": "97c5cda9.f9b988",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 1883,\r
-        "y": 1658,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1889.5,\r
+        "y": 1627.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa7682f.bf183",\r
+        "id": "31c35c3d.e2a904",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 1984,\r
-        "y": 1989.75,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 1990.5,\r
+        "y": 1959.316665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "82c447b3.e8f528",\r
+        "id": "7d4e01bf.0dfb3",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 2034,\r
-        "y": 2288.5,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2040.5,\r
+        "y": 2258.066665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6816d709.9fbb6",\r
+        "id": "2aeb6b3e.6c3a4c",\r
         "type": "set",\r
         "name": "set",\r
         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 2060,\r
-        "y": 2616,\r
-        "z": "12d97b5.248ff85",\r
+        "x": 2066.5,\r
+        "y": 2585.566665649414,\r
+        "z": "4a2cc4e8.fff2dc",\r
         "wires": []\r
     }\r
 ]
\ No newline at end of file
index 81e8bd2..110c9f6 100644 (file)
                                                                         <call module='DataChange' rpc='update-network-to-aai' mode='sync' ></call>\r
                                                                     </block>\r
                                                                 </for>\r
-                                                                <switch test='`$topology.networks.network_length >= 2`'>\r
-                                                                    <outcome value='true'>\r
-                                                                        <for index='netidx' start='0' end='`$topology.networks.network_length`' >\r
-                                                                            <block>\r
-                                                                                <set>\r
-                                                                                    <parameter name='network.' value='' />\r
-                                                                                </set>\r
-                                                                                <set>\r
-                                                                                    <parameter name='network.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                </set>\r
-                                                                                <switch test='`$network.te-topology-id`'>\r
-                                                                                    <outcome value='11'>\r
-                                                                                        <block>\r
-                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                                <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                                <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                                                <parameter name="field2" value="networks_length" />\r
-                                                                                                <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                                                <parameter name="field4" value="network-type-is" />\r
-                                                                                                <parameter name="field5" value="OTN" />\r
-                                                                                            </record>\r
-                                                                                            <set>\r
-                                                                                                <parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                            </set>\r
-                                                                                        </block>\r
-                                                                                    </outcome>\r
-                                                                                    <outcome value='33'>\r
-                                                                                        <block>\r
-                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                                <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                                <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                                                <parameter name="field2" value="networks_length" />\r
-                                                                                                <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                                                <parameter name="field4" value="network-type-is" />\r
-                                                                                                <parameter name="field5" value="ETH" />\r
-                                                                                            </record>\r
-                                                                                            <set>\r
-                                                                                                <parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                            </set>\r
-                                                                                        </block>\r
-                                                                                    </outcome>\r
-                                                                                </switch>\r
-                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                    <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                    <parameter name="field6" value="network-otn-is" />\r
-                                                                                    <parameter name="field7" value="`$network-otn.te-topology-id`" />\r
-                                                                                    <parameter name="field8" value="network-eth-is" />\r
-                                                                                    <parameter name="field9" value="`$network-eth.te-topology-id`" />\r
-                                                                                </record>\r
-                                                                                <call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' ></call>\r
-                                                                            </block>\r
-                                                                        </for>\r
-                                                                    </outcome>\r
-                                                                    <outcome value='false'>\r
-                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                            <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                            <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                            <parameter name="field2" value="networks_length" />\r
-                                                                            <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                        </record>\r
-                                                                    </outcome>\r
-                                                                </switch>\r
                                                             </block>\r
                                                         </outcome>\r
                                                     </execute>\r
                                                                         <call module='DataChange' rpc='update-network-to-aai' mode='sync' ></call>\r
                                                                     </block>\r
                                                                 </for>\r
-                                                                <switch test='`$topology.networks.network_length >= 2`'>\r
-                                                                    <outcome value='true'>\r
-                                                                        <for index='netidx' start='0' end='`$topology.networks.network_length`' >\r
-                                                                            <block>\r
-                                                                                <set>\r
-                                                                                    <parameter name='network.' value='' />\r
-                                                                                </set>\r
-                                                                                <set>\r
-                                                                                    <parameter name='network.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                </set>\r
-                                                                                <switch test='`$network.te-topology-id`'>\r
-                                                                                    <outcome value='11'>\r
-                                                                                        <block>\r
-                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                                <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                                <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                                                <parameter name="field2" value="networks_length" />\r
-                                                                                                <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                                                <parameter name="field4" value="network-type-is" />\r
-                                                                                                <parameter name="field5" value="OTN" />\r
-                                                                                            </record>\r
-                                                                                            <set>\r
-                                                                                                <parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                            </set>\r
-                                                                                        </block>\r
-                                                                                    </outcome>\r
-                                                                                    <outcome value='33'>\r
-                                                                                        <block>\r
-                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                                <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                                <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                                                <parameter name="field2" value="networks_length" />\r
-                                                                                                <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                                                <parameter name="field4" value="network-type-is" />\r
-                                                                                                <parameter name="field5" value="ETH" />\r
-                                                                                            </record>\r
-                                                                                            <set>\r
-                                                                                                <parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\r
-                                                                                            </set>\r
-                                                                                        </block>\r
-                                                                                    </outcome>\r
-                                                                                </switch>\r
-                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                                    <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                                    <parameter name="field6" value="network-otn-is" />\r
-                                                                                    <parameter name="field7" value="`$network-otn.te-topology-id`" />\r
-                                                                                    <parameter name="field8" value="network-eth-is" />\r
-                                                                                    <parameter name="field9" value="`$network-eth.te-topology-id`" />\r
-                                                                                </record>\r
-                                                                                <call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' ></call>\r
-                                                                            </block>\r
-                                                                        </for>\r
-                                                                    </outcome>\r
-                                                                    <outcome value='false'>\r
-                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                                                                            <parameter name="file" value="/opt/onap/logSdncDiscovery.txt" />\r
-                                                                            <parameter name="field1" value="__TIMESTAMP__" />\r
-                                                                            <parameter name="field2" value="networks_length" />\r
-                                                                            <parameter name="field3" value="`$topology.networks.network_length`" />\r
-                                                                        </record>\r
-                                                                    </outcome>\r
-                                                                </switch>\r
                                                             </block>\r
                                                         </outcome>\r
                                                     </execute>\r
                                 </switch>\r
                             </block>\r
                         </outcome>\r
-                        <outcome value='delete'>\r
-                            <block atomic="true"></block>\r
+                        <outcome value='Delete'>\r
+                            <block atomic="true">\r
+                                <switch test="`$prop.sdncRestApi.type`">\r
+                                    <outcome value='MSA'>\r
+                                        <block atomic='true'>\r
+                                            <set>\r
+                                                <parameter name='controllerid' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />\r
+                                            </set>\r
+                                            <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\r
+key='SELECT controller_id\r
+from TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\r
+WHERE controller_id = $controllerid'\r
+pfx='dbcontrollerid'>\r
+                                                <outcome value='success'>\r
+                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\r
+    resource="SQL"\r
+    key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>\r
+                                                </outcome>\r
+                                                <outcome value='failure'>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="Failure in getting controller-id from DB" />\r
+                                                    </return>\r
+                                                </outcome>\r
+                                                <outcome value='not-found'>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="controller-id could not be found in DB" />\r
+                                                    </return>\r
+                                                </outcome>\r
+                                            </get-resource>\r
+                                        </block>\r
+                                    </outcome>\r
+                                    <outcome value='TAPI'>\r
+                                        <block>\r
+                                            <set>\r
+                                                <parameter name='controllerid' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />\r
+                                            </set>\r
+                                            <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\r
+key='SELECT controller_id\r
+from TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\r
+WHERE controller_id = $controllerid'\r
+pfx='dbcontrollerid'>\r
+                                                <outcome value='success'>\r
+                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\r
+    resource="SQL"\r
+    key="DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid"></delete>\r
+                                                </outcome>\r
+                                                <outcome value='failure'>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="Failure in getting controller-id from DB" />\r
+                                                    </return>\r
+                                                </outcome>\r
+                                                <outcome value='not-found'>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="controller-id could not be found in DB" />\r
+                                                    </return>\r
+                                                </outcome>\r
+                                            </get-resource>\r
+                                        </block>\r
+                                    </outcome>\r
+                                    <outcome value='Other'>\r
+                                        <return status='failure'>\r
+                                            <parameter name='ack-final' value='Y'/>\r
+                                            <parameter name="error-code" value="500" />\r
+                                            <parameter name="error-message" value="`'Unsupported type = ' + $prop.sdncRestApi.type`" />\r
+                                        </return>\r
+                                    </outcome>\r
+                                </switch>\r
+                            </block>\r
                         </outcome>\r
                     </switch>\r
                 </outcome>\r
index a4076e5..34fdceb 100644 (file)
@@ -20,7 +20,7 @@
                             <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$networks.network-id`" />\r
                         </save>\r
                         <set>\r
-                            <parameter name='controller_id' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url`" />\r
+                            <parameter name='controller_id' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />\r
                         </set>\r
                         <for index='nidx' start='0' end='`$networks.node_length`' >\r
                             <set>\r
@@ -120,14 +120,6 @@ key='pnf.pnf-name = $pnfname' >
                                                 <parameter name='speed-value' value='100' />\r
                                                 <parameter name='available-capacity' value='100' />\r
                                             </save>\r
-                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='custom-query' \r
-      key="format='resource'"\r
-      force="true"\r
-      local-only="false"\r
-      pfx="data">\r
-                                                <parameter name='interface-name' value='`$interfaceName`' />\r
-                                                <parameter name='port-description' value='`$tp.tp-id`' />\r
-                                            </save>\r
                                             <save plugin="org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource" resource="SQL" key="INSERT INTO TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE VALUES ( $interfaceName , $tp.tp-id , $pnfname , $node.node-id , $controller_id , '100' , $clli , null );"></save>\r
                                         </for>\r
                                     </block>\r
index 626b7c7..e6a17cd 100644 (file)
@@ -25,7 +25,7 @@
                 <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.network-id`" />\r
             </save>\r
             <set>\r
-                <parameter name='controller_id' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url`" />\r
+                <parameter name='controller_id' value="`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`" />\r
             </set>\r
             <for index='nidx' start='0' end='`$topology.node_length`' >\r
                 <set>\r