Bug fixing required for integration testing with PCE.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
index e92f7b2..47e80d2 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "187a8cd0.b6793b",\r
+        "id": "b3b9455c.251fb8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 144,\r
-        "y": 132,\r
-        "z": "4d37a11.42c136",\r
+        "x": 107,\r
+        "y": 110,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5ea5ad17.ee4964"\r
+                "5661f4c7.6e8104"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5ea5ad17.ee4964",\r
+        "id": "5661f4c7.6e8104",\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": 428.2856903076172,\r
-        "y": 193.23810863494873,\r
-        "z": "4d37a11.42c136",\r
+        "x": 391.2856903076172,\r
+        "y": 171.23810863494873,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9dad8fbc.f24f98"\r
+                "47f23ec8.713ca"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9dad8fbc.f24f98",\r
+        "id": "47f23ec8.713ca",\r
         "type": "method",\r
         "name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 434.42860412597656,\r
-        "y": 278.0000305175781,\r
-        "z": "4d37a11.42c136",\r
+        "x": 397.42860412597656,\r
+        "y": 256.0000305175781,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ca46cddf.f67038"\r
+                "909d5d01.2efc9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca46cddf.f67038",\r
+        "id": "909d5d01.2efc9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 804.238037109375,\r
-        "y": 302.66668701171875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 767.238037109375,\r
+        "y": 280.66668701171875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "506e7f5c.19244",\r
-                "7c740453.8a159c",\r
-                "ac58016f.1c2c1"\r
+                "c5df95a2.6c697",\r
+                "a851f151.681188",\r
+                "4430b278.87d9ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "506e7f5c.19244",\r
+        "id": "c5df95a2.6c697",\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": 1105.571533203125,\r
-        "y": 573.5969848632812,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1068.571533203125,\r
+        "y": 551.5969848632812,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7c740453.8a159c",\r
+        "id": "a851f151.681188",\r
         "type": "save",\r
         "name": "get service-instance from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1127,\r
-        "y": 276,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1090,\r
+        "y": 254,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "78f50d5a.2a0cec",\r
-                "c34c58a5.11a148",\r
-                "f82c0a42.39fea8"\r
+                "bee2d1fb.fc819",\r
+                "706fc8bb.926d88",\r
+                "b5dbfca1.6b8958"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78f50d5a.2a0cec",\r
+        "id": "bee2d1fb.fc819",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1352,\r
-        "y": 134,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1315,\r
+        "y": 112,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "dfc9a5db.996c4"\r
+                "e14cb882.1a5158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c34c58a5.11a148",\r
+        "id": "706fc8bb.926d88",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1361.490966796875,\r
-        "y": 176.57403564453125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1310.490966796875,\r
+        "y": 181.57403564453125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5383933.3cbeeec"\r
+                "5cbb540f.81c364"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f82c0a42.39fea8",\r
+        "id": "b5dbfca1.6b8958",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1350,\r
-        "y": 223,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1299,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3912b121.be04f6"\r
+                "bd99daf8.5c5508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dfc9a5db.996c4",\r
+        "id": "e14cb882.1a5158",\r
         "type": "switchNode",\r
         "name": "switch allotted-resources_length != 0",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
+        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1591,\r
-        "y": 131,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1554,\r
+        "y": 109,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "fea7170c.7030f8",\r
-                "8bbb818c.845db"\r
+                "6386b942.401658",\r
+                "736cbc7f.84dcc4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5383933.3cbeeec",\r
+        "id": "5cbb540f.81c364",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1515.0623779296875,\r
-        "y": 179.85977172851562,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1464.0623779296875,\r
+        "y": 184.85977172851562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3912b121.be04f6",\r
+        "id": "bd99daf8.5c5508",\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": 1519,\r
-        "y": 224,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ca7ed950.c4257",\r
-        "type": "set",\r
-        "name": "set the 1st allotted-resource-id",\r
-        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 1990,\r
-        "y": 198,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1468,\r
+        "y": 229,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fea7170c.7030f8",\r
+        "id": "6386b942.401658",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1804,\r
-        "y": 155,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1767,\r
+        "y": 133,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bf993d83.a36c8"\r
+                "bdbad755.d12dc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8bbb818c.845db",\r
+        "id": "736cbc7f.84dcc4",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1806,\r
-        "y": 95,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1769,\r
+        "y": 73,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f5ddac6.6343fd",\r
+        "id": "73516434.8b694c",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1106,\r
-        "y": 164,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1069,\r
+        "y": 142,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bf993d83.a36c8",\r
+        "id": "bdbad755.d12dc8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1789,\r
-        "y": 243,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1752,\r
+        "y": 221,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ca7ed950.c4257",\r
-                "78e29884.225c08"\r
+                "3b75dc28.79bec4",\r
+                "5d2f9da2.d38694",\r
+                "48979781.1681f8",\r
+                "93c183ce.0a9ed8",\r
+                "5d8a5506.b8ac8c",\r
+                "a26db7da.175a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50cd8b4c.3fbe34",\r
+        "id": "31cf85b5.906fca",\r
         "type": "set",\r
         "name": "set network-route-A",\r
-        "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+        "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
         "comments": "",\r
-        "x": 2370,\r
-        "y": 822,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2615,\r
+        "y": 821,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4f854478.eff1a4",\r
+        "id": "db907b5a.2ae538",\r
         "type": "set",\r
         "name": "set network-route-B",\r
         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 2371,\r
-        "y": 877,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2616,\r
+        "y": 876,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "78e29884.225c08",\r
+        "id": "fea2a65.c94cf58",\r
         "type": "save",\r
         "name": "get allotted-resource from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1993,\r
-        "y": 273,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2238,\r
+        "y": 272,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e80669a1.e9e15",\r
-                "2a720603.9816ea",\r
-                "13ab43c3.0c3b8c"\r
+                "87df4589.584858",\r
+                "635af784.3cb32",\r
+                "22a4a39b.dd73ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e80669a1.e9e15",\r
+        "id": "87df4589.584858",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2209,\r
-        "y": 340,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2454,\r
+        "y": 339,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "14dca185.e1b46e"\r
+                "8e0be879.699538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a720603.9816ea",\r
+        "id": "635af784.3cb32",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2209.490966796875,\r
-        "y": 239.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2454.490966796875,\r
+        "y": 238.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e741b978.cc2c38"\r
+                "84ac682e.b78a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13ab43c3.0c3b8c",\r
+        "id": "22a4a39b.dd73ec",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2205,\r
-        "y": 289,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2450,\r
+        "y": 288,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b16bf403.baad58"\r
+                "b2061dbc.0548c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e741b978.cc2c38",\r
+        "id": "84ac682e.b78a08",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2387.0625,\r
-        "y": 239.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2632.0625,\r
+        "y": 238.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b16bf403.baad58",\r
+        "id": "b2061dbc.0548c8",\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": 2387,\r
-        "y": 289,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2632,\r
+        "y": 288,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6e843ab.3582ec4",\r
+        "id": "358e179e.99b9f",\r
         "type": "save",\r
         "name": "get logical-link from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1728,\r
-        "y": 762,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1973,\r
+        "y": 761,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a6a55952.b90f",\r
-                "4070a4d0.4176d4",\r
-                "60c71e39.2f942"\r
+                "e260aa07.d4c01",\r
+                "9ec9d813.5ed0f",\r
+                "46b462c7.130bb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4070a4d0.4176d4",\r
+        "id": "e260aa07.d4c01",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2019.490966796875,\r
-        "y": 740.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2264.490966796875,\r
+        "y": 739.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "77c211be.bc11e8"\r
+                "c2b6bbd8.3d5eb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60c71e39.2f942",\r
+        "id": "9ec9d813.5ed0f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2008,\r
-        "y": 785,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2253,\r
+        "y": 784,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "fbd7810f.a3734"\r
+                "1e57c51f.2af7db"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "77c211be.bc11e8",\r
+        "id": "c2b6bbd8.3d5eb8",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2168.0625,\r
-        "y": 740.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2413.0625,\r
+        "y": 739.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fbd7810f.a3734",\r
+        "id": "1e57c51f.2af7db",\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": 2167,\r
-        "y": 785,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2412,\r
+        "y": 784,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6a55952.b90f",\r
+        "id": "46b462c7.130bb4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2015,\r
-        "y": 864,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2260,\r
+        "y": 863,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "22d259e0.d6e2e6"\r
+                "9b6c334b.ffcfb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22d259e0.d6e2e6",\r
+        "id": "9b6c334b.ffcfb8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2154,\r
-        "y": 864,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2399,\r
+        "y": 863,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "50cd8b4c.3fbe34",\r
-                "4f854478.eff1a4",\r
-                "14a4c097.be654f",\r
-                "644a5f8e.b0774",\r
-                "79e86730.1965c8",\r
-                "4f1b84d7.aafb5c",\r
-                "7ca2c5af.473d34",\r
-                "28a40435.4178ec",\r
-                "b46ca414.99697",\r
-                "57fdafb2.9eec08",\r
-                "260f00b5.585908",\r
-                "134248ca.e0fa77",\r
-                "fc2a7bf0.e878b",\r
-                "a5814717.4b953",\r
-                "84749d0f.3038c8",\r
-                "39b144a2.fc3a7c",\r
-                "21292318.735edc",\r
-                "ce066c5d.e7734",\r
-                "c19c2198.0de5c",\r
-                "303c5717.c426f"\r
+                "31cf85b5.906fca",\r
+                "db907b5a.2ae538",\r
+                "b99c062f.cc8e2",\r
+                "f8919e28.817698",\r
+                "63c0978f.6d4218",\r
+                "256b3f1a.6b05f8",\r
+                "72dba682.c63c9",\r
+                "1b6d1c66.bc0bb4",\r
+                "d6aa9ec.33fa46",\r
+                "6c32ab13.072304",\r
+                "35f98555.2ceed2",\r
+                "63cf541.20dacac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "14a4c097.be654f",\r
+        "id": "b99c062f.cc8e2",\r
         "type": "save",\r
         "name": "get network-route-A from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2383,\r
