Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn_nni / GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
index 81ac687..95a8497 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "fb32b655.b185b8",\r
+        "id": "85443592.af092",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 97,\r
-        "y": 26,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 98,\r
+        "y": 38,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "84e0c1e1.45193"\r
+                "852063b.0947b2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84e0c1e1.45193",\r
+        "id": "852063b.0947b2",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\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='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 228.2856903076172,\r
-        "y": 75.23810863494873,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 229.2856903076172,\r
+        "y": 87.23810863494873,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "45da7482.2ad22c"\r
+                "aeeba709.125ee8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "45da7482.2ad22c",\r
+        "id": "aeeba709.125ee8",\r
         "type": "method",\r
         "name": "method sotn-vf-operation-uni-activate",\r
         "xml": "<method rpc='sotn-vf-operation-uni-activate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 231.42861938476562,\r
-        "y": 160.00003242492676,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 232.42861938476562,\r
+        "y": 172.00003242492676,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "edcc85d8.9d3d28"\r
+                "607019e9.c9785"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c9ee1fb.c2a40e",\r
+        "id": "91f12862.db0db8",\r
         "type": "switchNode",\r
         "name": "switch vf-modules.vf-module_length",\r
         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 703.9959564208984,\r
-        "y": 340.99998915195465,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 704.9959564208984,\r
+        "y": 352.99998915195465,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "a85389a5.eba5b8",\r
-                "b56c9993.d26ec8",\r
-                "d2286cfd.202a6"\r
+                "583dc2c6.a1eadc",\r
+                "8575a683.b84fa",\r
+                "550ed40f.69db1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "edcc85d8.9d3d28",\r
+        "id": "607019e9.c9785",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 322.6626205444336,\r
-        "y": 445.66670763492584,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 323.6626205444336,\r
+        "y": 457.66670763492584,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "2c9ee1fb.c2a40e",\r
-                "fa8ab78.8a0bc48",\r
-                "83723db3.8501b",\r
-                "943ab36c.4be4",\r
-                "56a2543.f406bac",\r
-                "7638ccf.06d4134",\r
-                "a53f3f0c.46a7a",\r
-                "c42e922f.1abaa"\r
+                "91f12862.db0db8",\r
+                "9d769fa.70def6",\r
+                "5f3f8849.95d748",\r
+                "e7066e5e.bd1598",\r
+                "d390a700.afff28",\r
+                "bbda4146.d9ba7",\r
+                "eb840621.54dba",\r
+                "90ab95eb.d707c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83723db3.8501b",\r
+        "id": "5f3f8849.95d748",\r
         "type": "for",\r
         "name": "for each vnf",\r
         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 669.0273170471191,\r
-        "y": 211.269144654274,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 670.0273170471191,\r
+        "y": 223.269144654274,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "b6860278.b7c3a"\r
+                "89dba9bf.84a9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa8ab78.8a0bc48",\r
+        "id": "9d769fa.70def6",\r
         "type": "switchNode",\r
         "name": "switch vnf_length",\r
         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 673.9959716796875,\r
-        "y": 150.00001394748688,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 674.9959716796875,\r
+        "y": 162.00001394748688,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "4d78f4ba.adcf7c"\r
+                "6defab1b.9f589c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d78f4ba.adcf7c",\r
+        "id": "6defab1b.9f589c",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 853.9959526062012,\r
-        "y": 149.0000034570694,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 854.9959526062012,\r
+        "y": 161.0000034570694,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "83071b4.81cf8e8"\r
+                "64e5f15f.80e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83071b4.81cf8e8",\r
+        "id": "64e5f15f.80e5",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 1003.4246788024902,\r
-        "y": 150.14292109012604,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1004.4246788024902,\r
+        "y": 162.14292109012604,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b6860278.b7c3a",\r
+        "id": "89dba9bf.84a9b",\r
         "type": "switchNode",\r
         "name": "switch this vnf-id == input vnf-id",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 891.9959678649902,\r
-        "y": 212.00000965595245,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 892.9959678649902,\r
+        "y": 224.00000965595245,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "a420300f.fcc77"\r
+                "927d25a0.9b192"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a420300f.fcc77",\r
+        "id": "927d25a0.9b192",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1106.9959526062012,\r
-        "y": 210.0000034570694,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1107.9959526062012,\r
+        "y": 222.0000034570694,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "61f2940f.e1eccc"\r
+                "cf847dc6.e7718"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5ebe199d.38e1f8",\r
+        "id": "28206034.44efa",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
         "comments": "",\r
