Bug fixing to support more than two domains for Transport Slicing.
[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 41f969b..158e817 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "a3297c66.2e7f5",\r
+        "id": "df3491bc.625428",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 142,\r
-        "y": 86,\r
-        "z": "a52db008.999ba",\r
+        "x": 128,\r
+        "y": 113,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "48923819.f8ff98"\r
+                "f93a4fe6.087538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48923819.f8ff98",\r
+        "id": "f93a4fe6.087538",\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": 426.2856903076172,\r
-        "y": 147.23810863494873,\r
-        "z": "a52db008.999ba",\r
+        "x": 412.2856903076172,\r
+        "y": 174.23810863494873,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e1ba1fcc.8dbf6"\r
+                "3a78d95d.5e3c5e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e1ba1fcc.8dbf6",\r
+        "id": "3a78d95d.5e3c5e",\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": 432.42860412597656,\r
-        "y": 232.00003051757812,\r
-        "z": "a52db008.999ba",\r
+        "x": 418.42860412597656,\r
+        "y": 259.0000305175781,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "8bc33ebc.b214a8"\r
+                "35ecb5b7.3f1b02"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8bc33ebc.b214a8",\r
+        "id": "35ecb5b7.3f1b02",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 802.238037109375,\r
-        "y": 256.66668701171875,\r
-        "z": "a52db008.999ba",\r
+        "x": 788.238037109375,\r
+        "y": 283.66668701171875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e456a6e6.bd0f",\r
-                "de4cd097.718578",\r
-                "7ac4d896.f266b8"\r
+                "a99ea7b2.f5e618",\r
+                "183025fe.418fa2",\r
+                "d352d101.d008a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e456a6e6.bd0f",\r
+        "id": "a99ea7b2.f5e618",\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": 1103.571533203125,\r
-        "y": 527.5969848632812,\r
-        "z": "a52db008.999ba",\r
+        "x": 1089.571533203125,\r
+        "y": 554.5969848632812,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "de4cd097.718578",\r
+        "id": "183025fe.418fa2",\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": 1125,\r
-        "y": 230,\r
-        "z": "a52db008.999ba",\r
+        "x": 1111,\r
+        "y": 257,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2bb44cf2.b576bc",\r
-                "23a4fd03.4dc0a2",\r
-                "7fe07366.1d3c84"\r
+                "47f816cc.c0286",\r
+                "318d2442.efdd34",\r
+                "4265fd48.9eb024"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2bb44cf2.b576bc",\r
+        "id": "47f816cc.c0286",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1350,\r
-        "y": 88,\r
-        "z": "a52db008.999ba",\r
+        "x": 1336,\r
+        "y": 115,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "de3469e6.1a5318"\r
+                "6fd78e9c.961b2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23a4fd03.4dc0a2",\r
+        "id": "318d2442.efdd34",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1359.490966796875,\r
-        "y": 130.57403564453125,\r
-        "z": "a52db008.999ba",\r
+        "x": 1331.490966796875,\r
+        "y": 184.57403564453125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "abc9c45c.0486d"\r
+                "aa8b68cf.4936c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7fe07366.1d3c84",\r
+        "id": "4265fd48.9eb024",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1348,\r
-        "y": 177,\r
-        "z": "a52db008.999ba",\r
+        "x": 1320,\r
+        "y": 231,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "bf6c9630.da1718"\r
+                "ea9381a6.8a9938"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "de3469e6.1a5318",\r
+        "id": "6fd78e9c.961b2",\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": 1589,\r
-        "y": 85,\r
-        "z": "a52db008.999ba",\r
+        "x": 1575,\r
+        "y": 112,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "3fe961c5.f65bb6",\r
-                "9b0ccc32.5daa98"\r
+                "a9515923.c68db8",\r
+                "3b6a0136.f8dee6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "abc9c45c.0486d",\r
+        "id": "aa8b68cf.4936c",\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": 1513.0623779296875,\r
-        "y": 133.85977172851562,\r
-        "z": "a52db008.999ba",\r
+        "x": 1485.0623779296875,\r
+        "y": 187.85977172851562,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bf6c9630.da1718",\r
+        "id": "ea9381a6.8a9938",\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": 1517,\r
-        "y": 178,\r
-        "z": "a52db008.999ba",\r
+        "x": 1489,\r
+        "y": 232,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e72a9478.9558f",\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": 1988,\r
-        "y": 152,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3fe961c5.f65bb6",\r
+        "id": "a9515923.c68db8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1802,\r
-        "y": 109,\r
-        "z": "a52db008.999ba",\r
+        "x": 1788,\r
+        "y": 136,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "7db53ef.cfaf2c"\r
+                "8d77a4c9.47348"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b0ccc32.5daa98",\r
+        "id": "3b6a0136.f8dee6",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1804,\r
-        "y": 49,\r
-        "z": "a52db008.999ba",\r
+        "x": 1790,\r
+        "y": 76,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3b9d4f7a.e5b418",\r
+        "id": "2b9472b2.e91dbe",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1104,\r
-        "y": 118,\r
-        "z": "a52db008.999ba",\r
+        "x": 1090,\r
+        "y": 145,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7db53ef.cfaf2c",\r
+        "id": "8d77a4c9.47348",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1787,\r
-        "y": 197,\r
-        "z": "a52db008.999ba",\r
+        "x": 1773,\r
+        "y": 224,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e72a9478.9558f",\r
-                "f1da2bc3.8935b"\r
+                "2dfd81e1.a251ae",\r
+                "d0adb7e4.435f98",\r
+                "bf30e0be.23b998",\r
+                "bc1d9c19.8a817"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd1e5e1b.83e83",\r
+        "id": "4b515bec.7b07fc",\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": 2349,\r
-        "y": 795,\r
-        "z": "a52db008.999ba",\r
+        "x": 2636,\r
+        "y": 824,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ff342d97.b64c78",\r
+        "id": "1fb3da4d.f9823e",\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": 2351,\r
-        "y": 846,\r
-        "z": "a52db008.999ba",\r
+        "x": 2637,\r
+        "y": 879,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f1da2bc3.8935b",\r
+        "id": "1fed210d.6adb97",\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": 1991,\r
-        "y": 227,\r
-        "z": "a52db008.999ba",\r
+        "x": 2259,\r
+        "y": 275,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "24443c7d.51e17c",\r
-                "5466a6b1.99c71",\r
-                "6dbbe1dd.c8d2"\r
+                "1d390c60.f37264",\r
+                "828d1344.2eeb18",\r
+                "35c0fff4.63034"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "24443c7d.51e17c",\r
+        "id": "1d390c60.f37264",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2207,\r
-        "y": 294,\r
-        "z": "a52db008.999ba",\r
+        "x": 2475,\r
+        "y": 342,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "381969a5.e5019e"\r
+                "1dfc0585.305702"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5466a6b1.99c71",\r
+        "id": "828d1344.2eeb18",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2207.490966796875,\r
-        "y": 193.573974609375,\r
-        "z": "a52db008.999ba",\r
+        "x": 2475.490966796875,\r
+        "y": 241.573974609375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "5f41762b.9fae3"\r
+                "899f4256.fc61"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6dbbe1dd.c8d2",\r
+        "id": "35c0fff4.63034",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2203,\r
-        "y": 243,\r
-        "z": "a52db008.999ba",\r
+        "x": 2471,\r
+        "y": 291,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "35df5bd.60d91a4"\r
+                "5b10d117.cfe6d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f41762b.9fae3",\r
+        "id": "899f4256.fc61",\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": 2385.0625,\r
-        "y": 193.8597412109375,\r
-        "z": "a52db008.999ba",\r
+        "x": 2653.0625,\r
+        "y": 241.8597412109375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "35df5bd.60d91a4",\r
+        "id": "5b10d117.cfe6d8",\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": 2385,\r
-        "y": 243,\r
-        "z": "a52db008.999ba",\r
+        "x": 2653,\r
+        "y": 291,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c284458.c08ae8",\r
+        "id": "e459bf6d.9da9d8",\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": 1726,\r
-        "y": 716,\r
-        "z": "a52db008.999ba",\r
+        "x": 1994,\r
+        "y": 764,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2b62ab10.ff50ec",\r
-                "a72426b1.68469",\r
-                "f1a9c962.2a68a8"\r
+                "f5d3816e.ab2828",\r
+                "4956f23f.0bb47c",\r
+                "fe0f59f6.d97868"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a72426b1.68469",\r
+        "id": "f5d3816e.ab2828",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2017.490966796875,\r
-        "y": 694.573974609375,\r
-        "z": "a52db008.999ba",\r
+        "x": 2285.490966796875,\r
+        "y": 742.573974609375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b15724ee.fb934"\r
+                "9822556a.f611a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f1a9c962.2a68a8",\r
+        "id": "4956f23f.0bb47c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2006,\r
-        "y": 739,\r
-        "z": "a52db008.999ba",\r
+        "x": 2274,\r
+        "y": 787,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "71027f5f.6dfd2"\r
+                "6c100a4d.9d821c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b15724ee.fb934",\r
+        "id": "9822556a.f611a",\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": 2166.0625,\r
-        "y": 694.8597412109375,\r
-        "z": "a52db008.999ba",\r
+        "x": 2434.0625,\r
+        "y": 742.8597412109375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "71027f5f.6dfd2",\r
+        "id": "6c100a4d.9d821c",\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": 2165,\r
-        "y": 739,\r
-        "z": "a52db008.999ba",\r
+        "x": 2433,\r
+        "y": 787,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2b62ab10.ff50ec",\r
+        "id": "fe0f59f6.d97868",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2013,\r
-        "y": 818,\r
-        "z": "a52db008.999ba",\r
+        "x": 2281,\r
+        "y": 866,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "68ca5242.42eadc"\r
+                "6d1afb47.ab3814"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68ca5242.42eadc",\r
+        "id": "6d1afb47.ab3814",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2152,\r
-        "y": 818,\r
-        "z": "a52db008.999ba",\r
+        "x": 2420,\r
+        "y": 866,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "fd1e5e1b.83e83",\r
-                "ff342d97.b64c78",\r
-                "c6e4c4bb.cde228",\r
-                "beeca149.096358",\r
-                "b3a21500.4dc258",\r
-                "4a385582.c0497c",\r
-                "8ecd4f21.958f3",\r
-                "87e71c84.c17b98",\r
-                "b0430b3.4eee0f8",\r
-                "9e9e0741.eed478",\r
-                "41475eff.deafd",\r
-                "171af565.db9233",\r
-                "a0a45fd6.c31fe",\r
-                "fdbb72c5.61c228",\r
-                "62bd6081.059d7",\r
-                "3f4df906.b67d7e",\r
-                "fad5035b.7ee3a8",\r
-                "d037b0c3.f093c"\r
+                "4b515bec.7b07fc",\r
+                "1fb3da4d.f9823e",\r
+                "97eccb48.84f6c",\r
+                "c57ab47a.d333d8",\r
+                "10cbf4f3.49fe3b",\r
+                "49d3005f.62282",\r
+                "1f03402a.5db7",\r
+                "56710693.e24068",\r
+                "84b0870f.4db1e",\r
+                "3323f682.f60c3a",\r
+                "13ac3dbd.1f366a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6e4c4bb.cde228",\r
+        "id": "97eccb48.84f6c",\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": 2381,\r
-        "y": 899,\r
-        "z": "a52db008.999ba",\r
+        "x": 2649,\r
+        "y": 947,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "99527920.d104f",\r
-                "471613.ac9f61ec",\r
-                "d7106a2a.e2e008"\r
+                "8c8a4891.ac867",\r
+                "8506ad3d.b7e4c",\r
+                "a3b6635c.c539f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "beeca149.096358",\r
+        "id": "c57ab47a.d333d8",\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": 2360,\r
-        "y": 1500.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 2628,\r
+        "y": 1548.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "f5b57d2.711fb8",\r
-                "ee69c7ed.d244a",\r
-                "b86b9154.d8271"\r
+                "506562cd.b8f74c",\r
+                "8d73f82f.8988f8",\r
+                "24728d1d.df92ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99527920.d104f",\r
+        "id": "8c8a4891.ac867",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2582,\r
-        "y": 783,\r
-        "z": "a52db008.999ba",\r
+        "x": 2850,\r
+        "y": 831,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "dee03a78.25dd08"\r
+                "40f9d3c1.86e1ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "471613.ac9f61ec",\r
+        "id": "8506ad3d.b7e4c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2577.509033203125,\r
-        "y": 832.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 2845.509033203125,\r
+        "y": 880.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "afb5fd1c.14f968"\r
+                "6f975963.47cb7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7106a2a.e2e008",\r
+        "id": "a3b6635c.c539f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2581.509033203125,\r
-        "y": 883.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 2849.509033203125,\r
+        "y": 931.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b1e48bbc.9418f8"\r
+                "61bb235e.2775f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dee03a78.25dd08",\r
+        "id": "40f9d3c1.86e1ec",\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": 2730.571533203125,\r
-        "y": 782.2857666015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 2998.571533203125,\r
+        "y": 830.2857666015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "afb5fd1c.14f968",\r
+        "id": "6f975963.47cb7",\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": 2720.509033203125,\r
-        "y": 832.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 2988.509033203125,\r
+        "y": 880.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f5b57d2.711fb8",\r
+        "id": "506562cd.b8f74c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2583,\r
-        "y": 1470.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 2851,\r
+        "y": 1518.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e4bc5398.587c9"\r
+                "7f769faa.864248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee69c7ed.d244a",\r
+        "id": "8d73f82f.8988f8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2578.509033203125,\r
-        "y": 1520.4259033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 2846.509033203125,\r
+        "y": 1568.4259033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "7a22de95.f8d34"\r
+                "cc9ee8f2.77fda8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b86b9154.d8271",\r
+        "id": "24728d1d.df92ba",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2582.509033203125,\r
-        "y": 1571.4259033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 2850.509033203125,\r
+        "y": 1619.4259033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "706786f4.1c86"\r
+                "8a29f509.d58fe8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e4bc5398.587c9",\r
+        "id": "7f769faa.864248",\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": 2731.571533203125,\r
-        "y": 1470.28564453125,\r
-        "z": "a52db008.999ba",\r
+        "x": 2999.571533203125,\r
+        "y": 1518.28564453125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7a22de95.f8d34",\r
+        "id": "cc9ee8f2.77fda8",\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": 2721.509033203125,\r
-        "y": 1520.4259033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 2989.509033203125,\r
+        "y": 1568.4259033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6a5608a5.7646c8",\r
+        "id": "b720785b.7c7",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3395.66650390625,\r
-        "y": 927,\r
-        "z": "a52db008.999ba",\r
+        "x": 3663.66650390625,\r
+        "y": 975,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e59ae0d9.0b3bb8",\r
-                "b65b8a91.4e15",\r
-                "600bf3e5.b14284",\r
-                "af7a5358.49a49",\r
-                "a8e7dd16.944608"\r
+                "f3775fbc.163688",\r
+                "77e2870c.e28a38",\r
+                "ac8bf04e.ff247",\r
+                "7c2c78d5.f4945",\r
+                "bb95643a.1dafd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8369203.6c1e7",\r
+        "id": "669f51ab.4dcf7",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3223,\r
-        "y": 928,\r
-        "z": "a52db008.999ba",\r
+        "x": 3491,\r
+        "y": 976,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6a5608a5.7646c8"\r
+                "b720785b.7c7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9feeef15.8800c",\r
+        "id": "bfa60b88.954ac8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3232.490966796875,\r
-        "y": 970.5740356445312,\r
-        "z": "a52db008.999ba",\r
+        "x": 3500.490966796875,\r
+        "y": 1018.5740356445312,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "cbf27e14.644ef8"\r
+                "f78f70ff.0f2c38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8e1bd1d.029dd",\r
+        "id": "83a912b8.5c33b",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3221,\r
-        "y": 1017,\r
-        "z": "a52db008.999ba",\r
+        "x": 3489,\r
+        "y": 1065,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "7478805e.d0dee8"\r
+                "d7142401.9476c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cbf27e14.644ef8",\r
+        "id": "f78f70ff.0f2c38",\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": 3386.0623779296875,\r
-        "y": 973.8597717285156,\r
-        "z": "a52db008.999ba",\r
+        "x": 3654.0623779296875,\r
+        "y": 1021.8597717285156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7478805e.d0dee8",\r
+        "id": "d7142401.9476c",\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": 3390,\r
-        "y": 1018,\r
-        "z": "a52db008.999ba",\r
+        "x": 3658,\r
+        "y": 1066,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b1e48bbc.9418f8",\r
+        "id": "61bb235e.2775f4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2743,\r
-        "y": 885,\r
-        "z": "a52db008.999ba",\r
+        "x": 3011,\r
+        "y": 933,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b8e4ab1b.5f9428",\r
-                "7b409cff.da197c"\r
+                "4914fb6.031ad84",\r
+                "4835023e.e8e8cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "706786f4.1c86",\r
+        "id": "8a29f509.d58fe8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2733,\r
-        "y": 1572.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3001,\r
+        "y": 1620.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6545b277.ec5df4",\r
-                "e04c02f4.2f63f8"\r
+                "33a198b5.ec1ae",\r
+                "684cf1ab.a79f48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1cc2eec.aa7708",\r
+        "id": "d9ace0a0.b4a76",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3363.66650390625,\r
-        "y": 1763,\r
-        "z": "a52db008.999ba",\r
+        "x": 3631.66650390625,\r
+        "y": 1811,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "69afc187.c0c28",\r
-                "9c8c62ca.8659",\r
-                "72280e7f.000388",\r
-                "5d487f8.16a5d",\r
-                "34f70001.b13958"\r
+                "a2003991.03fd4",\r
+                "52dfb8b2.652278",\r
+                "22f952b9.882086",\r
+                "eb4dde28.2b2138",\r
+                "60f3b421.08732c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9223749.8519e8",\r
+        "id": "cc45c64e.73066",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3191,\r
-        "y": 1764,\r
-        "z": "a52db008.999ba",\r
+        "x": 3459,\r
+        "y": 1812,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "a1cc2eec.aa7708"\r
+                "d9ace0a0.b4a76"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8aac19ac.984638",\r
+        "id": "33759aa.996c566",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3200.490966796875,\r
-        "y": 1806.5740356445312,\r
-        "z": "a52db008.999ba",\r
+        "x": 3468.490966796875,\r
+        "y": 1854.5740356445312,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e01c6b8b.6173d8"\r
+                "28b2902a.f0c46"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15568030.09492",\r
+        "id": "fff61c46.59cf58",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3189,\r
-        "y": 1853,\r
-        "z": "a52db008.999ba",\r
+        "x": 3457,\r
+        "y": 1901,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "f17ea401.42a54"\r
+                "c4e6ae73.bdead"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e01c6b8b.6173d8",\r
+        "id": "28b2902a.f0c46",\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": 3354.0623779296875,\r
-        "y": 1809.8597717285156,\r
-        "z": "a52db008.999ba",\r
+        "x": 3622.0623779296875,\r
+        "y": 1857.8597717285156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f17ea401.42a54",\r
+        "id": "c4e6ae73.bdead",\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": 3358,\r
-        "y": 1854,\r
-        "z": "a52db008.999ba",\r
+        "x": 3626,\r
+        "y": 1902,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e59ae0d9.0b3bb8",\r
+        "id": "f3775fbc.163688",\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": 3660,\r
-        "y": 911,\r
-        "z": "a52db008.999ba",\r
+        "x": 3928,\r
+        "y": 959,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b90f8b2c.3443f8",\r
-                "f2af84b7.f19e7"\r
+                "17df8b10.734cad",\r
+                "e9e72181.7c2d78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2af84b7.f19e7",\r
+        "id": "e9e72181.7c2d78",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3883,\r
-        "y": 866,\r
-        "z": "a52db008.999ba",\r
+        "x": 4151,\r
+        "y": 914,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "af749f90.aea73"\r
+                "c8b8d5f9.b22ca8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b90f8b2c.3443f8",\r
+        "id": "17df8b10.734cad",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3885,\r
-        "y": 930,\r
-        "z": "a52db008.999ba",\r
+        "x": 4153,\r
+        "y": 978,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "37b87470.480804"\r
+                "59177303.95ce1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "58adc121.da62b8",\r
+        "id": "e95ea736.29045",\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": 4218,\r
-        "y": 824,\r
-        "z": "a52db008.999ba",\r
+        "x": 4486,\r
+        "y": 869,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "37b87470.480804",\r
+        "id": "59177303.95ce1c",\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": 4047,\r
-        "y": 926,\r
-        "z": "a52db008.999ba",\r
+        "x": 4315,\r
+        "y": 974,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "af749f90.aea73",\r
+        "id": "c8b8d5f9.b22ca8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4048,\r
-        "y": 863,\r
-        "z": "a52db008.999ba",\r
+        "x": 4316,\r
+        "y": 911,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "a0d3646d.84d22",\r
-                "58adc121.da62b8"\r
+                "f09148e0.5a878",\r
+                "e95ea736.29045"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a0d3646d.84d22",\r
+        "id": "f09148e0.5a878",\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": 4219,\r
-        "y": 929,\r
-        "z": "a52db008.999ba",\r
+        "x": 4487,\r
+        "y": 977,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b948285d.fc6638",\r
+        "id": "2c408fec.1a81a",\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": 4220,\r
-        "y": 878,\r
-        "z": "a52db008.999ba",\r
+        "x": 4488,\r
+        "y": 926,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "600bf3e5.b14284",\r
+        "id": "ac8bf04e.ff247",\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='`$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
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3662,\r
-        "y": 1070,\r
-        "z": "a52db008.999ba",\r
+        "x": 3930,\r
+        "y": 1118,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b65b8a91.4e15",\r
+        "id": "77e2870c.e28a38",\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": 3707,\r
-        "y": 980,\r
-        "z": "a52db008.999ba",\r
+        "x": 3975,\r
+        "y": 1028,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "584061d2.7f676",\r
+        "id": "936488c4.d6b8e",\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": 3596,\r
-        "y": 1021,\r
-        "z": "a52db008.999ba",\r
+        "x": 3864,\r
+        "y": 1069,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "69afc187.c0c28",\r
+        "id": "a2003991.03fd4",\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": 3650,\r
-        "y": 1767.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 3918,\r
+        "y": 1815.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "73786f45.91fbd",\r
-                "a8286fc.413fb9"\r
+                "f2d8cb03.1eed48",\r
+                "6e32cf18.31944"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8286fc.413fb9",\r
+        "id": "6e32cf18.31944",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3873,\r
-        "y": 1722.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4141,\r
+        "y": 1770.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6edaf2ce.ba97ac"\r
+                "201ffc86.8db20c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73786f45.91fbd",\r
+        "id": "f2d8cb03.1eed48",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3875,\r
-        "y": 1786.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4143,\r
+        "y": 1834.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "fcba834.c469f8"\r
+                "b29b2d4c.c3046"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e5ecf778.a4711",\r
+        "id": "2386e717.060b18",\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": 4208,\r
-        "y": 1680.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4476,\r
+        "y": 1728.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fcba834.c469f8",\r
+        "id": "b29b2d4c.c3046",\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": 4034,\r
-        "y": 1805.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4302,\r
+        "y": 1853.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6edaf2ce.ba97ac",\r
+        "id": "201ffc86.8db20c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4038,\r
-        "y": 1719.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4306,\r
+        "y": 1767.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e5ecf778.a4711",\r
-                "865f8e50.82a5c"\r
+                "2386e717.060b18",\r
+                "c71df80d.cfbb08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "865f8e50.82a5c",\r
+        "id": "c71df80d.cfbb08",\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": 4209,\r
-        "y": 1785.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4477,\r
+        "y": 1833.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9e10e06d.c116e8",\r
+        "id": "e385afea.eec45",\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": 4204,\r
-        "y": 1734.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4472,\r
+        "y": 1782.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "72280e7f.000388",\r
+        "id": "22f952b9.882086",\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='`$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
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3652,\r
-        "y": 1926.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 3920,\r
+        "y": 1974.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c8c62ca.8659",\r
+        "id": "52dfb8b2.652278",\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": 3697,\r
-        "y": 1836.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 3965,\r
+        "y": 1884.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "eb2e4b08.8488e",\r
+        "id": "4961c905.9d4bb",\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": 3586,\r
-        "y": 1874.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 3854,\r
+        "y": 1922.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b3a21500.4dc258",\r
+        "id": "10cbf4f3.49fe3b",\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": 2561,\r
-        "y": 2001,\r
-        "z": "a52db008.999ba",\r
+        "x": 2848,\r
+        "y": 2278,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4a385582.c0497c",\r
+        "id": "49d3005f.62282",\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": 2355,\r
-        "y": 1941,\r
-        "z": "a52db008.999ba",\r
+        "x": 2642,\r
+        "y": 2179,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1846dda4.ce84b2",\r
+        "id": "9f05df83.0d8378",\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": 2329,\r
-        "y": 1894,\r
-        "z": "a52db008.999ba",\r
+        "x": 2616,\r
+        "y": 2132,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8ecd4f21.958f3",\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='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": 2437,\r
-        "y": 2160,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            [\r
-                "9a891a89.705e9"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "87e71c84.c17b98",\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": 2440.5,\r
-        "y": 2230,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "65814f19.31d048",\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": 3088.5,\r
-        "y": 2149,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9a488056.fd463",\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": 3090.5,\r
-        "y": 2188,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "af7a5358.49a49",\r
+        "id": "7c2c78d5.f4945",\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": 3790,\r
-        "y": 1118,\r
-        "z": "a52db008.999ba",\r
+        "x": 4058,\r
+        "y": 1166,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5d487f8.16a5d",\r
+        "id": "eb4dde28.2b2138",\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": 3779,\r
-        "y": 1991.0001220703125,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9a891a89.705e9",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2737,\r
-        "y": 2167,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            [\r
-                "a2095f6a.84829"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a2095f6a.84829",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2877.500244140625,\r
-        "y": 2168.25390625,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "421e8d3c.2d000c",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3125,\r
-        "y": 2108,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ec5e7e31.de7c9",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2404,\r
-        "y": 2120,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b0430b3.4eee0f8",\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='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": 2440,\r
-        "y": 2448,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            [\r
-                "ceffa653.90d39"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3a1d826b.1f953e",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: do we need this relationship?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3128,\r
-        "y": 2388,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4a53aeab.a2778",\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": 3091.5,\r
-        "y": 2429,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "36a3debe.6aad72",\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": 3093.5,\r
-        "y": 2468,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a45d9658.764968",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2880.500244140625,\r
-        "y": 2448.25390625,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "ceffa653.90d39",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2740,\r
-        "y": 2447,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            [\r
-                "a45d9658.764968"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7449a31b.49a87c",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME: put proper values",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2420,\r
-        "y": 2408,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9e9e0741.eed478",\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": 2438.5,\r
-        "y": 2488,\r
-        "z": "a52db008.999ba",\r
+        "x": 4047,\r
+        "y": 2039.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a04f201b.1fb08",\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": 2312,\r
-        "y": 2571,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a0a45fd6.c31fe",\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,' + $maximum-bandwidth /1000 *2 /3 `\" />\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": 2377,\r
-        "y": 2616,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "32eb8024.15dcc8",\r
+        "id": "2d08c6.2cc1e73a",\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": 4834,\r
-        "y": 638,\r
-        "z": "a52db008.999ba",\r
+        "x": 5102,\r
+        "y": 686,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "73d2c0a6.ca0098",\r
-                "2f388561.aeb472",\r
-                "c9248b9c.994ac"\r
+                "fe7f5526.b757d",\r
+                "ace94fc7.113e6",\r
+                "42739782.dc6168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "381969a5.e5019e",\r
+        "id": "1dfc0585.305702",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2387,\r
-        "y": 294,\r
-        "z": "a52db008.999ba",\r
+        "x": 2655,\r
+        "y": 342,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2fa39853.fd6f7"\r
+                "8622621b.5191"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93b21596.ec10e8",\r
+        "id": "7de95d04.4c5e84",\r
         "type": "outcome",\r
         "name": "logical-link",\r
         "xml": "<outcome value='logical-link'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1317.0001220703125,\r
-        "y": 711.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 1585.0001220703125,\r
+        "y": 759.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "993cc770.3c90b"\r
+                "38efe599.5c2462"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8fdb5adc.4040d",\r
+        "id": "a0ff94f7.a05cd8",\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": 2055,\r
-        "y": 417,\r
-        "z": "a52db008.999ba",\r
+        "x": 2323,\r
+        "y": 465,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "332b207c.0fec28",\r
-                "310fb819.3e915"\r
+                "8055d128.93cf8",\r
+                "a4e55956.340f1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "310fb819.3e915",\r
+        "id": "a4e55956.340f1",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2365,\r
-        "y": 424,\r
-        "z": "a52db008.999ba",\r
+        "x": 2633,\r
+        "y": 472,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "332b207c.0fec28",\r
+        "id": "8055d128.93cf8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2364,\r
-        "y": 478,\r
-        "z": "a52db008.999ba",\r
+        "x": 2632,\r
+        "y": 526,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b6e0228b.bc6398"\r
+                "33bd7ebe.34c502"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d9c8107.cbe1d7",\r
+        "id": "2ecd1033.1e79d8",\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": 1737,\r
-        "y": 661,\r
-        "z": "a52db008.999ba",\r
+        "x": 2005,\r
+        "y": 709,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "993cc770.3c90b",\r
+        "id": "38efe599.5c2462",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1494,\r
-        "y": 704,\r
-        "z": "a52db008.999ba",\r
+        "x": 1762,\r
+        "y": 752,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d9c8107.cbe1d7",\r
-                "8c284458.c08ae8"\r
+                "2ecd1033.1e79d8",\r
+                "e459bf6d.9da9d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d4f8497.5d30938",\r
+        "id": "f61b9c.2378ec68",\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": 2923,\r
-        "y": 890,\r
-        "z": "a52db008.999ba",\r
+        "x": 3191,\r
+        "y": 938,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b8e4ab1b.5f9428",\r
+        "id": "4914fb6.031ad84",\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": 2966,\r
-        "y": 955,\r
-        "z": "a52db008.999ba",\r
+        "x": 3234,\r
+        "y": 1003,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b8369203.6c1e7",\r
-                "9feeef15.8800c",\r
-                "e8e1bd1d.029dd"\r
+                "669f51ab.4dcf7",\r
+                "bfa60b88.954ac8",\r
+                "83a912b8.5c33b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6545b277.ec5df4",\r
+        "id": "33a198b5.ec1ae",\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": 2963,\r
-        "y": 1799,\r
-        "z": "a52db008.999ba",\r
+        "x": 3231,\r
+        "y": 1847,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "a9223749.8519e8",\r
-                "8aac19ac.984638",\r
-                "15568030.09492"\r
+                "cc45c64e.73066",\r
+                "33759aa.996c566",\r
+                "fff61c46.59cf58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f7449aa.1cee1",\r
+        "id": "13eb2671.9e12f2",\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": 2924,\r
-        "y": 1743,\r
-        "z": "a52db008.999ba",\r
+        "x": 3192,\r
+        "y": 1791,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2fa39853.fd6f7",\r
+        "id": "8622621b.5191",\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": 2680,\r
-        "y": 241,\r
-        "z": "a52db008.999ba",\r
+        "x": 2948,\r
+        "y": 289,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e187deec.568f28",\r
-                "ca2e6451.404f78",\r
-                "42b58dd4.7191cc"\r
+                "774c27b3.d5b958",\r
+                "314f18ee.d0e28",\r
+                "177a6858.e45f48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca2e6451.404f78",\r
+        "id": "314f18ee.d0e28",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2953.490966796875,\r
-        "y": 133.573974609375,\r
-        "z": "a52db008.999ba",\r
+        "x": 3221.490966796875,\r
+        "y": 181.573974609375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e5b0a6e5.509578"\r
+                "bf0d979c.0d6a2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e5b0a6e5.509578",\r
+        "id": "bf0d979c.0d6a2",\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": 3131.0625,\r
-        "y": 133.8597412109375,\r
-        "z": "a52db008.999ba",\r
+        "x": 3399.0625,\r
+        "y": 181.8597412109375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "42b58dd4.7191cc",\r
+        "id": "177a6858.e45f48",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2949,\r
-        "y": 183,\r
-        "z": "a52db008.999ba",\r
+        "x": 3217,\r
+        "y": 231,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ecd1ffcd.8fafe8"\r
+                "69e0c103.73f7e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ecd1ffcd.8fafe8",\r
+        "id": "69e0c103.73f7e",\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": 3131,\r
-        "y": 183,\r
-        "z": "a52db008.999ba",\r
+        "x": 3399,\r
+        "y": 231,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e187deec.568f28",\r
+        "id": "774c27b3.d5b958",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2953,\r
-        "y": 234,\r
-        "z": "a52db008.999ba",\r
+        "x": 3221,\r
+        "y": 282,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d246d860.a6b138"\r
+                "8d4f11e6.7da04"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d246d860.a6b138",\r
+        "id": "8d4f11e6.7da04",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3133,\r
-        "y": 234,\r
-        "z": "a52db008.999ba",\r
+        "x": 3401,\r
+        "y": 282,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "8fdb5adc.4040d"\r
+                "a0ff94f7.a05cd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "65e46dcd.9c5144",\r
+        "id": "fe8ff063.6863b8",\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": 2624,\r
-        "y": 458,\r
-        "z": "a52db008.999ba",\r
+        "x": 2892,\r
+        "y": 506,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "dd606d5c.9d70f"\r
+                "7f3884a8.055b2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd606d5c.9d70f",\r
+        "id": "7f3884a8.055b2c",\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": 2904,\r
-        "y": 458,\r
-        "z": "a52db008.999ba",\r
+        "x": 3172,\r
+        "y": 506,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "93b21596.ec10e8"\r
+                "7de95d04.4c5e84"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da58235b.ecd51",\r
+        "id": "5050eb58.e00ed4",\r
         "type": "outcome",\r
         "name": "network-policy",\r
         "xml": "<outcome value='network-policy'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3109,\r
-        "y": 432,\r
-        "z": "a52db008.999ba",\r
+        "x": 3377,\r
+        "y": 480,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "bae40be2.1a0898"\r
+                "9ce29b77.ad6fe8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bae40be2.1a0898",\r
+        "id": "9ce29b77.ad6fe8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3285.9998779296875,\r
-        "y": 424.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3553.9998779296875,\r
+        "y": 472.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "26610962.4550fe",\r
-                "1b905535.187f13"\r
+                "e7ee0b09.87c5d8",\r
+                "7fe89152.e612e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "26610962.4550fe",\r
+        "id": "e7ee0b09.87c5d8",\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": 3528.9998779296875,\r
-        "y": 381.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3796.9998779296875,\r
+        "y": 429.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1b905535.187f13",\r
+        "id": "7fe89152.e612e8",\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": 3517.9998779296875,\r
-        "y": 436.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3785.9998779296875,\r
+        "y": 484.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "690d79a7.ec256",\r
-                "33a9cbc4.26d4ec",\r
-                "93a52247.c17dd8"\r
+                "64fb2208.a0a974",\r
+                "c3b9f4d3.aab1b8",\r
+                "f6aa84f.18621f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93a52247.c17dd8",\r
+        "id": "f6aa84f.18621f8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3771,\r
-        "y": 323,\r
-        "z": "a52db008.999ba",\r
+        "x": 4039,\r
+        "y": 371,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2900fde3.f79c7a"\r
+                "c20366f5.78311"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2900fde3.f79c7a",\r
+        "id": "c20366f5.78311",\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": 3919.571533203125,\r
-        "y": 323.2857666015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4187.571533203125,\r
+        "y": 371.2857666015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6f314ac7.786434",\r
+        "id": "a9aadb9.f22de28",\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": 3918.509033203125,\r
-        "y": 367.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4186.509033203125,\r
+        "y": 415.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "33a9cbc4.26d4ec",\r
+        "id": "c3b9f4d3.aab1b8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3759.509033203125,\r
-        "y": 367.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4027.509033203125,\r
+        "y": 415.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6f314ac7.786434"\r
+                "a9aadb9.f22de28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "690d79a7.ec256",\r
+        "id": "64fb2208.a0a974",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3766.509033203125,\r
-        "y": 446.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4034.509033203125,\r
+        "y": 494.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "13407089.aa8267"\r
+                "7a83723d.cc96f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13407089.aa8267",\r
+        "id": "7a83723d.cc96f4",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3905.509033203125,\r
-        "y": 446.426025390625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4173.509033203125,\r
+        "y": 494.426025390625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d0bc6aa5.e1fca8"\r
+                "1f8d33e3.a771dc",\r
+                "420f3616.2f701"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0bc6aa5.e1fca8",\r
+        "id": "1f8d33e3.a771dc",\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\n\n",\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": 4111,\r
-        "y": 444,\r
-        "z": "a52db008.999ba",\r
+        "x": 4379,\r
+        "y": 492,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7b409cff.da197c",\r
+        "id": "4835023e.e8e8cc",\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": 2967,\r
-        "y": 625,\r
-        "z": "a52db008.999ba",\r
+        "x": 3235,\r
+        "y": 673,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6c1cd175.73bac",\r
-                "685f5c8c.4102b4"\r
+                "eafc912d.cb0fe",\r
+                "14b2df73.02d4e1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "685f5c8c.4102b4",\r
+        "id": "14b2df73.02d4e1",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3190,\r
-        "y": 611,\r
-        "z": "a52db008.999ba",\r
+        "x": 3458,\r
+        "y": 659,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "1331c07a.407898"\r
+                "bb352d17.34137"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c1cd175.73bac",\r
+        "id": "eafc912d.cb0fe",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3192,\r
-        "y": 644,\r
-        "z": "a52db008.999ba",\r
+        "x": 3460,\r
+        "y": 692,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "c779d61e.1b8528"\r
+                "4040c9e2.8e3008"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c779d61e.1b8528",\r
+        "id": "4040c9e2.8e3008",\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": 3335,\r
-        "y": 641,\r
-        "z": "a52db008.999ba",\r
+        "x": 3603,\r
+        "y": 689,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1331c07a.407898",\r
+        "id": "bb352d17.34137",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3338,\r
-        "y": 604,\r
-        "z": "a52db008.999ba",\r
+        "x": 3606,\r
+        "y": 652,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "59393385.2a7954",\r
-                "5055791b.75c5d"\r
+                "8f0d5ee9.6635d",\r
+                "300f312a.b253d6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59393385.2a7954",\r
+        "id": "8f0d5ee9.6635d",\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": 3500,\r
-        "y": 599,\r
-        "z": "a52db008.999ba",\r
+        "x": 3768,\r
+        "y": 647,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e04c02f4.2f63f8",\r
+        "id": "684cf1ab.a79f48",\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": 2981,\r
-        "y": 1461.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3249,\r
+        "y": 1509.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "250eb2ce.721286",\r
-                "7ff4092b.9f4c3"\r
+                "10ff0da4.16d4ea",\r
+                "55c5195b.3875c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ff4092b.9f4c3",\r
+        "id": "55c5195b.3875c8",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3204,\r
-        "y": 1447.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3472,\r
+        "y": 1495.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "4e15b8c4.ecfe8"\r
+                "7202d26b.6dffec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "250eb2ce.721286",\r
+        "id": "10ff0da4.16d4ea",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3206,\r
-        "y": 1480.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3474,\r
+        "y": 1528.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d740a9b4.496fa"\r
+                "30474e74.e5639a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d740a9b4.496fa",\r
+        "id": "30474e74.e5639a",\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": 3349,\r
-        "y": 1477.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3617,\r
+        "y": 1525.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4e15b8c4.ecfe8",\r
+        "id": "7202d26b.6dffec",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3352,\r
-        "y": 1440.9998779296875,\r
-        "z": "a52db008.999ba",\r
+        "x": 3620,\r
+        "y": 1488.9998779296875,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "a09d9728.0836a8",\r
-                "a9ef3bf.dca6748"\r
+                "885f2609.7cba58",\r
+                "e1d06713.adb0c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a09d9728.0836a8",\r
+        "id": "885f2609.7cba58",\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": 3546,\r
-        "y": 1444,\r
-        "z": "a52db008.999ba",\r
+        "x": 3814,\r
+        "y": 1492,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7ac4d896.f266b8",\r
+        "id": "d352d101.d008a8",\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": 1092,\r
-        "y": 170,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "41475eff.deafd",\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": 2443,\r
-        "y": 2082,\r
-        "z": "a52db008.999ba",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "171af565.db9233",\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": 2441,\r
-        "y": 2370,\r
-        "z": "a52db008.999ba",\r
+        "x": 1078,\r
+        "y": 197,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a8e7dd16.944608",\r
+        "id": "bb95643a.1dafd8",\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": 3614,\r
-        "y": 1195,\r
-        "z": "a52db008.999ba",\r
+        "x": 3882,\r
+        "y": 1243,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "58871d7.533a164"\r
+                "232e8f32.739b48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "58871d7.533a164",\r
+        "id": "232e8f32.739b48",\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": 3820,\r
-        "y": 1195,\r
-        "z": "a52db008.999ba",\r
+        "x": 4088,\r
+        "y": 1243,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e6111c32.d5195"\r
+                "8bbe738e.7fafb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e6111c32.d5195",\r
+        "id": "8bbe738e.7fafb",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4035.28564453125,\r
-        "y": 1194.82177734375,\r
-        "z": "a52db008.999ba",\r
+        "x": 4303.28564453125,\r
+        "y": 1242.82177734375,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "4a0a1881.22b0b"\r
+                "c3ad3464.e3237"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a0a1881.22b0b",\r
+        "id": "c3ad3464.e3237",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4242.1171875,\r
-        "y": 1195.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4510.1171875,\r
+        "y": 1243.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "5e5dd832.1a8688",\r
-                "54bc0e63.9b6c2",\r
-                "21213693.b01ef2"\r
+                "f0158859.e44c4",\r
+                "1be7b379.0a0a35",\r
+                "bee0e07a.660808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e5dd832.1a8688",\r
+        "id": "f0158859.e44c4",\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": 4457.1171875,\r
-        "y": 1157.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4725.1171875,\r
+        "y": 1205.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "54bc0e63.9b6c2",\r
+        "id": "1be7b379.0a0a35",\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": 4454.1171875,\r
-        "y": 1196.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4722.1171875,\r
+        "y": 1244.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "de5f8f91.d806"\r
+                "5d7ec3ca.e9fe2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21213693.b01ef2",\r
+        "id": "bee0e07a.660808",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4409.6171875,\r
-        "y": 1238.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4677.6171875,\r
+        "y": 1286.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "de5f8f91.d806",\r
+        "id": "5d7ec3ca.e9fe2c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4634.6171875,\r
-        "y": 1195.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4902.6171875,\r
+        "y": 1243.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "f282b1a5.b5514"\r
+                "5c631dd4.8f5fbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f282b1a5.b5514",\r
+        "id": "5c631dd4.8f5fbc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4792.6171875,\r
-        "y": 1195.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 5060.6171875,\r
+        "y": 1243.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "5cf873ba.a6923c"\r
+                "d5d5e908.7a8eb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5cf873ba.a6923c",\r
+        "id": "d5d5e908.7a8eb8",\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": 4999.6171875,\r
-        "y": 1195.34033203125,\r
-        "z": "a52db008.999ba",\r
+        "x": 5267.6171875,\r
+        "y": 1243.34033203125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "34f70001.b13958",\r
+        "id": "60f3b421.08732c",\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": 3611,\r
-        "y": 2064.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 3879,\r
+        "y": 2112.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "a071673c.fc9a28"\r
+                "715a89d.cfea178"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a071673c.fc9a28",\r
+        "id": "715a89d.cfea178",\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": 3817,\r
-        "y": 2064.0001220703125,\r
-        "z": "a52db008.999ba",\r
+        "x": 4085,\r
+        "y": 2112.0001220703125,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6adf0421.fc4f54"\r
+                "977e3712.429b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6adf0421.fc4f54",\r
+        "id": "977e3712.429b18",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4032.28564453125,\r
-        "y": 2063.8218994140625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4300.28564453125,\r
+        "y": 2111.8218994140625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2bb1f1c3.65f2c6"\r
+                "2113d9ff.cdd31e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2bb1f1c3.65f2c6",\r
+        "id": "2113d9ff.cdd31e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4239.1171875,\r
-        "y": 2064.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4507.1171875,\r
+        "y": 2112.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "11642463.fe6e2c",\r
-                "c588c96b.efcac",\r
-                "4df609a.395b578"\r
+                "3c92c59b.613ca2",\r
+                "193b4238.409d8e",\r
+                "b71c718.f135e1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11642463.fe6e2c",\r
+        "id": "3c92c59b.613ca2",\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": 4454.1171875,\r
-        "y": 2026.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4722.1171875,\r
+        "y": 2074.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c588c96b.efcac",\r
+        "id": "193b4238.409d8e",\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": 4451.1171875,\r
-        "y": 2065.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4719.1171875,\r
+        "y": 2113.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "946398a2.3fdd3"\r
+                "df85928.81de67"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4df609a.395b578",\r
+        "id": "b71c718.f135e1",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4406.6171875,\r
-        "y": 2107.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4674.6171875,\r
+        "y": 2155.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "946398a2.3fdd3",\r
+        "id": "df85928.81de67",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4631.6171875,\r
-        "y": 2064.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 4899.6171875,\r
+        "y": 2112.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "4ada9462.92f41c"\r
+                "8b1f9fde.337d98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ada9462.92f41c",\r
+        "id": "8b1f9fde.337d98",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4789.6171875,\r
-        "y": 2064.3404541015625,\r
-        "z": "a52db008.999ba",\r
+        "x": 5057.6171875,\r
+        "y": 2112.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "85bbe5c.988a398"\r
+                "20d9b129.b72206"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85bbe5c.988a398",\r
+        "id": "20d9b129.b72206",\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": 4996.6171875,\r
-        "y": 2064.3404541015625,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "62bd6081.059d7",\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,' + $maximum-bandwidth /1000 *2 /3 `\" />\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": 2372,\r
-        "y": 2991,\r
-        "z": "a52db008.999ba",\r
+        "x": 5264.6171875,\r
+        "y": 2112.3404541015625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5055791b.75c5d",\r
+        "id": "300f312a.b253d6",\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": 3527,\r
-        "y": 671,\r
-        "z": "a52db008.999ba",\r
+        "x": 3795,\r
+        "y": 719,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b37ffca0.5536d8",\r
-                "f29e8ee3.6f68c8",\r
-                "12ff2066.526398"\r
+                "1c354309.a76ffd",\r
+                "950deba8.cc3e4",\r
+                "c2c16051.a906d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b37ffca0.5536d8",\r
+        "id": "1c354309.a76ffd",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3722.5001220703125,\r
-        "y": 623,\r
-        "z": "a52db008.999ba",\r
+        "x": 3990.5001220703125,\r
+        "y": 671,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "8d70b5c4.7732f8"\r
+                "d41af0c3.594838"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f29e8ee3.6f68c8",\r
+        "id": "950deba8.cc3e4",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3714.5001220703125,\r
-        "y": 678,\r
-        "z": "a52db008.999ba",\r
+        "x": 3982.5001220703125,\r
+        "y": 726,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "aea102ae.c04f58"\r
+                "3d15fff1.053cf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12ff2066.526398",\r
+        "id": "c2c16051.a906d8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3719.5001220703125,\r
-        "y": 735,\r
-        "z": "a52db008.999ba",\r
+        "x": 3987.5001220703125,\r
+        "y": 783,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d2755963.27f41"\r
+                "d7ef8f23.d036"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d2755963.27f41",\r
+        "id": "d7ef8f23.d036",\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": 3871.5001220703125,\r
-        "y": 736,\r
-        "z": "a52db008.999ba",\r
+        "x": 4139.5001220703125,\r
+        "y": 784,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aea102ae.c04f58",\r
+        "id": "3d15fff1.053cf",\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": 3882.5001220703125,\r
-        "y": 681,\r
-        "z": "a52db008.999ba",\r
+        "x": 4150.5001220703125,\r
+        "y": 729,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8d70b5c4.7732f8",\r
+        "id": "d41af0c3.594838",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3866.8824462890625,\r
-        "y": 620.6556701660156,\r
-        "z": "a52db008.999ba",\r
+        "x": 4134.8824462890625,\r
+        "y": 668.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "bbf0aa7e.e2119"\r
+                "b45d0128.680c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4395a66.200ea",\r
+        "id": "7cb8afd4.8d20b8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4449,\r
-        "y": 639,\r
-        "z": "a52db008.999ba",\r
+        "x": 4717,\r
+        "y": 687,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "89965e9d.5bf73"\r
+                "47edc84c.808f88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "89965e9d.5bf73",\r
+        "id": "47edc84c.808f88",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4626,\r
-        "y": 631,\r
-        "z": "a52db008.999ba",\r
+        "x": 4894,\r
+        "y": 679,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "cf2b04e9.c7ece",\r
-                "32eb8024.15dcc8"\r
+                "266ac25a.ea33a6",\r
+                "2d08c6.2cc1e73a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bbf0aa7e.e2119",\r
+        "id": "b45d0128.680c8",\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": 4051,\r
-        "y": 635,\r
-        "z": "a52db008.999ba",\r
+        "x": 4319,\r
+        "y": 683,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "5e8a47e5.344b2"\r
+                "4f9ef890.59c338"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e8a47e5.344b2",\r
+        "id": "4f9ef890.59c338",\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": 4246,\r
-        "y": 635,\r
-        "z": "a52db008.999ba",\r
+        "x": 4514,\r
+        "y": 683,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "f4395a66.200ea",\r
-                "cfe936cc.62cbd8"\r
+                "7cb8afd4.8d20b8",\r
+                "212f425.c6d5fbe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf2b04e9.c7ece",\r
+        "id": "266ac25a.ea33a6",\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": 4864,\r
-        "y": 586,\r
-        "z": "a52db008.999ba",\r
+        "x": 5132,\r
+        "y": 634,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "73d2c0a6.ca0098",\r
+        "id": "fe7f5526.b757d",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5044,\r
-        "y": 629,\r
-        "z": "a52db008.999ba",\r
+        "x": 5312,\r
+        "y": 677,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "c43ff31d.81e548"\r
+                "c4631195.e5511"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2f388561.aeb472",\r
+        "id": "ace94fc7.113e6",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5036,\r
-        "y": 684,\r
-        "z": "a52db008.999ba",\r
+        "x": 5304,\r
+        "y": 732,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "d2cf9090.58e4c8"\r
+                "af8bf071.82c85"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9248b9c.994ac",\r
+        "id": "42739782.dc6168",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5041,\r
-        "y": 741,\r
-        "z": "a52db008.999ba",\r
+        "x": 5309,\r
+        "y": 789,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "c9c36e85.c10ae8"\r
+                "b1e33e76.6db9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9c36e85.c10ae8",\r
+        "id": "b1e33e76.6db9b",\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": 5193,\r
-        "y": 742,\r
-        "z": "a52db008.999ba",\r
+        "x": 5461,\r
+        "y": 790,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d2cf9090.58e4c8",\r
+        "id": "af8bf071.82c85",\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": 5204,\r
-        "y": 687,\r
-        "z": "a52db008.999ba",\r
+        "x": 5472,\r
+        "y": 735,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c43ff31d.81e548",\r
+        "id": "c4631195.e5511",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5188.38232421875,\r
-        "y": 626.6556701660156,\r
-        "z": "a52db008.999ba",\r
+        "x": 5456.38232421875,\r
+        "y": 674.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "2aa1f89d.d99288"\r
+                "4dcc9c46.887914"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2aa1f89d.d99288",\r
+        "id": "4dcc9c46.887914",\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": 5403,\r
-        "y": 623,\r
-        "z": "a52db008.999ba",\r
+        "x": 5671,\r
+        "y": 671,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a9ef3bf.dca6748",\r
+        "id": "e1d06713.adb0c8",\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": 3568,\r
-        "y": 1512,\r
-        "z": "a52db008.999ba",\r
+        "x": 3836,\r
+        "y": 1560,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "4ce90a1d.60092c",\r
-                "60723c85.f84054",\r
-                "343ac8c.8b51638"\r
+                "34f7d7e6.e7fa8",\r
+                "cb710953.72942",\r
+                "4c788e8d.e93588"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ce90a1d.60092c",\r
+        "id": "34f7d7e6.e7fa8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3763.5001220703125,\r
-        "y": 1464,\r
-        "z": "a52db008.999ba",\r
+        "x": 4031.5001220703125,\r
+        "y": 1512,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ce24a29a.e4d57"\r
+                "fd0d1ee5.65b0f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60723c85.f84054",\r
+        "id": "cb710953.72942",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3755.5001220703125,\r
-        "y": 1519,\r
-        "z": "a52db008.999ba",\r
+        "x": 4023.5001220703125,\r
+        "y": 1567,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e9f57737.1a79b8"\r
+                "68639fde.fb4de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "343ac8c.8b51638",\r
+        "id": "4c788e8d.e93588",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3760.5001220703125,\r
-        "y": 1576,\r
-        "z": "a52db008.999ba",\r
+        "x": 4028.5001220703125,\r
+        "y": 1624,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "67449715.5406e8"\r
+                "ed57c904.1da5b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "67449715.5406e8",\r
+        "id": "ed57c904.1da5b",\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": 3912.5001220703125,\r
-        "y": 1577,\r
-        "z": "a52db008.999ba",\r
+        "x": 4180.5001220703125,\r
+        "y": 1625,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e9f57737.1a79b8",\r
+        "id": "68639fde.fb4de8",\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": 3923.5001220703125,\r
-        "y": 1522,\r
-        "z": "a52db008.999ba",\r
+        "x": 4191.5001220703125,\r
+        "y": 1570,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ce24a29a.e4d57",\r
+        "id": "fd0d1ee5.65b0f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3907.8824462890625,\r
-        "y": 1461.6556701660156,\r
-        "z": "a52db008.999ba",\r
+        "x": 4175.8824462890625,\r
+        "y": 1509.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ed40a410.dc6fe8"\r
+                "2c890085.25e4f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "857c3216.12f558",\r
+        "id": "b16b2c11.a7e9e",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4490,\r
-        "y": 1480,\r
-        "z": "a52db008.999ba",\r
+        "x": 4758,\r
+        "y": 1528,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6bbf97a7.ebebb8"\r
+                "e2c7b2a2.534808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6bbf97a7.ebebb8",\r
+        "id": "e2c7b2a2.534808",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4667,\r
-        "y": 1472,\r
-        "z": "a52db008.999ba",\r
+        "x": 4935,\r
+        "y": 1520,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ee554955.44691",\r
-                "1c8432c4.e13b6d"\r
+                "8256d13e.acb508",\r
+                "e33af2d.2ed629"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ed40a410.dc6fe8",\r
+        "id": "2c890085.25e4f8",\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": 4092,\r
-        "y": 1476,\r
-        "z": "a52db008.999ba",\r
+        "x": 4360,\r
+        "y": 1524,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "70b35483.a830f4"\r
+                "7ad873b6.5b0624"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70b35483.a830f4",\r
+        "id": "7ad873b6.5b0624",\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": 4287,\r
-        "y": 1476,\r
-        "z": "a52db008.999ba",\r
+        "x": 4555,\r
+        "y": 1524,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "857c3216.12f558",\r
-                "dc8e8812.fdd648"\r
+                "b16b2c11.a7e9e",\r
+                "ba30acec.499f9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c8432c4.e13b6d",\r
+        "id": "e33af2d.2ed629",\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": 4875,\r
-        "y": 1479,\r
-        "z": "a52db008.999ba",\r
+        "x": 5143,\r
+        "y": 1527,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "6cc22b96.ba67f4",\r
-                "b08dfdd6.0852f8",\r
-                "4f7e6e24.1a4"\r
+                "dd2f9c6b.57f548",\r
+                "3b879379.c9bf84",\r
+                "13b1398c.3c465e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee554955.44691",\r
+        "id": "8256d13e.acb508",\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": 4905,\r
-        "y": 1427,\r
-        "z": "a52db008.999ba",\r
+        "x": 5173,\r
+        "y": 1475,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6cc22b96.ba67f4",\r
+        "id": "dd2f9c6b.57f548",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5085,\r
-        "y": 1470,\r
-        "z": "a52db008.999ba",\r
+        "x": 5353,\r
+        "y": 1518,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "19f4c2b.fd2d63d"\r
+                "56d2c260.edc91c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b08dfdd6.0852f8",\r
+        "id": "3b879379.c9bf84",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5077,\r
-        "y": 1525,\r
-        "z": "a52db008.999ba",\r
+        "x": 5345,\r
+        "y": 1573,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "4d7c2f7b.855e48"\r
+                "7449bea.eaa7fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f7e6e24.1a4",\r
+        "id": "13b1398c.3c465e",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5082,\r
-        "y": 1582,\r
-        "z": "a52db008.999ba",\r
+        "x": 5350,\r
+        "y": 1630,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "92c87883.16eab"\r
+                "232c7315.841b1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "92c87883.16eab",\r
+        "id": "232c7315.841b1c",\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": 5234,\r
-        "y": 1583,\r
-        "z": "a52db008.999ba",\r
+        "x": 5502,\r
+        "y": 1631,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d7c2f7b.855e48",\r
+        "id": "7449bea.eaa7fc",\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": 5245,\r
-        "y": 1528,\r
-        "z": "a52db008.999ba",\r
+        "x": 5513,\r
+        "y": 1576,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "19f4c2b.fd2d63d",\r
+        "id": "56d2c260.edc91c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5229.38232421875,\r
-        "y": 1467.6556701660156,\r
-        "z": "a52db008.999ba",\r
+        "x": 5497.38232421875,\r
+        "y": 1515.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "f5fd6d7b.ccf568"\r
+                "49d0cb53.31a39c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5fd6d7b.ccf568",\r
+        "id": "49d0cb53.31a39c",\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": 5444,\r
-        "y": 1464,\r
-        "z": "a52db008.999ba",\r
+        "x": 5712,\r
+        "y": 1512,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fdbb72c5.61c228",\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": "33bd7ebe.34c502",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2423,\r
-        "y": 2674,\r
-        "z": "a52db008.999ba",\r
+        "x": 2796,\r
+        "y": 452,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "b62b791e.5db38",\r
-                "47c9af20.002648"\r
+                "fe8ff063.6863b8",\r
+                "4e85bccf.c8cf0c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47c9af20.002648",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "4e85bccf.c8cf0c",\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": 2689,\r
-        "y": 2654,\r
-        "z": "a52db008.999ba",\r
+        "x": 3077,\r
+        "y": 408,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e173211c.50ca1"\r
+                "badd7dbd.ce16"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b62b791e.5db38",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "badd7dbd.ce16",\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": 2690.000213623047,\r
-        "y": 2704.99990940094,\r
-        "z": "a52db008.999ba",\r
+        "x": 3339,\r
+        "y": 408,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "9a481111.191d4"\r
+                "5050eb58.e00ed4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e173211c.50ca1",\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 OOF api\" />\n",\r
-        "comments": "",\r
-        "x": 2829.0002479553223,\r
-        "y": 2654.0000009536743,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9a481111.191d4",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "212f425.c6d5fbe",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2835.02725982666,\r
-        "y": 2702.745394706726,\r
-        "z": "a52db008.999ba",\r
+        "x": 4720,\r
+        "y": 761,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
-            []\r
+            [\r
+                "656d86d7.e1bb3"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "3f4df906.b67d7e",\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
-        "outputs": 1,\r
-        "x": 2423,\r
-        "y": 3046,\r
-        "z": "a52db008.999ba",\r
+        "id": "656d86d7.e1bb3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4897,\r
+        "y": 753,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "4f5b4545.d432fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f5b4545.d432fc",\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": 5132,\r
+        "y": 877,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5e5727f6.ce94f",\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": 5172,\r
+        "y": 1717,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "33761656.d7dc5a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4937,\r
+        "y": 1593,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "5e5727f6.ce94f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba30acec.499f9",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4760,\r
+        "y": 1601,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "33761656.d7dc5a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "420f3616.2f701",\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": 4378,\r
+        "y": 538,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b1349530.c53cc",\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": 2734,\r
+        "y": 672,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "84b0870f.4db1e",\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": 2715,\r
+        "y": 722,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dfd81e1.a251ae",\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": 1972,\r
+        "y": 224,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "3ffb610e.7895d6",\r
+                "1fed210d.6adb97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ffb610e.7895d6",\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": 2256,\r
+        "y": 194,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f03402a.5db7",\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": 2631,\r
+        "y": 2231,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56710693.e24068",\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": 2615,\r
+        "y": 3930,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3323f682.f60c3a",\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\n\n",\r
+        "comments": "",\r
+        "x": 2672,\r
+        "y": 767,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "13ac3dbd.1f366a",\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": 2666,\r
+        "y": 2351,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "f2924301.397558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "647d2436.140504",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='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\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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3789,\r
+        "y": 2919,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "810630b1.0e1b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fdfa6fb7.1a35f",\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": 4361.5,\r
+        "y": 3023,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "810630b1.0e1b6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4095,\r
+        "y": 2918,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "a594830d.53acd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a594830d.53acd8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4304.5,\r
+        "y": 2918.25390625,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "b41cf773.b97ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c295920.4b5da",\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": 3825,\r
+        "y": 2383,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "19452741.32e4c1",\r
+        "type": "switchNode",\r
+        "name": "switch otnidx == 0",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3698,\r
+        "y": 3036,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "9c40fb98.e1f61",\r
+                "20acba8d.85a5f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c40fb98.e1f61",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3881,\r
+        "y": 3036,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "a42fc89d.d0c4a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20acba8d.85a5f6",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3706,\r
+        "y": 3183,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "332942c6.7f663e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5749296.6a691",\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": 4047,\r
+        "y": 3264,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "2103be8f.1fc842",\r
+                "1554c822.b8c828"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2103be8f.1fc842",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4232,\r
+        "y": 3265,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "a1250da6.1c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1554c822.b8c828",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4251,\r
+        "y": 3531,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "99adbaff.3e741"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f416ea28.cb6ab",\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": 4662,\r
+        "y": 3266,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6548b2c.2addd8",\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": 4736,\r
+        "y": 3564,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddd52155.f542e8",\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='vpn-type' value='dummy' />\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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4672,\r
+        "y": 3615,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a14f6e93.1adaf8",\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": 4801,\r
+        "y": 3665,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "16a831c0.877516",\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": 4811,\r
+        "y": 3508,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2e301756.38a228",\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": 4769,\r
+        "y": 3724,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "99adbaff.3e741",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4408,\r
+        "y": 3532,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "e6548b2c.2addd8",\r
+                "ddd52155.f542e8",\r
+                "a14f6e93.1adaf8",\r
+                "2e301756.38a228",\r
+                "ebae712b.9f6bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2924301.397558",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2918,\r
+        "y": 2412,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "4c295920.4b5da",\r
+                "647d2436.140504",\r
+                "19452741.32e4c1",\r
+                "1d59f70d.1ee6c9",\r
+                "b15a67ed.f1cb18",\r
+                "e4fb52b5.f04798",\r
+                "f5263d8c.0dd66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e1edee2.ee8112",\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": 4286,\r
+        "y": 3080,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba046748.bfe1b",\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": 4339,\r
+        "y": 3124,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "b63ee960.cee2c",\r
+                "1b1f60e5.7a7c9f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b1f60e5.7a7c9f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4610,\r
+        "y": 3109,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "e9f5d50.e9a0928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b63ee960.cee2c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4608.000213623047,\r
+        "y": 3166.99990940094,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "c9e53751.966bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9f5d50.e9a0928",\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": 4750.000247955322,\r
+        "y": 3109.0000009536743,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c9e53751.966bb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4756.02725982666,\r
+        "y": 3157.745394706726,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a42fc89d.d0c4a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4022,\r
+        "y": 3026,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "fdfa6fb7.1a35f",\r
+                "ba046748.bfe1b",\r
+                "2e1edee2.ee8112"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1250da6.1c6",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4366,\r
+        "y": 3266,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "f416ea28.cb6ab",\r
+                "6f1cb48c.6026e4",\r
+                "1cf9708b.795d07"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cf9708b.795d07",\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": 4586,\r
+        "y": 3310,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f1cb48c.6026e4",\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": 4637,\r
+        "y": 3354,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "6e1323b5.c04ce4",\r
+                "1555b51f.0ca46b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1555b51f.0ca46b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4900,\r
+        "y": 3334,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "7a3f18c.e7bf268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e1323b5.c04ce4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4901.000213623047,\r
+        "y": 3384.99990940094,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "c1d2c5de.5e2688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a3f18c.e7bf268",\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": 5040.000247955322,\r
+        "y": 3334.0000009536743,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c1d2c5de.5e2688",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5046.02725982666,\r
+        "y": 3382.745394706726,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebae712b.9f6bf8",\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": 4683,\r
+        "y": 3784,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bc1d9c19.8a817",\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": 2002,\r
+        "y": 4131,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "3b12d36f.6d8234",\r
+                "89a53740.4d3c98",\r
+                "a61d86b5.6c70f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b12d36f.6d8234",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2190,\r
+        "y": 4144,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "3ced61cb.b2d7fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89a53740.4d3c98",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2190.490966796875,\r
+        "y": 4189.574035644531,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "3eafcbaf.f2f56c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a61d86b5.6c70f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2188,\r
+        "y": 4233,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "170e04a2.1b39fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ced61cb.b2d7fe",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2363,\r
+        "y": 4142,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "ef9d0591.fefb08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3eafcbaf.f2f56c",\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": 2353.0623779296875,\r
+        "y": 4189.859771728516,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "170e04a2.1b39fb",\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": 2355,\r
+        "y": 4232,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bf30e0be.23b998",\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": 1991,\r
+        "y": 4322,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "557999e1.77dcb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d613988a.0c40c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2801,\r
+        "y": 4322,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "e4afc290.74f038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7f46916.4f1ee",\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": 2573,\r
+        "y": 4322,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "d613988a.0c40c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce29a297.cf1cb8",\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": 3693,\r
+        "y": 4089,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "90828ea.8f9357",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
+        "comments": "",\r
+        "x": 3995,\r
+        "y": 3215,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "332942c6.7f663e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3830,\r
+        "y": 3190,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "90828ea.8f9357",\r
+                "f5749296.6a691"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0adb7e4.435f98",\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": 1954,\r
+        "y": 170,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ef9d0591.fefb08",\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": 2592,\r
+        "y": 4143,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "2fbee9b.ff76316"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fbee9b.ff76316",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2807,\r
+        "y": 4144,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "9baaaca4.d54a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49f4d5cd.eba3ac",\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": 4260,\r
+        "y": 4064,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "a296aaec.6a9f7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72392f69.a40338",\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": 3726,\r
+        "y": 4144,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "1e30cbc6.5b29c4",\r
+                "73a572c0.fcdcfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e30cbc6.5b29c4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3922,\r
+        "y": 4114,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "79192fda.22a8a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "73a572c0.fcdcfc",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3923,\r
+        "y": 4185,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "e5b5d449.e95738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79192fda.22a8a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4073,\r
+        "y": 4112,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "49f4d5cd.eba3ac",\r
+                "ee34549a.68661"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a296aaec.6a9f7",\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": 4551,\r
+        "y": 4064,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "f6a570fa.8c3e18",\r
+                "f096fdfa.51af18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6a570fa.8c3e18",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4826,\r
+        "y": 4033,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "7e64bb9a.5c5954"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f096fdfa.51af18",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4827,\r
+        "y": 4104,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "2ae9b410.b8e274"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e64bb9a.5c5954",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4977,\r
+        "y": 4031,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "883ad39b.46747",\r
+                "3d5cad7b.78211a",\r
+                "ac8bc417.7b82a",\r
+                "6ea95490.220544",\r
+                "6a39b9a6.2592"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "883ad39b.46747",\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": 5165,\r
+        "y": 3991,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d5cad7b.78211a",\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": 5237,\r
+        "y": 4036,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a39b9a6.2592",\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": 5152,\r
+        "y": 4163,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6ea95490.220544",\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": 5173,\r
+        "y": 4099,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e5b5d449.e95738",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4075,\r
+        "y": 4185,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "b867d047.fac",\r
+                "3788e630.590d72"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b867d047.fac",\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": 4330,\r
+        "y": 4178,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3788e630.590d72",\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": 4258,\r
+        "y": 4225,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ee34549a.68661",\r
+        "type": "switchNode",\r
+        "name": "switch found?",\r
+        "xml": "<switch test='`$found`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4251,\r
+        "y": 4109,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "d1f76975.e11b9",\r
+                "3421ae07.ec9d62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1f76975.e11b9",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4411,\r
+        "y": 4101,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "2d9d0080.4d96d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3421ae07.ec9d62",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4409,\r
+        "y": 4138,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "91314308.ab84d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d9d0080.4d96d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4536,\r
+        "y": 4101,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd3f24a6.bbbfb8",\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": 4843,\r
+        "y": 4159,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "91314308.ab84d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4569,\r
+        "y": 4146,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "fd3f24a6.bbbfb8",\r
+                "3fbaf181.1ff88e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fbaf181.1ff88e",\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": 4760,\r
+        "y": 4205,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2ae9b410.b8e274",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4960,\r
+        "y": 4103,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac8bc417.7b82a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5131,\r
+        "y": 4230,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d59f70d.1ee6c9",\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": 3528,\r
+        "y": 2442,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "13d01e4b.11cf72",\r
+                "f41dda2a.86b79"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13d01e4b.11cf72",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3917,\r
+        "y": 2420,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "a63400f9.70b798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f41dda2a.86b79",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3918,\r
+        "y": 2466,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "201cd4b0.391f6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a63400f9.70b798",\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": 4131,\r
+        "y": 2419,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "201cd4b0.391f6c",\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": 4129,\r
+        "y": 2464,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4afc290.74f038",\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": 3054,\r
+        "y": 4320,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a129ea2.020ec",\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": 2639,\r
+        "y": 4428,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "e8fdf08e.e8b0f8",\r
-                "a8718b8a.f404c8"\r
+                "235df5b8.967b5a",\r
+                "2fcb7bfa.e794ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8718b8a.f404c8",\r
+        "id": "2fcb7bfa.e794ec",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2689,\r
-        "y": 3026,\r
-        "z": "a52db008.999ba",\r
+        "x": 2922,\r
+        "y": 4408,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "fcecbd56.8e1ac"\r
+                "ec27b172.f3b03"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8fdf08e.e8b0f8",\r
+        "id": "235df5b8.967b5a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2690.000213623047,\r
-        "y": 3076.99990940094,\r
-        "z": "a52db008.999ba",\r
+        "x": 2923.000213623047,\r
+        "y": 4458.99990940094,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ccb1984d.b4313"\r
+                "afac7d54.5ea3c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fcecbd56.8e1ac",\r
+        "id": "ec27b172.f3b03",\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 OOF api\" />\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=\"Error executing slice creation api for domain A\" />\n",\r
         "comments": "",\r
-        "x": 2829.0002479553223,\r
-        "y": 3026.0000009536743,\r
-        "z": "a52db008.999ba",\r
+        "x": 3062.0002479553223,\r
+        "y": 4408.000000953674,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ccb1984d.b4313",\r
+        "id": "afac7d54.5ea3c8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2835.02725982666,\r
-        "y": 3074.745394706726,\r
-        "z": "a52db008.999ba",\r
+        "x": 3068.02725982666,\r
+        "y": 4456.745394706726,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b6e0228b.bc6398",\r
+        "id": "b15a67ed.f1cb18",\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": 3712,\r
+        "y": 2562,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4fb52b5.f04798",\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": 3756,\r
+        "y": 2610,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "38280842.8f481",\r
+                "762394a6.8c9edc",\r
+                "bf6967d.9863518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38280842.8f481",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3968.5,\r
+        "y": 2557,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "7c3bab6c.40727c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "762394a6.8c9edc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3980.5,\r
+        "y": 2607,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "9fa14d44.80429"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf6967d.9863518",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3971.5,\r
+        "y": 2662,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "e6f16a7e.5e034"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6f16a7e.5e034",\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": 4116.5,\r
+        "y": 2661,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9fa14d44.80429",\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": 4127.5,\r
+        "y": 2604,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7c3bab6c.40727c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4093.8824462890625,\r
+        "y": 2550.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "3ada39cb.077d7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79f49c03.b31834",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4653,\r
+        "y": 2569,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "b38ec96c.50bcb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b38ec96c.50bcb",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2528,\r
-        "y": 404,\r
-        "z": "a52db008.999ba",\r
+        "x": 4830,\r
+        "y": 2561,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "65e46dcd.9c5144",\r
-                "bb6c8a2e.a61878"\r
+                "b25407c2.fe4e9",\r
+                "76abd2d6.8cf2bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb6c8a2e.a61878",\r
+        "id": "3ada39cb.077d7e",\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": 2809,\r
-        "y": 360,\r
-        "z": "a52db008.999ba",\r
+        "x": 4255,\r
+        "y": 2565,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "475f2872.5fafd"\r
+                "631c6ac2.9b4684"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "475f2872.5fafd",\r
+        "id": "631c6ac2.9b4684",\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": 3071,\r
-        "y": 360,\r
-        "z": "a52db008.999ba",\r
+        "x": 4450,\r
+        "y": 2565,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "da58235b.ecd51"\r
+                "79f49c03.b31834"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cfe936cc.62cbd8",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
+        "id": "76abd2d6.8cf2bc",\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": 4452,\r
-        "y": 713,\r
-        "z": "a52db008.999ba",\r
+        "x": 5038,\r
+        "y": 2568,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "29038cb1.b59084"\r
+                "b500a3b6.711188",\r
+                "e4ff3e60.96d148",\r
+                "ef9c5a3.20232a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29038cb1.b59084",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "b25407c2.fe4e9",\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": 5068,\r
+        "y": 2516,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b500a3b6.711188",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 4629,\r
-        "y": 705,\r
-        "z": "a52db008.999ba",\r
+        "x": 5248,\r
+        "y": 2559,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "c25692cd.684ce8"\r
+                "8c9a0f1.a2e9b7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c25692cd.684ce8",\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": "e4ff3e60.96d148",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5240,\r
+        "y": 2614,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "7d5ba752.0bac28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef9c5a3.20232a8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5245,\r
+        "y": 2671,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "5979580a.e6b1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5979580a.e6b1f8",\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": 5397,\r
+        "y": 2672,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7d5ba752.0bac28",\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": 4864,\r
-        "y": 829,\r
-        "z": "a52db008.999ba",\r
+        "x": 5408,\r
+        "y": 2617,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "68f808b3.66b5",\r
+        "id": "8c9a0f1.a2e9b7",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5392.38232421875,\r
+        "y": 2556.6556701660156,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            [\r
+                "b4fe40f1.fee308"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4fe40f1.fee308",\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": 4904,\r
-        "y": 1669,\r
-        "z": "a52db008.999ba",\r
+        "x": 5607,\r
+        "y": 2553,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ad76d9b4.88b908",\r
+        "id": "557999e1.77dcb",\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": 4669,\r
-        "y": 1545,\r
-        "z": "a52db008.999ba",\r
+        "x": 2223,\r
+        "y": 4320,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "68f808b3.66b5"\r
+                "f7f46916.4f1ee",\r
+                "5a129ea2.020ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dc8e8812.fdd648",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
+        "id": "f5263d8c.0dd66",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == 0 (domainA)",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4492,\r
-        "y": 1553,\r
-        "z": "a52db008.999ba",\r
+        "x": 3726,\r
+        "y": 2779,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "ad76d9b4.88b908"\r
+                "cb45f40e.c4e9f",\r
+                "686c2e71.b364f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fad5035b.7ee3a8",\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/ietf-optical-slice:tp-slice-id' `\" />\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
+        "id": "cb45f40e.c4e9f",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 2807,\r
-        "z": "a52db008.999ba",\r
+        "x": 3927,\r
+        "y": 2777,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "bc31fb8e.e87f08",\r
-                "8c5d2dc9.bdb42"\r
+                "906b7761.ec3cf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c5d2dc9.bdb42",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "906b7761.ec3cf",\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": 4141,\r
+        "y": 2779,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb50949c.2c4e68",\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": 2691,\r
-        "y": 2787,\r
-        "z": "a52db008.999ba",\r
+        "x": 4144,\r
+        "y": 2828,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "536d6d82.f4f124"\r
+                "f9f184f6.8f0c58",\r
+                "b1eb5cf.84b33a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc31fb8e.e87f08",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "f9f184f6.8f0c58",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 2837.99990940094,\r
-        "z": "a52db008.999ba",\r
+        "x": 4374,\r
+        "y": 2824,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "509489f1.58fe18"\r
+                "ea46128e.0ba028"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "536d6d82.f4f124",\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 OOF api\" />\n",\r
+        "id": "ea46128e.0ba028",\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": 2831.0002479553223,\r
-        "y": 2787.0000009536743,\r
-        "z": "a52db008.999ba",\r
+        "x": 4588,\r
+        "y": 2827,\r
+        "z": "b31344e1.6b9228",\r
         "wires": []\r
     },\r
     {\r
-        "id": "509489f1.58fe18",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "686c2e71.b364f8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 2835.745394706726,\r
-        "z": "a52db008.999ba",\r
+        "x": 3927,\r
+        "y": 2826,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
-            []\r
+            [\r
+                "bb50949c.2c4e68"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "d037b0c3.f093c",\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/ietf-optical-slice:tp-slice-id' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "id": "b1eb5cf.84b33a",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 3173,\r
-        "z": "a52db008.999ba",\r
+        "x": 4375,\r
+        "y": 2870,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "8c8a801.d7272",\r
-                "b835a972.f48b7"\r
+                "591dd2d5.72937c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b835a972.f48b7",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "591dd2d5.72937c",\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": 4589,\r
+        "y": 2870,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b41cf773.b97ef",\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": 4487,\r
+        "y": 2919,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9baaaca4.d54a4",\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",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2691,\r
-        "y": 3153,\r
-        "z": "a52db008.999ba",\r
+        "x": 3051,\r
+        "y": 4143,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "88a6a85e.9ed23"\r
+                "cb64ffb8.43ead",\r
+                "d4b6930e.5ef778"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c8a801.d7272",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "cb64ffb8.43ead",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 3203.99990940094,\r
-        "z": "a52db008.999ba",\r
+        "x": 3268,\r
+        "y": 4122,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
             [\r
-                "7de5bd62.f4f62c"\r
+                "2504214d.099dbe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "88a6a85e.9ed23",\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 OOF api\" />\n",\r
+        "id": "d4b6930e.5ef778",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
-        "x": 2831.0002479553223,\r
-        "y": 3153.0000009536743,\r
-        "z": "a52db008.999ba",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3268,\r
+        "y": 4171,\r
+        "z": "b31344e1.6b9228",\r
+        "wires": [\r
+            []\r
+        ]\r
     },\r
     {\r
-        "id": "7de5bd62.f4f62c",\r
+        "id": "2504214d.099dbe",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 3201.745394706726,\r
-        "z": "a52db008.999ba",\r
+        "x": 3436,\r
+        "y": 4122,\r
+        "z": "b31344e1.6b9228",\r
         "wires": [\r
-            []\r
+            [\r
+                "ce29a297.cf1cb8",\r
+                "72392f69.a40338"\r
+            ]\r
         ]\r
     }\r
 ]
\ No newline at end of file