-        "y": 945,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2628,\r
+        "y": 944,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7df96ca0.99ecc4",\r
-                "50b0a0cb.3236a8",\r
-                "a3437ac7.e0ee1"\r
+                "177d33ef.653acc",\r
+                "b808d106.b2a7e8",\r
+                "99bf3e88.29ecb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "644a5f8e.b0774",\r
+        "id": "f8919e28.817698",\r
         "type": "save",\r
         "name": "get network-route-B from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2362,\r
-        "y": 1546.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2607,\r
+        "y": 1545.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ece670c3.4f34a8",\r
-                "263c76fe.5b3242",\r
-                "97139121.0331f8"\r
+                "e551771e.c49a78",\r
+                "c096bcbd.1a977",\r
+                "cd719142.8f5fd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7df96ca0.99ecc4",\r
+        "id": "177d33ef.653acc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2584,\r
-        "y": 829,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2829,\r
+        "y": 828,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a6fc1138.23945"\r
+                "60c8d868.cb0f38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50b0a0cb.3236a8",\r
+        "id": "b808d106.b2a7e8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2579.509033203125,\r
-        "y": 878.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2824.509033203125,\r
+        "y": 877.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6e6d0210.60f404"\r
+                "8912eaa6.91a52"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a3437ac7.e0ee1",\r
+        "id": "99bf3e88.29ecb8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2583.509033203125,\r
-        "y": 929.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2828.509033203125,\r
+        "y": 928.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d860cdb2.412c48"\r
+                "f8cee9a2.f0a618"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6fc1138.23945",\r
+        "id": "60c8d868.cb0f38",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2732.571533203125,\r
-        "y": 828.2857666015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2977.571533203125,\r
+        "y": 827.2857666015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6e6d0210.60f404",\r
+        "id": "8912eaa6.91a52",\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": 2722.509033203125,\r
-        "y": 878.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2967.509033203125,\r
+        "y": 877.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ece670c3.4f34a8",\r
+        "id": "e551771e.c49a78",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2585,\r
-        "y": 1516.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2830,\r
+        "y": 1515.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f4c07ea8.414868"\r
+                "ae022a7b.5f0fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "263c76fe.5b3242",\r
+        "id": "c096bcbd.1a977",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2580.509033203125,\r
-        "y": 1566.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2825.509033203125,\r
+        "y": 1565.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ce13d349.caf3b8"\r
+                "2c76b27.1b72ace"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "97139121.0331f8",\r
+        "id": "cd719142.8f5fd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2584.509033203125,\r
-        "y": 1617.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2829.509033203125,\r
+        "y": 1616.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d30e3d8d.09cef8"\r
+                "e3f74bb4.409b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4c07ea8.414868",\r
+        "id": "ae022a7b.5f0fc",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2733.571533203125,\r
-        "y": 1516.28564453125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2978.571533203125,\r
+        "y": 1515.28564453125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ce13d349.caf3b8",\r
+        "id": "2c76b27.1b72ace",\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": 2723.509033203125,\r
-        "y": 1566.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2968.509033203125,\r
+        "y": 1565.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e31af50c.926d2",\r
+        "id": "194cc348.04e4bd",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3397.66650390625,\r
-        "y": 973,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3642.66650390625,\r
+        "y": 972,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c203b1ea.86f6c",\r
-                "d4cb3bd3.a349c8",\r
-                "5d25d92f.6f798",\r
-                "a5aee8f6.ab5e58",\r
-                "c830d981.aee038"\r
+                "e0f54a30.b97458",\r
+                "6e8fe0e8.771d7",\r
+                "2d7aee5e.4b3492",\r
+                "d2697672.e5142",\r
+                "c6965465.aeb14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7824d8a.d2e4f8",\r
+        "id": "c1db8d6e.967fa8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3225,\r
-        "y": 974,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3470,\r
+        "y": 973,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e31af50c.926d2"\r
+                "194cc348.04e4bd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d5b9681.b7598",\r
+        "id": "ea169f9.1e78f6",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3234.490966796875,\r
-        "y": 1016.5740356445312,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3479.490966796875,\r
+        "y": 1015.5740356445312,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4fc1bcc7.eeb784"\r
+                "9dbcf7c3.d03228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e8be76c.59d528",\r
+        "id": "b37256ee.6a59a",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3223,\r
-        "y": 1063,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3468,\r
+        "y": 1062,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ac4a57cf.bef8e8"\r
+                "78909f5b.c256b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4fc1bcc7.eeb784",\r
+        "id": "9dbcf7c3.d03228",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3388.0623779296875,\r
-        "y": 1019.8597717285156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3633.0623779296875,\r
+        "y": 1018.8597717285156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ac4a57cf.bef8e8",\r
+        "id": "78909f5b.c256b8",\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": 3392,\r
-        "y": 1064,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3637,\r
+        "y": 1063,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d860cdb2.412c48",\r
+        "id": "f8cee9a2.f0a618",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2745,\r
-        "y": 931,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2990,\r
+        "y": 930,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "62113903.77ec78",\r
-                "c9fe9947.c06348"\r
+                "bd63f21f.6d97a",\r
+                "bcdc8dc3.72d61"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d30e3d8d.09cef8",\r
+        "id": "e3f74bb4.409b5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2735,\r
-        "y": 1618.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2980,\r
+        "y": 1617.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4ecc6dae.def654",\r
-                "669a0eda.d8f578"\r
+                "d9529ce2.4ca64",\r
+                "68b3ff1a.0849f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1006da4.a872e",\r
+        "id": "1bc4a1b0.e8f4e6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3365.66650390625,\r
-        "y": 1809,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3610.66650390625,\r
+        "y": 1808,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a3aca2eb.21f5a8",\r
-                "d3723bfd.d9b168",\r
-                "d3c0c42f.4b437",\r
-                "2512774e.7c83b8",\r
-                "d281a70f.336618"\r
+                "6b02eeb7.bc53e8",\r
+                "aa3dffa0.a80a58",\r
+                "ce63ac06.8bd44",\r
+                "c950727d.3e1368",\r
+                "83539382.7676b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9dbe459.2e8d58",\r
+        "id": "206889a2.ad62d6",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3193,\r
-        "y": 1810,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3438,\r
+        "y": 1809,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a1006da4.a872e"\r
+                "1bc4a1b0.e8f4e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dab2f9a8.cea26",\r
+        "id": "eceddf53.8343c8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3202.490966796875,\r
-        "y": 1852.5740356445312,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3447.490966796875,\r
+        "y": 1851.5740356445312,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6f793776.f883f"\r
+                "89316d2b.d76a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5d094cc.fe5d68",\r
+        "id": "9f6e2dae.f13bd8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3191,\r
-        "y": 1899,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3436,\r
+        "y": 1898,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f383fe68.3b83"\r
+                "ff7b6926.fc1f5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6f793776.f883f",\r
+        "id": "89316d2b.d76a7",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3356.0623779296875,\r
-        "y": 1855.8597717285156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3601.0623779296875,\r
+        "y": 1854.8597717285156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f383fe68.3b83",\r
+        "id": "ff7b6926.fc1f5",\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": 3360,\r
-        "y": 1900,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3605,\r
+        "y": 1899,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c203b1ea.86f6c",\r
+        "id": "e0f54a30.b97458",\r
         "type": "execute",\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.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3662,\r
-        "y": 957,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3907,\r
+        "y": 956,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6fb08f41.de4d4",\r
-                "183e3f66.48a0d1"\r
+                "8a48ffc4.99708",\r
+                "9768c48e.e91b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "183e3f66.48a0d1",\r
+        "id": "9768c48e.e91b5",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3885,\r
-        "y": 912,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4130,\r
+        "y": 911,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e55834d1.3ca1b8"\r
+                "704965d2.1b9644"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6fb08f41.de4d4",\r
+        "id": "8a48ffc4.99708",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3887,\r
-        "y": 976,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4132,\r
+        "y": 975,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f45e344f.88a748"\r
+                "5140e6b9.7a9158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5bf466f.7bcdb98",\r
+        "id": "b8a9d793.4e0ca",\r
         "type": "set",\r
         "name": "set ltpId",\r
         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
         "comments": "",\r
-        "x": 4220,\r
-        "y": 870,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4465,\r
+        "y": 866,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f45e344f.88a748",\r
+        "id": "5140e6b9.7a9158",\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": 4049,\r
-        "y": 972,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4294,\r
+        "y": 971,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e55834d1.3ca1b8",\r
+        "id": "704965d2.1b9644",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4050,\r
-        "y": 909,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4295,\r
+        "y": 908,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "194d0d3d.11557b",\r
-                "5bf466f.7bcdb98"\r
+                "c30e1911.559b98",\r
+                "b8a9d793.4e0ca"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "194d0d3d.11557b",\r
+        "id": "c30e1911.559b98",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
         "comments": "",\r
-        "x": 4221,\r
-        "y": 975,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4466,\r
+        "y": 974,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dd1a9ea9.6d631",\r
+        "id": "6b71df66.ebc0e",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
         "comments": "",\r
-        "x": 4222,\r
-        "y": 924,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4467,\r
+        "y": 923,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d25d92f.6f798",\r
+        "id": "2d7aee5e.4b3492",\r
         "type": "save",\r
         "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3664,\r
-        "y": 1116,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3909,\r
+        "y": 1115,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d4cb3bd3.a349c8",\r
+        "id": "6e8fe0e8.771d7",\r
         "type": "execute",\r
         "name": "execute UUID generator for connectivity domainA",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3709,\r
-        "y": 1026,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3954,\r
+        "y": 1025,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6324b9d6.c58fe",\r
+        "id": "703a6ba5.55da1c",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
         "comments": "",\r
