Calculating the maximum tpn for otn tunnels among all domains
[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 7a6e77e..0ec5d2e 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "8af466c4.459d38",\r
+        "id": "b3b9455c.251fb8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 123,\r
-        "y": 94,\r
-        "z": "4d37a11.42c136",\r
+        "x": 107,\r
+        "y": 110,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4f44bc11.1718bc"\r
+                "5661f4c7.6e8104"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f44bc11.1718bc",\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": 407.2856903076172,\r
-        "y": 155.23810863494873,\r
-        "z": "4d37a11.42c136",\r
+        "x": 391.2856903076172,\r
+        "y": 171.23810863494873,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "25a99bf3.257e24"\r
+                "47f23ec8.713ca"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25a99bf3.257e24",\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": 413.42860412597656,\r
-        "y": 240.00003051757812,\r
-        "z": "4d37a11.42c136",\r
+        "x": 397.42860412597656,\r
+        "y": 256.0000305175781,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e0aece26.83282"\r
+                "909d5d01.2efc9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e0aece26.83282",\r
+        "id": "909d5d01.2efc9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 783.238037109375,\r
-        "y": 264.66668701171875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 767.238037109375,\r
+        "y": 280.66668701171875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "19dfd83.33483a8",\r
-                "1050151b.02ec53",\r
-                "2f5068f1.5086e8"\r
+                "c5df95a2.6c697",\r
+                "a851f151.681188",\r
+                "4430b278.87d9ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "19dfd83.33483a8",\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": 1084.571533203125,\r
-        "y": 535.5969848632812,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1068.571533203125,\r
+        "y": 551.5969848632812,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1050151b.02ec53",\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": 1106,\r
-        "y": 238,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1090,\r
+        "y": 254,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "50a47283.15fbe4",\r
-                "b5bb871c.db338",\r
-                "a61c0811.039808"\r
+                "bee2d1fb.fc819",\r
+                "706fc8bb.926d88",\r
+                "b5dbfca1.6b8958"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50a47283.15fbe4",\r
+        "id": "bee2d1fb.fc819",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1331,\r
-        "y": 96,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1315,\r
+        "y": 112,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "80a63fa0.68596"\r
+                "e14cb882.1a5158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5bb871c.db338",\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": 1340.490966796875,\r
-        "y": 138.57403564453125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1310.490966796875,\r
+        "y": 181.57403564453125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d32b21e7.8cada8"\r
+                "5cbb540f.81c364"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a61c0811.039808",\r
+        "id": "b5dbfca1.6b8958",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1329,\r
-        "y": 185,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1299,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "229167e8.df6688"\r
+                "bd99daf8.5c5508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80a63fa0.68596",\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": 1570,\r
-        "y": 93,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1554,\r
+        "y": 109,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d44d65ef.318f48",\r
-                "e1082721.453ff"\r
+                "6386b942.401658",\r
+                "736cbc7f.84dcc4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d32b21e7.8cada8",\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": 1494.0623779296875,\r
-        "y": 141.85977172851562,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1464.0623779296875,\r
+        "y": 184.85977172851562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "229167e8.df6688",\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": 1498,\r
-        "y": 186,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1468,\r
+        "y": 229,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a49b8769.572b48",\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": 1969,\r
-        "y": 160,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d44d65ef.318f48",\r
+        "id": "6386b942.401658",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1783,\r
-        "y": 117,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1767,\r
+        "y": 133,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7234fca3.e71404"\r
+                "bdbad755.d12dc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e1082721.453ff",\r
+        "id": "736cbc7f.84dcc4",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1785,\r
-        "y": 57,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1769,\r
+        "y": 73,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e3f19b5a.145ff8",\r
+        "id": "73516434.8b694c",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1085,\r
-        "y": 126,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1069,\r
+        "y": 142,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7234fca3.e71404",\r
+        "id": "bdbad755.d12dc8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1768,\r
-        "y": 205,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1752,\r
+        "y": 221,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a49b8769.572b48",\r
-                "bd4dde9a.1bdbc8"\r
+                "3b75dc28.79bec4",\r
+                "5d2f9da2.d38694",\r
+                "48979781.1681f8",\r
+                "93c183ce.0a9ed8",\r
+                "5d8a5506.b8ac8c",\r
+                "a26db7da.175a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fcc70311.f003c",\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": 2330,\r
-        "y": 803,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2615,\r
+        "y": 821,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "409bbb6d.55b47c",\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": 2332,\r
-        "y": 854,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2616,\r
+        "y": 876,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bd4dde9a.1bdbc8",\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": 1972,\r
-        "y": 235,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2238,\r
+        "y": 272,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4f2f09b0.4a4f9",\r
-                "a509e8e5.13e7a8",\r
-                "2d1dc418.c3457c"\r
+                "87df4589.584858",\r
+                "635af784.3cb32",\r
+                "22a4a39b.dd73ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f2f09b0.4a4f9",\r
+        "id": "87df4589.584858",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2188,\r
-        "y": 302,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2454,\r
+        "y": 339,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2c4c53ed.c92a04"\r
+                "8e0be879.699538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a509e8e5.13e7a8",\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": 2188.490966796875,\r
-        "y": 201.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2454.490966796875,\r
+        "y": 238.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b0eb4825.a76068"\r
+                "84ac682e.b78a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2d1dc418.c3457c",\r
+        "id": "22a4a39b.dd73ec",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2184,\r
-        "y": 251,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2450,\r
+        "y": 288,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8d5abfeb.01e9e"\r
+                "b2061dbc.0548c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b0eb4825.a76068",\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": 2366.0625,\r
-        "y": 201.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2632.0625,\r
+        "y": 238.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8d5abfeb.01e9e",\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": 2366,\r
-        "y": 251,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2632,\r
+        "y": 288,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "abb2414c.5ad6c8",\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": 1707,\r
-        "y": 724,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1973,\r
+        "y": 761,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "adf5b844.beeba",\r
-                "12473ca6.c43deb",\r
-                "1c108294.607cad"\r
+                "e260aa07.d4c01",\r
+                "9ec9d813.5ed0f",\r
+                "46b462c7.130bb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12473ca6.c43deb",\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": 1998.490966796875,\r
-        "y": 702.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2264.490966796875,\r
+        "y": 739.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bde422ea.a4cc28"\r
+                "c2b6bbd8.3d5eb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c108294.607cad",\r
+        "id": "9ec9d813.5ed0f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1987,\r
-        "y": 747,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2253,\r
+        "y": 784,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "da8d3db8.78e6c"\r
+                "1e57c51f.2af7db"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bde422ea.a4cc28",\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": 2147.0625,\r
-        "y": 702.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2413.0625,\r
+        "y": 739.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "da8d3db8.78e6c",\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": 2146,\r
-        "y": 747,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2412,\r
+        "y": 784,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "adf5b844.beeba",\r
+        "id": "46b462c7.130bb4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1994,\r
-        "y": 826,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2260,\r
+        "y": 863,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b6fe1d93.64f5d8"\r
+                "9b6c334b.ffcfb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6fe1d93.64f5d8",\r
+        "id": "9b6c334b.ffcfb8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2133,\r
-        "y": 826,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2399,\r
+        "y": 863,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "fcc70311.f003c",\r
-                "409bbb6d.55b47c",\r
-                "34d7360f.96bb2a",\r
-                "48146421.80a074",\r
-                "31bc0e97.d1b352",\r
-                "c57c6aeb.0d49c",\r
-                "5ce97afb.25ecd4",\r
-                "1f2f2fca.dd946",\r
-                "fc0327f0.f229c8",\r
-                "7a9db702.f0e1b",\r
-                "1f17f018.71ce48",\r
-                "75da5f28.16fb78",\r
-                "15d01a88.67da65",\r
-                "8335f76.9af8388",\r
-                "47a3a765.16faa",\r
-                "5651ec55.50184c",\r
-                "edb297b0.c9f328",\r
-                "91eba2f3.844de"\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
+                "eb9a9d75.279478"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34d7360f.96bb2a",\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": 2362,\r
-        "y": 907,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2628,\r
+        "y": 944,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1b983b4f.2c744d",\r
-                "83f9f068.59488",\r
-                "b0f14e34.bcfcc8"\r
+                "177d33ef.653acc",\r
+                "b808d106.b2a7e8",\r
+                "99bf3e88.29ecb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48146421.80a074",\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": 2341,\r
-        "y": 1508.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2607,\r
+        "y": 1545.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "191b0cc5.853723",\r
-                "bdfa4737.7997e",\r
-                "3dcbfde4.8fdb42"\r
+                "e551771e.c49a78",\r
+                "c096bcbd.1a977",\r
+                "cd719142.8f5fd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b983b4f.2c744d",\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": 2563,\r
-        "y": 791,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2829,\r
+        "y": 828,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5a65addc.f9d584"\r
+                "60c8d868.cb0f38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83f9f068.59488",\r
+        "id": "b808d106.b2a7e8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2558.509033203125,\r
-        "y": 840.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2824.509033203125,\r
+        "y": 877.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "60568789.b01d3"\r
+                "8912eaa6.91a52"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b0f14e34.bcfcc8",\r
+        "id": "99bf3e88.29ecb8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2562.509033203125,\r
-        "y": 891.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2828.509033203125,\r
+        "y": 928.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4d860946.d83b4"\r
+                "f8cee9a2.f0a618"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a65addc.f9d584",\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": 2711.571533203125,\r
-        "y": 790.2857666015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2977.571533203125,\r
+        "y": 827.2857666015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "60568789.b01d3",\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": 2701.509033203125,\r
-        "y": 840.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2967.509033203125,\r
+        "y": 877.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "191b0cc5.853723",\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": 2564,\r
-        "y": 1478.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2830,\r
+        "y": 1515.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "63b24300.9bd254"\r
+                "ae022a7b.5f0fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bdfa4737.7997e",\r
+        "id": "c096bcbd.1a977",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2559.509033203125,\r
-        "y": 1528.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2825.509033203125,\r
+        "y": 1565.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f56e5adb.9f7af8"\r
+                "2c76b27.1b72ace"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3dcbfde4.8fdb42",\r
+        "id": "cd719142.8f5fd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2563.509033203125,\r
-        "y": 1579.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2829.509033203125,\r
+        "y": 1616.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b596324f.8c351"\r
+                "e3f74bb4.409b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63b24300.9bd254",\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": 2712.571533203125,\r
-        "y": 1478.28564453125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2978.571533203125,\r
+        "y": 1515.28564453125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f56e5adb.9f7af8",\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": 2702.509033203125,\r
-        "y": 1528.4259033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2968.509033203125,\r
+        "y": 1565.4259033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f08611d.e85e5f",\r
+        "id": "194cc348.04e4bd",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3376.66650390625,\r
-        "y": 935,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3642.66650390625,\r
+        "y": 972,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bcee177.eb94168",\r
-                "f75d67.7cccfa98",\r
-                "a4c22219.803cd8",\r
-                "d6e02ca6.c9a8c8",\r
-                "5b5222c9.d7a36c"\r
+                "e0f54a30.b97458",\r
+                "6e8fe0e8.771d7",\r
+                "2d7aee5e.4b3492",\r
+                "d2697672.e5142",\r
+                "c6965465.aeb14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b31e4a0.a10748",\r
+        "id": "c1db8d6e.967fa8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3204,\r
-        "y": 936,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3470,\r
+        "y": 973,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f08611d.e85e5f"\r
+                "194cc348.04e4bd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9553d7.4a532c",\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": 3213.490966796875,\r
-        "y": 978.5740356445312,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3479.490966796875,\r
+        "y": 1015.5740356445312,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b569fb01.0907f8"\r
+                "9dbcf7c3.d03228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf1d45bd.26226",\r
+        "id": "b37256ee.6a59a",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3202,\r
-        "y": 1025,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3468,\r
+        "y": 1062,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8595bfe0.610eb"\r
+                "78909f5b.c256b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b569fb01.0907f8",\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": 3367.0623779296875,\r
-        "y": 981.8597717285156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3633.0623779296875,\r
+        "y": 1018.8597717285156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8595bfe0.610eb",\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": 3371,\r
-        "y": 1026,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3637,\r
+        "y": 1063,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d860946.d83b4",\r
+        "id": "f8cee9a2.f0a618",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2724,\r
-        "y": 893,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2990,\r
+        "y": 930,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "de6bae96.a20288",\r
-                "2546bd9f.525272"\r
+                "bd63f21f.6d97a",\r
+                "bcdc8dc3.72d61"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b596324f.8c351",\r
+        "id": "e3f74bb4.409b5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2714,\r
-        "y": 1580.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2980,\r
+        "y": 1617.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cc046399.813d8",\r
-                "94119745.c4be9"\r
+                "d9529ce2.4ca64",\r
+                "68b3ff1a.0849f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0ee2422.3da6b8",\r
+        "id": "1bc4a1b0.e8f4e6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3344.66650390625,\r
-        "y": 1771,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3610.66650390625,\r
+        "y": 1808,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "1c0836ef.f83329",\r
-                "4c626db2.041e5c",\r
-                "a8a1220c.849508",\r
-                "46fb3252.5c32c4",\r
-                "3da30ce3.e252e4"\r
+                "6b02eeb7.bc53e8",\r
+                "aa3dffa0.a80a58",\r
+                "ce63ac06.8bd44",\r
+                "c950727d.3e1368",\r
+                "83539382.7676b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33a31a8c.e3b546",\r
+        "id": "206889a2.ad62d6",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3172,\r
-        "y": 1772,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3438,\r
+        "y": 1809,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d0ee2422.3da6b8"\r
+                "1bc4a1b0.e8f4e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "333e39a9.5e6146",\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": 3181.490966796875,\r
-        "y": 1814.5740356445312,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3447.490966796875,\r
+        "y": 1851.5740356445312,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c1fc954e.de2348"\r
+                "89316d2b.d76a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "18c9eff6.77ede8",\r
+        "id": "9f6e2dae.f13bd8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3170,\r
-        "y": 1861,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3436,\r
+        "y": 1898,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a54283a5.d344c"\r
+                "ff7b6926.fc1f5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c1fc954e.de2348",\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": 3335.0623779296875,\r
-        "y": 1817.8597717285156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3601.0623779296875,\r
+        "y": 1854.8597717285156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a54283a5.d344c",\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": 3339,\r
-        "y": 1862,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3605,\r
+        "y": 1899,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bcee177.eb94168",\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": 3641,\r
-        "y": 919,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3907,\r
+        "y": 956,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "60be6e60.f9ecc8",\r
-                "ba14138e.5a08c8"\r
+                "8a48ffc4.99708",\r
+                "9768c48e.e91b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba14138e.5a08c8",\r
+        "id": "9768c48e.e91b5",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3864,\r
-        "y": 874,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4130,\r
+        "y": 911,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9427c16f.fe3b38"\r
+                "704965d2.1b9644"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60be6e60.f9ecc8",\r
+        "id": "8a48ffc4.99708",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3866,\r
-        "y": 938,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4132,\r
+        "y": 975,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8f5282b4.e9d138"\r
+                "5140e6b9.7a9158"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e9c487d.182678",\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": 4199,\r
-        "y": 832,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4465,\r
+        "y": 866,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8f5282b4.e9d138",\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": 4028,\r
-        "y": 934,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4294,\r
+        "y": 971,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9427c16f.fe3b38",\r
+        "id": "704965d2.1b9644",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4029,\r
-        "y": 871,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4295,\r
+        "y": 908,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7be29fde.94965",\r
-                "9e9c487d.182678"\r
+                "c30e1911.559b98",\r
+                "b8a9d793.4e0ca"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7be29fde.94965",\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": 4200,\r
-        "y": 937,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4466,\r
+        "y": 974,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "305634db.acff34",\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": 4201,\r
-        "y": 886,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4467,\r
+        "y": 923,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4c22219.803cd8",\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='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": 3643,\r
-        "y": 1078,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3909,\r
+        "y": 1115,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f75d67.7cccfa98",\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": 3688,\r
-        "y": 988,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3954,\r
+        "y": 1025,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "51860532.882634",\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": 3577,\r
-        "y": 1029,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3843,\r
+        "y": 1066,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1c0836ef.f83329",\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": 3631,\r
-        "y": 1775.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3897,\r
+        "y": 1812.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9b737b83.c6ca88",\r
-                "22a6cd9c.81b312"\r
+                "866b6a8.23d5e98",\r
+                "cb5f1ada.6b67f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22a6cd9c.81b312",\r
+        "id": "cb5f1ada.6b67f",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3854,\r
-        "y": 1730.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4120,\r
+        "y": 1767.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f2364b58.93416"\r
+                "e1a14a86.388a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b737b83.c6ca88",\r
+        "id": "866b6a8.23d5e98",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3856,\r
-        "y": 1794.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4122,\r
+        "y": 1831.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e81f51e1.476528"\r
+                "e3367ed2.f52b78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c355fa60.d02f7",\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": 4189,\r
-        "y": 1688.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4455,\r
+        "y": 1725.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e81f51e1.476528",\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": 4015,\r
-        "y": 1813.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4281,\r
+        "y": 1850.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f2364b58.93416",\r
+        "id": "e1a14a86.388a08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4019,\r
-        "y": 1727.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4285,\r
+        "y": 1764.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c355fa60.d02f7",\r
-                "fbcef05a.30da7"\r
+                "c05c0482.6a0aa8",\r
+                "6625860d.59cf58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fbcef05a.30da7",\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": 4190,\r
-        "y": 1793.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4456,\r
+        "y": 1830.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5702bff2.1c714",\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": 4185,\r
-        "y": 1742.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4451,\r
+        "y": 1779.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a8a1220c.849508",\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='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": 3633,\r
-        "y": 1934.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3899,\r
+        "y": 1971.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4c626db2.041e5c",\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": 3678,\r
-        "y": 1844.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3944,\r
+        "y": 1881.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a742fa6d.53c048",\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": 3567,\r
-        "y": 1882.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3833,\r
+        "y": 1919.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "31bc0e97.d1b352",\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": 2542,\r
-        "y": 2009,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2829,\r
+        "y": 2315,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c57c6aeb.0d49c",\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": 2336,\r
-        "y": 1949,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2627,\r
+        "y": 2194,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "df325b41.3eb068",\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": 2310,\r
-        "y": 1902,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2593,\r
+        "y": 2128,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5ce97afb.25ecd4",\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.vpn-binding-domainA-uuid`' />\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": 2418,\r
-        "y": 2168,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "265fc651.8685d2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1f2f2fca.dd946",\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": 2421.5,\r
-        "y": 2238,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "47b16974.ba7ff8",\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": 3069.5,\r
-        "y": 2157,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "45a1ff6d.febe7",\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": 3071.5,\r
-        "y": 2196,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d6e02ca6.c9a8c8",\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": 3771,\r
-        "y": 1126,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4037,\r
+        "y": 1163,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "46fb3252.5c32c4",\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": 3760,\r
-        "y": 1999.0001220703125,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "265fc651.8685d2",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2718,\r
-        "y": 2175,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "adcdcd16.7b29a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "adcdcd16.7b29a8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2858.500244140625,\r
-        "y": 2176.25390625,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "4042eea1.42325",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3106,\r
-        "y": 2116,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8bb65fc7.c411f",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2385,\r
-        "y": 2128,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fc0327f0.f229c8",\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.vpn-binding-domainB-uuid`' />\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": 2421,\r
-        "y": 2456,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "a95bb5bd.f30938"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "54e84a72.0a1bec",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3109,\r
-        "y": 2396,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5ffd7140.0fcf",\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": 3072.5,\r
-        "y": 2437,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d209c7d6.5be38",\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": 3074.5,\r
-        "y": 2476,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "92281260.0bacb8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2861.500244140625,\r
-        "y": 2456.25390625,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a95bb5bd.f30938",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2721,\r
-        "y": 2455,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            [\r
-                "92281260.0bacb8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "460ff82c.4ff7",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2401,\r
-        "y": 2416,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7a9db702.f0e1b",\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": 2419.5,\r
-        "y": 2496,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4026,\r
+        "y": 2036.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b765768.33e8008",\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": 2293,\r
-        "y": 2579,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "15d01a88.67da65",\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": 2358,\r
-        "y": 2624,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7c6d32ec.4900b4",\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": 4815,\r
-        "y": 646,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5081,\r
+        "y": 683,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f99473bc.f6917",\r
-                "8ca213cb.13c578",\r
-                "73897c92.dacd5c"\r
+                "4afa0297.0e92ec",\r
+                "f0a2c2cf.76f7c",\r
+                "78f72703.090dd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c4c53ed.c92a04",\r
+        "id": "8e0be879.699538",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2368,\r
-        "y": 302,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2634,\r
+        "y": 339,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "df1d026f.c1c088"\r
+                "c6b29f32.96c43"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b086b8f.46122c",\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": 1298.0001220703125,\r
-        "y": 719.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1564.0001220703125,\r
+        "y": 756.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "849b2fa9.e38c6"\r
+                "aa0dd611.39e8d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3637c149.a4c596",\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": 2036,\r
-        "y": 425,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2302,\r
+        "y": 462,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a6e3fac3.17782",\r
-                "36a75df5.accdba"\r
+                "2b043a11.143596",\r
+                "d91f0f1e.b29778"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "36a75df5.accdba",\r
+        "id": "d91f0f1e.b29778",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2346,\r
-        "y": 432,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2612,\r
+        "y": 469,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a6e3fac3.17782",\r
+        "id": "2b043a11.143596",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2345,\r
-        "y": 486,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2611,\r
+        "y": 523,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ccfe530c.696ee"\r
+                "53404fc0.a38be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "88e35dde.f9395",\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": 1718,\r
-        "y": 669,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1984,\r
+        "y": 706,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "849b2fa9.e38c6",\r
+        "id": "aa0dd611.39e8d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1475,\r
-        "y": 712,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1741,\r
+        "y": 749,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "88e35dde.f9395",\r
-                "abb2414c.5ad6c8"\r
+                "dd4dd108.7ed66",\r
+                "358e179e.99b9f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e4059fd.7caace",\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": 2904,\r
-        "y": 898,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3170,\r
+        "y": 935,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "de6bae96.a20288",\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": 2947,\r
-        "y": 963,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3213,\r
+        "y": 1000,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "8b31e4a0.a10748",\r
-                "c9553d7.4a532c",\r
-                "cf1d45bd.26226"\r
+                "c1db8d6e.967fa8",\r
+                "ea169f9.1e78f6",\r
+                "b37256ee.6a59a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc046399.813d8",\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": 2944,\r
-        "y": 1807,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3210,\r
+        "y": 1844,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "33a31a8c.e3b546",\r
-                "333e39a9.5e6146",\r
-                "18c9eff6.77ede8"\r
+                "206889a2.ad62d6",\r
+                "eceddf53.8343c8",\r
+                "9f6e2dae.f13bd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76191dd2.8fade4",\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": 2905,\r
-        "y": 1751,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3171,\r
+        "y": 1788,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "df1d026f.c1c088",\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": 2661,\r
-        "y": 249,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2927,\r
+        "y": 286,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "adfd76db.6991",\r
-                "7a639d69.b5bebc",\r
-                "4943cdeb.ab6f2c"\r
+                "9de6915b.b19d38",\r
+                "e8ebc1b6.d4d34",\r
+                "e6a28fa6.880708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a639d69.b5bebc",\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": 2934.490966796875,\r
-        "y": 141.573974609375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3200.490966796875,\r
+        "y": 178.573974609375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d0806055.3ff898"\r
+                "b49d6ada.3dcaf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0806055.3ff898",\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": 3112.0625,\r
-        "y": 141.8597412109375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3378.0625,\r
+        "y": 178.8597412109375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4943cdeb.ab6f2c",\r
+        "id": "e6a28fa6.880708",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2930,\r
-        "y": 191,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3196,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e3a044a2.8747b8"\r
+                "d8c17b5e.5b6d48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3a044a2.8747b8",\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": 3112,\r
-        "y": 191,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3378,\r
+        "y": 228,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "adfd76db.6991",\r
+        "id": "9de6915b.b19d38",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2934,\r
-        "y": 242,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3200,\r
+        "y": 279,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b8ee302f.a8ecc"\r
+                "54518182.0b0878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8ee302f.a8ecc",\r
+        "id": "54518182.0b0878",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3114,\r
-        "y": 242,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3380,\r
+        "y": 279,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3637c149.a4c596"\r
+                "3fd9bf5c.04e708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c0e5ba2.cb2954",\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": 2605,\r
-        "y": 466,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2871,\r
+        "y": 503,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "acd1414b.a58ab8"\r
+                "ce3eb436.d43a6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "acd1414b.a58ab8",\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": 2885,\r
-        "y": 466,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3151,\r
+        "y": 503,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4b086b8f.46122c"\r
+                "926dbaa7.515a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ff4803af.9f0ab8",\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": 3090,\r
-        "y": 440,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3356,\r
+        "y": 477,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ae60df75.bd38f"\r
+                "9c3216ab.adc2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae60df75.bd38f",\r
+        "id": "9c3216ab.adc2a8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3266.9998779296875,\r
-        "y": 432.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3532.9998779296875,\r
+        "y": 469.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7c4264ea.4ef2cc",\r
-                "16bdb614.ef254a"\r
+                "6ca4307d.28f77",\r
+                "15dd1089.866707"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c4264ea.4ef2cc",\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": 3509.9998779296875,\r
-        "y": 389.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3775.9998779296875,\r
+        "y": 426.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "16bdb614.ef254a",\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": 3498.9998779296875,\r
-        "y": 444.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3764.9998779296875,\r
+        "y": 481.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "589b81b9.57a1a",\r
-                "afdb690e.be2878",\r
-                "2f4f9888.a0047"\r
+                "af36166d.ada238",\r
+                "d07a4cd5.ac3678",\r
+                "65922e69.a77b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2f4f9888.a0047",\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": 3752,\r
-        "y": 331,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4018,\r
+        "y": 368,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "10811a3b.3713ee"\r
+                "1424d407.3a5b34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10811a3b.3713ee",\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": 3900.571533203125,\r
-        "y": 331.2857666015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4166.571533203125,\r
+        "y": 368.2857666015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4b0529d.fb0728",\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": 3899.509033203125,\r
-        "y": 375.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4165.509033203125,\r
+        "y": 412.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "afdb690e.be2878",\r
+        "id": "d07a4cd5.ac3678",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3740.509033203125,\r
-        "y": 375.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4006.509033203125,\r
+        "y": 412.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a4b0529d.fb0728"\r
+                "e640c3b9.1f16d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "589b81b9.57a1a",\r
+        "id": "af36166d.ada238",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3747.509033203125,\r
-        "y": 454.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4013.509033203125,\r
+        "y": 491.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2140264c.6d5f92"\r
+                "3b605de0.ec3a52"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2140264c.6d5f92",\r
+        "id": "3b605de0.ec3a52",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3886.509033203125,\r
-        "y": 454.426025390625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4152.509033203125,\r
+        "y": 491.426025390625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "22cd0794.035c48",\r
-                "fae49c49.31b99"\r
+                "e719047d.96b1f",\r
+                "36ea936c.0d2d9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22cd0794.035c48",\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": 4092,\r
-        "y": 452,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4358,\r
+        "y": 489,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2546bd9f.525272",\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": 2948,\r
-        "y": 633,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3214,\r
+        "y": 670,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "536f807c.cf39f",\r
-                "47e593b9.b45a3c"\r
+                "88359d7a.204d2",\r
+                "184f5811.e1748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47e593b9.b45a3c",\r
+        "id": "184f5811.e1748",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3171,\r
-        "y": 619,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3437,\r
+        "y": 656,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "97a737cb.3ff9d8"\r
+                "65b8cca9.2ac444"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "536f807c.cf39f",\r
+        "id": "88359d7a.204d2",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3173,\r
-        "y": 652,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3439,\r
+        "y": 689,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2752a0c2.80dc4"\r
+                "776eb0a5.2fd87"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2752a0c2.80dc4",\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": 3316,\r
-        "y": 649,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3582,\r
+        "y": 686,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "97a737cb.3ff9d8",\r
+        "id": "65b8cca9.2ac444",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3319,\r
-        "y": 612,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3585,\r
+        "y": 649,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "50707e3e.984ff",\r
-                "fca22b88.65f128"\r
+                "2397aa3a.45e876",\r
+                "c5b3bcfd.d10508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50707e3e.984ff",\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": 3481,\r
-        "y": 607,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3747,\r
+        "y": 644,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "94119745.c4be9",\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": 2962,\r
-        "y": 1469.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3228,\r
+        "y": 1506.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "754647f7.9e2b8",\r
-                "657955bd.91fb44"\r
+                "6fc92ae0.49bd04",\r
+                "59f072e2.0b71ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "657955bd.91fb44",\r
+        "id": "59f072e2.0b71ec",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3185,\r
-        "y": 1455.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3451,\r
+        "y": 1492.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "80a7821a.19495"\r
+                "a6cfeb0c.ecbd1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "754647f7.9e2b8",\r
+        "id": "6fc92ae0.49bd04",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3187,\r
-        "y": 1488.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3453,\r
+        "y": 1525.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ee8e0ea1.9fea78"\r
+                "862c14a1.8553d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee8e0ea1.9fea78",\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": 3330,\r
-        "y": 1485.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3596,\r
+        "y": 1522.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "80a7821a.19495",\r
+        "id": "a6cfeb0c.ecbd1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3333,\r
-        "y": 1448.9998779296875,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3599,\r
+        "y": 1485.9998779296875,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "413b415f.4e9208",\r
-                "81398c99.8688f"\r
+                "9265a5e9.075d5",\r
+                "3387bb2a.b4fa7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "413b415f.4e9208",\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": 3527,\r
-        "y": 1452,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3793,\r
+        "y": 1489,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2f5068f1.5086e8",\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": 1073,\r
-        "y": 178,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1f17f018.71ce48",\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": 2424,\r
-        "y": 2090,\r
-        "z": "4d37a11.42c136",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "75da5f28.16fb78",\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": 2422,\r
-        "y": 2378,\r
-        "z": "4d37a11.42c136",\r
+        "x": 1057,\r
+        "y": 194,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5b5222c9.d7a36c",\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": 3595,\r
-        "y": 1203,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3861,\r
+        "y": 1240,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "57baeaf4.ebf064"\r
+                "d7da00cb.9e6198"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "57baeaf4.ebf064",\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": 3801,\r
-        "y": 1203,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4067,\r
+        "y": 1240,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "645e8c5e.f65a7c"\r
+                "3e41f9e9.7f65b6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "645e8c5e.f65a7c",\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": 4016.28564453125,\r
-        "y": 1202.82177734375,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4282.28564453125,\r
+        "y": 1239.82177734375,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "894c9d7e.ee38"\r
+                "8a860c24.fed68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "894c9d7e.ee38",\r
+        "id": "8a860c24.fed68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4223.1171875,\r
-        "y": 1203.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4489.1171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "d6f40c53.9a6bf",\r
-                "c910efe.c0a679",\r
-                "50a2016f.cc5d58"\r
+                "377e7af0.ac592e",\r
+                "9af75c5e.34aa1",\r
+                "ad2bdd99.5817d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d6f40c53.9a6bf",\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": 4438.1171875,\r
-        "y": 1165.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4704.1171875,\r
+        "y": 1202.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c910efe.c0a679",\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": 4435.1171875,\r
-        "y": 1204.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4701.1171875,\r
+        "y": 1241.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ab61e075.552a9"\r
+                "817cb438.99e4a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50a2016f.cc5d58",\r
+        "id": "ad2bdd99.5817d",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4390.6171875,\r
-        "y": 1246.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4656.6171875,\r
+        "y": 1283.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ab61e075.552a9",\r
+        "id": "817cb438.99e4a8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4615.6171875,\r
-        "y": 1203.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4881.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "11eef788.e7252"\r
+                "4eac437.160bcbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11eef788.e7252",\r
+        "id": "4eac437.160bcbc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4773.6171875,\r
-        "y": 1203.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5039.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ab0df37c.a4d9e"\r
+                "602a09ac.ab98b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab0df37c.a4d9e",\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": 4980.6171875,\r
-        "y": 1203.34033203125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5246.6171875,\r
+        "y": 1240.34033203125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3da30ce3.e252e4",\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": 3592,\r
-        "y": 2072.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3858,\r
+        "y": 2109.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5324422e.146a4c"\r
+                "5579dfc7.be27d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5324422e.146a4c",\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": 3798,\r
-        "y": 2072.0001220703125,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4064,\r
+        "y": 2109.0001220703125,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "a66bf5f9.332a38"\r
+                "901fbdc2.3ee4d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a66bf5f9.332a38",\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": 4013.28564453125,\r
-        "y": 2071.8218994140625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4279.28564453125,\r
+        "y": 2108.8218994140625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "68fca589.e390fc"\r
+                "2e4b86b2.9caae2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68fca589.e390fc",\r
+        "id": "2e4b86b2.9caae2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4220.1171875,\r
-        "y": 2072.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4486.1171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c073bf38.974dd",\r
-                "108cc1af.4a86d6",\r
-                "f0b0cdee.26542"\r
+                "bc60382f.b0361",\r
+                "b3a5cd52.d83f2",\r
+                "ee9aa3b3.89ca4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c073bf38.974dd",\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": 4435.1171875,\r
-        "y": 2034.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4701.1171875,\r
+        "y": 2071.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "108cc1af.4a86d6",\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": 4432.1171875,\r
-        "y": 2073.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4698.1171875,\r
+        "y": 2110.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b43fbaf.be38548"\r
+                "93e41626.124d78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f0b0cdee.26542",\r
+        "id": "ee9aa3b3.89ca4",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4387.6171875,\r
-        "y": 2115.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4653.6171875,\r
+        "y": 2152.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b43fbaf.be38548",\r
+        "id": "93e41626.124d78",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4612.6171875,\r
-        "y": 2072.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4878.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f843935.e7b9ef"\r
+                "6ea99290.2aa4d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f843935.e7b9ef",\r
+        "id": "6ea99290.2aa4d4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4770.6171875,\r
-        "y": 2072.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5036.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2905073f.78af38"\r
+                "a95428e7.14cad"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2905073f.78af38",\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": 4977.6171875,\r
-        "y": 2072.3404541015625,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5243.6171875,\r
+        "y": 2109.3404541015625,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47a3a765.16faa",\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": 2353,\r
-        "y": 2999,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fca22b88.65f128",\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": 3508,\r
-        "y": 679,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3774,\r
+        "y": 716,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "26e1e178.44c626",\r
-                "748c5faa.9b8fd",\r
-                "7a23584.42cb7a8"\r
+                "8e60f4cf.82fba",\r
+                "2cad2896.c9df4",\r
+                "335dceb2.9bab72"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "26e1e178.44c626",\r
+        "id": "8e60f4cf.82fba",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3703.5001220703125,\r
-        "y": 631,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3969.5001220703125,\r
+        "y": 668,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4f3cfb5.bd9ae04"\r
+                "7a06334d.9731e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "748c5faa.9b8fd",\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": 3695.5001220703125,\r
-        "y": 686,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3961.5001220703125,\r
+        "y": 723,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7374c1c1.b3ba38"\r
+                "17051d0f.c52e53"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a23584.42cb7a8",\r
+        "id": "335dceb2.9bab72",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3700.5001220703125,\r
-        "y": 743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3966.5001220703125,\r
+        "y": 780,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bf06b166.7b1ab8"\r
+                "328eeb2e.ff715c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf06b166.7b1ab8",\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": 3852.5001220703125,\r
-        "y": 744,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4118.5001220703125,\r
+        "y": 781,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7374c1c1.b3ba38",\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": 3863.5001220703125,\r
-        "y": 689,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4129.5001220703125,\r
+        "y": 726,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4f3cfb5.bd9ae04",\r
+        "id": "7a06334d.9731e4",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3847.8824462890625,\r
-        "y": 628.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4113.8824462890625,\r
+        "y": 665.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cc5e035f.d2ea7"\r
+                "89e57d02.e9996"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "71b56e6f.bcf72",\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": 4430,\r
-        "y": 647,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4696,\r
+        "y": 684,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "894c8dc1.732e8"\r
+                "f8e16adc.55ac68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "894c8dc1.732e8",\r
+        "id": "f8e16adc.55ac68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4607,\r
-        "y": 639,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4873,\r
+        "y": 676,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "47f97449.7cbbcc",\r
-                "7c6d32ec.4900b4"\r
+                "f8c4bbbd.612dc",\r
+                "2cb22463.a9a10c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc5e035f.d2ea7",\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": 4032,\r
-        "y": 643,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4298,\r
+        "y": 680,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "611703bb.9151dc"\r
+                "ffc907a3.634c3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "611703bb.9151dc",\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": 4227,\r
-        "y": 643,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4493,\r
+        "y": 680,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "71b56e6f.bcf72",\r
-                "bf1946eb.ee80a8"\r
+                "c9d4f321.66364",\r
+                "d8e84e3d.259878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47f97449.7cbbcc",\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": 4845,\r
-        "y": 594,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5111,\r
+        "y": 631,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f99473bc.f6917",\r
+        "id": "4afa0297.0e92ec",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5025,\r
-        "y": 637,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5291,\r
+        "y": 674,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "701e34ee.427b2c"\r
+                "ba53a591.c08868"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ca213cb.13c578",\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": 5017,\r
-        "y": 692,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5283,\r
+        "y": 729,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2e4b614b.0c396e"\r
+                "3a442fd2.17b8b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73897c92.dacd5c",\r
+        "id": "78f72703.090dd8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5022,\r
-        "y": 749,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5288,\r
+        "y": 786,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ce57e89b.dcf4b"\r
+                "3131a765.52f598"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce57e89b.dcf4b",\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": 5174,\r
-        "y": 750,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5440,\r
+        "y": 787,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2e4b614b.0c396e",\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": 5185,\r
-        "y": 695,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5451,\r
+        "y": 732,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "701e34ee.427b2c",\r
+        "id": "ba53a591.c08868",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5169.38232421875,\r
-        "y": 634.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5435.38232421875,\r
+        "y": 671.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "986be552.d67d4"\r
+                "280c0a87.0e105e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "986be552.d67d4",\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": 5384,\r
-        "y": 631,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5650,\r
+        "y": 668,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "81398c99.8688f",\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": 3549,\r
-        "y": 1520,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3815,\r
+        "y": 1557,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "4228d77e.297a48",\r
-                "f33d7dd3.e27df8",\r
-                "f25d8688.bde06"\r
+                "4d61cd16.0abdfc",\r
+                "83252466.aa101",\r
+                "a13a024e.f66fb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4228d77e.297a48",\r
+        "id": "4d61cd16.0abdfc",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3744.5001220703125,\r
-        "y": 1472,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4010.5001220703125,\r
+        "y": 1509,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b81f1049.782548"\r
+                "45754d39.0b500c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f33d7dd3.e27df8",\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": 3736.5001220703125,\r
-        "y": 1527,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4002.5001220703125,\r
+        "y": 1564,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cb4038b7.689b5"\r
+                "7042d1e3.edb1d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f25d8688.bde06",\r
+        "id": "a13a024e.f66fb",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3741.5001220703125,\r
-        "y": 1584,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4007.5001220703125,\r
+        "y": 1621,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9d53815.71bad"\r
+                "67ddb18b.39ea7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d53815.71bad",\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": 3893.5001220703125,\r
-        "y": 1585,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4159.5001220703125,\r
+        "y": 1622,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cb4038b7.689b5",\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": 3904.5001220703125,\r
-        "y": 1530,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4170.5001220703125,\r
+        "y": 1567,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b81f1049.782548",\r
+        "id": "45754d39.0b500c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3888.8824462890625,\r
-        "y": 1469.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4154.8824462890625,\r
+        "y": 1506.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "3a1b087b.88796"\r
+                "f1a969ab.50fa7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9eaf216b.504558",\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": 4471,\r
-        "y": 1488,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4737,\r
+        "y": 1525,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "848ce8ba.8131a8"\r
+                "3a9f2f8b.e28ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "848ce8ba.8131a8",\r
+        "id": "3a9f2f8b.e28ed",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4648,\r
-        "y": 1480,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4914,\r
+        "y": 1517,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "91abee3d.323e5",\r
-                "a28d627d.aad29"\r
+                "53b7b7ea.79ccb8",\r
+                "abc0256.22d4b58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3a1b087b.88796",\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": 4073,\r
-        "y": 1484,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4339,\r
+        "y": 1521,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "75ba425.30354bc"\r
+                "f0d37653.530e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75ba425.30354bc",\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": 4268,\r
-        "y": 1484,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4534,\r
+        "y": 1521,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "9eaf216b.504558",\r
-                "f41408f6.625698"\r
+                "e2a984cd.aa357",\r
+                "19b04051.d11648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a28d627d.aad29",\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": 4856,\r
-        "y": 1487,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5122,\r
+        "y": 1524,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "2c1c230e.a8a514",\r
-                "77340ca1.3f4454",\r
-                "b69cbef8.164728"\r
+                "ee461c39.fc6a98",\r
+                "85f503dc.f3ae58",\r
+                "2cdb4338.f53074"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91abee3d.323e5",\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": 4886,\r
-        "y": 1435,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5152,\r
+        "y": 1472,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2c1c230e.a8a514",\r
+        "id": "ee461c39.fc6a98",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5066,\r
-        "y": 1478,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5332,\r
+        "y": 1515,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ea8a7330.3c6eb"\r
+                "bc865963.b711a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "77340ca1.3f4454",\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": 5058,\r
-        "y": 1533,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5324,\r
+        "y": 1570,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "5b6119be.e0e2e"\r
+                "f79338ab.92167"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b69cbef8.164728",\r
+        "id": "2cdb4338.f53074",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5063,\r
-        "y": 1590,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5329,\r
+        "y": 1627,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6e980a04.e6ca2c"\r
+                "bfc5b714.cbe288"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e980a04.e6ca2c",\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": 5215,\r
-        "y": 1591,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5481,\r
+        "y": 1628,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b6119be.e0e2e",\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": 5226,\r
-        "y": 1536,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5492,\r
+        "y": 1573,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ea8a7330.3c6eb",\r
+        "id": "bc865963.b711a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5210.38232421875,\r
-        "y": 1475.6556701660156,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5476.38232421875,\r
+        "y": 1512.6556701660156,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "6b04dce3.953014"\r
+                "6cd4d323.819c7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6b04dce3.953014",\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": 5425,\r
-        "y": 1472,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5691,\r
+        "y": 1509,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8335f76.9af8388",\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": 2404,\r
-        "y": 2682,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2775,\r
+        "y": 449,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f515c1e9.93c64",\r
-                "49a0370a.e5f21"\r
+                "62e6aba8.2c101c",\r
+                "9754a6dd.67f03"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49a0370a.e5f21",\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": 2670,\r
-        "y": 2662,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3056,\r
+        "y": 405,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "30dceb43.a4b4ac"\r
+                "a377e213.201cf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f515c1e9.93c64",\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": 2671.000213623047,\r
-        "y": 2712.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3318,\r
+        "y": 405,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e7a629da.88d0d8"\r
+                "7737916f.9448f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "30dceb43.a4b4ac",\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": 2810.0002479553223,\r
-        "y": 2662.0000009536743,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e7a629da.88d0d8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "d8e84e3d.259878",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2816.02725982666,\r
-        "y": 2710.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4699,\r
+        "y": 758,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
-            []\r
+            [\r
+                "3db61f55.c940b"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "5651ec55.50184c",\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
-        "comments": "",\r
+        "id": "3db61f55.c940b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2404,\r
-        "y": 3054,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4876,\r
+        "y": 750,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "55b8a548.7743b4",\r
-                "625f938a.695c34"\r
+                "c68e6afb.37cad8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "625f938a.695c34",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\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": 2608,\r
+        "y": 2247,\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='customer-vpn-id' value='`($maxtpn + $gfp)`' />\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": 2670,\r
-        "y": 3034,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2901,\r
+        "y": 4405,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "bcc07e6e.d74a18"\r
+                "fa1f56ce.f832c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "55b8a548.7743b4",\r
+        "id": "3fa26ce7.7e0224",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2671.000213623047,\r
-        "y": 3084.99990940094,\r
-        "z": "4d37a11.42c136",\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": 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
+                "3240cb0e.b7a8d4",\r
+                "f04379f7.8df68",\r
+                "3ab1dbdc.5ba7f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3240cb0e.b7a8d4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3947.5,\r
+        "y": 2554,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "e8a8f72b.6c9a08"\r
+            ]\r
+        ]\r
+    },\r
+    {\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": 3959.5,\r
+        "y": 2604,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "b12e923.fc82e7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ab1dbdc.5ba7f4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3950.5,\r
+        "y": 2659,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "42c61fdb.9a2b6"\r
+                "582f59ae.92f2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bcc07e6e.d74a18",\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": 2810.0002479553223,\r
-        "y": 3034.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4106.5,\r
+        "y": 2601,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "42c61fdb.9a2b6",\r
+        "id": "e8a8f72b.6c9a08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2816.02725982666,\r
-        "y": 3082.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": "ccfe530c.696ee",\r
+        "id": "1328892f.88f617",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2509,\r
-        "y": 412,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4809,\r
+        "y": 2558,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "7c0e5ba2.cb2954",\r
-                "338a39d3.a481ce"\r
+                "6a8226d0.94ebf",\r
+                "3a8b4f5e.be2aa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "338a39d3.a481ce",\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": 2790,\r
-        "y": 368,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4234,\r
+        "y": 2562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "e9d2da22.090e3"\r
+                "384efd0c.a6d9aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e9d2da22.090e3",\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": 3052,\r
-        "y": 368,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4429,\r
+        "y": 2562,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "ff4803af.9f0ab8"\r
+                "935dfeb6.9be7f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf1946eb.ee80a8",\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": 4433,\r
-        "y": 721,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5017,\r
+        "y": 2565,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "c3550750.f869a"\r
+                "a2f18412.fa34",\r
+                "938b13a9.db22e",\r
+                "e46fd8a5.7a34e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3550750.f869a",\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": 4610,\r
-        "y": 713,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5227,\r
+        "y": 2556,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "775fd622.bb73b"\r
+                "dfc55645.4078e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "775fd622.bb73b",\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": 4845,\r
-        "y": 837,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5387,\r
+        "y": 2614,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fd89b518.9f0b6",\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": 4885,\r
-        "y": 1677,\r
-        "z": "4d37a11.42c136",\r
+        "x": 5586,\r
+        "y": 2550,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "73a6ccfa.9f80e4",\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": 4650,\r
-        "y": 1553,\r
-        "z": "4d37a11.42c136",\r
+        "x": 2202,\r
+        "y": 4317,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "fd89b518.9f0b6"\r
+                "da3d1785.252e3",\r
+                "a54ce659.29b108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f41408f6.625698",\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": 4473,\r
-        "y": 1561,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3705,\r
+        "y": 2776,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "73a6ccfa.9f80e4"\r
+                "3ed7d0cf.bd363",\r
+                "60e3c11b.60b2b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "edb297b0.c9f328",\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": 2406,\r
-        "y": 2815,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3906,\r
+        "y": 2774,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cc44d1ea.6c2858",\r
-                "700c6956.d8abf8"\r
+                "c5282b2e.c25f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "700c6956.d8abf8",\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": 2672,\r
-        "y": 2795,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4123,\r
+        "y": 2825,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "b7581f37.075ad"\r
+                "65a08e4c.a1dc",\r
+                "640adf38.eff8b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc44d1ea.6c2858",\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": 2673.000213623047,\r
-        "y": 2845.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4353,\r
+        "y": 2821,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f67d237f.4b41c"\r
+                "4413ca18.7ca70c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7581f37.075ad",\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": 2812.0002479553223,\r
-        "y": 2795.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4690,\r
+        "y": 2765,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f67d237f.4b41c",\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": 2818.02725982666,\r
-        "y": 2843.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": "91eba2f3.844de",\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": 2406,\r
-        "y": 3181,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4354,\r
+        "y": 2867,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "cf85f70c.9ad7a",\r
-                "da777837.c4e49"\r
+                "7faf9acd.559b34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da777837.c4e49",\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": 2672,\r
-        "y": 3161,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3030,\r
+        "y": 4140,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "382ee7c9.8791c8"\r
+                "174edd69.713c5b",\r
+                "af581154.4e753"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf85f70c.9ad7a",\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": 2673.000213623047,\r
-        "y": 3211.99990940094,\r
-        "z": "4d37a11.42c136",\r
+        "x": 3247,\r
+        "y": 4119,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             [\r
-                "f2adb059.12803"\r
+                "53925b1.87893a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "382ee7c9.8791c8",\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": 2812.0002479553223,\r
-        "y": 3161.0000009536743,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4242,\r
+        "y": 2771,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f2adb059.12803",\r
+        "id": "c5282b2e.c25f08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2818.02725982666,\r
-        "y": 3209.745394706726,\r
-        "z": "4d37a11.42c136",\r
+        "x": 4030,\r
+        "y": 2765,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            [\r
+                "2f0ddb5a.e806c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60f94c1c.9e2504",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 4642,\r
+        "y": 2813,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": []\r
+    },\r
+    {\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": 1984,\r
+        "y": 103,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fae49c49.31b99",\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 the max bandwidth",\r
-        "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\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 printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
         "comments": "",\r
-        "x": 4091,\r
-        "y": 498,\r
-        "z": "4d37a11.42c136",\r
+        "outputs": 1,\r
+        "x": 2619,\r
+        "y": 2361,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba4816e9.f5d79",\r
+        "type": "set",\r
+        "name": "set maxtpn",\r
+        "xml": "<set>\n<parameter name='maxtpn' value='`($maxtpn + $gfp)`' />",\r
+        "comments": "",\r
+        "x": 3646,\r
+        "y": 2964,\r
+        "z": "cd8c161.e76ffe8",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "eb9a9d75.279478",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2812,\r
+        "y": 2425,\r
+        "z": "cd8c161.e76ffe8",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
 ]
\ No newline at end of file