-        "x": 1447.9959716796875,\r
-        "y": 178,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1448.9959716796875,\r
+        "y": 190,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b56c9993.d26ec8",\r
+        "id": "8575a683.b84fa",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 963.9959716796875,\r
-        "y": 365,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 964.9959716796875,\r
+        "y": 377,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "f74bba14.018558"\r
+                "119d4d0b.7a079b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a85389a5.eba5b8",\r
+        "id": "583dc2c6.a1eadc",\r
         "type": "outcome",\r
         "name": "0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 960.9959716796875,\r
-        "y": 293,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 961.9959716796875,\r
+        "y": 305,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "f74bba14.018558"\r
+                "119d4d0b.7a079b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f74bba14.018558",\r
+        "id": "119d4d0b.7a079b",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 1132.9959716796875,\r
-        "y": 327,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1133.9959716796875,\r
+        "y": 339,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d2286cfd.202a6",\r
+        "id": "550ed40f.69db1c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 925.9959487915039,\r
-        "y": 435.9999986886978,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 926.9959487915039,\r
+        "y": 447.9999986886978,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "1141c0c2.8446df"\r
+                "7abd9cc7.4badf4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bd0fe0b8.95c3d",\r
+        "id": "c7633f36.59d75",\r
         "type": "set",\r
         "name": "set vf-module_length",\r
         "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n",\r
         "comments": "",\r
-        "x": 1279.995964050293,\r
-        "y": 434.0000126361847,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1280.995964050293,\r
+        "y": 446.0000126361847,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1141c0c2.8446df",\r
+        "id": "7abd9cc7.4badf4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1086.995994567871,\r
-        "y": 432.99999010562897,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1087.995994567871,\r
+        "y": 444.99999010562897,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "bd0fe0b8.95c3d",\r
-                "7d4d8763.0f4718"\r
+                "c7633f36.59d75",\r
+                "ec6b544.1550628"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d4d8763.0f4718",\r
+        "id": "ec6b544.1550628",\r
         "type": "for",\r
         "name": "for each existing vf-index",\r
         "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1298.9959335327148,\r
-        "y": 486.99998915195465,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1299.9959335327148,\r
+        "y": 498.99998915195465,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "39d7ac61.94fef4"\r
+                "2f003dfc.c09752"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "39d7ac61.94fef4",\r
+        "id": "2f003dfc.c09752",\r
         "type": "switchNode",\r
         "name": "switch vf-module-id found",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1541.995948791504,\r
-        "y": 481.9999986886978,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1542.995948791504,\r
+        "y": 493.9999986886978,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "1b63e74a.2edd39"\r
+                "bc526c4d.7064b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b63e74a.2edd39",\r
+        "id": "bc526c4d.7064b8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1739.9959774017334,\r
-        "y": 469.00000536441803,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1740.9959774017334,\r
+        "y": 481.00000536441803,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "21b15a7e.281f96"\r
+                "8d2f78f6.19375"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21b15a7e.281f96",\r
+        "id": "8d2f78f6.19375",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1891.995948791504,\r
-        "y": 470.9999986886978,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1892.995948791504,\r
+        "y": 482.9999986886978,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "bfa5b77e.850078",\r
-                "9791123.9d23ff",\r
-                "5999c8a4.0563c8"\r
+                "77a297db.c2104",\r
+                "6e412733.5c6ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bfa5b77e.850078",\r
+        "id": "77a297db.c2104",\r
         "type": "set",\r
         "name": "set tmp.vidx and ctx.vnf-data",\r
         "xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
         "comments": "",\r
-        "x": 2119.996063232422,\r
-        "y": 413.0000025033951,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2120.996063232422,\r
+        "y": 425.0000025033951,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9791123.9d23ff",\r
+        "id": "6e412733.5c6ba",\r
         "type": "set",\r
         "name": "set vf-module-request-input.",\r
         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
         "comments": "",\r
-        "x": 2123.996063232422,\r
-        "y": 467.0000025033951,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2124.996063232422,\r
+        "y": 479.0000025033951,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "943ab36c.4be4",\r
+        "id": "e7066e5e.bd1598",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
         "comments": "",\r