-        "x": 3598,\r
-        "y": 1067,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3843,\r
+        "y": 1066,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a3aca2eb.21f5a8",\r
+        "id": "6b02eeb7.bc53e8",\r
         "type": "execute",\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.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3652,\r
-        "y": 1813.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3897,\r
+        "y": 1812.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "37186f70.3d57",\r
-                "4ffb9846.2cd768"\r
+                "866b6a8.23d5e98",\r
+                "cb5f1ada.6b67f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ffb9846.2cd768",\r
+        "id": "cb5f1ada.6b67f",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3875,\r
-        "y": 1768.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4120,\r
+        "y": 1767.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "17371f4a.955d61"\r
+                "e1a14a86.388a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37186f70.3d57",\r
+        "id": "866b6a8.23d5e98",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3877,\r
-        "y": 1832.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4122,\r
+        "y": 1831.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1981566c.49d212"\r
+                "e3367ed2.f52b78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17f707eb.a2a908",\r
+        "id": "c05c0482.6a0aa8",\r
         "type": "set",\r
         "name": "set ltpId",\r
         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
         "comments": "",\r
-        "x": 4210,\r
-        "y": 1726.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4455,\r
+        "y": 1725.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1981566c.49d212",\r
+        "id": "e3367ed2.f52b78",\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": 4036,\r
-        "y": 1851.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4281,\r
+        "y": 1850.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "17371f4a.955d61",\r
+        "id": "e1a14a86.388a08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4040,\r
-        "y": 1765.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4285,\r
+        "y": 1764.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "17f707eb.a2a908",\r
-                "ca2d1022.cf4e88"\r
+                "c05c0482.6a0aa8",\r
+                "6625860d.59cf58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca2d1022.cf4e88",\r
+        "id": "6625860d.59cf58",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
         "comments": "",\r
-        "x": 4211,\r
-        "y": 1831.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4456,\r
+        "y": 1830.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8cfd8f17.95a8e",\r
+        "id": "3d78f64a.35443a",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
         "comments": "",\r
-        "x": 4206,\r
-        "y": 1780.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4451,\r
+        "y": 1779.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d3c0c42f.4b437",\r
+        "id": "ce63ac06.8bd44",\r
         "type": "save",\r
         "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3654,\r
-        "y": 1972.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3899,\r
+        "y": 1971.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d3723bfd.d9b168",\r
+        "id": "aa3dffa0.a80a58",\r
         "type": "execute",\r
         "name": "execute UUID generator for connectivity domainB",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3699,\r
-        "y": 1882.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3944,\r
+        "y": 1881.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1765f0ec.e922ff",\r
+        "id": "de57e045.5d324",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
         "comments": "",\r
-        "x": 3588,\r
-        "y": 1920.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3833,\r
+        "y": 1919.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "79e86730.1965c8",\r
+        "id": "63c0978f.6d4218",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2563,\r
-        "y": 2047,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2825,\r
+        "y": 2386,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4f1b84d7.aafb5c",\r
+        "id": "256b3f1a.6b05f8",\r
         "type": "set",\r
         "name": "set attachment_param",\r
         "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
         "comments": "",\r
-        "x": 2357,\r
-        "y": 1987,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2623,\r
+        "y": 2265,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3db83432.384b6c",\r
+        "id": "8870d8f4.24b26",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
         "comments": "",\r
-        "x": 2331,\r
-        "y": 1940,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2589,\r
+        "y": 2199,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7ca2c5af.473d34",\r
-        "type": "save",\r
-        "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2439,\r
-        "y": 2206,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "57191dce.959cfc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "28a40435.4178ec",\r
-        "type": "save",\r
-        "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2442.5,\r
-        "y": 2276,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "82428356.c63018",\r
-        "type": "save",\r
-        "name": "save srcLTP relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3090.5,\r
-        "y": 2195,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "356966b3.03f20a",\r
-        "type": "save",\r
-        "name": "save dstLTP relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3092.5,\r
-        "y": 2234,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a5aee8f6.ab5e58",\r
+        "id": "d2697672.e5142",\r
         "type": "save",\r
         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3792,\r
-        "y": 1164,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4037,\r
+        "y": 1163,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2512774e.7c83b8",\r
+        "id": "c950727d.3e1368",\r
         "type": "save",\r
         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3781,\r
-        "y": 2037.0001220703125,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "57191dce.959cfc",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2739,\r
-        "y": 2213,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "dcb72301.82c018"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dcb72301.82c018",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2879.500244140625,\r
-        "y": 2214.25390625,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "6975c99d.325498",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3127,\r
-        "y": 2154,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e85b69e.5211998",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2406,\r
-        "y": 2166,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b46ca414.99697",\r
-        "type": "save",\r
-        "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2442,\r
-        "y": 2494,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "e64b3d38.e980a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "58f4ff2f.89d75",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3130,\r
-        "y": 2434,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "cad39d05.aea5f",\r
-        "type": "save",\r
-        "name": "save srcLTP relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3093.5,\r
-        "y": 2475,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "489163b9.d640b4",\r
-        "type": "save",\r
-        "name": "save dstLTP relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3095.5,\r
-        "y": 2514,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d0ea482.a9901b8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2882.500244140625,\r
-        "y": 2494.25390625,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e64b3d38.e980a",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2742,\r
-        "y": 2493,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "d0ea482.a9901b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9cd3d1db.fb7ce8",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2422,\r
-        "y": 2454,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "57fdafb2.9eec08",\r
-        "type": "save",\r
-        "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2440.5,\r
-        "y": 2534,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4026,\r
+        "y": 2036.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "aa4b663b.c9d06",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME:",\r
-        "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
-        "comments": "",\r
-        "x": 2314,\r
-        "y": 2617,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fc2a7bf0.e878b",\r
-        "type": "set",\r
-        "name": "set attachment_param domain A",\r
-        "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
-        "comments": "",\r
-        "x": 2379,\r
-        "y": 2662,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2c916faf.da498",\r
+        "id": "2cb22463.a9a10c",\r
         "type": "execute",\r
         "name": "get 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 = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4836,\r
-        "y": 684,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5081,\r
+        "y": 683,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "883ac008.74f89",\r
-                "6cf958ca.c3e4a8",\r
-                "e70b241a.97d7e8"\r
+                "4afa0297.0e92ec",\r
+                "f0a2c2cf.76f7c",\r
+                "78f72703.090dd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "14dca185.e1b46e",\r
+        "id": "8e0be879.699538",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2389,\r
-        "y": 340,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2634,\r
+        "y": 339,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8a257359.8a7208"\r
+                "c6b29f32.96c43"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e1ac55d9.d865b8",\r
+        "id": "926dbaa7.515a7",\r
         "type": "outcome",\r
         "name": "logical-link",\r
         "xml": "<outcome value='logical-link'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1319.0001220703125,\r
-        "y": 757.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1564.0001220703125,\r
+        "y": 756.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f6ec4c40.65362"\r
+                "aa0dd611.39e8d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "14b8fde.fcc1702",\r
+        "id": "3fd9bf5c.04e708",\r
         "type": "switchNode",\r
         "name": "switch allotted-resource.relationship-list not empty",\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2057,\r
-        "y": 463,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2302,\r
+        "y": 462,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e65ebebd.579d6",\r
-                "32fc4868.fa2b8"\r
+                "2b043a11.143596",\r
+                "d91f0f1e.b29778"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "32fc4868.fa2b8",\r
+        "id": "d91f0f1e.b29778",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2367,\r
-        "y": 470,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2612,\r
+        "y": 469,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e65ebebd.579d6",\r
+        "id": "2b043a11.143596",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2366,\r
-        "y": 524,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2611,\r
+        "y": 523,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c14b8719.903d8"\r
+                "53404fc0.a38be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "badc6972.d68008",\r
+        "id": "dd4dd108.7ed66",\r
         "type": "set",\r
-        "name": "set the 1st logical-link-name",\r
+        "name": "set the current logical-link-name",\r
         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 1739,\r
-        "y": 707,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1984,\r
+        "y": 706,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f6ec4c40.65362",\r
+        "id": "aa0dd611.39e8d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1496,\r
-        "y": 750,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1741,\r
+        "y": 749,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "badc6972.d68008",\r
-                "6e843ab.3582ec4"\r
+                "dd4dd108.7ed66",\r
+                "358e179e.99b9f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76aa64b6.332a54",\r
+        "id": "50481ed8.b97c38",\r
         "type": "comment",\r
         "name": "Question?",\r
         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
         "comments": "",\r
-        "x": 2925,\r
-        "y": 936,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3170,\r
+        "y": 935,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "62113903.77ec78",\r
+        "id": "bd63f21f.6d97a",\r
         "type": "save",\r
         "name": "get p-interface-src from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2968,\r
-        "y": 1001,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3213,\r
+        "y": 1000,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b7824d8a.d2e4f8",\r
-                "5d5b9681.b7598",\r
-                "6e8be76c.59d528"\r
+                "c1db8d6e.967fa8",\r
+                "ea169f9.1e78f6",\r
+                "b37256ee.6a59a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ecc6dae.def654",\r
+        "id": "d9529ce2.4ca64",\r
         "type": "save",\r
         "name": "get p-interface-dst from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2965,\r
-        "y": 1845,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3210,\r
+        "y": 1844,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c9dbe459.2e8d58",\r
-                "dab2f9a8.cea26",\r
-                "f5d094cc.fe5d68"\r
+                "206889a2.ad62d6",\r
+                "eceddf53.8343c8",\r
+                "9f6e2dae.f13bd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6f6e53ed.b087ec",\r
+        "id": "2cacaea3.bdcdca",\r
         "type": "comment",\r
         "name": "Question?",\r
         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
         "comments": "",\r
