Initial submission for supporting E-Line based cloud leased line service for CCVPN...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-modify.json
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-modify.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-modify.json
new file mode 100644 (file)
index 0000000..df10744
--- /dev/null
@@ -0,0 +1,5647 @@
+[\r
+    {\r
+        "id": "b86b0fef.6d8f2",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 228.56666564941406,\r
+        "y": 144.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2128d45c.da5aa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2128d45c.da5aa4",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\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": 453.85235595703125,\r
+        "y": 218.8047742843628,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "70e99b08.a81814"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70e99b08.a81814",\r
+        "type": "method",\r
+        "name": "method tsli-vnf-topology-operation-trans-slice-modify",\r
+        "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 459.9952697753906,\r
+        "y": 303.5666961669922,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3d648e68.8f83fa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d648e68.8f83fa",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 829.8047027587891,\r
+        "y": 328.2333526611328,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4898a5d2.c4814c",\r
+                "43d16cc8.33970c",\r
+                "dd074b01.699d5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4898a5d2.c4814c",\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": 1085.138198852539,\r
+        "y": 482.1636505126953,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "43d16cc8.33970c",\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": 1152.566665649414,\r
+        "y": 301.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5739653.c5aef1c",\r
+                "4e5f3667.ce514",\r
+                "7d9553c0.a90d3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5739653.c5aef1c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1377.566665649414,\r
+        "y": 159.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fc0ebeea.3842e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e5f3667.ce514",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1373.057632446289,\r
+        "y": 229.1407012939453,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "9ccb6432.a6f758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d9553c0.a90d3c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1361.566665649414,\r
+        "y": 275.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2159c0a9.b6525"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc0ebeea.3842e8",\r
+        "type": "switchNode",\r
+        "name": "switch allotted-resources_length != 0",\r
+        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1616.566665649414,\r
+        "y": 156.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "9f0f2f3b.2aa0c8",\r
+                "29eb9fec.58b94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ccb6432.a6f758",\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": 1526.6290435791016,\r
+        "y": 232.4264373779297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2159c0a9.b6525",\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": 1530.566665649414,\r
+        "y": 276.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9f0f2f3b.2aa0c8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1829.566665649414,\r
+        "y": 180.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c939819f.3d19a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29eb9fec.58b94",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1831.566665649414,\r
+        "y": 120.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c8a1ea6.0feed9",\r
+        "type": "comment",\r
+        "name": "new for TransportSlicing",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1131.566665649414,\r
+        "y": 189.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c939819f.3d19a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1774.566665649414,\r
+        "y": 362.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f0cde51e.fc048",\r
+                "5a4aff44.5be78",\r
+                "e781046f.1418e",\r
+                "127eaa7a.98449e",\r
+                "8780743f.a296a",\r
+                "323fc4b1.60fe74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db6151f2.0aacb",\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<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
+        "comments": "",\r
+        "x": 4343.566665649414,\r
+        "y": 869.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e016be81.6c64f",\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": 4344.566665649414,\r
+        "y": 924.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "103cc7a8.7e9b88",\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": 2300.566665649414,\r
+        "y": 319.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f2966e51.e2caf8",\r
+                "2b2db624.af7c1a",\r
+                "626f780f.86dfb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2966e51.e2caf8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2516.566665649414,\r
+        "y": 386.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8eff1c95.000698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b2db624.af7c1a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2517.057632446289,\r
+        "y": 286.14064025878906,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e741338f.fadbb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "626f780f.86dfb8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2512.566665649414,\r
+        "y": 335.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2cb8a0b4.ed0f98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e741338f.fadbb8",\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": 2694.629165649414,\r
+        "y": 286.42640686035156,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2cb8a0b4.ed0f98",\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": 2694.566665649414,\r
+        "y": 335.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c10a7b4.762648",\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": 3569.566665649414,\r
+        "y": 840.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "54f63921.d24288",\r
+                "11c3d54e.f4363b",\r
+                "e636914f.ca32e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54f63921.d24288",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3861.057632446289,\r
+        "y": 819.1406402587891,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4ad84bdb.1011e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11c3d54e.f4363b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3849.566665649414,\r
+        "y": 863.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "611bd1d0.bbec68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ad84bdb.1011e4",\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": 4009.629165649414,\r
+        "y": 819.4264068603516,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "611bd1d0.bbec68",\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": 4008.566665649414,\r
+        "y": 863.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e636914f.ca32e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3855.566665649414,\r
+        "y": 910.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4dddc413.6cd63c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4009.566665649414,\r
+        "y": 949.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "db6151f2.0aacb",\r
+                "e016be81.6c64f",\r
+                "9f8998d0.ce9c48",\r
+                "44a9159e.85e724",\r
+                "8f0ab711.e0d798",\r
+                "d96045a7.1a29c8",\r
+                "7c9d6be0.59e3fc",\r
+                "5f01b0d6.663678",\r
+                "96f11e74.5cf9",\r
+                "32dd1d69.d1982a",\r
+                "fefb165c.6d9d48",\r
+                "afd6fb79.f36b6",\r
+                "1a397526.128d93"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f8998d0.ce9c48",\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": 4356.566665649414,\r
+        "y": 992.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ad94bc3e.2edb18",\r
+                "3c6b8cbe.35a074",\r
+                "e925e05d.5c3e7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44a9159e.85e724",\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": 4335.566665649414,\r
+        "y": 1594.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ce3181da.534ae8",\r
+                "dd474f13.0169c8",\r
+                "1e53e46c.6ee5dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad94bc3e.2edb18",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4557.566665649414,\r
+        "y": 876.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "11095a88.1d6375"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c6b8cbe.35a074",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4553.075698852539,\r
+        "y": 925.9926910400391,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1c85f4a2.49e393"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e925e05d.5c3e7",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4557.075698852539,\r
+        "y": 976.9926910400391,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7e7cdd76.7cfb84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11095a88.1d6375",\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": 4706.138198852539,\r
+        "y": 875.8524322509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c85f4a2.49e393",\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": 4696.075698852539,\r
+        "y": 925.9926910400391,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce3181da.534ae8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4558.566665649414,\r
+        "y": 1564.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b22dee41.00f36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd474f13.0169c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4554.075698852539,\r
+        "y": 1613.9925689697266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6933584e.ecc31"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e53e46c.6ee5dc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4558.075698852539,\r
+        "y": 1664.9925689697266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b7fe5d85.6c90f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b22dee41.00f36",\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": 4707.138198852539,\r
+        "y": 1563.852310180664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6933584e.ecc31",\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": 4697.075698852539,\r
+        "y": 1613.9925689697266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "95843474.b9bce8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5371.233169555664,\r
+        "y": 1020.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b4615ea7.1bce1",\r
+                "be2e7ced.c4df",\r
+                "ce2c131b.42f24",\r
+                "71b17710.70c14",\r
+                "89a7842f.afd83"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4503129f.bd2fd4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5198.566665649414,\r
+        "y": 1021.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "95843474.b9bce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8659354b.96b4a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5208.057632446289,\r
+        "y": 1064.1407012939453,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "df26ebdc.1c7d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f14e9aee.41ddd",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5196.566665649414,\r
+        "y": 1110.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "779f16ad.79c298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df26ebdc.1c7d8",\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": 5361.629043579102,\r
+        "y": 1067.4264373779297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "779f16ad.79c298",\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": 5365.566665649414,\r
+        "y": 1111.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e7cdd76.7cfb84",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4718.566665649414,\r
+        "y": 978.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d6ce477c.e6b1",\r
+                "6ff01134.d27b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7fe5d85.6c90f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4708.566665649414,\r
+        "y": 1666.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "44dc4d90.b0cc4c",\r
+                "abe40e95.5db908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12aedd33.0f1043",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5339.233169555664,\r
+        "y": 1856.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e22e2a42.a26b1",\r
+                "cf28df7d.f3d4b",\r
+                "daaed265.7759a8",\r
+                "cb8398b0.7dbb5",\r
+                "7bc8d59f.6d2444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a2935ba.2db97",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5166.566665649414,\r
+        "y": 1857.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "12aedd33.0f1043"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcc235b8.72838",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5176.057632446289,\r
+        "y": 1900.1407012939453,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6a73fa3d.d6c2b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "262965f5.6cf9ea",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5164.566665649414,\r
+        "y": 1946.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "403c1229.13a954"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a73fa3d.d6c2b4",\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": 5329.629043579102,\r
+        "y": 1903.4264373779297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "403c1229.13a954",\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": 5333.566665649414,\r
+        "y": 1947.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4615ea7.1bce1",\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": 5635.566665649414,\r
+        "y": 1004.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7fca3373.091184",\r
+                "84a28ee2.eeb658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84a28ee2.eeb658",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5858.566665649414,\r
+        "y": 959.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "70d4fffc.d22c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7fca3373.091184",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5860.566665649414,\r
+        "y": 1023.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3dce84d0.b85dd4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "850dbb90.b4b68",\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": 6193.566665649414,\r
+        "y": 914.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3dce84d0.b85dd4",\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": 6022.566665649414,\r
+        "y": 1019.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "70d4fffc.d22c5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6023.566665649414,\r
+        "y": 956.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "caf9269d.270b2",\r
+                "850dbb90.b4b68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "caf9269d.270b2",\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": 6194.566665649414,\r
+        "y": 1022.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59bf2583.d75a84",\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": 6195.566665649414,\r
+        "y": 971.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be2e7ced.c4df",\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": 5682.566665649414,\r
+        "y": 1073.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "27594e13.316c22",\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": 5571.566665649414,\r
+        "y": 1114.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e22e2a42.a26b1",\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": 5625.566665649414,\r
+        "y": 1860.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b2f644ca.d12c2",\r
+                "b58bca2c.4bf2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b58bca2c.4bf2c",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5848.566665649414,\r
+        "y": 1815.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "983024ad.f8675"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2f644ca.d12c2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5850.566665649414,\r
+        "y": 1879.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4af84f4.a49b8b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c96d7934.c0e9e8",\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": 6183.566665649414,\r
+        "y": 1773.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4af84f4.a49b8b",\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": 6009.566665649414,\r
+        "y": 1898.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "983024ad.f8675",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6013.566665649414,\r
+        "y": 1812.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c96d7934.c0e9e8",\r
+                "183e4dc8.9e45ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "183e4dc8.9e45ba",\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": 6184.566665649414,\r
+        "y": 1878.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57730d78.763bfc",\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": 6179.566665649414,\r
+        "y": 1827.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "daaed265.7759a8",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5627.566665649414,\r
+        "y": 2019.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf28df7d.f3d4b",\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": 5672.566665649414,\r
+        "y": 1929.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f3e922b.b3211",\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": 5561.566665649414,\r
+        "y": 1967.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f0ab711.e0d798",\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": 4556.566665649414,\r
+        "y": 2264.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d96045a7.1a29c8",\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": 4350.566665649414,\r
+        "y": 2165.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2d69fa1.baa39",\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": 4324.566665649414,\r
+        "y": 2118.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce2c131b.42f24",\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": 5765.566665649414,\r
+        "y": 1211.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb8398b0.7dbb5",\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": 5754.566665649414,\r
+        "y": 2084.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "92b1873d.551bc",\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": 6809.566665649414,\r
+        "y": 731.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3b96c7df.05e2",\r
+                "1eec19a2.07645e",\r
+                "b1213bca.c3532"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8eff1c95.000698",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2696.566665649414,\r
+        "y": 386.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ad97eaf2.db3cf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c4d87c2.cacd08",\r
+        "type": "outcome",\r
+        "name": "logical-link",\r
+        "xml": "<outcome value='logical-link'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1093.5667877197266,\r
+        "y": 781.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ba05feca.357468"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41f5506e.8f5aa",\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": 2259.566665649414,\r
+        "y": 480.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8b2a546b.9f5318",\r
+                "f654fc01.bf0048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f654fc01.bf0048",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2580.566665649414,\r
+        "y": 462.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b2a546b.9f5318",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2562.566665649414,\r
+        "y": 560.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "24772c6a.a8483c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "94799b47.aa87f8",\r
+        "type": "set",\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<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 1516.566665649414,\r
+        "y": 684.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba05feca.357468",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1270.566665649414,\r
+        "y": 774.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "94799b47.aa87f8",\r
+                "433e887a.5dd2c",\r
+                "fc0b0bdf.af57e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa0822cd.53caf",\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": 4898.566665649414,\r
+        "y": 983.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d6ce477c.e6b1",\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": 4941.566665649414,\r
+        "y": 1048.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4503129f.bd2fd4",\r
+                "8659354b.96b4a",\r
+                "f14e9aee.41ddd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44dc4d90.b0cc4c",\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": 4938.566665649414,\r
+        "y": 1892.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "9a2935ba.2db97",\r
+                "dcc235b8.72838",\r
+                "262965f5.6cf9ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ca1c6c2.0f0f22",\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": 4899.566665649414,\r
+        "y": 1836.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad97eaf2.db3cf",\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": 2989.566665649414,\r
+        "y": 333.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ef5e96fe.587c78",\r
+                "e171a2b9.a46c9",\r
+                "ed7e8b76.daabf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e171a2b9.a46c9",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3263.057632446289,\r
+        "y": 226.14064025878906,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ae21063b.421918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae21063b.421918",\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": 3440.629165649414,\r
+        "y": 226.42640686035156,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ed7e8b76.daabf",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3258.566665649414,\r
+        "y": 275.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1fe6476a.260d99"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1fe6476a.260d99",\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": 3440.566665649414,\r
+        "y": 275.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ef5e96fe.587c78",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3262.566665649414,\r
+        "y": 326.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5ed5bf6.6fd244"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ed5bf6.6fd244",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3442.566665649414,\r
+        "y": 326.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "41f5506e.8f5aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99ef6a45.9ad878",\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": 868.5666656494141,\r
+        "y": 710.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "99689150.5b9778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99689150.5b9778",\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": 1139.566665649414,\r
+        "y": 706.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5c4d87c2.cacd08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bf740bc.b587b",\r
+        "type": "outcome",\r
+        "name": "network-policy",\r
+        "xml": "<outcome value='network-policy'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3418.566665649414,\r
+        "y": 524.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3a3c2a70.68a7ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a3c2a70.68a7ee",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3595.5665435791016,\r
+        "y": 517.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e9454f9d.caf03",\r
+                "6d43a86.3d48758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9454f9d.caf03",\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": 3838.5665435791016,\r
+        "y": 474.56654357910156,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6d43a86.3d48758",\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": 3827.5665435791016,\r
+        "y": 529.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8a364a72.424c28",\r
+                "fd07ec43.4387a",\r
+                "4d3c4393.f4c224"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d3c4393.f4c224",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4080.566665649414,\r
+        "y": 415.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8a48cdf4.281a78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a48cdf4.281a78",\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": 4229.138198852539,\r
+        "y": 415.85243225097656,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81c305db.010dc",\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": 4228.075698852539,\r
+        "y": 459.99269104003906,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fd07ec43.4387a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4069.075698852539,\r
+        "y": 459.99269104003906,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "81c305db.010dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a364a72.424c28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4076.075698852539,\r
+        "y": 538.9926910400391,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "41b3b67d.c6f8e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41b3b67d.c6f8e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4215.075698852539,\r
+        "y": 538.9926910400391,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f0091688.66654",\r
+                "4f7a1356.449274"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0091688.66654",\r
+        "type": "set",\r
+        "name": "set the max bandwidth",\r
+        "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 4420.566665649414,\r
+        "y": 536.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6ff01134.d27b1",\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": 4942.566665649414,\r
+        "y": 718.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "39467319.609964",\r
+                "3cc969fb.c20abe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3cc969fb.c20abe",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5165.566665649414,\r
+        "y": 704.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2dfb867b.202c62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39467319.609964",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5167.566665649414,\r
+        "y": 737.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fb83e9be.2efe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb83e9be.2efe",\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": 5310.566665649414,\r
+        "y": 734.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2dfb867b.202c62",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5313.566665649414,\r
+        "y": 697.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "15d7491f.df8677",\r
+                "965ca101.13418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15d7491f.df8677",\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": 5475.566665649414,\r
+        "y": 692.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "abe40e95.5db908",\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": 4956.566665649414,\r
+        "y": 1555.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d51c262f.477ec",\r
+                "4509355c.99159c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4509355c.99159c",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5179.566665649414,\r
+        "y": 1541.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d6d3b9d3.95749"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d51c262f.477ec",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5181.566665649414,\r
+        "y": 1574.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "41fb7895.687548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41fb7895.687548",\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": 5324.566665649414,\r
+        "y": 1571.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d6d3b9d3.95749",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5327.566665649414,\r
+        "y": 1534.5665435791016,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "dc31fe9c.b39df",\r
+                "22e60879.c39a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc31fe9c.b39df",\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": 5521.566665649414,\r
+        "y": 1537.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dd074b01.699d5",\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": 1119.566665649414,\r
+        "y": 241.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "71b17710.70c14",\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": 5589.566665649414,\r
+        "y": 1288.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "262b12c7.d4eb86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "262b12c7.d4eb86",\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": 5795.566665649414,\r
+        "y": 1288.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5944b4c4.a90d9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5944b4c4.a90d9c",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6010.852310180664,\r
+        "y": 1288.388442993164,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "97ca4a46.233f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97ca4a46.233f6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6217.683853149414,\r
+        "y": 1288.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "18a90b5a.512eed",\r
+                "9b9213f3.dfc428",\r
+                "21506293.2b15d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18a90b5a.512eed",\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": 6432.683853149414,\r
+        "y": 1250.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b9213f3.dfc428",\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": 6429.683853149414,\r
+        "y": 1289.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8cbab548.0454b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21506293.2b15d6",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 6385.183853149414,\r
+        "y": 1331.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8cbab548.0454b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6610.183853149414,\r
+        "y": 1288.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "326ba546.7f7e7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "326ba546.7f7e7a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6768.183853149414,\r
+        "y": 1288.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "49cced3d.6f7764"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49cced3d.6f7764",\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": 6975.183853149414,\r
+        "y": 1288.906997680664,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7bc8d59f.6d2444",\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": 5586.566665649414,\r
+        "y": 2157.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8f6d6d5b.1cead8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f6d6d5b.1cead8",\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": 5792.566665649414,\r
+        "y": 2157.5667877197266,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e19b436a.7033d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e19b436a.7033d",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6007.852310180664,\r
+        "y": 2157.3885650634766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "bec0ab0f.3e04c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bec0ab0f.3e04c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6214.683853149414,\r
+        "y": 2157.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "27fbcba1.3d3b74",\r
+                "ceb087f2.f1a2d",\r
+                "f5af142d.56f9a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27fbcba1.3d3b74",\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": 6429.683853149414,\r
+        "y": 2119.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ceb087f2.f1a2d",\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": 6426.683853149414,\r
+        "y": 2158.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3dd2b911.678516"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5af142d.56f9a8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 6382.183853149414,\r
+        "y": 2200.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3dd2b911.678516",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6607.183853149414,\r
+        "y": 2157.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2d748944.5ecffe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d748944.5ecffe",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6765.183853149414,\r
+        "y": 2157.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6570963f.999c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6570963f.999c3",\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": 6972.183853149414,\r
+        "y": 2157.9071197509766,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "965ca101.13418",\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": 5502.566665649414,\r
+        "y": 764.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "50b56074.398fb8",\r
+                "37713986.ac02f6",\r
+                "9d9c191d.f7c08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50b56074.398fb8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5698.066787719727,\r
+        "y": 716.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e3c2a355.360d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37713986.ac02f6",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5690.066787719727,\r
+        "y": 771.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f545ca2e.f44db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d9c191d.f7c08",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5695.066787719727,\r
+        "y": 828.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e48b21a8.d61508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e48b21a8.d61508",\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": 5847.066787719727,\r
+        "y": 829.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f545ca2e.f44db",\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": 5858.066787719727,\r
+        "y": 774.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e3c2a355.360d3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5842.449111938477,\r
+        "y": 714.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "206fadad.185672"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "16b234e1.30a8c3",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6424.566665649414,\r
+        "y": 732.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e787bf98.1dda3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e787bf98.1dda3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6601.566665649414,\r
+        "y": 724.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "71a48553.06547c",\r
+                "92b1873d.551bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "206fadad.185672",\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": 6026.566665649414,\r
+        "y": 728.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "69c3e96a.358898"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69c3e96a.358898",\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": 6221.566665649414,\r
+        "y": 728.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "16b234e1.30a8c3",\r
+                "90deb9f8.a72b18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71a48553.06547c",\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": 6839.566665649414,\r
+        "y": 679.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3b96c7df.05e2",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7019.566665649414,\r
+        "y": 722.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6f8ea6fb.24df1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1eec19a2.07645e",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7011.566665649414,\r
+        "y": 777.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "91f5de57.10361"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1213bca.c3532",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7016.566665649414,\r
+        "y": 834.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "62327f7e.aacf68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62327f7e.aacf68",\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": 7168.566665649414,\r
+        "y": 835.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "91f5de57.10361",\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": 7179.566665649414,\r
+        "y": 780.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f8ea6fb.24df1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7163.948989868164,\r
+        "y": 720.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "10e59332.2edbc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10e59332.2edbc5",\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": 7378.566665649414,\r
+        "y": 716.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22e60879.c39a9",\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": 5543.566665649414,\r
+        "y": 1605.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3be38b30.4b1f64",\r
+                "53e462a7.300ecc",\r
+                "be7dfbd6.3bfbb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3be38b30.4b1f64",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5739.066787719727,\r
+        "y": 1557.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3d4c22c4.8bc33e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53e462a7.300ecc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5731.066787719727,\r
+        "y": 1612.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "cc499006.fb3a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be7dfbd6.3bfbb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5736.066787719727,\r
+        "y": 1669.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "95cfda12.13aa08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95cfda12.13aa08",\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": 5888.066787719727,\r
+        "y": 1670.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc499006.fb3a6",\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": 5899.066787719727,\r
+        "y": 1615.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d4c22c4.8bc33e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5883.449111938477,\r
+        "y": 1555.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7d552eed.53cb2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ebd5273.de974c",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6465.566665649414,\r
+        "y": 1573.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d2cb326b.2ce928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2cb326b.2ce928",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6642.566665649414,\r
+        "y": 1565.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "afdd7500.c5c358",\r
+                "995d487d.d5b57"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d552eed.53cb2",\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": 6067.566665649414,\r
+        "y": 1569.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6d34d717.589238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d34d717.589238",\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": 6262.566665649414,\r
+        "y": 1569.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6ebd5273.de974c",\r
+                "9bbf0d49.94213"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "995d487d.d5b57",\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": 6850.566665649414,\r
+        "y": 1572.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "bb91f7ce.3ad978",\r
+                "8e3f2e93.c1d45",\r
+                "c8e3caf1.3f9eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "afdd7500.c5c358",\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": 6880.566665649414,\r
+        "y": 1520.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb91f7ce.3ad978",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7060.566665649414,\r
+        "y": 1563.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ced1d2ca.c0f7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e3f2e93.c1d45",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7052.566665649414,\r
+        "y": 1618.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "20b91ac9.f7bb0e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8e3caf1.3f9eb8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7057.566665649414,\r
+        "y": 1675.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "625c69e0.19da8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "625c69e0.19da8",\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": 7209.566665649414,\r
+        "y": 1676.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "20b91ac9.f7bb0e",\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": 7220.566665649414,\r
+        "y": 1621.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ced1d2ca.c0f7c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7204.948989868164,\r
+        "y": 1561.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "483f20c0.02d49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "483f20c0.02d49",\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": 7419.566665649414,\r
+        "y": 1557.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "24772c6a.a8483c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 416.56666564941406,\r
+        "y": 686.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3dd61cc7.9b7d74",\r
+                "99ef6a45.9ad878"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3dd61cc7.9b7d74",\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": 862.5666656494141,\r
+        "y": 545.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "51cf951b.e925c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51cf951b.e925c4",\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": 3227.566665649414,\r
+        "y": 527.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2bf740bc.b587b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90deb9f8.a72b18",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6427.566665649414,\r
+        "y": 806.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d620e654.6255c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d620e654.6255c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6604.566665649414,\r
+        "y": 798.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4397af3f.dc85e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4397af3f.dc85e",\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": 6839.566665649414,\r
+        "y": 922.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40a79108.ee4848",\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": 6879.566665649414,\r
+        "y": 1762.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "607a3e65.d46208",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6644.566665649414,\r
+        "y": 1638.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "40a79108.ee4848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bbf0d49.94213",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6467.566665649414,\r
+        "y": 1646.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "607a3e65.d46208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f7a1356.449274",\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": 4419.566665649414,\r
+        "y": 582.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d1460a52.2dc398",\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": 4441.566665649414,\r
+        "y": 717.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "96f11e74.5cf9",\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": 4422.566665649414,\r
+        "y": 767.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0cde51e.fc048",\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": 2032.566665649414,\r
+        "y": 315.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fe22e044.99d4c8",\r
+                "103cc7a8.7e9b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe22e044.99d4c8",\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": 2297.566665649414,\r
+        "y": 238.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7c9d6be0.59e3fc",\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": 4339.566665649414,\r
+        "y": 2217.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5f01b0d6.663678",\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": 4322.566665649414,\r
+        "y": 3975.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32dd1d69.d1982a",\r
+        "type": "set",\r
+        "name": "set new ethernet-service-name",\r
+        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4379.566665649414,\r
+        "y": 812.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fefb165c.6d9d48",\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": 4368.566665649414,\r
+        "y": 2457.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "15c5a249.e6ba26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1531085f.c55ba",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5496.566665649414,\r
+        "y": 2964.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fcadaec7.4e387"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24f90323.65c334",\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": 6069.066665649414,\r
+        "y": 3068.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fcadaec7.4e387",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5802.566665649414,\r
+        "y": 2963.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "47fc66cf.f2219"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47fc66cf.f2219",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6012.066665649414,\r
+        "y": 2963.820571899414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e4910759.e9a85",\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": 5532.566665649414,\r
+        "y": 2428.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "19efb26.3a5054e",\r
+        "type": "switchNode",\r
+        "name": "switch otnidx == 0",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5405.566665649414,\r
+        "y": 3081.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6ac91bae.a4e2fc",\r
+                "f696dd3e.08c3d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ac91bae.a4e2fc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5588.566665649414,\r
+        "y": 3081.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5559f5ba.2a16b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f696dd3e.08c3d",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5413.566665649414,\r
+        "y": 3228.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "16a87f5a.f1d3a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b74045ae.325b78",\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": 5754.566665649414,\r
+        "y": 3309.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "93c212f0.0f2258",\r
+                "d060ce07.272bc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93c212f0.0f2258",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5939.566665649414,\r
+        "y": 3310.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8ce15cd2.dd2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d060ce07.272bc8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5958.566665649414,\r
+        "y": 3576.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1b72857d.e58193"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4b93978.557f9",\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": 6369.566665649414,\r
+        "y": 3311.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7b0c40a.9c6038",\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": 6443.566665649414,\r
+        "y": 3609.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "689f50a5.dff04",\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='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='CBS' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='EBS' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6379.566665649414,\r
+        "y": 3660.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67d0e07e.cd61f8",\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": 6508.566665649414,\r
+        "y": 3710.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bcc08c5.9c4d7",\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": 6518.566665649414,\r
+        "y": 3553.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64006ab7.c64d44",\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": 6476.566665649414,\r
+        "y": 3769.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b72857d.e58193",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6115.566665649414,\r
+        "y": 3577.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c7b0c40a.9c6038",\r
+                "689f50a5.dff04",\r
+                "67d0e07e.cd61f8",\r
+                "64006ab7.c64d44",\r
+                "9642c24b.bc1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15c5a249.e6ba26",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4625.566665649414,\r
+        "y": 2457.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e4910759.e9a85",\r
+                "1531085f.c55ba",\r
+                "19efb26.3a5054e",\r
+                "ad7dc399.bf418",\r
+                "59469467.70a6d4",\r
+                "982e5c66.4703f8",\r
+                "e9c05ada.bb249"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b962e9bf.f7ec68",\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": 5993.566665649414,\r
+        "y": 3125.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f4b2d0d.ab9d0c",\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": 6046.566665649414,\r
+        "y": 3169.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d0a8f560.124258",\r
+                "e919fb8f.48aeb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e919fb8f.48aeb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6317.566665649414,\r
+        "y": 3154.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "408ad253.15a054"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0a8f560.124258",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6315.566879272461,\r
+        "y": 3212.566575050354,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "bfaa06ad.2149c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "408ad253.15a054",\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": 6457.566913604736,\r
+        "y": 3154.5666666030884,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bfaa06ad.2149c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6463.593925476074,\r
+        "y": 3203.31206035614,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5559f5ba.2a16b4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5729.566665649414,\r
+        "y": 3071.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "24f90323.65c334",\r
+                "7f4b2d0d.ab9d0c",\r
+                "b962e9bf.f7ec68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ce15cd2.dd2d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6073.566665649414,\r
+        "y": 3311.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "a4b93978.557f9",\r
+                "fc367338.14f248",\r
+                "546374c7.67c9c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "546374c7.67c9c4",\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": 6293.566665649414,\r
+        "y": 3355.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fc367338.14f248",\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": 6344.566665649414,\r
+        "y": 3399.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "edc516eb.d6818",\r
+                "889681a1.8aebb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "889681a1.8aebb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6607.566665649414,\r
+        "y": 3379.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b62983f6.8b1c68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "edc516eb.d6818",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6608.566879272461,\r
+        "y": 3430.566575050354,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "51aaba5d.abae2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b62983f6.8b1c68",\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": 6747.566913604736,\r
+        "y": 3379.5666666030884,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "51aaba5d.abae2c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6753.593925476074,\r
+        "y": 3428.31206035614,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9642c24b.bc1f8",\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": 6390.566665649414,\r
+        "y": 3829.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "127eaa7a.98449e",\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": 3709.566665649414,\r
+        "y": 4176.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4f7f9fac.fe049",\r
+                "7f9abc32.a826f4",\r
+                "58223279.e77444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f7f9fac.fe049",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3897.566665649414,\r
+        "y": 4189.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f21f6a6d.7c0b9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f9abc32.a826f4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3898.057632446289,\r
+        "y": 4235.140701293945,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5b9e9e7e.bd3fb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58223279.e77444",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3895.566665649414,\r
+        "y": 4278.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "81ac9378.5e17c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f21f6a6d.7c0b9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4070.566665649414,\r
+        "y": 4187.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1562d3ab.607dc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b9e9e7e.bd3fb8",\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": 4060.6290435791016,\r
+        "y": 4235.42643737793,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81ac9378.5e17c8",\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": 4062.566665649414,\r
+        "y": 4277.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e781046f.1418e",\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": 3698.566665649414,\r
+        "y": 4367.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d5bebf9c.374a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7536813.9c6d5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4508.566665649414,\r
+        "y": 4367.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "a13486f2.279748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d852a581.272668",\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": 4280.566665649414,\r
+        "y": 4367.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "a7536813.9c6d5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35196fa7.3e82b8",\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": 5400.566665649414,\r
+        "y": 4134.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b7fbbc1.fdc524",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
+        "comments": "",\r
+        "x": 5702.566665649414,\r
+        "y": 3260.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16a87f5a.f1d3a9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5537.566665649414,\r
+        "y": 3235.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1b7fbbc1.fdc524",\r
+                "b74045ae.325b78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a4aff44.5be78",\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<parameter name='bwModified' value='false' />\n",\r
+        "comments": "",\r
+        "x": 1991.566665649414,\r
+        "y": 265.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1562d3ab.607dc4",\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": 4299.566665649414,\r
+        "y": 4188.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1d7f1d69.47cb1b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d7f1d69.47cb1b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4514.566665649414,\r
+        "y": 4189.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "25f755d1.b61592"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d5ba3f2.74414c",\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": 5967.566665649414,\r
+        "y": 4109.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c853cdfd.dbbe38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4d44dab.0baa88",\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": 5433.566665649414,\r
+        "y": 4189.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "62eec498.21eadc",\r
+                "978a0072.3fd11"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62eec498.21eadc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5629.566665649414,\r
+        "y": 4159.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "899efa3b.42e148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "978a0072.3fd11",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5630.566665649414,\r
+        "y": 4230.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "214f2c3d.6d899c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "899efa3b.42e148",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5780.566665649414,\r
+        "y": 4157.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "5d5ba3f2.74414c",\r
+                "a601628e.52c128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c853cdfd.dbbe38",\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": 6258.566665649414,\r
+        "y": 4109.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "32f1af6e.548f98",\r
+                "aa4fe454.7a4ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32f1af6e.548f98",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6533.566665649414,\r
+        "y": 4078.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "811e814b.5875b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa4fe454.7a4ce",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6534.566665649414,\r
+        "y": 4149.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "989bacbe.4af828"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "811e814b.5875b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6684.566665649414,\r
+        "y": 4076.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "af4f903c.21f488",\r
+                "2d6d2965.4ae4be",\r
+                "e5b6e917.a4d33",\r
+                "1c32b22d.5aadde",\r
+                "1865add8.1adbe2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af4f903c.21f488",\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": 6872.566665649414,\r
+        "y": 4036.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2d6d2965.4ae4be",\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": 6944.566665649414,\r
+        "y": 4081.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1865add8.1adbe2",\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": 6859.566665649414,\r
+        "y": 4208.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c32b22d.5aadde",\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": 6880.566665649414,\r
+        "y": 4144.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "214f2c3d.6d899c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5782.566665649414,\r
+        "y": 4230.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2a37cb43.8a38d4",\r
+                "2a56e17b.8d5c2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a37cb43.8a38d4",\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": 6037.566665649414,\r
+        "y": 4223.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a56e17b.8d5c2e",\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": 5965.566665649414,\r
+        "y": 4270.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a601628e.52c128",\r
+        "type": "switchNode",\r
+        "name": "switch found?",\r
+        "xml": "<switch test='`$found`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5958.566665649414,\r
+        "y": 4154.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "38e10d32.2b93c2",\r
+                "dbcc850c.fc8dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38e10d32.2b93c2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6118.566665649414,\r
+        "y": 4146.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "b21401a.fc6228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbcc850c.fc8dd",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6116.566665649414,\r
+        "y": 4183.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e4683213.00ce18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b21401a.fc6228",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6243.566665649414,\r
+        "y": 4146.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2a7d328.f35de8",\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": 6550.566665649414,\r
+        "y": 4204.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e4683213.00ce18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6276.566665649414,\r
+        "y": 4191.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "a2a7d328.f35de8",\r
+                "930daebd.33fb78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "930daebd.33fb78",\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": 6467.566665649414,\r
+        "y": 4250.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "989bacbe.4af828",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6667.566665649414,\r
+        "y": 4148.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5b6e917.a4d33",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 6838.566665649414,\r
+        "y": 4275.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad7dc399.bf418",\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": 5235.566665649414,\r
+        "y": 2487.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "359b938e.1f1cd4",\r
+                "64d68365.eb604c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "359b938e.1f1cd4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5624.566665649414,\r
+        "y": 2465.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "73a3115c.3a191"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64d68365.eb604c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5625.566665649414,\r
+        "y": 2511.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "40a2bbc1.5980e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "73a3115c.3a191",\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": 5838.566665649414,\r
+        "y": 2464.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40a2bbc1.5980e4",\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": 5836.566665649414,\r
+        "y": 2509.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a13486f2.279748",\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": 4761.566665649414,\r
+        "y": 4365.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3fa485d1.c8f9c2",\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": 4346.566665649414,\r
+        "y": 4473.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f023dd0f.b91278",\r
+                "29f41b43.8a7c44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29f41b43.8a7c44",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4629.566665649414,\r
+        "y": 4453.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e71ba272.6cc34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f023dd0f.b91278",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4630.566879272461,\r
+        "y": 4504.566575050354,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7f431198.b36fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e71ba272.6cc34",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",\r
+        "comments": "",\r
+        "x": 4769.566913604736,\r
+        "y": 4453.566666603088,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f431198.b36fd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4775.593925476074,\r
+        "y": 4502.31206035614,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "59469467.70a6d4",\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": 5419.566665649414,\r
+        "y": 2607.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "982e5c66.4703f8",\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": 5463.566665649414,\r
+        "y": 2655.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "48087d37.a26c6c",\r
+                "da051a0e.70b99",\r
+                "11fa1a3.3e28f66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48087d37.a26c6c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5676.066665649414,\r
+        "y": 2602.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d7b6e1d4.5db9c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da051a0e.70b99",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5688.066665649414,\r
+        "y": 2652.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8bafac6.5725d5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11fa1a3.3e28f66",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5679.066665649414,\r
+        "y": 2707.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1bd627d5.df5018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1bd627d5.df5018",\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": 5824.066665649414,\r
+        "y": 2706.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8bafac6.5725d5",\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": 5835.066665649414,\r
+        "y": 2649.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d7b6e1d4.5db9c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5801.449111938477,\r
+        "y": 2596.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7412b5af.ff0f9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b52018c.262d56",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6360.566665649414,\r
+        "y": 2614.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "691fa48a.848bcc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "691fa48a.848bcc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6537.566665649414,\r
+        "y": 2606.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "40d861d8.1df158",\r
+                "6005e754.3b403"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7412b5af.ff0f9c",\r
+        "type": "for",\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": 5962.566665649414,\r
+        "y": 2610.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "cee0c51f.59e4e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cee0c51f.59e4e8",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6157.566665649414,\r
+        "y": 2610.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2b52018c.262d56"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6005e754.3b403",\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": 6745.566665649414,\r
+        "y": 2613.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ba9890c1.c4a288",\r
+                "659d7a5f.8396d4",\r
+                "c60c2b5.88a3ed8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40d861d8.1df158",\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": 6775.566665649414,\r
+        "y": 2561.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba9890c1.c4a288",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6955.566665649414,\r
+        "y": 2604.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "203ebc79.0da80c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "659d7a5f.8396d4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6947.566665649414,\r
+        "y": 2659.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "23f5bad7.571c16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c60c2b5.88a3ed8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6952.566665649414,\r
+        "y": 2716.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d78cb5ab.fdf3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d78cb5ab.fdf3",\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": 7104.566665649414,\r
+        "y": 2717.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "23f5bad7.571c16",\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": 7115.566665649414,\r
+        "y": 2662.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "203ebc79.0da80c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7099.948989868164,\r
+        "y": 2602.2223358154297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "510e20cb.08311"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "510e20cb.08311",\r
+        "type": "set",\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": 7314.566665649414,\r
+        "y": 2598.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5bebf9c.374a9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3930.566665649414,\r
+        "y": 4365.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "d852a581.272668",\r
+                "3fa485d1.c8f9c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9c05ada.bb249",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == 0 (domainA)",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5433.566665649414,\r
+        "y": 2824.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e3270b50.ca16b",\r
+                "1493e80e.a20608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3270b50.ca16b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5634.566665649414,\r
+        "y": 2822.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8c1f5350.45b238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c1f5350.45b238",\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": 5848.566665649414,\r
+        "y": 2824.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "efd041d2.1f57c",\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": 5851.566665649414,\r
+        "y": 2873.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "18ead70f.a7a7d1",\r
+                "86ea5500.031798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18ead70f.a7a7d1",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6081.566665649414,\r
+        "y": 2869.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "45ea107a.0ebac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45ea107a.0ebac8",\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": 6295.566665649414,\r
+        "y": 2872.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1493e80e.a20608",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5634.566665649414,\r
+        "y": 2871.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "efd041d2.1f57c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86ea5500.031798",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6082.566665649414,\r
+        "y": 2915.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "7828b5dc.b70c4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7828b5dc.b70c4c",\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": 6296.566665649414,\r
+        "y": 2915.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72c2b2cc.2ba44c",\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": 6194.566665649414,\r
+        "y": 2964.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "25f755d1.b61592",\r
+        "type": "switchNode",\r
+        "name": "switch vpnuuid is for this slice",\r
+        "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n    \n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4758.566665649414,\r
+        "y": 4188.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "15207d44.a4310b",\r
+                "179e4c90.1525b3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15207d44.a4310b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4975.566665649414,\r
+        "y": 4167.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "64fe7f3a.b5df9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "179e4c90.1525b3",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4975.566665649414,\r
+        "y": 4216.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "64fe7f3a.b5df9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5143.566665649414,\r
+        "y": 4167.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "35196fa7.3e82b8",\r
+                "b4d44dab.0baa88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "433e887a.5dd2c",\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": 1483.566665649414,\r
+        "y": 798.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4058fc82.6dfacc",\r
+                "4151c29c.d64b0c",\r
+                "5541a408.f0ed0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4058fc82.6dfacc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1696.057632446289,\r
+        "y": 765.1406402587891,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "417a2c30.fd69ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4151c29c.d64b0c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1684.566665649414,\r
+        "y": 809.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "2fc8bb7d.787cac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "417a2c30.fd69ac",\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": 1844.629165649414,\r
+        "y": 765.4264068603516,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2fc8bb7d.787cac",\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": 1843.566665649414,\r
+        "y": 809.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5541a408.f0ed0c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1689.566665649414,\r
+        "y": 852.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e145a9c3.48d208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e145a9c3.48d208",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 835.5666656494141,\r
+        "y": 1191.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "88efa0d6.0c1808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88efa0d6.0c1808",\r
+        "type": "for",\r
+        "name": "for each svc-instance relationship",\r
+        "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1109.566665649414,\r
+        "y": 1191.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c2dd1c9b.b3dd48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2dd1c9b.b3dd48",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1344.900161743164,\r
+        "y": 1192.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e5b1da68.bc54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5b1da68.bc54",\r
+        "type": "outcome",\r
+        "name": "connectivity",\r
+        "xml": "<outcome value='connectivity'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 628.5669097900391,\r
+        "y": 1345.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fb4c81c8.58ec08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68774cff.da4f7c",\r
+        "type": "save",\r
+        "name": "get connectivity from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1017.5666656494141,\r
+        "y": 1350.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ae979c86.2af0a",\r
+                "c51e116c.9e96e",\r
+                "bc29e653.3cf5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae979c86.2af0a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1213.566665649414,\r
+        "y": 1315.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "323455e1.4146ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c51e116c.9e96e",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1214.057632446289,\r
+        "y": 1361.1407012939453,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "bf9be58f.d0c428"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc29e653.3cf5f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1178.566665649414,\r
+        "y": 1406.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "dd499616.1dbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf9be58f.d0c428",\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": 1373.629165649414,\r
+        "y": 1358.4264068603516,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dd499616.1dbe",\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": 1331.566665649414,\r
+        "y": 1408.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "66825a6f.db4e3c",\r
+        "type": "switchNode",\r
+        "name": "switch loglink-id exists in conn",\r
+        "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1606.566665649414,\r
+        "y": 1298.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "85e80e78.a683f",\r
+                "e9363fe4.4910f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85e80e78.a683f",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1817.566665649414,\r
+        "y": 1263.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ea49207.e144c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9363fe4.4910f8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1814.566665649414,\r
+        "y": 1324.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a72bfa1e.2c0188",\r
+        "type": "set",\r
+        "name": "set currLinkIsFound",\r
+        "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2155.566665649414,\r
+        "y": 1236.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea49207.e144c6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1969.566665649414,\r
+        "y": 1264.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "a72bfa1e.2c0188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77625e01.45cfa",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2122.566665649414,\r
+        "y": 1292.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "747752c5.edcc6c",\r
+        "type": "comment",\r
+        "name": "currLinkIsFound. Go to the next logical-link",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2127.566665649414,\r
+        "y": 1186.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fc0b0bdf.af57e8",\r
+        "type": "switchNode",\r
+        "name": "switch currLinkIsFound",\r
+        "xml": "<switch test='`$currLinkIsFound`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1409.566665649414,\r
+        "y": 916.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "ec2c299e.a7094",\r
+                "12a10d8.78ec073"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec2c299e.a7094",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1595.566665649414,\r
+        "y": 895.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "43c18e2d.dbbe18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12a10d8.78ec073",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1592.566665649414,\r
+        "y": 1031.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "4dddc413.6cd63c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43c18e2d.dbbe18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1837.566665649414,\r
+        "y": 890.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e81ab2b.cd2004",\r
+        "type": "comment",\r
+        "name": "A new logical-link has been found: modify process should be triggered",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1783.566665649414,\r
+        "y": 994.5666656494141,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "323455e1.4146ea",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1377.566665649414,\r
+        "y": 1299.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "66825a6f.db4e3c",\r
+                "4b0ae75c.1aab4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b0ae75c.1aab4",\r
+        "type": "switchNode",\r
+        "name": "switch connectivityBW == gfp",\r
+        "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1607.566665649414,\r
+        "y": 1389.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "c8e4becf.570ed8",\r
+                "efb821b0.8f5c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8e4becf.570ed8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1812.566665649414,\r
+        "y": 1385.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "efb821b0.8f5c8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1814.566665649414,\r
+        "y": 1435.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "35c21580.2c9b32"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd83a72b.0cf5a8",\r
+        "type": "set",\r
+        "name": "set bwModified",\r
+        "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2163.566665649414,\r
+        "y": 1413.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35c21580.2c9b32",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1968.566665649414,\r
+        "y": 1434.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "fd83a72b.0cf5a8",\r
+                "b1b00645.427888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1b00645.427888",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 988.5666656494141,\r
+        "y": 1639.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "3c4549a7.0d1376"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c4549a7.0d1376",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1193.566665649414,\r
+        "y": 1639.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "adf26b65.8f90e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adf26b65.8f90e",\r
+        "type": "outcome",\r
+        "name": "vpn-binding",\r
+        "xml": "<outcome value='vpn-binding'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1359.566665649414,\r
+        "y": 1639.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "64e47481.3a26d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64e47481.3a26d4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1522.566665649414,\r
+        "y": 1639.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "6e6ea5ef.8c2224",\r
+                "d5aad2e.d2c753"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5aad2e.d2c753",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1751.566665649414,\r
+        "y": 1579.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6e6ea5ef.8c2224",\r
+        "type": "save",\r
+        "name": "get vpn-binding from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1260.566665649414,\r
+        "y": 1733.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "8146e5c8.89f0a",\r
+                "7ba4a096.c89f48",\r
+                "d58f3b9.ef82248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f88195dd.98254",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1644.566665649414,\r
+        "y": 1733.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1f6be69e.efcee9",\r
+                "dca75bc1.9206a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8146e5c8.89f0a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1471.566665649414,\r
+        "y": 1735.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "f88195dd.98254"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ba4a096.c89f48",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1472.057632446289,\r
+        "y": 1781.1407012939453,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "e8dc9623.1376d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d58f3b9.ef82248",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1469.566665649414,\r
+        "y": 1824.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "1a1a5ddc.251932"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a1a5ddc.251932",\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": 1636.566665649414,\r
+        "y": 1841.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e8dc9623.1376d8",\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": 1634.6290435791016,\r
+        "y": 1781.4264373779297,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fb4c81c8.58ec08",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 800.5666656494141,\r
+        "y": 1345.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            [\r
+                "68774cff.da4f7c",\r
+                "458e84.00aae97c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "458e84.00aae97c",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.connectivity",\r
+        "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1020.5666656494141,\r
+        "y": 1293.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f6be69e.efcee9",\r
+        "type": "save",\r
+        "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1995.066665649414,\r
+        "y": 1728.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dca75bc1.9206a8",\r
+        "type": "save",\r
+        "name": "update connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1922.066665649414,\r
+        "y": 1792.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee7fd236.9ed9a8",\r
+        "type": "comment",\r
+        "name": "The following two nodes are for PCE",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2066.566665649414,\r
+        "y": 120.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "323fc4b1.60fe74",\r
+        "type": "get-resource",\r
+        "name": "get-resource pnfs-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2026.566665649414,\r
+        "y": 164.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8780743f.a296a",\r
+        "type": "get-resource",\r
+        "name": "get-resource logical-links",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2039.566665649414,\r
+        "y": 209.56666564941406,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "afd6fb79.f36b6",\r
+        "type": "execute",\r
+        "name": "execute printContext",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4346.566665649414,\r
+        "y": 2326.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "89a7842f.afd83",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5637.566665649414,\r
+        "y": 1163.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a397526.128d93",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4535.566665649414,\r
+        "y": 2398.566665649414,\r
+        "z": "25a21122.0e2cfe",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file