Support for integration of E-Line based Cloud Leased Line service with hardware domai...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof.json
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof.json
new file mode 100644 (file)
index 0000000..84af602
--- /dev/null
@@ -0,0 +1,3589 @@
+[\r
+    {\r
+        "id": "6c2aabab.e93664",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 175.56666564941406,\r
+        "y": 177,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "591c3fc8.9e7608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "591c3fc8.9e7608",\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": 322.56666564941406,\r
+        "y": 752.0000152587891,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "44270cff.075ffc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44270cff.075ffc",\r
+        "type": "method",\r
+        "name": "p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof",\r
+        "xml": "<method rpc='p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 386.56678771972656,\r
+        "y": 845,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f251f976.64ff3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f693cfb.d505d",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode getPath from OOF",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 432.53973388671875,\r
+        "y": 363.996000289917,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "cb486fd5.830b",\r
+                "906dd9e3.75cef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb486fd5.830b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 672.5398750305176,\r
+        "y": 387.99596977233887,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "797aa06c.00938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1ee6ad8.83ca08",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",\r
+        "comments": "",\r
+        "x": 842.539794921875,\r
+        "y": 327.99606132507324,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "906dd9e3.75cef",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 671.5396614074707,\r
+        "y": 336.9960603713989,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c1ee6ad8.83ca08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25cab887.227a6",\r
+        "type": "comment",\r
+        "name": "OTN tunnel path computation",\r
+        "info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",\r
+        "comments": "",\r
+        "x": 404.0435333251953,\r
+        "y": 320,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "882d42af.d08248",\r
+        "type": "for",\r
+        "name": "for vidx..otn-oof.solutions_length[]",\r
+        "xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 860.5395660400391,\r
+        "y": 813.2457275390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "40e93722.e40d08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1db851ea.af50ee",\r
+        "type": "comment",\r
+        "name": "Loop through OTN links",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 944.0398712158203,\r
+        "y": 892.74609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40e93722.e40d08",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 965.0667877197266,\r
+        "y": 1004.2864990234375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2c0f74ca.54d50c",\r
+                "af5275b3.dbb6f8",\r
+                "1130b3f7.365ee4",\r
+                "8c1b9eaf.ad5cc8",\r
+                "f4071c85.a9878",\r
+                "6ced391e.ea212"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c0f74ca.54d50c",\r
+        "type": "set",\r
+        "name": "set otn-oof.link-name and etc.",\r
+        "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />",\r
+        "comments": "",\r
+        "x": 1211.5667877197266,\r
+        "y": 897.2864990234375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "797aa06c.00938",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 817.5669212341309,\r
+        "y": 385.741455078125,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f251f976.64ff3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 627.5355491638184,\r
+        "y": 771.7416372299194,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "882d42af.d08248",\r
+                "dbf43529.a6b38",\r
+                "e683f633.c5efe8",\r
+                "b39a241.90443d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2980fcb1.5caccc",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2379.0665435791016,\r
+        "y": 1330,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4071c85.a9878",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1175.0667724609375,\r
+        "y": 1145.999984741211,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e16e4301.473108",\r
+                "89d8c6ec.f54d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7513b61f.c8bc28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2703.5665435791016,\r
+        "y": 821,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "356d916a.866316"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42e994b9.4c76c4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2736.566665649414,\r
+        "y": 879,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "9fbe687d.f821e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf4c0e40.d53578",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2739.566665649414,\r
+        "y": 931,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ff1d0e5e.8b2818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9fbe687d.f821e",\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": 2921.566665649414,\r
+        "y": 883,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff1d0e5e.8b2818",\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": 2909.566665649414,\r
+        "y": 934,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1fb76b15.27110d",\r
+        "type": "set",\r
+        "name": "set domain A node ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4040.0665435791016,\r
+        "y": 736,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2aacb85.c592b8",\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.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4048.0665435791016,\r
+        "y": 788,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "6548f220.2e2714"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6548f220.2e2714",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4254.566543579102,\r
+        "y": 766,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "fd3a1da9.a1e0c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "356d916a.866316",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3670.066650390625,\r
+        "y": 800.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "30dabaf0.4be9d6",\r
+                "6fa7548f.d740bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e16e4301.473108",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst tp",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2460.066665649414,\r
+        "y": 1226,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ed8f0b24.2715b8",\r
+                "88ace869.b9ed8",\r
+                "2de04b36.3c829c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed8f0b24.2715b8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2682.5665435791016,\r
+        "y": 1368,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e0836e7b.28886"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88ace869.b9ed8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2666.5665435791016,\r
+        "y": 1419,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a934ded3.a1905"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2de04b36.3c829c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2669.5665435791016,\r
+        "y": 1471,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "4f45c45b.037e24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f45c45b.037e24",\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": 2839.5665435791016,\r
+        "y": 1474,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a934ded3.a1905",\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": 2851.5665435791016,\r
+        "y": 1423,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f268c3f.a32388",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5048.066543579102,\r
+        "y": 1179,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "b41bc1fd.7d3fe8",\r
+                "eb5ec4f3.1b9e58",\r
+                "ac0a66fa.f1ae18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d1d7a12.af2fb",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4835.066543579102,\r
+        "y": 1178,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "8f268c3f.a32388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0836e7b.28886",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3838.0665435791016,\r
+        "y": 1375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "d619c7c5.f21df",\r
+                "792e65b5.101e74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8aedfe5b.118e88",\r
+        "type": "set",\r
+        "name": "set domain B node ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4080.0665435791016,\r
+        "y": 1329,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67f189a9.7533f",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst 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.domain-B.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4070.0665435791016,\r
+        "y": 1380,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ed9511b0.3861b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed9511b0.3861b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4257.566543579102,\r
+        "y": 1378,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "d3635511.caa0e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b41bc1fd.7d3fe8",\r
+        "type": "set",\r
+        "name": "set domain B network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5318.066543579102,\r
+        "y": 1155,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eb5ec4f3.1b9e58",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5328.066543579102,\r
+        "y": 1201,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "36929426.507164"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36929426.507164",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5543.566543579102,\r
+        "y": 1192,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c48d5abb.c3e938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c48d5abb.c3e938",\r
+        "type": "set",\r
+        "name": "set domain B network-id, topo-id, client-id, etc",\r
+        "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 5798.066543579102,\r
+        "y": 1198,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fd3a1da9.a1e0c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4429.566543579102,\r
+        "y": 762,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "5f6936aa.a972"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3635511.caa0e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4446.566543579102,\r
+        "y": 1367,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "eda918a0.8449d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89d8c6ec.f54d3",\r
+        "type": "get-resource",\r
+        "name": "get-resource src tp",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2506.066665649414,\r
+        "y": 860,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "7513b61f.c8bc28",\r
+                "42e994b9.4c76c4",\r
+                "bf4c0e40.d53578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30dabaf0.4be9d6",\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-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3909.5665435791016,\r
+        "y": 606,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e4a733f.4bc16d",\r
+                "532ed172.f842b8",\r
+                "525afcbb.b25284"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e4a733f.4bc16d",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4105.066665649414,\r
+        "y": 558,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "86620d3e.1a119"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "532ed172.f842b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4097.066665649414,\r
+        "y": 613,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f8caa53b.d2789"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "525afcbb.b25284",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4102.066665649414,\r
+        "y": 670,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2783b89d.d20958"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2783b89d.d20958",\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": 4254.066665649414,\r
+        "y": 671,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f8caa53b.d2789",\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": 4265.066665649414,\r
+        "y": 616,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86620d3e.1a119",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4249.448989868164,\r
+        "y": 555.6556701660156,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e93e8b81.9ca2f",\r
+                "51152d30.8b729c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e93e8b81.9ca2f",\r
+        "type": "set",\r
+        "name": "set domain A node-id and tpn",\r
+        "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
+        "comments": "",\r
+        "x": 4474.566543579102,\r
+        "y": 511,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "838b8fb.d2dddf",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3996.5665435791016,\r
+        "y": 853,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5f6936aa.a972",\r
+        "type": "set",\r
+        "name": "set domain A tunnel tp ip",\r
+        "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n",\r
+        "comments": "",\r
+        "x": 4690.566543579102,\r
+        "y": 759,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d619c7c5.f21df",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst 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-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3906.5665435791016,\r
+        "y": 1209,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "33ea4656.cee232",\r
+                "f355875f.873ba8",\r
+                "30542edc.d15092"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30542edc.d15092",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4102.066665649414,\r
+        "y": 1161,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f2ee29cc.e27708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f355875f.873ba8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4094.066665649414,\r
+        "y": 1216,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "75aed15c.2299b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33ea4656.cee232",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4099.066665649414,\r
+        "y": 1273,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "7a3461ec.969fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ee29cc.e27708",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4246.448989868164,\r
+        "y": 1158.6556701660156,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "3864d34f.e845ac",\r
+                "932626a4.31e948"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75aed15c.2299b8",\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": 4262.066665649414,\r
+        "y": 1219,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7a3461ec.969fb",\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": 4251.066665649414,\r
+        "y": 1274,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3864d34f.e845ac",\r
+        "type": "set",\r
+        "name": "set domain B node-id and tpn",\r
+        "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4455.566543579102,\r
+        "y": 1126,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb4d74f7.f1ae1",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4025.5665435791016,\r
+        "y": 1421,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eda918a0.8449d8",\r
+        "type": "set",\r
+        "name": "set domain B tunnel tp id",\r
+        "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4679.566543579102,\r
+        "y": 1366,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dd289b7.b4700e8",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4831.566543579102,\r
+        "y": 574,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "cf9ce500.f50458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf9ce500.f50458",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5008.566543579102,\r
+        "y": 566,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a88075c1.8c729",\r
+                "581a1998.3ec1d",\r
+                "7ccf368b.de5b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a88075c1.8c729",\r
+        "type": "set",\r
+        "name": "set domain A network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5223.566543579102,\r
+        "y": 547,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "581a1998.3ec1d",\r
+        "type": "get-resource",\r
+        "name": "get-resource src network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5240.566543579102,\r
+        "y": 611,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f64c3af.f06e3c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f64c3af.f06e3c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5464.066543579102,\r
+        "y": 612,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "cb2bd0a2.0f0d1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb2bd0a2.0f0d1",\r
+        "type": "set",\r
+        "name": "set domain A network-id, topo-id, client-id, etc",\r
+        "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 5728.566543579102,\r
+        "y": 601,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "51152d30.8b729c",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4433.566543579102,\r
+        "y": 570,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "57449123.f2a71"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57449123.f2a71",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4628.566543579102,\r
+        "y": 570,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "dd289b7.b4700e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ccf368b.de5b58",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5167.566543579102,\r
+        "y": 664,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "932626a4.31e948",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4434.566543579102,\r
+        "y": 1177,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "d9ee893b.7d30f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9ee893b.7d30f8",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4629.566543579102,\r
+        "y": 1177,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "8d1d7a12.af2fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac0a66fa.f1ae18",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5253.566543579102,\r
+        "y": 1257,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fa7548f.d740bc",\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.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3937.5665435791016,\r
+        "y": 400,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "74f4b0f6.47056",\r
+                "27b4b2a9.b21e2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27b4b2a9.b21e2e",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4158.566543579102,\r
+        "y": 368,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e49dd.c9c7fe23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74f4b0f6.47056",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4158.566543579102,\r
+        "y": 415,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "1f79b.4a313865b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e49dd.c9c7fe23",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4323.566543579102,\r
+        "y": 365,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "10ef5ee6.6f4e21"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10ef5ee6.6f4e21",\r
+        "type": "set",\r
+        "name": "set domain-A.ltpId",\r
+        "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",\r
+        "comments": "",\r
+        "x": 4505.566543579102,\r
+        "y": 369,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f79b.4a313865b",\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": 4325.566543579102,\r
+        "y": 415,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "792e65b5.101e74",\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.dst-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3945.5665435791016,\r
+        "y": 1024,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "4265b65.dccf548",\r
+                "c497a629.64a3f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c497a629.64a3f",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4166.566543579102,\r
+        "y": 992,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "30cfd60a.db8e02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4265b65.dccf548",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4166.566543579102,\r
+        "y": 1039,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e09c0587.7b6dd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30cfd60a.db8e02",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4331.566543579102,\r
+        "y": 989,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "155f39c7.d2eb06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "155f39c7.d2eb06",\r
+        "type": "set",\r
+        "name": "set domain-B.ltpId",\r
+        "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4527.566543579102,\r
+        "y": 986,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e09c0587.7b6dd8",\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": 4333.566543579102,\r
+        "y": 1039,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af5275b3.dbb6f8",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->",\r
+        "comments": "",\r
+        "x": 1202.566665649414,\r
+        "y": 826,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a45815b.d857f68",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-A.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4548.566543579102,\r
+        "y": 345,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fa83178.5fd4d",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-B.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4570.566543579102,\r
+        "y": 958,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dbf43529.a6b38",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",\r
+        "comments": "",\r
+        "x": 843.5666656494141,\r
+        "y": 754,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a69c653.73aafa",\r
+        "type": "comment",\r
+        "name": "May not be necessary",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 854.5666656494141,\r
+        "y": 707,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e683f633.c5efe8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 834.5666656494141,\r
+        "y": 504,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "193d39a9.b3e826",\r
+                "f78dfd48.3a3768",\r
+                "24ab8c42.ef544c",\r
+                "790240fb.3634a8",\r
+                "b11fbbc8.b831",\r
+                "d4108c1f.7fe08",\r
+                "8e33755a.1ba57",\r
+                "cc2f02e3.4faf38",\r
+                "ad3a0e96.973f7",\r
+                "22c2c20a.05cf8e",\r
+                "cf17500b.fb131",\r
+                "e68ab165.5e6938",\r
+                "428ceff6.b61fb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9fd00e5.f905a",\r
+        "type": "execute",\r
+        "name": "execute PCE in ccsdk/sli/core",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1708.566665649414,\r
+        "y": 643.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "bb6df733.3f44d",\r
+                "d77e65bd.2b2398",\r
+                "f53ab3c0.9af598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "193d39a9.b3e826",\r
+        "type": "record",\r
+        "name": "record tmp.pce-src and dst node and backup",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1130.566665649414,\r
+        "y": 537,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb6df733.3f44d",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1953.566665649414,\r
+        "y": 675.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d77e65bd.2b2398",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1960.566665649414,\r
+        "y": 717.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f53ab3c0.9af598",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1955.566665649414,\r
+        "y": 638.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f78dfd48.3a3768",\r
+        "type": "set",\r
+        "name": "set tmp.pce-src-node",\r
+        "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' 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                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+        "comments": "",\r
+        "x": 1051.566665649414,\r
+        "y": 409,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "24ab8c42.ef544c",\r
+        "type": "set",\r
+        "name": "set tmp.pce-dst-node",\r
+        "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' 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                                                   $otnTopoIdDst + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />",\r
+        "comments": "",\r
+        "x": 1051.566665649414,\r
+        "y": 449,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1130b3f7.365ee4",\r
+        "type": "set",\r
+        "name": "set src-ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",\r
+        "comments": "",\r
+        "x": 1184.566665649414,\r
+        "y": 957,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c1b9eaf.ad5cc8",\r
+        "type": "set",\r
+        "name": "set dst-ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 1185.566665649414,\r
+        "y": 1007,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "790240fb.3634a8",\r
+        "type": "get-resource",\r
+        "name": "get-resource network-resources-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1108.566665649414,\r
+        "y": 133,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "321f874b.15ea38",\r
+                "c35ee9e4.47e1e8",\r
+                "e499a9a9.0e01"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c35ee9e4.47e1e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1341.566665649414,\r
+        "y": 157,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e499a9a9.0e01",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1355.566665649414,\r
+        "y": 197,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "321f874b.15ea38",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1344.566665649414,\r
+        "y": 116,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b11fbbc8.b831",\r
+        "type": "for",\r
+        "name": "for netwidx..allNetworksList_length",\r
+        "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1100.566665649414,\r
+        "y": 179,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "37e56864.c384a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37e56864.c384a8",\r
+        "type": "switchNode",\r
+        "name": "switch provider-id domainA",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1421.566665649414,\r
+        "y": 255,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f31c0e54.58cfb8",\r
+                "5dd15fcb.a313c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f31c0e54.58cfb8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1645.566665649414,\r
+        "y": 317,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ed4148.5a48a6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed4148.5a48a6b8",\r
+        "type": "switchNode",\r
+        "name": "switch te-topo-id",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1858.566665649414,\r
+        "y": 317,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ded6fc8b.e35ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ded6fc8b.e35ca",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2023.566665649414,\r
+        "y": 317,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "78504a68.544f74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78504a68.544f74",\r
+        "type": "set",\r
+        "name": "set otnTopoIdSrc",\r
+        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 2192.566665649414,\r
+        "y": 317,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5dd15fcb.a313c8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1645.566665649414,\r
+        "y": 370,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2f4e5806.bb24d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f4e5806.bb24d8",\r
+        "type": "switchNode",\r
+        "name": "switch provider-id domainB",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1833.566665649414,\r
+        "y": 370,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "27eb21a8.ffa636",\r
+                "122e2aea.eb72ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27eb21a8.ffa636",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2023.566665649414,\r
+        "y": 370,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f3653aa0.5d2ad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3653aa0.5d2ad",\r
+        "type": "switchNode",\r
+        "name": "switch te-topo-id",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2191.566665649414,\r
+        "y": 370,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "fd147531.b78cd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd147531.b78cd8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2347.566665649414,\r
+        "y": 370,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "3d9b6343.bf83b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb09be53.6788e",\r
+        "type": "set",\r
+        "name": "set otnTopoIdDst",\r
+        "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 3081.566665649414,\r
+        "y": 353.99998474121094,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d4108c1f.7fe08",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",\r
+        "comments": "",\r
+        "x": 1045.566665649414,\r
+        "y": 350,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8e33755a.1ba57",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1054.566665649414,\r
+        "y": 232,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc2f02e3.4faf38",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1052.566665649414,\r
+        "y": 274,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad3a0e96.973f7",\r
+        "type": "record",\r
+        "name": "record otn-oof.",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1041.566665649414,\r
+        "y": 585,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "64986c6c.bc6cbc",\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": 1063.566665649414,\r
+        "y": 658,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "22c2c20a.05cf8e",\r
+        "type": "set",\r
+        "name": "set filename",\r
+        "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",\r
+        "comments": "",\r
+        "x": 1037.566665649414,\r
+        "y": 621,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "122e2aea.eb72ed",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2013.566665649414,\r
+        "y": 434,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f2ff8fde.f8f5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ff8fde.f8f5",\r
+        "type": "switchNode",\r
+        "name": "switch provider-id domainC",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2214.566665649414,\r
+        "y": 435,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "5914550b.42ac7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5914550b.42ac7c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2424.566665649414,\r
+        "y": 435,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "8ad70e62.96436"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "951109a8.a2d568",\r
+        "type": "set",\r
+        "name": "set otnTopoIdDstBackup",\r
+        "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 3197.566665649414,\r
+        "y": 525.0000457763672,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cf17500b.fb131",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1050.566665649414,\r
+        "y": 312,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e68ab165.5e6938",\r
+        "type": "set",\r
+        "name": "set tmp.pce-dst-node-backup",\r
+        "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $otnTopoIdDstBackup + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />",\r
+        "comments": "",\r
+        "x": 1082.566665649414,\r
+        "y": 490,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "428ceff6.b61fb8",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1086.566665649414,\r
+        "y": 737,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2dd23358.7a4f8c",\r
+                "d85ed40b.18e0d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dd23358.7a4f8c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1329.566665649414,\r
+        "y": 633.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e501702c.102908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e501702c.102908",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1456.566665649414,\r
+        "y": 632.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e9fd00e5.f905a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51c8728f.9b3dc4",\r
+        "type": "execute",\r
+        "name": "execute PCE in ccsdk/sli/core",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1708.566665649414,\r
+        "y": 785.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "840d6ce4.86fa98",\r
+                "e998e819.af2e6",\r
+                "e1b72b55.dd4808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "840d6ce4.86fa98",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1953.566665649414,\r
+        "y": 817.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e998e819.af2e6",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1960.566665649414,\r
+        "y": 859.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1b72b55.dd4808",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1955.566665649414,\r
+        "y": 780.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad3f16cb.c3aec",\r
+        "type": "for",\r
+        "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
+        "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 851.5666656494141,\r
+        "y": 2155,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "72549b66.8616bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72549b66.8616bc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 956.0938873291016,\r
+        "y": 2346.040771484375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2c2c9198.c50c3e",\r
+                "ac7c42a0.7e38d",\r
+                "d84b858c.9ebcd8",\r
+                "7b4c76e2.5f3b3",\r
+                "8d10bcb0.3c6cd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c2c9198.c50c3e",\r
+        "type": "set",\r
+        "name": "set otn-oof.link-name and etc.",\r
+        "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",\r
+        "comments": "",\r
+        "x": 1202.5938873291016,\r
+        "y": 2239.040771484375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8d10bcb0.3c6cd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1169.0938873291016,\r
+        "y": 2427.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "aa69eaa5.3a021",\r
+                "fca0adae.ec58d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac7c42a0.7e38d",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",\r
+        "comments": "",\r
+        "x": 1193.593765258789,\r
+        "y": 2167.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d84b858c.9ebcd8",\r
+        "type": "set",\r
+        "name": "set src-ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",\r
+        "comments": "",\r
+        "x": 1175.593765258789,\r
+        "y": 2298.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7b4c76e2.5f3b3",\r
+        "type": "set",\r
+        "name": "set dst-ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 1176.593765258789,\r
+        "y": 2348.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e9bb736e.56fa8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2694.5936431884766,\r
+        "y": 2162.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ec0798cb.1533d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcb58752.9af25",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2727.593765258789,\r
+        "y": 2220.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "b9704f1a.b2d23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "292261ad.c3ebbe",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2730.593765258789,\r
+        "y": 2272.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "25bfbaf5.9753ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9704f1a.b2d23",\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": 2912.593765258789,\r
+        "y": 2224.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "25bfbaf5.9753ce",\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": 2900.593765258789,\r
+        "y": 2275.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fca0adae.ec58d",\r
+        "type": "get-resource",\r
+        "name": "get-resource src tp",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2497.093765258789,\r
+        "y": 2201.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e9bb736e.56fa8",\r
+                "dcb58752.9af25",\r
+                "292261ad.c3ebbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "601e2b2c.1242bc",\r
+        "type": "set",\r
+        "name": "set domain A node ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4031.0936431884766,\r
+        "y": 2077.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bb17f13.2cb71",\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.domain-A.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4039.0936431884766,\r
+        "y": 2129.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c2621b79.2537a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2621b79.2537a8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4245.593643188477,\r
+        "y": 2107.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "6ccb8a24.97b474"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec0798cb.1533d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3810.0936431884766,\r
+        "y": 2144.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f9a3f20b.186cc",\r
+                "ff2ca881.6e80f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ccb8a24.97b474",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4420.593643188477,\r
+        "y": 2103.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "82ff29ba.0fae6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9a3f20b.186cc",\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-pnf-name\"\n        pfx='tmp.aai.src-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3900.5936431884766,\r
+        "y": 1947.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "57016828.7a9698",\r
+                "65b4f33e.0e081c",\r
+                "be25b5b.9a149c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57016828.7a9698",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4096.093765258789,\r
+        "y": 1899.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "9fdba29.534c3e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65b4f33e.0e081c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4088.093765258789,\r
+        "y": 1954.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "4b002c39.a49434"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be25b5b.9a149c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4093.093765258789,\r
+        "y": 2011.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "25f8b7d.3afb4c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25f8b7d.3afb4c8",\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": 4245.093765258789,\r
+        "y": 2012.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4b002c39.a49434",\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": 4256.093765258789,\r
+        "y": 1957.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9fdba29.534c3e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4240.476089477539,\r
+        "y": 1897.4099426269531,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a19b2d56.1ea388",\r
+                "797cc960.582008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a19b2d56.1ea388",\r
+        "type": "set",\r
+        "name": "set domain A node-id and tpn",\r
+        "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+        "comments": "",\r
+        "x": 4465.593643188477,\r
+        "y": 1852.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c3f67f95.429dc8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3987.5936431884766,\r
+        "y": 2194.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "797cc960.582008",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4424.593643188477,\r
+        "y": 1911.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "344ff0b9.5a6638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff2ca881.6e80f",\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.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3928.5936431884766,\r
+        "y": 1741.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "17b2ffb3.2d4f28",\r
+                "d4ff8e2b.b4c1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4ff8e2b.b4c1a",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4149.593643188477,\r
+        "y": 1709.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "59d0ac44.c2fd5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17b2ffb3.2d4f28",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4149.593643188477,\r
+        "y": 1756.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "9ebc4b55.62965"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59d0ac44.c2fd5c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4314.593643188477,\r
+        "y": 1706.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "1a379e27.92df22"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a379e27.92df22",\r
+        "type": "set",\r
+        "name": "set domain-A.ltpId",\r
+        "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+        "comments": "",\r
+        "x": 4496.593643188477,\r
+        "y": 1710.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ebc4b55.62965",\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": 4316.593643188477,\r
+        "y": 1756.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2ed9f2e5.dc7796",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-A.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4539.593643188477,\r
+        "y": 1686.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "82ff29ba.0fae6",\r
+        "type": "set",\r
+        "name": "set domain A tunnel tp ip",\r
+        "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",\r
+        "comments": "",\r
+        "x": 4681.593643188477,\r
+        "y": 2100.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5728c31.d60e58",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4822.593643188477,\r
+        "y": 1915.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "b69c1030.9f819"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "344ff0b9.5a6638",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4619.593643188477,\r
+        "y": 1911.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "d5728c31.d60e58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b69c1030.9f819",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4999.593643188477,\r
+        "y": 1907.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "166dece1.2a1d83",\r
+                "f5802fed.00b688",\r
+                "9da4f014.ed916"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "166dece1.2a1d83",\r
+        "type": "set",\r
+        "name": "set domain A network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5214.593643188477,\r
+        "y": 1888.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f5802fed.00b688",\r
+        "type": "get-resource",\r
+        "name": "get-resource src network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5231.593643188477,\r
+        "y": 1952.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "70174310.ef21fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70174310.ef21fc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5455.093643188477,\r
+        "y": 1953.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a7e50d88.6d2e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7e50d88.6d2e68",\r
+        "type": "set",\r
+        "name": "set domain A network-id, topo-id, client-id, etc",\r
+        "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 5719.593643188477,\r
+        "y": 1942.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9da4f014.ed916",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5158.593643188477,\r
+        "y": 2005.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32a11f41.1ed8d",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2370.0936431884766,\r
+        "y": 2671.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aa69eaa5.3a021",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst tp",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2451.093765258789,\r
+        "y": 2567.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "152c1e2a.f51b3a",\r
+                "7865573.9e8f528",\r
+                "eadd04f2.0d2bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "152c1e2a.f51b3a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2673.5936431884766,\r
+        "y": 2709.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "356cecf3.c4ea5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7865573.9e8f528",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2657.5936431884766,\r
+        "y": 2760.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c6fabcec.420a88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eadd04f2.0d2bb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2660.5936431884766,\r
+        "y": 2812.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "38ceedcf.b5335a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38ceedcf.b5335a",\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": 2830.5936431884766,\r
+        "y": 2815.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c6fabcec.420a88",\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": 2842.5936431884766,\r
+        "y": 2764.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "356cecf3.c4ea5c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3829.0936431884766,\r
+        "y": 2716.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "4fed46ef.674408",\r
+                "3084850b.df6bda"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a44d6b1a.d3f79",\r
+        "type": "set",\r
+        "name": "set domain C node ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4071.0936431884766,\r
+        "y": 2670.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5d0aabe.bbcdd",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst 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.domain-C.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4061.0936431884766,\r
+        "y": 2721.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a5108f92.47e008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5108f92.47e008",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4248.593643188477,\r
+        "y": 2719.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "3f6a4418.f345e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f6a4418.f345e4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4437.593643188477,\r
+        "y": 2708.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f349b322.df08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fed46ef.674408",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst 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-pnf-name\"\n        pfx='tmp.aai.dst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3897.5936431884766,\r
+        "y": 2550.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "bd5f8459.3729e",\r
+                "4c983cea.380204",\r
+                "22ff4b86.f0d134"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22ff4b86.f0d134",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4093.093765258789,\r
+        "y": 2502.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f7516a99.fda6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c983cea.380204",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4085.093765258789,\r
+        "y": 2557.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "295923ec.beece4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd5f8459.3729e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4090.093765258789,\r
+        "y": 2614.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e1270f4a.ad2a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7516a99.fda6b8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4237.476089477539,\r
+        "y": 2500.409942626953,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "bed1ec55.99743",\r
+                "1fe2d8e1.fee497"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "295923ec.beece4",\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": 4253.093765258789,\r
+        "y": 2560.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e1270f4a.ad2a4",\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": 4242.093765258789,\r
+        "y": 2615.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bed1ec55.99743",\r
+        "type": "set",\r
+        "name": "set domain C node-id and tpn",\r
+        "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4446.593643188477,\r
+        "y": 2467.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4276d76.e5bd28",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4016.5936431884766,\r
+        "y": 2762.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1fe2d8e1.fee497",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4425.593643188477,\r
+        "y": 2518.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "160d6eb7.8ffc29"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3084850b.df6bda",\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.dst-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3936.5936431884766,\r
+        "y": 2365.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "8b1f9e78.fc6b08",\r
+                "3fee13c1.19280c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fee13c1.19280c",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4157.593643188477,\r
+        "y": 2333.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "6b3391c6.a98da8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b1f9e78.fc6b08",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4157.593643188477,\r
+        "y": 2380.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "14daeb1e.72349d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b3391c6.a98da8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4322.593643188477,\r
+        "y": 2330.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "1cd577a8.988b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cd577a8.988b1",\r
+        "type": "set",\r
+        "name": "set domain-C.ltpId",\r
+        "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4518.593643188477,\r
+        "y": 2327.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14daeb1e.72349d",\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": 4324.593643188477,\r
+        "y": 2380.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bc21155.9e35b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5039.093643188477,\r
+        "y": 2520.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "847f7adf.63e62",\r
+                "d5d38231.3c54c8",\r
+                "34664c18.fc324c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a98c3e69.f90ce",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4826.093643188477,\r
+        "y": 2519.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "4bc21155.9e35b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f349b322.df08",\r
+        "type": "set",\r
+        "name": "set domain C tunnel tp id",\r
+        "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 4670.593643188477,\r
+        "y": 2707.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "160d6eb7.8ffc29",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4620.593643188477,\r
+        "y": 2518.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a98c3e69.f90ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34664c18.fc324c",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5244.593643188477,\r
+        "y": 2598.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae34b806.fa03b",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-B.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4561.593643188477,\r
+        "y": 2299.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "847f7adf.63e62",\r
+        "type": "set",\r
+        "name": "set domain C network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5309.093643188477,\r
+        "y": 2496.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5d38231.3c54c8",\r
+        "type": "get-resource",\r
+        "name": "get-resource dst network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-C.network-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5319.093643188477,\r
+        "y": 2542.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c8249671.c35c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8249671.c35c4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5534.593643188477,\r
+        "y": 2533.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "e7dfb060.d731a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7dfb060.d731a",\r
+        "type": "set",\r
+        "name": "set domain B network-id, topo-id, client-id, etc",\r
+        "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",\r
+        "comments": "",\r
+        "x": 5789.093643188477,\r
+        "y": 2539.7542724609375,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f489a007.b1fc48",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2695.766616821289,\r
+        "y": 358.0833282470703,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c262fde8.437148",\r
+                "6b716591.83bdfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c262fde8.437148",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2844.766616821289,\r
+        "y": 255.08331298828125,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "c793aa2a.5c74e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c793aa2a.5c74e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2977.766616821289,\r
+        "y": 257.08331298828125,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f2810acd.c58fe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2810acd.c58fe8",\r
+        "type": "switchNode",\r
+        "name": "switch 2-ROOTS in same domain?",\r
+        "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3212.649917602539,\r
+        "y": 266.9666748046875,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "1e64454.01debbb",\r
+                "769cd65e.c95b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e64454.01debbb",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3443.649917602539,\r
+        "y": 292.9666442871094,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "3dcfd2e9.8e3c46"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "769cd65e.c95b38",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3373.649917602539,\r
+        "y": 483.9666748046875,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "10e6181e.3d4e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3dcfd2e9.8e3c46",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3585.649917602539,\r
+        "y": 282.9666442871094,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "9ff11e86.dc4bb",\r
+                "8227d2b1.488338"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10e6181e.3d4e78",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3499.649917602539,\r
+        "y": 483.9666748046875,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "a1c4eb1b.b4754"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d9b6343.bf83b4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2496.533462524414,\r
+        "y": 361.0833435058594,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "f489a007.b1fc48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ff11e86.dc4bb",\r
+        "type": "set",\r
+        "name": "set otnTopoIdDst",\r
+        "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 3744.233413696289,\r
+        "y": 262.0833282470703,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8227d2b1.488338",\r
+        "type": "set",\r
+        "name": "set otnTopoIdDstBackup",\r
+        "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 3766.233413696289,\r
+        "y": 310.0833282470703,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a1c4eb1b.b4754",\r
+        "type": "set",\r
+        "name": "set otnTopoIdDst",\r
+        "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 3670.233413696289,\r
+        "y": 484.0833435058594,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8ad70e62.96436",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2565.250015258789,\r
+        "y": 435.8833312988281,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "5780b97a.59b558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5780b97a.59b558",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2764.483169555664,\r
+        "y": 432.88331604003906,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "fef9cbe1.25a228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fef9cbe1.25a228",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2955.483169555664,\r
+        "y": 436.88331604003906,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ec1ef68a.ed26c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec1ef68a.ed26c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3082.483169555664,\r
+        "y": 435.88331604003906,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "951109a8.a2d568"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcb40ac9.18c4f",\r
+        "type": "switchNode",\r
+        "name": "switch secondarySolutions empty?",\r
+        "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1426.133316040039,\r
+        "y": 1739.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "b4326611.a83f7",\r
+                "fc540bcd.ddd198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4326611.a83f7",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1652.0333404541016,\r
+        "y": 1711.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "11284bee.dffd4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc540bcd.ddd198",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1650.0333404541016,\r
+        "y": 1761.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "11284bee.dffd4c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1794.133316040039,\r
+        "y": 1711.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b39a241.90443d8",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 805.0333404541016,\r
+        "y": 1928.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "549781c.cb0618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "549781c.cb0618",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 991.0333404541016,\r
+        "y": 1929.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "d885ede8.5b658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d885ede8.5b658",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1121.0333404541016,\r
+        "y": 1929.566650390625,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "ad3f16cb.c3aec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d85ed40b.18e0d8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1327.566665649414,\r
+        "y": 739.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "2d158257.c6b36e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d158257.c6b36e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1467.566665649414,\r
+        "y": 739.9999847412109,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "51c8728f.9b3dc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b716591.83bdfc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2890.566665649414,\r
+        "y": 358.99998474121094,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            [\r
+                "bb09be53.6788e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ced391e.ea212",\r
+        "type": "record",\r
+        "name": "record cross-link",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.cross-link.src-ltpId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.src-pnf-name`\"/>\n<parameter name=\"field3\" value=\"`$tmp.cross-link.dst-ltpId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.dst-pnf-name`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1200.566650390625,\r
+        "y": 1068.999984741211,\r
+        "z": "4e0409b8.f91f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file