-        "x": 2926,\r
-        "y": 1789,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3171,\r
+        "y": 1788,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8a257359.8a7208",\r
+        "id": "c6b29f32.96c43",\r
         "type": "save",\r
         "name": "get allotted-resource relationship from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2682,\r
-        "y": 287,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2927,\r
+        "y": 286,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8ea1434f.746858",\r
-                "f2d8ff7.3c8d5",\r
-                "a6d32e01.02e81"\r
+                "9de6915b.b19d38",\r
+                "e8ebc1b6.d4d34",\r
+                "e6a28fa6.880708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2d8ff7.3c8d5",\r
+        "id": "e8ebc1b6.d4d34",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2955.490966796875,\r
-        "y": 179.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3200.490966796875,\r
+        "y": 178.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b85ff289.1649f"\r
+                "b49d6ada.3dcaf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b85ff289.1649f",\r
+        "id": "b49d6ada.3dcaf8",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3133.0625,\r
-        "y": 179.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3378.0625,\r
+        "y": 178.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6d32e01.02e81",\r
+        "id": "e6a28fa6.880708",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2951,\r
-        "y": 229,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3196,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "381f7f5a.80d3f8"\r
+                "d8c17b5e.5b6d48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "381f7f5a.80d3f8",\r
+        "id": "d8c17b5e.5b6d48",\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": 3133,\r
-        "y": 229,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3378,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8ea1434f.746858",\r
+        "id": "9de6915b.b19d38",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2955,\r
-        "y": 280,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3200,\r
+        "y": 279,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6ca45b0b.848dec"\r
+                "54518182.0b0878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ca45b0b.848dec",\r
+        "id": "54518182.0b0878",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3135,\r
-        "y": 280,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3380,\r
+        "y": 279,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "14b8fde.fcc1702"\r
+                "3fd9bf5c.04e708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40603cb7.607bc4",\r
+        "id": "62e6aba8.2c101c",\r
         "type": "for",\r
         "name": "for each allotted-resource relationship",\r
         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2626,\r
-        "y": 504,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2871,\r
+        "y": 503,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4e667cbe.69222c"\r
+                "ce3eb436.d43a6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e667cbe.69222c",\r
+        "id": "ce3eb436.d43a6",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2906,\r
-        "y": 504,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3151,\r
+        "y": 503,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e1ac55d9.d865b8"\r
+                "926dbaa7.515a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13452ae4.22e4ad",\r
+        "id": "7737916f.9448f",\r
         "type": "outcome",\r
         "name": "network-policy",\r
         "xml": "<outcome value='network-policy'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3111,\r
-        "y": 478,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3356,\r
+        "y": 477,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "245f45af.4ae9da"\r
+                "9c3216ab.adc2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "245f45af.4ae9da",\r
+        "id": "9c3216ab.adc2a8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3287.9998779296875,\r
-        "y": 470.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3532.9998779296875,\r
+        "y": 469.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "868607a4.e796b",\r
-                "3bdb9c7c.d6977c"\r
+                "6ca4307d.28f77",\r
+                "15dd1089.866707"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "868607a4.e796b",\r
+        "id": "6ca4307d.28f77",\r
         "type": "set",\r
         "name": "set the 1st network-policy-id",\r
         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3530.9998779296875,\r
-        "y": 427.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3775.9998779296875,\r
+        "y": 426.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3bdb9c7c.d6977c",\r
+        "id": "15dd1089.866707",\r
         "type": "save",\r
         "name": "get network-policy from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3519.9998779296875,\r
-        "y": 482.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3764.9998779296875,\r
+        "y": 481.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "11d90691.38b7b1",\r
-                "e5aaddec.aca59",\r
-                "6698da7a.77b3bc"\r
+                "af36166d.ada238",\r
+                "d07a4cd5.ac3678",\r
+                "65922e69.a77b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6698da7a.77b3bc",\r
+        "id": "65922e69.a77b18",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3773,\r
-        "y": 369,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4018,\r
+        "y": 368,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e904e6fc.1061a"\r
+                "1424d407.3a5b34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e904e6fc.1061a",\r
+        "id": "1424d407.3a5b34",\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.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3921.571533203125,\r
-        "y": 369.2857666015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4166.571533203125,\r
+        "y": 368.2857666015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4975bc8f.93ecdc",\r
+        "id": "e640c3b9.1f16d",\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": 3920.509033203125,\r
-        "y": 413.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4165.509033203125,\r
+        "y": 412.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e5aaddec.aca59",\r
+        "id": "d07a4cd5.ac3678",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3761.509033203125,\r
-        "y": 413.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4006.509033203125,\r
+        "y": 412.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4975bc8f.93ecdc"\r
+                "e640c3b9.1f16d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11d90691.38b7b1",\r
+        "id": "af36166d.ada238",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3768.509033203125,\r
-        "y": 492.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4013.509033203125,\r
+        "y": 491.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3b14af19.ae1128"\r
+                "3b605de0.ec3a52"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b14af19.ae1128",\r
+        "id": "3b605de0.ec3a52",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3907.509033203125,\r
-        "y": 492.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4152.509033203125,\r
+        "y": 491.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "70ed97b5.dc1c9",\r
-                "c2e43483.a12bd"\r
+                "e719047d.96b1f",\r
+                "36ea936c.0d2d9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70ed97b5.dc1c9",\r
+        "id": "e719047d.96b1f",\r
         "type": "set",\r
         "name": "set the max bandwidth",\r
         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
         "comments": "",\r
-        "x": 4113,\r
-        "y": 490,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4358,\r
+        "y": 489,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c9fe9947.c06348",\r
+        "id": "bcdc8dc3.72d61",\r
         "type": "execute",\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.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2969,\r
-        "y": 671,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3214,\r
+        "y": 670,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "78baed3e.c501f4",\r
-                "120f1ac.ca76ae5"\r
+                "88359d7a.204d2",\r
+                "184f5811.e1748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "120f1ac.ca76ae5",\r
+        "id": "184f5811.e1748",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3192,\r
-        "y": 657,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3437,\r
+        "y": 656,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "40ab4c81.445cd4"\r
+                "65b8cca9.2ac444"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78baed3e.c501f4",\r
+        "id": "88359d7a.204d2",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3194,\r
-        "y": 690,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3439,\r
+        "y": 689,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9d068c67.4598d"\r
+                "776eb0a5.2fd87"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d068c67.4598d",\r
+        "id": "776eb0a5.2fd87",\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": 3337,\r
-        "y": 687,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3582,\r
+        "y": 686,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "40ab4c81.445cd4",\r
+        "id": "65b8cca9.2ac444",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3340,\r
-        "y": 650,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3585,\r
+        "y": 649,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e718de2c.ab002",\r
-                "68fbd6c1.ad0448"\r
+                "2397aa3a.45e876",\r
+                "c5b3bcfd.d10508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e718de2c.ab002",\r
+        "id": "2397aa3a.45e876",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
         "comments": "",\r
-        "x": 3502,\r
-        "y": 645,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3747,\r
+        "y": 644,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "669a0eda.d8f578",\r
+        "id": "68b3ff1a.0849f",\r
         "type": "execute",\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.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2983,\r
-        "y": 1507.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3228,\r
+        "y": 1506.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3eeffc60.cab244",\r
-                "163d6add.444455"\r
+                "6fc92ae0.49bd04",\r
+                "59f072e2.0b71ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "163d6add.444455",\r
+        "id": "59f072e2.0b71ec",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3206,\r
-        "y": 1493.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3451,\r
+        "y": 1492.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2e1531f5.2b244e"\r
+                "a6cfeb0c.ecbd1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3eeffc60.cab244",\r
+        "id": "6fc92ae0.49bd04",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3208,\r
-        "y": 1526.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3453,\r
+        "y": 1525.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bb0d91d9.020e4"\r
+                "862c14a1.8553d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb0d91d9.020e4",\r
+        "id": "862c14a1.8553d8",\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": 3351,\r
-        "y": 1523.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3596,\r
+        "y": 1522.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2e1531f5.2b244e",\r
+        "id": "a6cfeb0c.ecbd1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3354,\r
-        "y": 1486.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3599,\r
+        "y": 1485.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "dd9519ef.d4213",\r
-                "54817df4.67d484"\r
+                "9265a5e9.075d5",\r
+                "3387bb2a.b4fa7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd9519ef.d4213",\r
+        "id": "9265a5e9.075d5",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
         "comments": "",\r
-        "x": 3548,\r
-        "y": 1490,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3793,\r
+        "y": 1489,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ac58016f.1c2c1",\r
+        "id": "4430b278.87d9ac",\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' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1094,\r
-        "y": 216,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "260f00b5.585908",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for vpn-binding domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2445,\r
-        "y": 2128,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "134248ca.e0fa77",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for vpn-binding domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2443,\r
-        "y": 2416,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1057,\r
+        "y": 194,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c830d981.aee038",\r
+        "id": "c6965465.aeb14",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3616,\r
-        "y": 1241,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3861,\r
+        "y": 1240,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4f78d00a.39ba68"\r
+                "d7da00cb.9e6198"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f78d00a.39ba68",\r
+        "id": "d7da00cb.9e6198",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3822,\r
-        "y": 1241,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4067,\r
+        "y": 1240,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "489cbbcb.77186c"\r
+                "3e41f9e9.7f65b6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "489cbbcb.77186c",\r
+        "id": "3e41f9e9.7f65b6",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4037.28564453125,\r
-        "y": 1240.82177734375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4282.28564453125,\r
+        "y": 1239.82177734375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3bbad5a.8ec85aa"\r
+                "8a860c24.fed68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bbad5a.8ec85aa",\r
+        "id": "8a860c24.fed68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4244.1171875,\r
-        "y": 1241.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4489.1171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cf0eeee3.8d6188",\r
-                "80da6c7c.bf9bc",\r
-                "4327bba4.ea16c4"\r
+                "377e7af0.ac592e",\r
+                "9af75c5e.34aa1",\r
+                "ad2bdd99.5817d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf0eeee3.8d6188",\r
+        "id": "377e7af0.ac592e",\r
         "type": "set",\r
         "name": "set source ttp-id",\r
         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4459.1171875,\r