-        "x": 597.9961547851562,\r
-        "y": 1640.501220703125,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 598.9961547851562,\r
+        "y": 1652.501220703125,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5999c8a4.0563c8",\r
+        "id": "8ad19510.26b14",\r
         "type": "call",\r
         "name": "call sotn-get-vf-module-uni-param",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2154.45108795166,\r
-        "y": 518.0104948282242,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2155.45108795166,\r
+        "y": 530.0104948282242,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "56a2543.f406bac",\r
+        "id": "d390a700.afff28",\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": 683.9959564208984,\r
-        "y": 280.5039049386978,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 684.9959564208984,\r
+        "y": 292.5039049386978,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "61f2940f.e1eccc",\r
+        "id": "cf847dc6.e7718",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1270,\r
-        "y": 220,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1271,\r
+        "y": 232,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "5ebe199d.38e1f8",\r
-                "97c5cadc.46fd38"\r
+                "28206034.44efa",\r
+                "7bec934c.afda74"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "97c5cadc.46fd38",\r
+        "id": "7bec934c.afda74",\r
         "type": "set",\r
         "name": "set tmp.vnf-id",\r
         "xml": "<set>\n<parameter name='tmp.vnf-id' value='`$vf-module-topology-operation-input.vnf-information.vnf-id`' />\n",\r
         "comments": "",\r
-        "x": 1455,\r
-        "y": 235,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1456,\r
+        "y": 247,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7638ccf.06d4134",\r
+        "id": "90ab95eb.d707c",\r
         "type": "get-resource",\r
         "name": "get-resource generic-vnf",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.generic-vnf' local-only='false' >\n\n\n",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n        pfx='tmp.aai.generic-vnf' local-only='false' >\n\n<!--AND depth = '0'\"-->\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 603,\r
-        "y": 552,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 577,\r
+        "y": 511,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "6951bd2b.63d4e4"\r
+                "8ccaf711.31aa4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6951bd2b.63d4e4",\r
+        "id": "8cabc424.4e22c8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 806,\r
-        "y": 547,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 807,\r
+        "y": 559,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "c98c270d.88dcd8",\r
-                "b05ba34b.acc5f"\r
+                "5fc2da03.1d071c",\r
+                "3d46b86.8c742c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c98c270d.88dcd8",\r
+        "id": "3d46b86.8c742c8",\r
         "type": "for",\r
         "name": "for each relationship in gen-vnf",\r
         "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.generic-vnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1018,\r
-        "y": 550,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1019,\r
+        "y": 562,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "b3a5598e.a41448"\r
+                "4909c045.b1da"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b3a5598e.a41448",\r
+        "id": "4909c045.b1da",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
+        "xml": "<switch test='`$tmp.aai.generic-vnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1244,\r
-        "y": 554,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1245,\r
+        "y": 566,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "4e594d45.0e1984"\r
+                "9b3ab29f.42cf08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e594d45.0e1984",\r
+        "id": "9b3ab29f.42cf08",\r
         "type": "outcome",\r
         "name": "uni",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1433.285888671875,\r
-        "y": 562.82177734375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1434.285888671875,\r
+        "y": 574.82177734375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "3e26d342.6174fc"\r
+                "65cb3fab.86e0b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3e26d342.6174fc",\r
+        "id": "65cb3fab.86e0b8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1608.117431640625,\r
-        "y": 565.3402709960938,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1609.117431640625,\r
+        "y": 577.3402709960938,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "8d7c01bb.0e5ea",\r
-                "db36cb56.ed0998",\r
-                "9f8707c2.df5a68"\r
+                "7d0630b8.9b289"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8d7c01bb.0e5ea",\r
+        "id": "7a2b5a85.21693c",\r
         "type": "set",\r
         "name": "set tmp.unis.uni[].tpId",\r
-        "xml": "<set>\n<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n\n",\r
+        "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tp-id' value=\"`$tmp.aai.uni.tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 1825.117431640625,\r
-        "y": 563.3402709960938,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2540.117431640625,\r
+        "y": 618.3402709960938,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b05ba34b.acc5f",\r
+        "id": "5fc2da03.1d071c",\r
         "type": "switchNode",\r
