Merge "Initial submission for supporting E-Line based cloud leased line service for...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-create.json
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-create.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-create.json
new file mode 100644 (file)
index 0000000..d08dd5a
--- /dev/null
@@ -0,0 +1,5170 @@
+[\r
+    {\r
+        "id": "63d6efcd.91928",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 117.75,\r
+        "y": 202.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "52717356.ffbb94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52717356.ffbb94",\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": 402.0356903076172,\r
+        "y": 263.98810863494873,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "84b7b306.9f6af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84b7b306.9f6af8",\r
+        "type": "method",\r
+        "name": "method p2p-vnf-topology-operation-p2p-create",\r
+        "xml": "<method rpc='p2p-vnf-topology-operation-p2p-create' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 408.17860412597656,\r
+        "y": 348.7500305175781,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7e2299c2.fed878"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e2299c2.fed878",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 777.988037109375,\r
+        "y": 373.41668701171875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "78c59c4d.b8fa2c",\r
+                "dabba24a.9b138",\r
+                "8be878cc.82db9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78c59c4d.b8fa2c",\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": 1079.321533203125,\r
+        "y": 644.3469848632812,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dabba24a.9b138",\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": 1100.75,\r
+        "y": 346.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bb092529.d25fb8",\r
+                "4416c12c.f02068",\r
+                "148b7d66.64da3b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb092529.d25fb8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1325.75,\r
+        "y": 204.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "3a48b7db.b6fde8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4416c12c.f02068",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1321.240966796875,\r
+        "y": 274.32403564453125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "f3e87723.d8879"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "148b7d66.64da3b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1309.75,\r
+        "y": 320.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e5cc88dc.b07a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a48b7db.b6fde8",\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": 1564.75,\r
+        "y": 201.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "604cb7eb.7b1a68",\r
+                "ce2646b2.7561a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3e87723.d8879",\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": 1474.8123779296875,\r
+        "y": 277.6097717285156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e5cc88dc.b07a2",\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": 1478.75,\r
+        "y": 321.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "604cb7eb.7b1a68",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1777.75,\r
+        "y": 225.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b4021335.1e3ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce2646b2.7561a",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1779.75,\r
+        "y": 165.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b1f2cfd.e132ac",\r
+        "type": "comment",\r
+        "name": "new for TransportSlicing",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1079.75,\r
+        "y": 234.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4021335.1e3ac",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1762.75,\r
+        "y": 313.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e47816c1.46d19",\r
+                "bf3fdeb7.6e1648",\r
+                "b761fd8.2b6b08",\r
+                "50d31847.5f509",\r
+                "9bdaad5a.e56e08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d40580c2.e45d78",\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": 2625.75,\r
+        "y": 913.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b659bcf9.848a1",\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": 2626.75,\r
+        "y": 968.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2fd2492.76d5db6",\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": 2248.75,\r
+        "y": 364.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "c9dda2b1.43ab8",\r
+                "ef111932.8f23",\r
+                "cbe8fd1f.6baa2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9dda2b1.43ab8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2464.75,\r
+        "y": 431.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "17fe2d2.f198953"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef111932.8f23",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2465.240966796875,\r
+        "y": 331.323974609375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "87a60ba4.535a68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbe8fd1f.6baa2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2460.75,\r
+        "y": 380.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "22e5c805.c55278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87a60ba4.535a68",\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": 2642.8125,\r
+        "y": 331.6097412109375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22e5c805.c55278",\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": 2642.75,\r
+        "y": 380.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "caff6575.521c18",\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": 1983.75,\r
+        "y": 853.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b6506162.cc4e28",\r
+                "aa283f4f.6ff15",\r
+                "4fc62792.1d1aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6506162.cc4e28",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2275.240966796875,\r
+        "y": 832.323974609375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "854cdcdd.af5178"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa283f4f.6ff15",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2263.75,\r
+        "y": 876.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "4317fabe.8b662c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "854cdcdd.af5178",\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": 2423.8125,\r
+        "y": 832.6097412109375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4317fabe.8b662c",\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": 2422.75,\r
+        "y": 876.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4fc62792.1d1aa",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2270.75,\r
+        "y": 955.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ab7c1440.9f704"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab7c1440.9f704",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2409.75,\r
+        "y": 955.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d40580c2.e45d78",\r
+                "b659bcf9.848a1",\r
+                "a136fb28.0b527",\r
+                "1648afc0.52dbc8",\r
+                "b920e24f.94b628",\r
+                "558b33bb.a28914",\r
+                "14b3fe.dfa6ec02",\r
+                "cd49f082.fc7e6",\r
+                "ccca18a2.ea7ad8",\r
+                "348e2352.849ddc",\r
+                "631d9619.9d9ee",\r
+                "c3b37174.45567"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a136fb28.0b527",\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": 2638.75,\r
+        "y": 1036.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1145371f.91a831",\r
+                "5a2e1129.154e8",\r
+                "b9792c95.c6cf1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1648afc0.52dbc8",\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": 2617.75,\r
+        "y": 1638.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2e980743.252ac8",\r
+                "1e789473.1cf9ec",\r
+                "90160a99.2f8a58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1145371f.91a831",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2839.75,\r
+        "y": 920.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "3ed8df93.4273e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a2e1129.154e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2835.259033203125,\r
+        "y": 970.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "33754642.9ad63a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9792c95.c6cf1",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2839.259033203125,\r
+        "y": 1021.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "64d30532.9bdba4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ed8df93.4273e",\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": 2988.321533203125,\r
+        "y": 920.0357666015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "33754642.9ad63a",\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": 2978.259033203125,\r
+        "y": 970.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2e980743.252ac8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2840.75,\r
+        "y": 1608.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9b0a176a.3fd41"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e789473.1cf9ec",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2836.259033203125,\r
+        "y": 1658.1759033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b94ccd2f.84b8b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90160a99.2f8a58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2840.259033203125,\r
+        "y": 1709.1759033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8f6fd298.ecc1e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b0a176a.3fd41",\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": 2989.321533203125,\r
+        "y": 1608.03564453125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b94ccd2f.84b8b8",\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": 2979.259033203125,\r
+        "y": 1658.1759033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da7f1dce.5cb46",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3653.41650390625,\r
+        "y": 1064.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "826c0f72.a70018",\r
+                "36f8f99c.c030b6",\r
+                "57c1cc0d.dcb6ac",\r
+                "9cbc6da7.b032e",\r
+                "992f0b42.313448"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7d2e547.bd45e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3480.75,\r
+        "y": 1065.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "da7f1dce.5cb46"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "647aea0c.904444",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3490.240966796875,\r
+        "y": 1108.3240356445312,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "99f9ef28.22d7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b3a301d.df26c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3478.75,\r
+        "y": 1154.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6ff92d51.144e3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99f9ef28.22d7a",\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": 3643.8123779296875,\r
+        "y": 1111.6097717285156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6ff92d51.144e3c",\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": 3647.75,\r
+        "y": 1155.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64d30532.9bdba4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3000.75,\r
+        "y": 1022.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "f7fe7886.c5f688",\r
+                "97630cf9.61551"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f6fd298.ecc1e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2990.75,\r
+        "y": 1710.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d321b170.fefc18",\r
+                "ffb149d2.1a2f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "821eddca.0e3588",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3621.41650390625,\r
+        "y": 1900.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e0128afe.007bf",\r
+                "2edd1a44.e4eb5e",\r
+                "af1082c8.2a9af",\r
+                "ebc710f0.247328",\r
+                "5282e7ba.b5ae6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a826813e.688038",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3448.75,\r
+        "y": 1901.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "821eddca.0e3588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31b9c040.452a38",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3458.240966796875,\r
+        "y": 1944.3240356445312,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "17be006a.5f45e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28d3d57c.d8ea12",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3446.75,\r
+        "y": 1990.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2fae66b5.5bd00a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17be006a.5f45e",\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": 3611.8123779296875,\r
+        "y": 1947.6097717285156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2fae66b5.5bd00a",\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": 3615.75,\r
+        "y": 1991.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "826c0f72.a70018",\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": 3917.75,\r
+        "y": 1048.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2cce3874.ab433",\r
+                "ee660e5a.b83a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee660e5a.b83a",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4140.75,\r
+        "y": 1003.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "5270775.80a9288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cce3874.ab433",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4142.75,\r
+        "y": 1067.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "838db3c8.831b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ce9021f.48b204",\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": 4475.75,\r
+        "y": 958.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "838db3c8.831b8",\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": 4304.75,\r
+        "y": 1063.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5270775.80a9288",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4305.75,\r
+        "y": 1000.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a369f63d.8d0208",\r
+                "6ce9021f.48b204"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a369f63d.8d0208",\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": 4476.75,\r
+        "y": 1066.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dc0e098a.8d3498",\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": 4477.75,\r
+        "y": 1015.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57c1cc0d.dcb6ac",\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": 3919.75,\r
+        "y": 1207.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "36f8f99c.c030b6",\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": 3964.75,\r
+        "y": 1117.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbdce200.a0ebf",\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": 3853.75,\r
+        "y": 1158.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e0128afe.007bf",\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": 3907.75,\r
+        "y": 1904.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a6039dc8.090cc",\r
+                "5bb0c93.9199ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5bb0c93.9199ab8",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4130.75,\r
+        "y": 1859.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d06cbf2c.85f9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6039dc8.090cc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4132.75,\r
+        "y": 1923.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9ac2c145.9482"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b53dee5.e8008",\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": 4465.75,\r
+        "y": 1817.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ac2c145.9482",\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": 4291.75,\r
+        "y": 1942.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d06cbf2c.85f9c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4295.75,\r
+        "y": 1856.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "5b53dee5.e8008",\r
+                "1365606a.f41bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1365606a.f41bb8",\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": 4466.75,\r
+        "y": 1922.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d703d891.d4c1c",\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": 4461.75,\r
+        "y": 1871.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af1082c8.2a9af",\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\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": 3909.75,\r
+        "y": 2063.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2edd1a44.e4eb5e",\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": 3954.75,\r
+        "y": 1973.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc18d76a.4302d",\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": 3843.75,\r
+        "y": 2011.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b920e24f.94b628",\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": 2653.75,\r
+        "y": 2123.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7dfe65de.953a14",\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": 2619.75,\r
+        "y": 2057.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9cbc6da7.b032e",\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": 4047.75,\r
+        "y": 1255.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebc710f0.247328",\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": 4036.75,\r
+        "y": 2128.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4a52ebd.07da98",\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": 5091.75,\r
+        "y": 775.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "147a8d1b.1ee80b",\r
+                "d765c1e1.9d8848",\r
+                "55e4f273.918784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17fe2d2.f198953",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2644.75,\r
+        "y": 431.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "92c83ff4.32672"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa993007.6297d",\r
+        "type": "outcome",\r
+        "name": "logical-link",\r
+        "xml": "<outcome value='logical-link'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1574.7501220703125,\r
+        "y": 848.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "71dec788.b2b82"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9822d888.33539",\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": 2312.75,\r
+        "y": 554.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bb40c414.d4fe5",\r
+                "986079fe.da93b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "986079fe.da93b",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2622.75,\r
+        "y": 561.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb40c414.d4fe5",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2621.75,\r
+        "y": 615.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7898c9b3.45357"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "256c12f1.36937e",\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\n\n",\r
+        "comments": "",\r
+        "x": 1994.75,\r
+        "y": 798.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "71dec788.b2b82",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1751.75,\r
+        "y": 841.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "256c12f1.36937e",\r
+                "caff6575.521c18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b640b2e3.7d557",\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": 3180.75,\r
+        "y": 1027.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f7fe7886.c5f688",\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": 3223.75,\r
+        "y": 1092.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b7d2e547.bd45e8",\r
+                "647aea0c.904444",\r
+                "1b3a301d.df26c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d321b170.fefc18",\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": 3220.75,\r
+        "y": 1936.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a826813e.688038",\r
+                "31b9c040.452a38",\r
+                "28d3d57c.d8ea12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ef3c368.db5f5",\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": 3181.75,\r
+        "y": 1880.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "92c83ff4.32672",\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": 2937.75,\r
+        "y": 378.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "95b0e196.505ca",\r
+                "18577af2.228375",\r
+                "e930ed34.7c0138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18577af2.228375",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3211.240966796875,\r
+        "y": 271.323974609375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "88d8bef2.b299b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88d8bef2.b299b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3388.8125,\r
+        "y": 271.6097412109375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e930ed34.7c0138",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3206.75,\r
+        "y": 320.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d9c208e6.92ace8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9c208e6.92ace8",\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": 3388.75,\r
+        "y": 320.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "95b0e196.505ca",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3210.75,\r
+        "y": 371.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1e6206a8.c04df9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e6206a8.c04df9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3390.75,\r
+        "y": 371.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9822d888.33539"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e565315.5e9c94",\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": 2881.75,\r
+        "y": 595.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ad48e1c.1164d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad48e1c.1164d2",\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": 3161.75,\r
+        "y": 595.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "fa993007.6297d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f45e9748.7b5398",\r
+        "type": "outcome",\r
+        "name": "network-policy",\r
+        "xml": "<outcome value='network-policy'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3366.75,\r
+        "y": 569.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "765d29c.dd249d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "765d29c.dd249d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3543.7498779296875,\r
+        "y": 562.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "75683ebe.1d381",\r
+                "bda78544.b92ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75683ebe.1d381",\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": 3786.7498779296875,\r
+        "y": 519.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bda78544.b92ef8",\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": 3775.7498779296875,\r
+        "y": 574.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ca6a5b49.f6776",\r
+                "a806a879.064e2",\r
+                "e87f6cd7.19d238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e87f6cd7.19d238",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4028.75,\r
+        "y": 460.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8b6c5048.f1e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b6c5048.f1e68",\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": 4177.321533203125,\r
+        "y": 461.0357666015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "180d4dab.bdf5aa",\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": 4176.259033203125,\r
+        "y": 505.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a806a879.064e2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4017.259033203125,\r
+        "y": 505.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "180d4dab.bdf5aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca6a5b49.f6776",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4024.259033203125,\r
+        "y": 584.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "64e4dfe7.932de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64e4dfe7.932de",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4163.259033203125,\r
+        "y": 584.176025390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ee6b0ff5.49f928",\r
+                "2bb1c801.8cdbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee6b0ff5.49f928",\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": 4368.75,\r
+        "y": 581.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97630cf9.61551",\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": 3224.75,\r
+        "y": 762.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "934ca0f9.e9628",\r
+                "acb0ef25.bdb28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acb0ef25.bdb28",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3447.75,\r
+        "y": 748.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "86c41dd1.cd9b3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "934ca0f9.e9628",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3449.75,\r
+        "y": 781.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7c1914e6.7de444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c1914e6.7de444",\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": 3592.75,\r
+        "y": 778.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86c41dd1.cd9b3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3595.75,\r
+        "y": 741.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9c125821.e182b8",\r
+                "15e72cc8.739c23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c125821.e182b8",\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": 3757.75,\r
+        "y": 736.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ffb149d2.1a2f38",\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": 3238.75,\r
+        "y": 1599.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bf5eff49.e98d88",\r
+                "54638e9e.e4ced"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54638e9e.e4ced",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3461.75,\r
+        "y": 1585.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "16f61dc.50bc1e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf5eff49.e98d88",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3463.75,\r
+        "y": 1618.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9dee5daf.af14f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dee5daf.af14f",\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": 3606.75,\r
+        "y": 1615.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16f61dc.50bc1e2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3609.75,\r
+        "y": 1578.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8dcdd4c8.096dc8",\r
+                "d98e4cd6.39d27"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dcdd4c8.096dc8",\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": 3803.75,\r
+        "y": 1581.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8be878cc.82db9",\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": 1067.75,\r
+        "y": 286.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "992f0b42.313448",\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": 3871.75,\r
+        "y": 1332.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b7afaa03.1d1688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7afaa03.1d1688",\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": 4077.75,\r
+        "y": 1332.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "40933173.919508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40933173.919508",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4293.03564453125,\r
+        "y": 1332.57177734375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8a032b26.4ca96"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a032b26.4ca96",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4499.8671875,\r
+        "y": 1333.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2723496.6122eb6",\r
+                "e5650eda.402e4",\r
+                "1295e367.d34e2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2723496.6122eb6",\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": 4714.8671875,\r
+        "y": 1295.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e5650eda.402e4",\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": 4711.8671875,\r
+        "y": 1334.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "217f847a.1b8f9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1295e367.d34e2d",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4667.3671875,\r
+        "y": 1376.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "217f847a.1b8f9c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4892.3671875,\r
+        "y": 1333.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9a62abd2.875488"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a62abd2.875488",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5050.3671875,\r
+        "y": 1333.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "84d611e0.38611"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84d611e0.38611",\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": 5257.3671875,\r
+        "y": 1333.09033203125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5282e7ba.b5ae6",\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": 3868.75,\r
+        "y": 2201.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bd545475.b3b6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd545475.b3b6c",\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": 4074.75,\r
+        "y": 2201.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "83564e37.d48218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83564e37.d48218",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4290.03564453125,\r
+        "y": 2201.5718994140625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "93bbce92.5201a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93bbce92.5201a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4496.8671875,\r
+        "y": 2202.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "fd9657a3.dc9388",\r
+                "30813f1a.ba22e",\r
+                "20bd551d.f1ff8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd9657a3.dc9388",\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": 4711.8671875,\r
+        "y": 2164.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "30813f1a.ba22e",\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": 4708.8671875,\r
+        "y": 2203.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a170e3c8.bc39e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20bd551d.f1ff8a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4664.3671875,\r
+        "y": 2245.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a170e3c8.bc39e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4889.3671875,\r
+        "y": 2202.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2f28ce6e.7c805a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f28ce6e.7c805a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5047.3671875,\r
+        "y": 2202.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8acb087c.8a0c18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8acb087c.8a0c18",\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": 5254.3671875,\r
+        "y": 2202.0904541015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "15e72cc8.739c23",\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": 3784.75,\r
+        "y": 808.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "4a52b982.f91c28",\r
+                "a11e568c.3be85",\r
+                "99ab9191.08f9c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a52b982.f91c28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3980.2501220703125,\r
+        "y": 760.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b692ef38.8280a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a11e568c.3be85",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3972.2501220703125,\r
+        "y": 815.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e2c6f054.dcba8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99ab9191.08f9c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3977.2501220703125,\r
+        "y": 872.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b3b61906.89b6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3b61906.89b6c",\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": 4129.2501220703125,\r
+        "y": 873.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e2c6f054.dcba8",\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": 4140.2501220703125,\r
+        "y": 818.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b692ef38.8280a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4124.6324462890625,\r
+        "y": 758.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7c1e7393.5f430c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfce8ca8.7f158",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4706.75,\r
+        "y": 776.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "66e0242c.eca1f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66e0242c.eca1f4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4883.75,\r
+        "y": 768.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bb4e4d04.403498",\r
+                "a4a52ebd.07da98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c1e7393.5f430c",\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": 4308.75,\r
+        "y": 772.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "fdc19a74.7f3248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fdc19a74.7f3248",\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": 4503.75,\r
+        "y": 772.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bfce8ca8.7f158",\r
+                "86b82394.a43d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb4e4d04.403498",\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": 5121.75,\r
+        "y": 723.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "147a8d1b.1ee80b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5301.75,\r
+        "y": 766.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b87f751d.f3da7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d765c1e1.9d8848",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5293.75,\r
+        "y": 821.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "df22bf16.07f7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55e4f273.918784",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5298.75,\r
+        "y": 878.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6f4ec167.ab122"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f4ec167.ab122",\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": 5450.75,\r
+        "y": 879.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "df22bf16.07f7a",\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": 5461.75,\r
+        "y": 824.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b87f751d.f3da7",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5446.13232421875,\r
+        "y": 764.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "65560228.e1b304"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65560228.e1b304",\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": 5660.75,\r
+        "y": 760.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d98e4cd6.39d27",\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": 3825.75,\r
+        "y": 1649.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2868cde5.076bda",\r
+                "b742f188.d99c98",\r
+                "7bcbe6e5.b6855"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2868cde5.076bda",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4021.2501220703125,\r
+        "y": 1601.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ddae6fe1.18737"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b742f188.d99c98",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4013.2501220703125,\r
+        "y": 1656.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "22adb7ad.9c7eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7bcbe6e5.b6855",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4018.2501220703125,\r
+        "y": 1713.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8bbca88.4bf3658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bbca88.4bf3658",\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": 4170.2501220703125,\r
+        "y": 1714.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22adb7ad.9c7eb8",\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": 4181.2501220703125,\r
+        "y": 1659.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ddae6fe1.18737",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4165.6324462890625,\r
+        "y": 1599.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "745549ac.76522"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c51f1bb.fdd338",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4747.75,\r
+        "y": 1617.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bec84375.9834d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bec84375.9834d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4924.75,\r
+        "y": 1609.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "10746af3.442ea5",\r
+                "c8d59f37.05516"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "745549ac.76522",\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": 4349.75,\r
+        "y": 1613.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6f4edcf8.0264a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f4edcf8.0264a4",\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": 4544.75,\r
+        "y": 1613.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6c51f1bb.fdd338",\r
+                "bd360057.ae7f88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8d59f37.05516",\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": 5132.75,\r
+        "y": 1616.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "cfff8041.7a41a",\r
+                "e8bb74eb.2b006",\r
+                "38cb0a35.e7b596"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10746af3.442ea5",\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": 5162.75,\r
+        "y": 1564.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cfff8041.7a41a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5342.75,\r
+        "y": 1607.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "48760758.d51b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8bb74eb.2b006",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5334.75,\r
+        "y": 1662.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "cd0857ad.373e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38cb0a35.e7b596",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5339.75,\r
+        "y": 1719.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "dc5ac250.081388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc5ac250.081388",\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": 5491.75,\r
+        "y": 1720.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cd0857ad.373e5",\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": 5502.75,\r
+        "y": 1665.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "48760758.d51b1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5487.13232421875,\r
+        "y": 1605.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "4f464150.595d48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f464150.595d48",\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": 5701.75,\r
+        "y": 1601.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7898c9b3.45357",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2785.75,\r
+        "y": 541.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7e565315.5e9c94",\r
+                "d1780d52.965428"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1780d52.965428",\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": 3066.75,\r
+        "y": 497.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "3ca961.874bbea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ca961.874bbea",\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": 3328.75,\r
+        "y": 497.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "f45e9748.7b5398"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86b82394.a43d88",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4709.75,\r
+        "y": 850.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d6ae6456.c7b7d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6ae6456.c7b7d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4886.75,\r
+        "y": 842.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e0c26dc1.c6609"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0c26dc1.c6609",\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": 5121.75,\r
+        "y": 966.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d695d085.dfc6b8",\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": 5161.75,\r
+        "y": 1806.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2aa9e81.4a2188",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4926.75,\r
+        "y": 1682.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d695d085.dfc6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd360057.ae7f88",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4749.75,\r
+        "y": 1690.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d2aa9e81.4a2188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bb1c801.8cdbe",\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": 4367.75,\r
+        "y": 627.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f8e47c26.52e4d8",\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": 2723.75,\r
+        "y": 761.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd49f082.fc7e6",\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": 2704.75,\r
+        "y": 811.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e47816c1.46d19",\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": 1965.75,\r
+        "y": 345.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d88bc8a5.b522",\r
+                "2fd2492.76d5db6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d88bc8a5.b522",\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": 2245.75,\r
+        "y": 283.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "558b33bb.a28914",\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": 2634.75,\r
+        "y": 2176.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14b3fe.dfa6ec02",\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": 2604.75,\r
+        "y": 4019.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ccca18a2.ea7ad8",\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": 2661.75,\r
+        "y": 856.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cca04ac5.91465",\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": 2960.75,\r
+        "y": 2573.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "632d67d8.477b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "509c5188.74c83",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3778.75,\r
+        "y": 3008.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "47e5c711.f9e42"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e45b6160.4b64a",\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": 4346.249755859375,\r
+        "y": 3117.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "47e5c711.f9e42",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4084.75,\r
+        "y": 3007.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "145a15c9.c3f512"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "145a15c9.c3f512",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4294.25,\r
+        "y": 3008.00390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7555fbf6.cdbdcc",\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": 3811.75,\r
+        "y": 2487.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6602c404.9c0314",\r
+        "type": "switchNode",\r
+        "name": "switch otnidx == 0",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3687.75,\r
+        "y": 3125.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ecf5d9ca.029638",\r
+                "7cbff457.bc10a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecf5d9ca.029638",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3870.75,\r
+        "y": 3125.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8b66f50b.a495e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cbff457.bc10a4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3695.75,\r
+        "y": 3272.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "98fe960.02a01e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6856d07.c2a888",\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": 4036.75,\r
+        "y": 3353.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "95cc5926.bc205",\r
+                "51ef39f3.21a02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95cc5926.bc205",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4221.75,\r
+        "y": 3354.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7a243a1b.dc43dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51ef39f3.21a02",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4240.75,\r
+        "y": 3620.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "d80d30d2.312238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5262e36b.131f54",\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": 4651.75,\r
+        "y": 3355.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe37c597.d52ae8",\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": 4725.75,\r
+        "y": 3653.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1eb5c8d.f0efd",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4661.75,\r
+        "y": 3704.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "269da2fb.91d39e",\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": 4790.75,\r
+        "y": 3754.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "72735598.b392e4",\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": 4800.75,\r
+        "y": 3597.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c95e91b6.ee604",\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": 4758.75,\r
+        "y": 3813.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d80d30d2.312238",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4397.75,\r
+        "y": 3621.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "fe37c597.d52ae8",\r
+                "f1eb5c8d.f0efd",\r
+                "269da2fb.91d39e",\r
+                "c95e91b6.ee604",\r
+                "e869dcfa.21d6a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "632d67d8.477b4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3229.75,\r
+        "y": 2573.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7555fbf6.cdbdcc",\r
+                "509c5188.74c83",\r
+                "6602c404.9c0314",\r
+                "a7981473.cca18",\r
+                "67f8bed4.589038",\r
+                "84f21d5d.cb936",\r
+                "cf841c7f.9aedb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "355e2bbf.8d08b4",\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": 4275.75,\r
+        "y": 3169.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5e65478a.e55ec8",\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": 4328.75,\r
+        "y": 3213.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6aa94454.63c71c",\r
+                "8b32fc97.557eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b32fc97.557eb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4599.75,\r
+        "y": 3198.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "25abbf8d.056b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6aa94454.63c71c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4597.750213623047,\r
+        "y": 3256.74990940094,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e943d471.fc5ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25abbf8d.056b1",\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": 4739.750247955322,\r
+        "y": 3198.7500009536743,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e943d471.fc5ba",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4745.77725982666,\r
+        "y": 3247.495394706726,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b66f50b.a495e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4011.75,\r
+        "y": 3115.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "e45b6160.4b64a",\r
+                "355e2bbf.8d08b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a243a1b.dc43dc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4355.75,\r
+        "y": 3355.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "5262e36b.131f54",\r
+                "74f9fcf1.d739a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74f9fcf1.d739a4",\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": 4575.75,\r
+        "y": 3399.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14bf600d.e67a7",\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": 4626.75,\r
+        "y": 3443.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b9df2951.d6312",\r
+                "2675c857.253648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2675c857.253648",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4889.75,\r
+        "y": 3423.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ee37ae98.df0788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9df2951.d6312",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4890.750213623047,\r
+        "y": 3474.74990940094,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6b1e1b93.fd4064"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee37ae98.df0788",\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": 5029.750247955322,\r
+        "y": 3423.7500009536743,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6b1e1b93.fd4064",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5035.77725982666,\r
+        "y": 3472.495394706726,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e869dcfa.21d6a",\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": 4672.75,\r
+        "y": 3873.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7226b3cc.67998c",\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": 1991.75,\r
+        "y": 4220.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "afb2b4e.a4009c8",\r
+                "c2c67e99.895238",\r
+                "f60b7df.b2997"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "afb2b4e.a4009c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2179.75,\r
+        "y": 4233.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "81feb431.c2cd38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2c67e99.895238",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2180.240966796875,\r
+        "y": 4279.324035644531,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "63caf3db.7d3514"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f60b7df.b2997",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2177.75,\r
+        "y": 4322.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bc2cc67c.a26e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81feb431.c2cd38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2352.75,\r
+        "y": 4231.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "799860e4.4d402"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63caf3db.7d3514",\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": 2342.8123779296875,\r
+        "y": 4279.609771728516,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bc2cc67c.a26e68",\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": 2344.75,\r
+        "y": 4321.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e9edd1fa.062c48",\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": 1980.75,\r
+        "y": 4411.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "213a40e6.50fa5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef976188.656f28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2790.75,\r
+        "y": 4411.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "17b05ad0.008d15"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21007b2.f080e84",\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": 2562.75,\r
+        "y": 4411.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "ef976188.656f28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51229269.4b1c8c",\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": 3682.75,\r
+        "y": 4178.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35c690e7.fe6c",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
+        "comments": "",\r
+        "x": 3984.75,\r
+        "y": 3304.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98fe960.02a01e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3819.75,\r
+        "y": 3279.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "35c690e7.fe6c",\r
+                "a6856d07.c2a888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50d31847.5f509",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+        "comments": "",\r
+        "x": 1939.75,\r
+        "y": 295.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "799860e4.4d402",\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": 2581.75,\r
+        "y": 4232.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "abc14f3.125f83"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abc14f3.125f83",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2796.75,\r
+        "y": 4233.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "cf481547.940d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22357a40.6f5826",\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": 4249.75,\r
+        "y": 4153.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6890c215.76779c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a03f6736.1a323",\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": 3715.75,\r
+        "y": 4233.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9db4f6d6.d9ce7",\r
+                "6099e33b.8b2e7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9db4f6d6.d9ce7",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3911.75,\r
+        "y": 4203.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6cbffd71.0d955c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6099e33b.8b2e7c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3912.75,\r
+        "y": 4274.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "cb3a25fd.09afe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cbffd71.0d955c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4062.75,\r
+        "y": 4201.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "22357a40.6f5826",\r
+                "691995c9.4a5b7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6890c215.76779c",\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": 4540.75,\r
+        "y": 4153.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "31547cc0.03bc84",\r
+                "df9fb700.28a918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31547cc0.03bc84",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4815.75,\r
+        "y": 4122.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bf755b2.9db4a28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df9fb700.28a918",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4816.75,\r
+        "y": 4193.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "7fbeef42.b23dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf755b2.9db4a28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4966.75,\r
+        "y": 4120.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a9bad327.3607d8",\r
+                "47f11e50.783bc8",\r
+                "c8d8ebb6.b093d8",\r
+                "aab03464.9d75e",\r
+                "aa4f54f.319aaa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9bad327.3607d8",\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": 5154.75,\r
+        "y": 4080.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47f11e50.783bc8",\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": 5226.75,\r
+        "y": 4125.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa4f54f.319aaa8",\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": 5141.75,\r
+        "y": 4252.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aab03464.9d75e",\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": 5162.75,\r
+        "y": 4188.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cb3a25fd.09afe8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4064.75,\r
+        "y": 4274.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6bbef268.dd7bec",\r
+                "a07fd57f.628ce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bbef268.dd7bec",\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": 4319.75,\r
+        "y": 4267.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a07fd57f.628ce8",\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": 4247.75,\r
+        "y": 4314.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "691995c9.4a5b7c",\r
+        "type": "switchNode",\r
+        "name": "switch found?",\r
+        "xml": "<switch test='`$found`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4240.75,\r
+        "y": 4198.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "62e3ceb.ffa193",\r
+                "b6d5bce1.09744"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62e3ceb.ffa193",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4400.75,\r
+        "y": 4190.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1a17890a.8f540f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6d5bce1.09744",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4398.75,\r
+        "y": 4227.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "5a545bc0.7dd69c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a17890a.8f540f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4525.75,\r
+        "y": 4190.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0fb3ac4.b3f8f",\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": 4832.75,\r
+        "y": 4248.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a545bc0.7dd69c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4558.75,\r
+        "y": 4235.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "f0fb3ac4.b3f8f",\r
+                "bad15fff.31fcb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bad15fff.31fcb8",\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": 4749.75,\r
+        "y": 4294.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7fbeef42.b23dd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4949.75,\r
+        "y": 4192.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8d8ebb6.b093d8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5120.75,\r
+        "y": 4319.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a7981473.cca18",\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": 3521.75,\r
+        "y": 2577.7501220703125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "c33d9535.8046e8",\r
+                "63062baf.1fbb34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c33d9535.8046e8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3891.75,\r
+        "y": 2538.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "45a9cb43.516104"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63062baf.1fbb34",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3892.75,\r
+        "y": 2584.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "f89446bd.e3f558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45a9cb43.516104",\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": 4105.75,\r
+        "y": 2537.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f89446bd.e3f558",\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": 4103.75,\r
+        "y": 2582.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "17b05ad0.008d15",\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": 3043.75,\r
+        "y": 4409.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7cf6092b.1331b",\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": 2628.75,\r
+        "y": 4517.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "37bbe2d.a04a59e",\r
+                "ec906b95.a9e49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec906b95.a9e49",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2911.75,\r
+        "y": 4497.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "4e96bd46.3d74cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37bbe2d.a04a59e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2912.750213623047,\r
+        "y": 4548.74990940094,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9691327c.3cba08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e96bd46.3d74cc",\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": 3051.7502479553223,\r
+        "y": 4497.750000953674,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9691327c.3cba08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3057.77725982666,\r
+        "y": 4546.495394706726,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67f8bed4.589038",\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": 3701.75,\r
+        "y": 2651.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84f21d5d.cb936",\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": 3745.75,\r
+        "y": 2699.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "843896b4.ca2438",\r
+                "ac8c03cf.0b987",\r
+                "317bf09e.750c58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "843896b4.ca2438",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3958.25,\r
+        "y": 2646.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6887d40d.f6aafc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac8c03cf.0b987",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3970.25,\r
+        "y": 2696.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1adffb9b.f04b4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "317bf09e.750c58",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3961.25,\r
+        "y": 2751.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1d79ff10.1f9c61"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d79ff10.1f9c61",\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": 4106.25,\r
+        "y": 2750.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1adffb9b.f04b4c",\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": 4117.25,\r
+        "y": 2693.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6887d40d.f6aafc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4083.6324462890625,\r
+        "y": 2640.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b8e05e44.e79d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d661556.4c1148",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4642.75,\r
+        "y": 2658.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "2a2f98dd.6349d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a2f98dd.6349d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4819.75,\r
+        "y": 2650.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8fec35b6.fb7118",\r
+                "8057ed3d.b8b71"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8e05e44.e79d2",\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": 4244.75,\r
+        "y": 2654.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "20794f9a.c05a58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20794f9a.c05a58",\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": 4439.75,\r
+        "y": 2654.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9d661556.4c1148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8057ed3d.b8b71",\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": 5027.75,\r
+        "y": 2657.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "326bc8b9.4e89f8",\r
+                "c42e4071.ccae88",\r
+                "2f974d9f.6edb3a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8fec35b6.fb7118",\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": 5057.75,\r
+        "y": 2605.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "326bc8b9.4e89f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5237.75,\r
+        "y": 2648.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "bbcf0dbb.ad16f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c42e4071.ccae88",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5229.75,\r
+        "y": 2703.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "5371f364.6c9824"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f974d9f.6edb3a",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5234.75,\r
+        "y": 2760.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "32c39ad7.59b1f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32c39ad7.59b1f6",\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": 5386.75,\r
+        "y": 2761.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5371f364.6c9824",\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": 5397.75,\r
+        "y": 2706.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bbcf0dbb.ad16f8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5382.13232421875,\r
+        "y": 2646.4056701660156,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "3a973226.73340e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a973226.73340e",\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": 5596.75,\r
+        "y": 2642.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "213a40e6.50fa5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2212.75,\r
+        "y": 4409.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "21007b2.f080e84",\r
+                "7cf6092b.1331b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf841c7f.9aedb",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == 0 (domainA)",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3715.75,\r
+        "y": 2868.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "1b951b0e.92335d",\r
+                "f7aacac2.db3d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b951b0e.92335d",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3916.75,\r
+        "y": 2866.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "9efec827.a86c9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c34835c.e791b",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 4197.75,\r
+        "y": 2816.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b7bb7b24.1b292",\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": 4133.75,\r
+        "y": 2917.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "fd4b8583.fd9098",\r
+                "bed77cd6.05b48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd4b8583.fd9098",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4363.75,\r
+        "y": 2913.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "16a0b639.60baea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b96f50fd.127ab8",\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": 4700.75,\r
+        "y": 2857.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f7aacac2.db3d8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3916.75,\r
+        "y": 2915.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b7bb7b24.1b292"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bed77cd6.05b48",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4364.75,\r
+        "y": 2959.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "6600d5fa.31b8fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6600d5fa.31b8fc",\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": 4578.75,\r
+        "y": 2959.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3048e42b.381204",\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": 4476.75,\r
+        "y": 3008.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cf481547.940d",\r
+        "type": "switchNode",\r
+        "name": "switch vpnuuid is for this slice",\r
+        "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3040.75,\r
+        "y": 4232.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "8d7304cc.0aa318",\r
+                "ffcae489.323bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d7304cc.0aa318",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3257.75,\r
+        "y": 4211.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "c5705cb.18e75a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffcae489.323bb8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3257.75,\r
+        "y": 4260.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5705cb.18e75a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3425.75,\r
+        "y": 4211.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "51229269.4b1c8c",\r
+                "a03f6736.1a323"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a574d94d.6c4aa8",\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": 4252.75,\r
+        "y": 2863.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9efec827.a86c9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4040.75,\r
+        "y": 2857.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "a574d94d.6c4aa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2a8a4e9.34f1c8",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 4652.75,\r
+        "y": 2905.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16a0b639.60baea",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4496.75,\r
+        "y": 2889.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "b96f50fd.127ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf3fdeb7.6e1648",\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": 1982.75,\r
+        "y": 154.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b761fd8.2b6b08",\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": 1994.75,\r
+        "y": 195.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a66f6106.d6897",\r
+        "type": "comment",\r
+        "name": "The following two nodes are for PCE",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2018.75,\r
+        "y": 117.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f7720f3.7aae9",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+        "comments": "",\r
+        "x": 1939.75,\r
+        "y": 241.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "631d9619.9d9ee",\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": 1592.75,\r
+        "y": 2373.7496337890625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cbcaef8.fee281",\r
+        "type": "set",\r
+        "name": "set maxtpn",\r
+        "xml": "<set>\n<parameter name='maxtpn' value='`($maxtpn + $gfp)`' />",\r
+        "comments": "",\r
+        "x": 3656.75,\r
+        "y": 3056.75,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c3b37174.45567",\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": 1791.75,\r
+        "y": 2421.7498779296875,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "348e2352.849ddc",\r
+        "type": "switchNode",\r
+        "name": "switch src and dst same domain?",\r
+        "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n    \n    `\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1607.3334350585938,\r
+        "y": 2483.3336181640625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "4a5bbbb8.21f4f4",\r
+                "f0483d5d.c65838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a5bbbb8.21f4f4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1802.3333129882812,\r
+        "y": 2597.3336181640625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "277d2781.ec4fb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0483d5d.c65838",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1821.3333740234375,\r
+        "y": 2496.33349609375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "69fab2f3.f4d724"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69fab2f3.f4d724",\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": 2228.6668701171875,\r
+        "y": 2502.6666259765625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "41433a02.61754c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "277d2781.ec4fb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1952.666748046875,\r
+        "y": 2597.6666259765625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "db17525b.9cda9",\r
+                "98634dfa.681d6",\r
+                "59852974.659be",\r
+                "f9710261.9f9158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41433a02.61754c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2655,\r
+        "y": 2502.3336181640625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "cca04ac5.91465"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db17525b.9cda9",\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-samedomain-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2236.6666259765625,\r
+        "y": 2603.33349609375,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "98634dfa.681d6",\r
+        "type": "set",\r
+        "name": "set attachment_param Same Domain",\r
+        "xml": "<set>\n<parameter name='tmp.sameDomain-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.sameDomain-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+        "comments": "",\r
+        "x": 2204.6666259765625,\r
+        "y": 2663.66650390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59852974.659be",\r
+        "type": "save",\r
+        "name": "save vpn-binding same domain 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-samedomain-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-samedomain-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='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\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.sameDomain-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.sameDomain-dst-access-node-id`' />\n<!--<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2269.9998779296875,\r
+        "y": 2719.66650390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "733c1bcc.d90d64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "733c1bcc.d90d64",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2586.9998779296875,\r
+        "y": 2721.66650390625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            [\r
+                "c2cbdd5e.c4e688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2cbdd5e.c4e688",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2750.4998779296875,\r
+        "y": 2720.92041015625,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bdaad5a.e56e08",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:p2p-vnf-topology-operation-p2p-activate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='p2p-vnf-topology-operation-p2p-activate' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2186.666748046875,\r
+        "y": 4145.3330078125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9710261.9f9158",\r
+        "type": "save",\r
+        "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, 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-samedomain-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": 2318.666259765625,\r
+        "y": 2774.333251953125,\r
+        "z": "265dc029.a18eb8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file