-        "y": 1203.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4704.1171875,\r
+        "y": 1202.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "80da6c7c.bf9bc",\r
+        "id": "9af75c5e.34aa1",\r
         "type": "get-resource",\r
         "name": "get-resource src TTP",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4456.1171875,\r
-        "y": 1242.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4701.1171875,\r
+        "y": 1241.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "54d57ef.0aa16"\r
+                "817cb438.99e4a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4327bba4.ea16c4",\r
+        "id": "ad2bdd99.5817d",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4411.6171875,\r
-        "y": 1284.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4656.6171875,\r
+        "y": 1283.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "54d57ef.0aa16",\r
+        "id": "817cb438.99e4a8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4636.6171875,\r
-        "y": 1241.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4881.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "136083ca.f8ed24"\r
+                "4eac437.160bcbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "136083ca.f8ed24",\r
+        "id": "4eac437.160bcbc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4794.6171875,\r
-        "y": 1241.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5039.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "43a5fa3.d0c2504"\r
+                "602a09ac.ab98b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43a5fa3.d0c2504",\r
+        "id": "602a09ac.ab98b8",\r
         "type": "set",\r
         "name": "set source tunnel tp ip",\r
         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 5001.6171875,\r
-        "y": 1241.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5246.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d281a70f.336618",\r
+        "id": "83539382.7676b8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3613,\r
-        "y": 2110.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3858,\r
+        "y": 2109.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "21553f06.14bad"\r
+                "5579dfc7.be27d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21553f06.14bad",\r
+        "id": "5579dfc7.be27d",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3819,\r
-        "y": 2110.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4064,\r
+        "y": 2109.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d5a45fe2.8cbaf"\r
+                "901fbdc2.3ee4d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5a45fe2.8cbaf",\r
+        "id": "901fbdc2.3ee4d",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4034.28564453125,\r
-        "y": 2109.8218994140625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4279.28564453125,\r
+        "y": 2108.8218994140625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3432450f.73fd1a"\r
+                "2e4b86b2.9caae2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3432450f.73fd1a",\r
+        "id": "2e4b86b2.9caae2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4241.1171875,\r
-        "y": 2110.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4486.1171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4d1b045c.8befb4",\r
-                "ff4bcdcd.b592",\r
-                "82369db7.8fbd4"\r
+                "bc60382f.b0361",\r
+                "b3a5cd52.d83f2",\r
+                "ee9aa3b3.89ca4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d1b045c.8befb4",\r
+        "id": "bc60382f.b0361",\r
         "type": "set",\r
         "name": "set destination ttp-id",\r
         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4456.1171875,\r
-        "y": 2072.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4701.1171875,\r
+        "y": 2071.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ff4bcdcd.b592",\r
+        "id": "b3a5cd52.d83f2",\r
         "type": "get-resource",\r
         "name": "get-resource src TTP",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4453.1171875,\r
-        "y": 2111.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4698.1171875,\r
+        "y": 2110.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a8f23d1f.d221e8"\r
+                "93e41626.124d78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82369db7.8fbd4",\r
+        "id": "ee9aa3b3.89ca4",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4408.6171875,\r
-        "y": 2153.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4653.6171875,\r
+        "y": 2152.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a8f23d1f.d221e8",\r
+        "id": "93e41626.124d78",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4633.6171875,\r
-        "y": 2110.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4878.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "403d184.8f53468"\r
+                "6ea99290.2aa4d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "403d184.8f53468",\r
+        "id": "6ea99290.2aa4d4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4791.6171875,\r
-        "y": 2110.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5036.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c7d0f697.2aea68"\r
+                "a95428e7.14cad"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7d0f697.2aea68",\r
+        "id": "a95428e7.14cad",\r
         "type": "set",\r
         "name": "set destination tunnel tp ip",\r
         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 4998.6171875,\r
-        "y": 2110.3404541015625,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "84749d0f.3038c8",\r
-        "type": "set",\r
-        "name": "set attachment_param domain B",\r
-        "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
-        "comments": "",\r
-        "x": 2374,\r
-        "y": 3037,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5243.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "68fbd6c1.ad0448",\r
+        "id": "c5b3bcfd.d10508",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3529,\r
-        "y": 717,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3774,\r
+        "y": 716,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "69417d44.afb3fc",\r
-                "a15ac77e.798db8",\r
-                "3a89038d.704134"\r
+                "8e60f4cf.82fba",\r
+                "2cad2896.c9df4",\r
+                "335dceb2.9bab72"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69417d44.afb3fc",\r
+        "id": "8e60f4cf.82fba",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3724.5001220703125,\r
-        "y": 669,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3969.5001220703125,\r
+        "y": 668,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "138b37c3.968d8"\r
+                "7a06334d.9731e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a15ac77e.798db8",\r
+        "id": "2cad2896.c9df4",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3716.5001220703125,\r
-        "y": 724,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3961.5001220703125,\r
+        "y": 723,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5742f10e.dadab8"\r
+                "17051d0f.c52e53"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3a89038d.704134",\r
+        "id": "335dceb2.9bab72",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3721.5001220703125,\r
-        "y": 781,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3966.5001220703125,\r
+        "y": 780,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "56dfcb3e.f8e3ac"\r
+                "328eeb2e.ff715c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56dfcb3e.f8e3ac",\r
+        "id": "328eeb2e.ff715c",\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": 3873.5001220703125,\r
-        "y": 782,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4118.5001220703125,\r
+        "y": 781,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5742f10e.dadab8",\r
+        "id": "17051d0f.c52e53",\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": 3884.5001220703125,\r
-        "y": 727,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4129.5001220703125,\r
+        "y": 726,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "138b37c3.968d8",\r
+        "id": "7a06334d.9731e4",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3868.8824462890625,\r
-        "y": 666.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4113.8824462890625,\r
+        "y": 665.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b4d80ee.d93167"\r
+                "89e57d02.e9996"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40dc3d01.0cfddc",\r
+        "id": "c9d4f321.66364",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4451,\r
-        "y": 685,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4696,\r
+        "y": 684,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ce5ec787.25a25"\r
+                "f8e16adc.55ac68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce5ec787.25a25",\r
+        "id": "f8e16adc.55ac68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4628,\r
-        "y": 677,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4873,\r
+        "y": 676,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "deda36.39eb45c8",\r
-                "2c916faf.da498"\r
+                "f8c4bbbd.612dc",\r
+                "2cb22463.a9a10c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b4d80ee.d93167",\r
+        "id": "89e57d02.e9996",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4053,\r
-        "y": 681,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4298,\r
+        "y": 680,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "83a731e6.aee9d8"\r
+                "ffc907a3.634c3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83a731e6.aee9d8",\r
+        "id": "ffc907a3.634c3",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4248,\r
-        "y": 681,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4493,\r
+        "y": 680,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "40dc3d01.0cfddc",\r
-                "556c2535.2cf6f4"\r
+                "c9d4f321.66364",\r
+                "d8e84e3d.259878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "deda36.39eb45c8",\r
+        "id": "f8c4bbbd.612dc",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainA id",\r
         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4866,\r
-        "y": 632,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5111,\r
+        "y": 631,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "883ac008.74f89",\r
+        "id": "4afa0297.0e92ec",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5046,\r
-        "y": 675,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5291,\r
+        "y": 674,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5bb6445.b0cb1bc"\r
+                "ba53a591.c08868"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6cf958ca.c3e4a8",\r
+        "id": "f0a2c2cf.76f7c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5038,\r
-        "y": 730,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5283,\r
+        "y": 729,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f6420bc8.c6108"\r
+                "3a442fd2.17b8b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e70b241a.97d7e8",\r
+        "id": "78f72703.090dd8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5043,\r
-        "y": 787,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5288,\r
+        "y": 786,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e90b6e53.2dc61"\r
+                "3131a765.52f598"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e90b6e53.2dc61",\r
+        "id": "3131a765.52f598",\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": 5195,\r
-        "y": 788,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5440,\r
+        "y": 787,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f6420bc8.c6108",\r
+        "id": "3a442fd2.17b8b8",\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": 5206,\r
-        "y": 733,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5451,\r
+        "y": 732,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5bb6445.b0cb1bc",\r
+        "id": "ba53a591.c08868",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5190.38232421875,\r
-        "y": 672.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5435.38232421875,\r
+        "y": 671.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "36dcfa67.508606"\r
+                "280c0a87.0e105e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "36dcfa67.508606",\r
+        "id": "280c0a87.0e105e",\r
         "type": "set",\r
         "name": "set controller domainA data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.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": 5405,\r