-        "name": "switch number of unis  < 2",\r
-        "xml": "<switch test='`$tmp.unis.uni_length < 2`' >\n",\r
+        "name": "switch number of unis  less than two",\r
+        "xml": "<switch test='`$tmp.unis.uni_length &lt; 2`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 993,\r
-        "y": 714,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 994,\r
+        "y": 726,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "9ad7b18c.9e2db"\r
+                "c70e962d.92df"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11a2c1f3.2f15de",\r
+        "id": "24e891c1.19b05e",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='' value='' />\n",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n\n",\r
         "comments": "",\r
-        "x": 1401,\r
-        "y": 716,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1402,\r
+        "y": 728,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9ad7b18c.9e2db",\r
+        "id": "c70e962d.92df",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1209,\r
-        "y": 715,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1210,\r
+        "y": 727,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "11a2c1f3.2f15de"\r
+                "24e891c1.19b05e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "db36cb56.ed0998",\r
+        "id": "c25132f5.a97a9",\r
         "type": "execute",\r
-        "name": "execute split tpId to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tpId`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>\n",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"[^-]+$\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1864,\r
-        "y": 638,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2579,\r
+        "y": 693,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "51f60529.b960dc",\r
-                "bd9180ed.9d6e6"\r
+                "24c82b36.46c39c",\r
+                "630e66bd.e52df8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bd9180ed.9d6e6",\r
+        "id": "630e66bd.e52df8",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2087,\r
-        "y": 593,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2802,\r
+        "y": 648,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "91a82817.a8c858"\r
+                "a1db8006.117e2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "51f60529.b960dc",\r
+        "id": "24c82b36.46c39c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2089,\r
-        "y": 657,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2804,\r
+        "y": 712,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "4dddc62b.304038"\r
+                "1b614bdf.e6fde4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91a82817.a8c858",\r
+        "id": "a1db8006.117e2",\r
         "type": "set",\r
-        "name": "set ipAddress prefixLength",\r
-        "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",\r
+        "name": "set ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix[$param-prefix_length -1]`' />\n",\r
         "comments": "",\r
-        "x": 2309,\r
-        "y": 595,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3024,\r
+        "y": 650,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4dddc62b.304038",\r
+        "id": "1b614bdf.e6fde4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
         "comments": "",\r
-        "x": 2248,\r
-        "y": 676,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2963,\r
+        "y": 731,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9f8707c2.df5a68",\r
+        "id": "6b1b7759.250c98",\r
         "type": "get-resource",\r
         "name": "get-resource pnf",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"`pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name AND depth = '0'`\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"'pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name'\n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\t\tresource=\"generic-vnf\" -->\n<!--\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' -->\n<!--\t\tAND depth = '0'\"-->\n<!--        pfx='tmp.aai.generic-vnf' local-only='false' >-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1790,\r