-        "y": 669,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5650,\r
+        "y": 668,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "54817df4.67d484",\r
+        "id": "3387bb2a.b4fa7c",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3570,\r
-        "y": 1558,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3815,\r
+        "y": 1557,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "12332a8b.1f458d",\r
-                "e70d4463.7fed78",\r
-                "9e28dd86.32b368"\r
+                "4d61cd16.0abdfc",\r
+                "83252466.aa101",\r
+                "a13a024e.f66fb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12332a8b.1f458d",\r
+        "id": "4d61cd16.0abdfc",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3765.5001220703125,\r
-        "y": 1510,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4010.5001220703125,\r
+        "y": 1509,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "97851436.c0f798"\r
+                "45754d39.0b500c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e70d4463.7fed78",\r
+        "id": "83252466.aa101",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3757.5001220703125,\r
-        "y": 1565,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4002.5001220703125,\r
+        "y": 1564,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9865196d.c10828"\r
+                "7042d1e3.edb1d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e28dd86.32b368",\r
+        "id": "a13a024e.f66fb",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3762.5001220703125,\r
-        "y": 1622,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4007.5001220703125,\r
+        "y": 1621,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1636bf8.c7b9e41"\r
+                "67ddb18b.39ea7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1636bf8.c7b9e41",\r
+        "id": "67ddb18b.39ea7",\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": 3914.5001220703125,\r
-        "y": 1623,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4159.5001220703125,\r
+        "y": 1622,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9865196d.c10828",\r
+        "id": "7042d1e3.edb1d",\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": 3925.5001220703125,\r
-        "y": 1568,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4170.5001220703125,\r
+        "y": 1567,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "97851436.c0f798",\r
+        "id": "45754d39.0b500c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3909.8824462890625,\r
-        "y": 1507.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4154.8824462890625,\r
+        "y": 1506.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "601870d2.2269c8"\r
+                "f1a969ab.50fa7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "358b8a93.9adabe",\r
+        "id": "e2a984cd.aa357",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4492,\r
-        "y": 1526,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4737,\r
+        "y": 1525,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f1454db6.8dcaf8"\r
+                "3a9f2f8b.e28ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f1454db6.8dcaf8",\r
+        "id": "3a9f2f8b.e28ed",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4669,\r
-        "y": 1518,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4914,\r
+        "y": 1517,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1806e2c2.14485d",\r
-                "8cb20d6f.760bf"\r
+                "53b7b7ea.79ccb8",\r
+                "abc0256.22d4b58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "601870d2.2269c8",\r
+        "id": "f1a969ab.50fa7",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4094,\r
-        "y": 1522,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4339,\r
+        "y": 1521,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4732f224.c95254"\r
+                "f0d37653.530e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4732f224.c95254",\r
+        "id": "f0d37653.530e5",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4289,\r
-        "y": 1522,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4534,\r
+        "y": 1521,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "358b8a93.9adabe",\r
-                "3beefc43.434434"\r
+                "e2a984cd.aa357",\r
+                "19b04051.d11648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8cb20d6f.760bf",\r
+        "id": "abc0256.22d4b58",\r
         "type": "execute",\r
         "name": "get 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 = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4877,\r
-        "y": 1525,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5122,\r
+        "y": 1524,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c4071110.82806",\r
-                "ce108d7.ad4977",\r
-                "c040099f.13bbf8"\r
+                "ee461c39.fc6a98",\r
+                "85f503dc.f3ae58",\r
+                "2cdb4338.f53074"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1806e2c2.14485d",\r
+        "id": "53b7b7ea.79ccb8",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainB id",\r
         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4907,\r
-        "y": 1473,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5152,\r
+        "y": 1472,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c4071110.82806",\r
+        "id": "ee461c39.fc6a98",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5087,\r
-        "y": 1516,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5332,\r
+        "y": 1515,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c3f3513e.3d36c"\r
+                "bc865963.b711a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce108d7.ad4977",\r
+        "id": "85f503dc.f3ae58",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5079,\r
-        "y": 1571,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5324,\r
+        "y": 1570,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "98979539.818688"\r
+                "f79338ab.92167"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c040099f.13bbf8",\r
+        "id": "2cdb4338.f53074",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5084,\r
-        "y": 1628,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5329,\r
+        "y": 1627,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "45d3d695.c0cf2"\r
+                "bfc5b714.cbe288"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "45d3d695.c0cf2",\r
+        "id": "bfc5b714.cbe288",\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": 5236,\r
-        "y": 1629,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5481,\r
+        "y": 1628,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98979539.818688",\r
+        "id": "f79338ab.92167",\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": 5247,\r
-        "y": 1574,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5492,\r
+        "y": 1573,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c3f3513e.3d36c",\r
+        "id": "bc865963.b711a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5231.38232421875,\r
-        "y": 1513.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5476.38232421875,\r
+        "y": 1512.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "90464df.06ab9b"\r
+                "6cd4d323.819c7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "90464df.06ab9b",\r
+        "id": "6cd4d323.819c7c",\r
         "type": "set",\r
         "name": "set controller domainB data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.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": 5446,\r
-        "y": 1510,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5691,\r
+        "y": 1509,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a5814717.4b953",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode slice creation domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
+        "id": "53404fc0.a38be",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 2720,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2775,\r
+        "y": 449,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2242c3cc.13b1dc",\r
-                "2c8586d6.b70122"\r
+                "62e6aba8.2c101c",\r
+                "9754a6dd.67f03"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c8586d6.b70122",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "9754a6dd.67f03",\r
+        "type": "for",\r
+        "name": "for each allotted-resource relationship",\r
+        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2691,\r
-        "y": 2700,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3056,\r
+        "y": 405,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8e14b997.54e1b8"\r
+                "a377e213.201cf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2242c3cc.13b1dc",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "a377e213.201cf8",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 2750.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3318,\r
+        "y": 405,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "72bda37b.1b4f84"\r
+                "7737916f.9448f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e14b997.54e1b8",\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 slice creation api for domain A\" />\n",\r
+        "id": "d8e84e3d.259878",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
-        "x": 2831.0002479553223,\r
-        "y": 2700.0000009536743,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 4699,\r
+        "y": 758,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "3db61f55.c940b"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "72bda37b.1b4f84",\r
+        "id": "3db61f55.c940b",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4876,\r
+        "y": 750,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "c68e6afb.37cad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c68e6afb.37cad8",\r
+        "type": "set",\r
+        "name": "set domainA ethernet layer network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5111,\r
+        "y": 874,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "70ffeb00.3c6c1c",\r
+        "type": "set",\r
+        "name": "set domainB ethernet layer network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5151,\r
+        "y": 1714,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce30230.018a56",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4916,\r
+        "y": 1590,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "70ffeb00.3c6c1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19b04051.d11648",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4739,\r
+        "y": 1598,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "ce30230.018a56"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36ea936c.0d2d9c",\r
+        "type": "set",\r
+        "name": "set the max bandwidth",\r
+        "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 4357,\r
+        "y": 535,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "39c2d67.9f1a22a",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for ethernet-service-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2713,\r
+        "y": 669,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6aa9ec.33fa46",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for otn-tunnel-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2694,\r
+        "y": 719,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b75dc28.79bec4",\r
+        "type": "for",\r
+        "name": "for each allotted-resource",\r
+        "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1955,\r
+        "y": 253,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "42ce53ea.f9d9f4",\r
+                "fea2a65.c94cf58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42ce53ea.f9d9f4",\r
+        "type": "set",\r
+        "name": "set the current allotted-resource-id",\r
+        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2235,\r
+        "y": 191,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72dba682.c63c9",\r
+        "type": "set",\r
+        "name": "set query_param",\r
+        "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
+        "comments": "",\r
+        "x": 2604,\r
+        "y": 2318,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b6d1c66.bc0bb4",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 2594,\r
+        "y": 3927,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c32ab13.072304",\r
+        "type": "set",\r
+        "name": "set new ethernet-service-name",\r
+        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2651,\r
+        "y": 764,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35f98555.2ceed2",\r
+        "type": "for",\r
+        "name": "for vidx..tmp.otninfo_length[]",\r
+        "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2639,\r
+        "y": 2494,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "5f7bc0b4.b38de8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3340e53d.b2b492",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3768,\r
+        "y": 2916,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "b711db38.ba184"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bdc0f0f.14fc9",\r
+        "type": "save",\r
+        "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4340.5,\r
+        "y": 3020,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b711db38.ba184",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4074,\r
+        "y": 2915,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "b22521de.818118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b22521de.818118",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4283.5,\r
+        "y": 2915.25390625,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "585cd143.7d2b8",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for vpn-binding $otnidx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3801,\r
+        "y": 2395,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f49c0fd7.2e7c08",\r
+        "type": "switchNode",\r
+        "name": "switch otnidx == 0",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3677,\r
+        "y": 3033,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "fed6bc26.f071a8",\r
+                "1d37d7ca.3763f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fed6bc26.f071a8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3860,\r
+        "y": 3033,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "73494a81.45e24c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d37d7ca.3763f",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3685,\r
+        "y": 3180,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "d3242d0f.9401e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e99682a.c4f64",\r
+        "type": "switchNode",\r
+        "name": "switch otnidx == last",\r
+        "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4026,\r
+        "y": 3261,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "eb362179.9d3068",\r
+                "72ad90f5.140788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb362179.9d3068",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4211,\r
+        "y": 3262,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "9791b470.15bff8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72ad90f5.140788",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4230,\r
+        "y": 3528,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "aff1f53d.8faa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c78f87c4.9bed48",\r
+        "type": "save",\r
+        "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4641,\r
+        "y": 3263,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7d2c7f0.8e25f8",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for connectivity domain otnidx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4715,\r
+        "y": 3561,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d6b059f.4c3bfa",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4651,\r
+        "y": 3612,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d6ca865.871a5",\r
+        "type": "save",\r
+        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4780,\r
+        "y": 3662,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd227f8a.a8638",\r
+        "type": "comment",\r
+        "name": "connectivity has not been created for middle domains, so we have to create one",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4790,\r
+        "y": 3505,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bfa230df.6f6f98",\r
+        "type": "save",\r
+        "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4748,\r
+        "y": 3721,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aff1f53d.8faa",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4387,\r
+        "y": 3529,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "d7d2c7f0.8e25f8",\r
+                "1d6b059f.4c3bfa",\r
+                "3d6ca865.871a5",\r
+                "bfa230df.6f6f98",\r
+                "12522f2b.6fc8b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f7bc0b4.b38de8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2908,\r
+        "y": 2494,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "585cd143.7d2b8",\r
+                "3340e53d.b2b492",\r
+                "f49c0fd7.2e7c08",\r
+                "f42a2589.31a0b",\r
+                "cc8174a8.50b7f",\r
+                "90db4521.56089",\r
+                "7bd1d477.e03354"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e1b8da0.7824b4",\r
+        "type": "set",\r
+        "name": "set attachment_param domain A",\r
+        "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 4265,\r
+        "y": 3077,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5449eb52.31f6ec",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode domainA UNI Coloring",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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": 4318,\r
+        "y": 3121,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "1830f22c.565b16",\r
+                "d371e563.9b53a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d371e563.9b53a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4589,\r
+        "y": 3106,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "e029f2f6.ad875"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1830f22c.565b16",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4587.000213623047,\r
+        "y": 3163.99990940094,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "adfa6667.8c9cb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e029f2f6.ad875",\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 UNI Coloring for domain A\" />\n",\r
+        "comments": "",\r
+        "x": 4729.000247955322,\r
+        "y": 3106.0000009536743,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "adfa6667.8c9cb",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4735.02725982666,\r
+        "y": 3154.745394706726,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "73494a81.45e24c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4001,\r
+        "y": 3023,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "4bdc0f0f.14fc9",\r
+                "5449eb52.31f6ec",\r
+                "4e1b8da0.7824b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9791b470.15bff8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4345,\r
+        "y": 3263,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "c78f87c4.9bed48",\r
+                "96e361f0.0cb568",\r
+                "e43c5196.95971"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e43c5196.95971",\r
+        "type": "set",\r
+        "name": "set attachment_param domain B",\r
+        "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 4565,\r
+        "y": 3307,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "96e361f0.0cb568",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode domainB UNI Coloring",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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": 4616,\r
+        "y": 3351,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "d02e29cf.263e8",\r
+                "ecba049c.afd758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecba049c.afd758",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4879,\r
+        "y": 3331,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "335f23f9.119f0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d02e29cf.263e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4880.000213623047,\r
+        "y": 3381.99990940094,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "49ab66fd.a6d9f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "335f23f9.119f0c",\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 UNI coloring for domain B\" />\n",\r
+        "comments": "",\r
+        "x": 5019.000247955322,\r
+        "y": 3331.0000009536743,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "49ab66fd.a6d9f8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5025.02725982666,\r
+        "y": 3379.745394706726,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "12522f2b.6fc8b1",\r
+        "type": "set",\r
+        "name": "set attachment_param domain otnidx",\r
+        "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "comments": "",\r
+        "x": 4662,\r
+        "y": 3781,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "48979781.1681f8",\r
+        "type": "save",\r
+        "name": "get all-vpn-bindings from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1981,\r
+        "y": 4128,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "c2f0d7a5.dddd68",\r
+                "39032723.2690f8",\r
+                "52e0bd76.c6817c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2f0d7a5.dddd68",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2169,\r
+        "y": 4141,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "ab5cddb1.22da4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39032723.2690f8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2169.490966796875,\r
+        "y": 4186.574035644531,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "14fe4895.b40197"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52e0bd76.c6817c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2167,\r
+        "y": 4230,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "b5248481.e522a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab5cddb1.22da4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2342,\r
+        "y": 4139,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "4470cae1.fbd614"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14fe4895.b40197",\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.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2332.0623779296875,\r
+        "y": 4186.859771728516,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b5248481.e522a",\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": 2334,\r
+        "y": 4229,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d2f9da2.d38694",\r
+        "type": "for",\r
+        "name": "for vidx..tmp.otninfo_length[]",\r
+        "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1970,\r
+        "y": 4319,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "8dfa636a.7429d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e79af240.ca6e5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2780,\r
+        "y": 4319,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "6c6212ef.f90554"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da3d1785.252e3",\r
+        "type": "for",\r
+        "name": "for vidx..tmp.otninfo_length[]",\r
+        "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2552,\r
+        "y": 4319,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "e79af240.ca6e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14ccf193.a7ba36",\r
+        "type": "set",\r
+        "name": "set providerValue",\r
+        "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
+        "comments": "",\r
+        "x": 3672,\r
+        "y": 4086,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ba4980a.a7808",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
+        "comments": "",\r
+        "x": 3974,\r
+        "y": 3212,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d3242d0f.9401e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3809,\r
+        "y": 3187,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "3ba4980a.a7808",\r
+                "e99682a.c4f64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a26db7da.175a4",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+        "comments": "",\r
+        "x": 1929,\r
+        "y": 203,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4470cae1.fbd614",\r
+        "type": "for",\r
+        "name": "for vpnidx in all-vpn-bindings",\r
+        "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2571,\r
+        "y": 4140,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "af51805a.3f6e48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af51805a.3f6e48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2786,\r
+        "y": 4141,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "b29ba493.8896c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de53bb83.199eb",\r
+        "type": "for",\r
+        "name": "for arridx in tmp.arr",\r
+        "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4239,\r
+        "y": 4061,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "204c9a7d.7d28b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aa9ee27.313a08",\r
+        "type": "switchNode",\r
+        "name": "switch $tmp.arr_length != 0",\r
+        "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3705,\r
+        "y": 4141,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "2d961aee.1b3a76",\r
+                "3325a435.f57dbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d961aee.1b3a76",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3901,\r
+        "y": 4111,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "78c69440.64f1a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3325a435.f57dbc",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3902,\r
+        "y": 4182,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "fefe3e36.023678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78c69440.64f1a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4052,\r
+        "y": 4109,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "de53bb83.199eb",\r
+                "8df94468.3b3aa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "204c9a7d.7d28b6",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.arr[$arridx] == $providerValue",\r
+        "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4530,\r
+        "y": 4061,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "c41481ab.88bea8",\r
+                "e1b07d6e.872148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c41481ab.88bea8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4805,\r
+        "y": 4030,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "f1ff9d18.303e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1b07d6e.872148",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4806,\r
+        "y": 4101,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "14131c89.49f9f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1ff9d18.303e98",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4956,\r
+        "y": 4028,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "40d1e81e.6cc88",\r
+                "dbbf7f90.5aa4c8",\r
+                "83374978.c1c35",\r
+                "d7033d3e.83e278",\r
+                "8b158b61.9a9f58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40d1e81e.6cc88",\r
+        "type": "set",\r
+        "name": "set found to true",\r
+        "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
+        "comments": "",\r
+        "x": 5144,\r
+        "y": 3988,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dbbf7f90.5aa4c8",\r
+        "type": "save",\r
+        "name": "store $arridx somewhere in vpn-binding",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5216,\r
+        "y": 4033,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b158b61.9a9f58",\r
+        "type": "set",\r
+        "name": "set twoD arr",\r
+        "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
+        "comments": "",\r
+        "x": 5131,\r
+        "y": 4160,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d7033d3e.83e278",\r
+        "type": "set",\r
+        "name": "set sizeOfSliceList",\r
+        "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 5152,\r
+        "y": 4096,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fefe3e36.023678",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4054,\r
+        "y": 4182,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "8b5a5937.7b14e8",\r
+                "738e0247.d8b784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b5a5937.7b14e8",\r
+        "type": "save",\r
+        "name": "store $arridx somewhere in vpn-binding",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4309,\r
+        "y": 4175,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "738e0247.d8b784",\r
+        "type": "set",\r
+        "name": "set twoD array",\r
+        "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
+        "comments": "",\r
+        "x": 4237,\r
+        "y": 4222,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8df94468.3b3aa8",\r
+        "type": "switchNode",\r
+        "name": "switch found?",\r
+        "xml": "<switch test='`$found`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4230,\r
+        "y": 4106,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "df11cc3e.1263f",\r
+                "1fe91094.d80647"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df11cc3e.1263f",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4390,\r
+        "y": 4098,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "6014caa7.dd1974"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1fe91094.d80647",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4388,\r
+        "y": 4135,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "4b7b9538.9e1144"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6014caa7.dd1974",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4515,\r
+        "y": 4098,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4cf80fc.6110b8",\r
+        "type": "save",\r
+        "name": "store $arridx+1 somewhere in vpn-binding",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4822,\r
+        "y": 4156,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b7b9538.9e1144",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4548,\r
+        "y": 4143,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "f4cf80fc.6110b8",\r
+                "cb01b96d.902da8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb01b96d.902da8",\r
+        "type": "set",\r
+        "name": "set twoD array",\r
+        "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
+        "comments": "",\r
+        "x": 4739,\r
+        "y": 4202,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14131c89.49f9f3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4939,\r
+        "y": 4100,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "83374978.c1c35",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5110,\r
+        "y": 4227,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f42a2589.31a0b",\r
+        "type": "switchNode",\r
+        "name": "switch dstPort == NULL",\r
+        "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3515,\r
+        "y": 2485,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "ac6a7600.1391a8",\r
+                "6c99c1a3.b2c848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac6a7600.1391a8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3881,\r
+        "y": 2446,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "c094d1a4.3a348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c99c1a3.b2c848",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3882,\r
+        "y": 2492,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "11e69cf.d047563"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c094d1a4.3a348",\r
+        "type": "set",\r
+        "name": "set access-provider-id and client-id",\r
+        "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
+        "comments": "",\r
+        "x": 4095,\r
+        "y": 2445,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "11e69cf.d047563",\r
+        "type": "set",\r
+        "name": "set access-provider-id and client-id",\r
+        "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
+        "comments": "",\r
+        "x": 4093,\r
+        "y": 2490,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c6212ef.f90554",\r
+        "type": "set",\r
+        "name": "set attachment_param sliceG",\r
+        "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
+        "comments": "",\r
+        "x": 3033,\r
+        "y": 4317,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a54ce659.29b108",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode sliceG creation domainG",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2618,\r
+        "y": 4425,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "3fa26ce7.7e0224",\r
+                "b2b0e72c.a11478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2b0e72c.a11478",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2901,\r
+        "y": 4405,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "fa1f56ce.f832c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fa26ce7.7e0224",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2902.000213623047,\r
+        "y": 4455.99990940094,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "50896aad.7e40ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa1f56ce.f832c8",\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 slice creation api for domain A\" />\n",\r
+        "comments": "",\r
+        "x": 3041.0002479553223,\r
+        "y": 4405.000000953674,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "50896aad.7e40ec",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 2748.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3047.02725982666,\r
+        "y": 4453.745394706726,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc8174a8.50b7f",\r
+        "type": "set",\r
+        "name": "set srcdstpnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3691,\r
+        "y": 2559,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "90db4521.56089",\r
+        "type": "get-resource",\r
+        "name": "get-resource tmp.srcdstpnf-name",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3735,\r
+        "y": 2607,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
-            []\r
+            [\r
+                "3240cb0e.b7a8d4",\r
+                "f04379f7.8df68",\r
+                "3ab1dbdc.5ba7f4"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "39b144a2.fc3a7c",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode slice creation domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
+        "id": "3240cb0e.b7a8d4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 3092,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3947.5,\r
+        "y": 2554,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "23f4f16e.f2ab6e",\r
-                "8c667512.e5492"\r
+                "e8a8f72b.6c9a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c667512.e5492",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "f04379f7.8df68",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2691,\r
-        "y": 3072,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3959.5,\r
+        "y": 2604,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1089012f.df48c7"\r
+                "b12e923.fc82e7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23f4f16e.f2ab6e",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "3ab1dbdc.5ba7f4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 3122.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3950.5,\r
+        "y": 2659,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "199cfc4b.ed097c"\r
+                "582f59ae.92f2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1089012f.df48c7",\r
+        "id": "582f59ae.92f2a8",\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": 4095.5,\r
+        "y": 2658,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b12e923.fc82e7",\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 slice creation api for domain B\" />\n",\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": 2831.0002479553223,\r
-        "y": 3072.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4106.5,\r
+        "y": 2601,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "199cfc4b.ed097c",\r
+        "id": "e8a8f72b.6c9a08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 3120.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4072.8824462890625,\r
+        "y": 2547.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
-            []\r
+            [\r
+                "212a31bf.dceac6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "935dfeb6.9be7f8",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4632,\r
+        "y": 2566,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "1328892f.88f617"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "c14b8719.903d8",\r
+        "id": "1328892f.88f617",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2530,\r
-        "y": 450,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4809,\r
+        "y": 2558,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "40603cb7.607bc4",\r
-                "7f3f76ad.e04ac8"\r
+                "6a8226d0.94ebf",\r
+                "3a8b4f5e.be2aa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f3f76ad.e04ac8",\r
+        "id": "212a31bf.dceac6",\r
         "type": "for",\r
-        "name": "for each allotted-resource relationship",\r
-        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2811,\r
-        "y": 406,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4234,\r
+        "y": 2562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "31eeaed6.c9c2d2"\r
+                "384efd0c.a6d9aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31eeaed6.c9c2d2",\r
+        "id": "384efd0c.a6d9aa",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+        "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3073,\r
-        "y": 406,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4429,\r
+        "y": 2562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "13452ae4.22e4ad"\r
+                "935dfeb6.9be7f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "556c2535.2cf6f4",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
+        "id": "3a8b4f5e.be2aa8",\r
+        "type": "execute",\r
+        "name": "get 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 = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4454,\r
-        "y": 759,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5017,\r
+        "y": 2565,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8b677154.0c28b8"\r
+                "a2f18412.fa34",\r
+                "938b13a9.db22e",\r
+                "e46fd8a5.7a34e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b677154.0c28b8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "6a8226d0.94ebf",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domainG id",\r
+        "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5047,\r
+        "y": 2513,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a2f18412.fa34",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 4631,\r
-        "y": 751,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5227,\r
+        "y": 2556,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "dbe05c47.574588"\r
+                "dfc55645.4078e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dbe05c47.574588",\r
-        "type": "set",\r
-        "name": "set domainA ethernet layer network-id",\r
-        "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "id": "938b13a9.db22e",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5219,\r
+        "y": 2611,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "ad8534e.8f07fc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e46fd8a5.7a34e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5224,\r
+        "y": 2668,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "292bb9fe.d0f886"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "292bb9fe.d0f886",\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": 5376,\r
+        "y": 2669,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad8534e.8f07fc8",\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": 4866,\r
-        "y": 875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5387,\r
+        "y": 2614,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e5346606.e9d9f",\r
+        "id": "dfc55645.4078e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5371.38232421875,\r
+        "y": 2553.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "295d998d.b4f986"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "295d998d.b4f986",\r
         "type": "set",\r
-        "name": "set domainB ethernet layer network-id",\r
-        "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "name": "set controller domainA data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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": 4906,\r
-        "y": 1715,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5586,\r
+        "y": 2550,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "279e5fe1.a8b868",\r
+        "id": "8dfa636a.7429d",\r
         "type": "block",\r
         "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
+        "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 4671,\r
-        "y": 1591,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2202,\r
+        "y": 4317,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e5346606.e9d9f"\r
+                "da3d1785.252e3",\r
+                "a54ce659.29b108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3beefc43.434434",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
+        "id": "7bd1d477.e03354",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == 0 (domainA)",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4494,\r
-        "y": 1599,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3705,\r
+        "y": 2776,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "279e5fe1.a8b868"\r
+                "3ed7d0cf.bd363",\r
+                "60e3c11b.60b2b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21292318.735edc",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode domainA UNI Coloring",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
+        "id": "3ed7d0cf.bd363",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2427,\r
-        "y": 2853,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3906,\r
+        "y": 2774,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "aa98c0a5.978718",\r
-                "47316c0a.b315dc"\r
+                "c5282b2e.c25f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47316c0a.b315dc",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "7fc9a02.f9a08e",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 4187,\r
+        "y": 2724,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fcb3e30.7095c8",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == last (domainB)",\r
+        "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2693,\r
-        "y": 2833,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4123,\r
+        "y": 2825,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a7504bbe.eb60e"\r
+                "65a08e4c.a1dc",\r
+                "640adf38.eff8b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa98c0a5.978718",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "65a08e4c.a1dc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2694.000213623047,\r
-        "y": 2883.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4353,\r
+        "y": 2821,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "98c604c1.7b11b8"\r
+                "4413ca18.7ca70c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a7504bbe.eb60e",\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 UNI Coloring for domain A\" />\n",\r
+        "id": "8da31065.a87e4",\r
+        "type": "set",\r
+        "name": "set attachment_param domain B",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
         "comments": "",\r
-        "x": 2833.0002479553223,\r
-        "y": 2833.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4690,\r
+        "y": 2765,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98c604c1.7b11b8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "60e3c11b.60b2b8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2839.02725982666,\r
-        "y": 2881.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3906,\r
+        "y": 2823,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
-            []\r
+            [\r
+                "6fcb3e30.7095c8"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "ce066c5d.e7734",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode domainB UNI Coloring",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
+        "id": "640adf38.eff8b",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2427,\r
-        "y": 3219,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4354,\r
+        "y": 2867,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "77909c9d.223f24",\r
-                "d69f9ea8.7be4"\r
+                "7faf9acd.559b34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d69f9ea8.7be4",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "7faf9acd.559b34",\r
+        "type": "set",\r
+        "name": "set attachment_param domain G",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
+        "comments": "",\r
+        "x": 4568,\r
+        "y": 2867,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9723f206.45f868",\r
+        "type": "set",\r
+        "name": "set tmp.slicevpns",\r
+        "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4466,\r
+        "y": 2916,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b29ba493.8896c8",\r
+        "type": "switchNode",\r
+        "name": "switch vpnuuid is for this slice",\r
+        "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2693,\r
-        "y": 3199,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3030,\r
+        "y": 4140,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f7f9f969.a37708"\r
+                "174edd69.713c5b",\r
+                "af581154.4e753"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "77909c9d.223f24",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "174edd69.713c5b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2694.000213623047,\r
-        "y": 3249.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3247,\r
+        "y": 4119,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cf24be41.03bc48"\r
+                "53925b1.87893a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7f9f969.a37708",\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 UNI coloring for domain B\" />\n",\r
+        "id": "af581154.4e753",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3247,\r
+        "y": 4168,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "53925b1.87893a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3415,\r
+        "y": 4119,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "14ccf193.a7ba36",\r
+                "4aa9ee27.313a08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f0ddb5a.e806c4",\r
+        "type": "set",\r
+        "name": "set attachment_param domain A",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
         "comments": "",\r
-        "x": 2833.0002479553223,\r
-        "y": 3199.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4242,\r
+        "y": 2771,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cf24be41.03bc48",\r
+        "id": "c5282b2e.c25f08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2839.02725982666,\r
-        "y": 3247.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4030,\r
+        "y": 2765,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
-            []\r
+            [\r
+                "2f0ddb5a.e806c4"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "c2e43483.a12bd",\r
+        "id": "60f94c1c.9e2504",\r
         "type": "set",\r
-        "name": "set the max bandwidth",\r
-        "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
         "comments": "",\r
-        "x": 4112,\r
-        "y": 536,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4642,\r
+        "y": 2813,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "303c5717.c426f",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for ethernet-service-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+        "id": "4413ca18.7ca70c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4486,\r
+        "y": 2797,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "8da31065.a87e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93c183ce.0a9ed8",\r
+        "type": "get-resource",\r
+        "name": "get-resource pnfs-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1972,\r
+        "y": 62,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d8a5506.b8ac8c",\r
+        "type": "get-resource",\r
+        "name": "get-resource logical-links",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2468,\r
-        "y": 730,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1984,\r
+        "y": 103,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c19c2198.0de5c",\r
+        "id": "307d8c13.43fe3c",\r
+        "type": "comment",\r
+        "name": "The following two nodes are for PCE",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2008,\r
+        "y": 25,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86333e24.199f7",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+        "comments": "",\r
+        "x": 1929,\r
+        "y": 149,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63cf541.20dacac",\r
         "type": "execute",\r
-        "name": "execute UUID generator for otn-tunnel-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+        "name": "execute printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2448,\r
-        "y": 770,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2615,\r
+        "y": 2432,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r