-        "y": 731,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2509,\r
+        "y": 830,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "7f07585.a7576a8"\r
+                "55f3c1e5.5a0098"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f07585.a7576a8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1990.5,\r
-        "y": 749,\r
-        "z": "84e7e3f2.6b184",\r
-        "wires": [\r
-            [\r
-                "2018b1.62ea675"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2018b1.62ea675",\r
+        "id": "7ece5f8e.1b9b38",\r
         "type": "block",\r
         "name": "block",\r
-        "xml": "<block>\n",\r
+        "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2153.88232421875,\r
-        "y": 783.6556396484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2868.88232421875,\r
+        "y": 838.6556396484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "a36c84bd.45b6f8",\r
-                "e1179ec.bdf3f6"\r
+                "68f9febc.4723f8",\r
+                "8f8ea6dc.d16678"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e1179ec.bdf3f6",\r
+        "id": "68f9febc.4723f8",\r
         "type": "set",\r
         "name": "set node-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].node-id`' value=\"`$tmp.aai.pnf.pnf-id`\" />\n",\r
         "comments": "",\r
-        "x": 2390,\r
-        "y": 734,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3048,\r
+        "y": 792,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a36c84bd.45b6f8",\r
+        "id": "8f8ea6dc.d16678",\r
         "type": "for",\r
         "name": "for each relationship in pnf",\r
         "xml": "<for silentFailure='true' index='ridx' start='0' end='`$tmp.aai.pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2345.882568359375,\r
-        "y": 823.6597290039062,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3060.882568359375,\r
+        "y": 878.6597290039062,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "c153c531.99c278"\r
+                "65ed7a4.b573f04"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c153c531.99c278",\r
+        "id": "65ed7a4.b573f04",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2571.882568359375,\r
-        "y": 823.6597290039062,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3286.882568359375,\r
+        "y": 878.6597290039062,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "ebf22767.e2b168",\r
-                "17f20ef3.96aa91"\r
+                "974bc5e6.b4d62",\r
+                "e5a98e29.7e38d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebf22767.e2b168",\r
+        "id": "e5a98e29.7e38d8",\r
         "type": "outcome",\r
         "name": "network-resource",\r
         "xml": "<outcome value='network-resource'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2770,\r
-        "y": 936,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3496,\r
+        "y": 948,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "15e83210.af0fbe"\r
+                "f9474736.835c28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15e83210.af0fbe",\r
+        "id": "f9474736.835c28",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2983,\r
-        "y": 937,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3709,\r
+        "y": 949,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "7354a06a.e0a7c",\r
-                "82642fbf.6f96f"\r
+                "ec758b37.bd131",\r
+                "8dbd70c6.b809a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7354a06a.e0a7c",\r
+        "id": "ec758b37.bd131",\r
         "type": "set",\r
         "name": "set network-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].network-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 3218,\r
-        "y": 867,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3944,\r
+        "y": 879,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "82642fbf.6f96f",\r
+        "id": "8dbd70c6.b809a8",\r
         "type": "get-resource",\r
         "name": "get-resource network-resource",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"`network-resource.network-id = $tmp.unis.uni[$vidx].network-id AND depth = '0'`\"\n        pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"'network-resource.network-id = $tmp.unis.uni[$vidx].network-id'\n\t\tAND depth = '0'\"\n        pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3226,\r
-        "y": 948,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3952,\r
+        "y": 960,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "dfffc86d.811b38"\r
+                "fcf952ac.a0e578"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dfffc86d.811b38",\r
+        "id": "fcf952ac.a0e578",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3458.5,\r
-        "y": 944,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 4184.5,\r
+        "y": 956,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "c2666ab.b105298"\r
+                "14d23388.330624"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c2666ab.b105298",\r
+        "id": "14d23388.330624",\r
         "type": "set",\r
         "name": "set network-id, topo-id, client-id, etc",\r
         "xml": "<set>\n<parameter name=\"`$tmp.unis.uni[$vidx].network-id`\" value=\"`$tmp.aai.network-resource.network-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].provider-id`\" value=\"`$tmp.aai.network-resource.provider-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].client-id`\" value=\"`$tmp.aai.network-resource.client-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].te-topo-id`\" value=\"`$tmp.aai.network-resource.te-topo-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].network-type`\" value=\"`$tmp.aai.network-resource.network-type`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3727,\r
-        "y": 943,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 4453,\r
+        "y": 955,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a53f3f0c.46a7a",\r
+        "id": "eb840621.54dba",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sotn-get-otn-tunnel-path-from-oof",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 782,\r
-        "y": 861,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 783,\r
+        "y": 873,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "17f20ef3.96aa91",\r
+        "id": "974bc5e6.b4d62",\r
         "type": "outcome",\r
         "name": "thirdparty-controller",\r
         "xml": "<outcome value='thirdparty-controller'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2797,\r
-        "y": 801,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3523,\r
+        "y": 813,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "a15f639f.76c57"\r
+                "7bf0b175.d7fd18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a15f639f.76c57",\r
+        "id": "7bf0b175.d7fd18",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3010,\r
-        "y": 802,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3736,\r
+        "y": 814,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "94cd4673.029758"\r
+                "f82d81f3.06226"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "94cd4673.029758",\r
+        "id": "f82d81f3.06226",\r
         "type": "set",\r
         "name": "set thirdparty-sdnc-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].thirdparty-sdnc-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 3237,\r
-        "y": 801,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 3963,\r
+        "y": 813,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5c2c3ff1.fc693",\r
+        "id": "cfcd9efa.e41c08",\r
         "type": "comment",\r
         "name": "when we reach here, we have 2 UNIs, so do ACTN operations",\r
         "info": "",\r
         "comments": "",\r
-        "x": 795,\r
-        "y": 807,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 796,\r
+        "y": 819,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c42e922f.1abaa",\r
+        "id": "bbda4146.d9ba7",\r
         "type": "for",\r
         "name": "for vidx..unis.uni_length[]",\r
         "xml": "<for index='vidx' start='0' end='`$tmp.unis.uni_length`' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 648,\r
-        "y": 1053,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 649,\r
+        "y": 1065,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "1cfcb3ef.b12bfc"\r
+                "a0c1a02.ae339e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70ff03f1.58983c",\r
+        "id": "6deceac6.273a7c",\r
         "type": "set",\r
         "name": "set oof.vpn",\r
         "xml": "<set>\n<parameter name='oof.vpn.' value='`$tmp.unis.uni[$vidx].`' />",\r
         "comments": "",\r
-        "x": 1074.0272216796875,\r
-        "y": 992.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1079.0272216796875,\r
+        "y": 923.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fcf606f6.efb428",\r
+        "id": "23c6bb2c.1ee91c",\r
         "type": "set",\r
         "name": "set controller data",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<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
-        "x": 1554.0272216796875,\r
-        "y": 1105.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1555.0272216796875,\r
+        "y": 1117.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "18d11459.dc281c",\r
+        "id": "15d08552.c95093",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1384.0272216796875,\r
-        "y": 1105.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1385.0272216796875,\r
+        "y": 1117.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "fcf606f6.efb428"\r
+                "23c6bb2c.1ee91c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "71856f9f.960fe",\r
+        "id": "40600b2e.91061c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1388.0272216796875,\r
-        "y": 1145.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1389.0272216796875,\r
+        "y": 1157.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "48d45483.15892c"\r
+                "2b53d3c0.494304"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7967d43.ee995",\r
+        "id": "6d1532.96f61ad",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1380.0272216796875,\r
-        "y": 1185.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1381.0272216796875,\r
+        "y": 1197.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "8a5a416f.cf1fa"\r
+                "c51555c1.127b9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48d45483.15892c",\r
+        "id": "2b53d3c0.494304",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1538.0272216796875,\r
-        "y": 1145.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1539.0272216796875,\r
+        "y": 1157.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8a5a416f.cf1fa",\r
+        "id": "c51555c1.127b9",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1538.0272216796875,\r
-        "y": 1185.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1539.0272216796875,\r
+        "y": 1197.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "96b7c9e8.a8e308",\r
+        "id": "39a43e8c.12f28a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1384.0272216796875,\r
-        "y": 1225.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1385.0272216796875,\r
+        "y": 1237.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "f7f59d76.ec927"\r
+                "9ffed135.085748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9f0248ba.15c698",\r
+        "id": "127cb0e0.f6337f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1380.0272216796875,\r
-        "y": 1265.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1381.0272216796875,\r
+        "y": 1277.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "66fab2ba.c9700c"\r
+                "42670ca5.0d852c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66fab2ba.c9700c",\r
+        "id": "42670ca5.0d852c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",\r
         "comments": "",\r
-        "x": 1538.0272216796875,\r
-        "y": 1265.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1539.0272216796875,\r
+        "y": 1277.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f7f59d76.ec927",\r
+        "id": "9ffed135.085748",\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": 1534.5272216796875,\r
-        "y": 1225.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1535.5272216796875,\r
+        "y": 1237.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98b0b441.82bf68",\r
+        "id": "ca782055.9e2288",\r
         "type": "comment",\r
         "name": "Get controller info and send request",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1146.0272216796875,\r
-        "y": 1105.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1147.0272216796875,\r
+        "y": 1117.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "82fd1dc6.67489",\r
+        "id": "7c55f05.ae92f9",\r
         "type": "get-resource",\r
         "name": "get-resource esr-thirdparty-sdnc",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $oof.vpn.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1138.0272216796875,\r
-        "y": 1145.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1139.0272216796875,\r
+        "y": 1157.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "18d11459.dc281c",\r
-                "71856f9f.960fe",\r
-                "f7967d43.ee995"\r
+                "15d08552.c95093",\r
+                "40600b2e.91061c",\r
+                "6d1532.96f61ad"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8222512c.b2b7f",\r
+        "id": "132c8130.52018f",\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": 1150.5272216796875,\r
-        "y": 1245.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1151.5272216796875,\r
+        "y": 1257.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "96b7c9e8.a8e308",\r
-                "9f0248ba.15c698"\r
+                "39a43e8c.12f28a",\r
+                "127cb0e0.f6337f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21e9ada7.141962",\r
+        "id": "8b8f431b.afab28",\r
         "type": "comment",\r
         "name": "call domain controller to  create underlay OTN tunnel",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1199.5272216796875,\r
-        "y": 1330.49560546875,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1200.5272216796875,\r
+        "y": 1342.49560546875,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47386aa5.9bb954",\r
+        "id": "72587bb.46de384",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sotn-create-otn-tunnel",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-create-otn-tunnel' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1219.5272216796875,\r
-        "y": 1374.49560546875,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1220.5272216796875,\r
+        "y": 1386.49560546875,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1cfcb3ef.b12bfc",\r
+        "id": "a0c1a02.ae339e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 801.5272216796875,\r
-        "y": 1385.0407409667969,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 802.5272216796875,\r
+        "y": 1397.0407409667969,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "82fd1dc6.67489",\r
-                "70ff03f1.58983c",\r
-                "e0cd8c60.4c6de",\r
-                "8b8f2197.efea1",\r
-                "8222512c.b2b7f",\r
-                "518a2698.5bffd8",\r
-                "47386aa5.9bb954"\r
+                "4d995f3e.15c858",\r
+                "6deceac6.273a7c",\r
+                "7c55f05.ae92f9",\r
+                "db2b3730.902018",\r
+                "72587bb.46de384",\r
+                "ec5a35c9.5d1e88",\r
+                "3df609df.1fc0ce",\r
+                "132c8130.52018f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cbbfd612.33a888",\r
+        "id": "5781fdd6.208f54",\r
         "type": "comment",\r
         "name": "Loop through UNIs and configure domain controllers",\r
         "info": "",\r
         "comments": "",\r
-        "x": 736.5003662109375,\r
-        "y": 1193.5003662109375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 737.5003662109375,\r
+        "y": 1205.5003662109375,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e0cd8c60.4c6de",\r
+        "id": "4d995f3e.15c858",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",\r
         "comments": "",\r
-        "x": 1065.52734375,\r
-        "y": 1453.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1066.52734375,\r
+        "y": 1465.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8b8f2197.efea1",\r
+        "id": "ec5a35c9.5d1e88",\r
         "type": "set",\r
         "name": "set attachment_param",\r
         "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n",\r
         "comments": "",\r
-        "x": 1090.02734375,\r
-        "y": 1493.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1091.02734375,\r
+        "y": 1505.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "518a2698.5bffd8",\r
+        "id": "3df609df.1fc0ce",\r
         "type": "switchNode",\r
         "name": "switch prop.sdncRestApi.token_id",\r
         "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1125.52734375,\r
-        "y": 1533.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1126.52734375,\r
+        "y": 1545.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "7015f66c.94fd18",\r
-                "82d35da9.66aaf"\r
+                "a0bdd826.3f4cd8",\r
+                "6962c04c.c84c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd59a6d0.4b0dc8",\r
+        "id": "f371d079.2c80a8",\r
         "type": "execute",\r
-        "name": "execute RestconfApiCallNode Create ethernet Service with token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "name": "execute RestApiCallNode Create ethernet Service with token",\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-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1642.52734375,\r
-        "y": 1553.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1643.52734375,\r
+        "y": 1565.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "f3736e9e.60052",\r
-                "c00d7e66.d88b7"\r
+                "b25690a3.da1fe",\r
+                "44b94c62.5f6294"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f3736e9e.60052",\r
+        "id": "b25690a3.da1fe",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1986.02734375,\r
-        "y": 1553.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1987.02734375,\r
+        "y": 1565.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "113a662f.cf308a"\r
+                "acd4383.6d75ac8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "113a662f.cf308a",\r
+        "id": "acd4383.6d75ac8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2143.52734375,\r
-        "y": 1553.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2144.52734375,\r
+        "y": 1565.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9be7bcfb.b7fdc",\r
+        "id": "acde530.390303",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
         "comments": "",\r
-        "x": 2140.02734375,\r
-        "y": 1513.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2141.02734375,\r
+        "y": 1525.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c00d7e66.d88b7",\r
+        "id": "44b94c62.5f6294",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1982.02734375,\r
-        "y": 1513.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1983.02734375,\r
+        "y": 1525.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "9be7bcfb.b7fdc"\r
+                "acde530.390303"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7015f66c.94fd18",\r
+        "id": "a0bdd826.3f4cd8",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1338.3711738586426,\r
-        "y": 1513.162670135498,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1339.3711738586426,\r
+        "y": 1525.162670135498,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "d88a1a72.f911d8"\r
+                "dd18b88a.c3942"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82d35da9.66aaf",\r
+        "id": "6962c04c.c84c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1342.02734375,\r
-        "y": 1553.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 1343.02734375,\r
+        "y": 1565.040771484375,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "dd59a6d0.4b0dc8"\r
+                "f371d079.2c80a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d88a1a72.f911d8",\r
+        "id": "dd18b88a.c3942",\r
         "type": "execute",\r
-        "name": "execute RestconfApiCallNode Create ethernet Service without token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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
+        "name": "execute RestApiCallNode Create ethernet Service without token",\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-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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": 1653.52734375,\r
+        "y": 1525.040771484375,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "44b94c62.5f6294",\r
+                "b25690a3.da1fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ccaf711.31aa4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 708,\r
+        "y": 640,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "8cabc424.4e22c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55f3c1e5.5a0098",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2692,\r
+        "y": 837,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "7ece5f8e.1b9b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ed4925c.49643c",\r
+        "type": "set",\r
+        "name": "set tmp.unis.uni[].tpId",\r
+        "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",\r
+        "comments": "",\r
+        "x": 638,\r
+        "y": 992,\r
+        "z": "a9486230.abaca8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "db2b3730.902018",\r
+        "type": "get-resource",\r
+        "name": "get network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $oof.vpn.network-id\"\n        pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1111,\r
+        "y": 1001,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "1a14b8d2.a8f357",\r
+                "f7a955ca.9be14",\r
+                "34e2d0ff.2b0ba8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a14b8d2.a8f357",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1306.5001220703125,\r
+        "y": 958,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "10c48a33.860696"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7a955ca.9be14",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1298.5001220703125,\r
+        "y": 1013,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "7314720a.de097c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34e2d0ff.2b0ba8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1303.5001220703125,\r
+        "y": 1070,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "247bba75.1dbfee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "247bba75.1dbfee",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1455.5001220703125,\r
+        "y": 1071,\r
+        "z": "a9486230.abaca8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7314720a.de097c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1466.5001220703125,\r
+        "y": 1016,\r
+        "z": "a9486230.abaca8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "10c48a33.860696",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1450.8824462890625,\r
+        "y": 955.6556701660156,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "3803718b.d2dfd6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3803718b.d2dfd6",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1665.8826904296875,\r
+        "y": 955.6597290039062,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "7cf64c03.a76a4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cf64c03.a76a4c",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1891.8826904296875,\r
+        "y": 955.6597290039062,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "7cc2a602.3c71d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cc2a602.3c71d",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2098.0001220703125,\r
+        "y": 954,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "f4284fa2.072448"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4284fa2.072448",\r
+        "type": "set",\r
+        "name": "set prop.sdncRestApi.thirdpartySdnc.id",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2116,\r
+        "y": 1033,\r
+        "z": "a9486230.abaca8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7d0630b8.9b289",\r
+        "type": "get-resource",\r
+        "name": "get-resource uni",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n        pfx='tmp.aai.uni' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1785,\r
+        "y": 666,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "ad8ad07a.d8a1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad8ad07a.d8a1c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1957,\r
+        "y": 666,\r
+        "z": "a9486230.abaca8",\r
+        "wires": [\r
+            [\r
+                "9b99c47a.3de3d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d4b6de9.39d208",\r
+        "type": "set",\r
+        "name": "set tmp.unis.uni[]",\r
+        "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",\r
+        "comments": "",\r
+        "x": 2282,\r
+        "y": 622,\r
+        "z": "a9486230.abaca8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b99c47a.3de3d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1652.52734375,\r
-        "y": 1513.040771484375,\r
-        "z": "84e7e3f2.6b184",\r
+        "x": 2098,\r
+        "y": 668,\r
+        "z": "a9486230.abaca8",\r
         "wires": [\r
             [\r
-                "c00d7e66.d88b7",\r
-                "f3736e9e.60052"\r
+                "8d4b6de9.39d208",\r
+                "c25132f5.a97a9",\r
+                "6b1b7759.250c98"\r
             ]\r
         ]\r
     }\r