Support for 1+1 protection path for a cloud leased-line (CLL) service. 47/126247/1
authorHesam Rahimi <hesam.rahimi@huawei.com>
Wed, 15 Dec 2021 02:24:28 +0000 (21:24 -0500)
committerHesam Rahimi <hesam.rahimi@huawei.com>
Wed, 15 Dec 2021 02:24:28 +0000 (21:24 -0500)
Issue-ID: SDNC-1653
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I7839f07fea141cbcb585673744ba06fcc6f63ed6

Former-commit-id: 1f182c0213ea34d45e3255cd63f34a1ff3b1fca9

20 files changed:
installation/src/main/properties/generic-resource-api-dg.properties
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
platform-logic/generic-resource-api/src/main/resources/graph.versions
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml
platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.xml
platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop-protection.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop.json

index cec46c8..74c515f 100644 (file)
@@ -45,6 +45,7 @@ restapi.ts-otn-domainG-creation.templatefile=ts-otn-tunnel-domainG.json
 restapi.ts-ethernet-service.templatefile=ts-ethernet-service.json
 restapi.ts-coloring-uni-port.templatefile=ts-coloring-uni-port.json
 restapi.cll-ethernet-service-loop.templatefile=cll-ethernet-service-loop.json
+restapi.cll-ethernet-service-loop-protection.templatefile=cll-ethernet-service-loop-protection.json
 restapi.cll-otn-src-domain-creation.templatefile=cll-otn-tunnel-src-domain.json
 restapi.cll-otn-dst-domain-creation.templatefile=cll-otn-tunnel-dst-domain.json
 restapi.cll-otn-domainG-creation.templatefile=cll-otn-tunnel-domainG.json
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.json
new file mode 100644 (file)
index 0000000..2fdcec4
--- /dev/null
@@ -0,0 +1,3850 @@
+[\r
+  {\r
+    "id": "61751fea.5e29c",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 309,\r
+    "y": 328,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "9390d80.e27dda8",\r
+        "a2edd3b5.431178",\r
+        "d95bcddf.5304c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9390d80.e27dda8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 497,\r
+    "y": 341,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "122deece.249539"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a2edd3b5.431178",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 504.4909362792969,\r
+    "y": 383.57403564453125,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d95bcddf.5304c8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 495,\r
+    "y": 430,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c3fd03f5.ced1a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "122deece.249539",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 670,\r
+    "y": 339,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "26858e32.576aa2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "26858e32.576aa2",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 899,\r
+    "y": 340,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "b9b3eee1.451228"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b9b3eee1.451228",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1114,\r
+    "y": 341,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1ab82d5c.a19413"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e7f1310.5e5bcc",\r
+    "type": "switchNode",\r
+    "name": "switch vpnuuid is for this slice",\r
+    "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1368,\r
+    "y": 263,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "55ca13fd.72ee7c",\r
+        "6e8bc799.ce2fa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "55ca13fd.72ee7c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1585,\r
+    "y": 242,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1ab82d5c.a19413"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e8bc799.ce2fa8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1585,\r
+    "y": 291,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ab82d5c.a19413",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1769,\r
+    "y": 328,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "554ac9a2.79f95",\r
+        "2ade390a.34dac6",\r
+        "c0e6872b.6bc578"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3307b8c.0344e",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 128,\r
+    "y": 69,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7e5b3842.1b2ff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e5b3842.1b2ff",\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": 412.2856903076172,\r
+    "y": 130.23810863494873,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "ff8ac0a6.a31ac8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ff8ac0a6.a31ac8",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-F1-Activate-w-Protection",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-F1-Activate-w-Protection' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 418.42860412597656,\r
+    "y": 215.00003051757812,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "610b4dde.c4293c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "610b4dde.c4293c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 728.238037109375,\r
+    "y": 206.66668701171875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "61751fea.5e29c",\r
+        "fda13949.60eb78",\r
+        "47d2cfff.4a0e4",\r
+        "8845442c.1d5de8",\r
+        "72564454.b964f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "554ac9a2.79f95",\r
+    "type": "set",\r
+    "name": "set tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 1986,\r
+    "y": 266,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e1c41eb3.6dc5b8",\r
+    "type": "set",\r
+    "name": "set attachment_param for OTN A",\r
+    "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
+    "comments": "",\r
+    "x": 4155,\r
+    "y": 152,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7981558d.d1f29c",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create OTN tunnel with token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4236,\r
+    "y": 467,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "4cd7b5eb.5f75fc",\r
+        "8c7597f3.3a32c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4cd7b5eb.5f75fc",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4545.5,\r
+    "y": 436,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6a15735b.8f38bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c7597f3.3a32c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4550.5,\r
+    "y": 501,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "531c74ae.aa6424"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a15735b.8f38bc",\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 Create OTN tunnel rest api\" />\n",\r
+    "comments": "",\r
+    "x": 4721.5,\r
+    "y": 436,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "531c74ae.aa6424",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4717,\r
+    "y": 501,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "43cf60a0.0fca68",\r
+    "type": "set",\r
+    "name": "set sotn_value",\r
+    "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
+    "comments": "",\r
+    "x": 4100.5,\r
+    "y": 721,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1699b103.56f9ff",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create ethernet Service without token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4254.5,\r
+    "y": 769,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "430829b5.022a48",\r
+        "ab60153e.89b358"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "430829b5.022a48",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4600,\r
+    "y": 750,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "af17e669.a567c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ab60153e.89b358",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4604,\r
+    "y": 790,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "879a181e.1e28f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af17e669.a567c",\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 Create ethernet service rest api\" />\n",\r
+    "comments": "",\r
+    "x": 4758,\r
+    "y": 750,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "879a181e.1e28f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4761.5,\r
+    "y": 790,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c2dfb11c.b0c48",\r
+        "18154ac9.e63ffd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2dfb11c.b0c48",\r
+    "type": "save",\r
+    "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5092,\r
+    "y": 755,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4bfe8ff3.b5155",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
+    "comments": "",\r
+    "x": 4956,\r
+    "y": 714,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "18154ac9.e63ffd",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5019,\r
+    "y": 801,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be8a4aef.c70ad",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
+    "comments": "",\r
+    "x": 4093,\r
+    "y": 200,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c13323e9.9191e8",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4119,\r
+    "y": 317,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fa844cfe.7b9158",\r
+        "40f7f2e0.45e324",\r
+        "9ec0d41c.764348"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa844cfe.7b9158",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4314.5001220703125,\r
+    "y": 269,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c5cba661.1feb9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "40f7f2e0.45e324",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4306.5001220703125,\r
+    "y": 324,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fa86521c.e230b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c5cba661.1feb9",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4458.8824462890625,\r
+    "y": 268.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fff76825.ceb828"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "12d83cc7.207cc3",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5041,\r
+    "y": 271,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f3a906e6.516618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fff76825.ceb828",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4643,\r
+    "y": 267,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "8f09ed7e.8205c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8f09ed7e.8205c8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4838,\r
+    "y": 267,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "12d83cc7.207cc3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ec0d41c.764348",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4311.5001220703125,\r
+    "y": 381,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "4cb38d5a.2cd9fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4cb38d5a.2cd9fc",\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": 4463.5001220703125,\r
+    "y": 382,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa86521c.e230b8",\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": 4474.5001220703125,\r
+    "y": 325,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd5c650b.7ed3f8",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5426,\r
+    "y": 284,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "11189fd0.36c55",\r
+        "2f53389c.6ed7",\r
+        "160dc233.835476"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3a906e6.516618",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5220,\r
+    "y": 271,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "8e3bb227.50f04",\r
+        "fd5c650b.7ed3f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8e3bb227.50f04",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainA id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5456,\r
+    "y": 232,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11189fd0.36c55",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5636,\r
+    "y": 275,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "aadf27e6.e781b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f53389c.6ed7",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5628,\r
+    "y": 330,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fd2ad840.4523f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "160dc233.835476",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5633,\r
+    "y": 387,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2a94704d.0d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a94704d.0d4",\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": 5785,\r
+    "y": 388,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd2ad840.4523f",\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": 5796,\r
+    "y": 333,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aadf27e6.e781b8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5780.38232421875,\r
+    "y": 272.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "cdb54fc1.4aeb5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cdb54fc1.4aeb5",\r
+    "type": "set",\r
+    "name": "set controller domainA data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5995,\r
+    "y": 269,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "33053457.2cf334",\r
+    "type": "set",\r
+    "name": "set attachment_param for OTN B",\r
+    "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
+    "comments": "",\r
+    "x": 3562,\r
+    "y": 1609,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4445f35f.408fdc",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create OTN tunnel with token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3625,\r
+    "y": 1938,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "862258db.691038",\r
+        "af408a0a.92301"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "862258db.691038",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3920.5,\r
+    "y": 1905,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "95d8110a.825b98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af408a0a.92301",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3925.5,\r
+    "y": 1970,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "ef7aa326.5032b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "95d8110a.825b98",\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 Create OTN tunnel rest api\" />\n",\r
+    "comments": "",\r
+    "x": 4088.5,\r
+    "y": 1905,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ef7aa326.5032b8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4099,\r
+    "y": 1970,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f246db35.fbb0b8",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
+    "comments": "",\r
+    "x": 3501,\r
+    "y": 1666,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2f733fde.bfa8d8",\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.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3521,\r
+    "y": 1763,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d82ed114.d26fe",\r
+        "9b6a74e2.82fcf",\r
+        "105e680c.d4fe88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d82ed114.d26fe",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3723.5001220703125,\r
+    "y": 1716,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "3d1669ca.d8e9be"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b6a74e2.82fcf",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3715.5001220703125,\r
+    "y": 1771,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "28df2cef.da0a5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d1669ca.d8e9be",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3867.8824462890625,\r
+    "y": 1713.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "b0c477a0.14b6b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b0c477a0.14b6b8",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4052,\r
+    "y": 1728,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "e68df009.7524f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "105e680c.d4fe88",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3720.5001220703125,\r
+    "y": 1828,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "3376d063.6334f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3376d063.6334f8",\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": 3872.5001220703125,\r
+    "y": 1829,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "28df2cef.da0a5c",\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": 3883.5001220703125,\r
+    "y": 1774,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "86c78b55.020ad8",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4450,\r
+    "y": 1732,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "de4526ed.169098"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e68df009.7524f",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4247,\r
+    "y": 1728,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "86c78b55.020ad8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bd56a946.09bfc8",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4835,\r
+    "y": 1731,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "e62cd9e9.79901",\r
+        "3835956c.352dfa",\r
+        "ef4cce16.af464"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "de4526ed.169098",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4627,\r
+    "y": 1724,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "84662003.28e938",\r
+        "bd56a946.09bfc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84662003.28e938",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainB id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4865,\r
+    "y": 1679,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2e3a7484.41bcbc",\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": 5194,\r
+    "y": 1835,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "acb63215.67cbc8",\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": 5205,\r
+    "y": 1780,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bb7e5ab5.c4089",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5189.38232421875,\r
+    "y": 1719.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7c187be.7c53484"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c187be.7c53484",\r
+    "type": "set",\r
+    "name": "set controller domainB data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5404,\r
+    "y": 1716,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e62cd9e9.79901",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5045,\r
+    "y": 1722,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "bb7e5ab5.c4089"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3835956c.352dfa",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5037,\r
+    "y": 1777,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "acb63215.67cbc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ef4cce16.af464",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5042,\r
+    "y": 1834,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2e3a7484.41bcbc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1dc25027.0c33f8",\r
+    "type": "switchNode",\r
+    "name": "switch vpn-binding has dst-access-ltp",\r
+    "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3076,\r
+    "y": 680,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "22e86b98.d5cd94",\r
+        "18519633.e9ee92"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "22e86b98.d5cd94",\r
+    "type": "outcome",\r
+    "name": "Null",\r
+    "xml": "<outcome value=''>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3290,\r
+    "y": 717,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d8801466.520d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "18519633.e9ee92",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3292,\r
+    "y": 655,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6bc727fb.e5e2c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8801466.520d4",\r
+    "type": "switchNode",\r
+    "name": "switch vpn-binding has src-access-ltp",\r
+    "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2870,\r
+    "y": 1960,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "57adf29e.03275c",\r
+        "3c463d1c.a1e9ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "57adf29e.03275c",\r
+    "type": "outcome",\r
+    "name": "Null",\r
+    "xml": "<outcome value=''>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3123,\r
+    "y": 1994,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "163451dc.e800ce"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c463d1c.a1e9ca",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3123,\r
+    "y": 1938,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "72b99bc1.9d63c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "163451dc.e800ce",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3274,\r
+    "y": 1994,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2a6d840b.d2c9ec",\r
+    "type": "set",\r
+    "name": "set vpn-bindingA and connectivityA",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
+    "comments": "",\r
+    "x": 4150,\r
+    "y": 92,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24792ed6.12e172",\r
+    "type": "set",\r
+    "name": "set vpn-bindingB and connectivityB",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3558,\r
+    "y": 1551,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe0662dd.a80948",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3841,\r
+    "y": 349,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2a6d840b.d2c9ec",\r
+        "e1c41eb3.6dc5b8",\r
+        "be8a4aef.c70ad",\r
+        "c13323e9.9191e8",\r
+        "7981558d.d1f29c",\r
+        "1721d523.151643",\r
+        "9094f518.043e98",\r
+        "f54721e.ec69de"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "72b99bc1.9d63c4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3274,\r
+    "y": 1937,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "24792ed6.12e172",\r
+        "33053457.2cf334",\r
+        "f246db35.fbb0b8",\r
+        "2f733fde.bfa8d8",\r
+        "4445f35f.408fdc",\r
+        "7c2a5c1b.45951c",\r
+        "db1559a9.21dcb8",\r
+        "64935ddb.b635b4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ddc6cc6.41baa3",\r
+    "type": "set",\r
+    "name": "set sotn_value",\r
+    "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
+    "comments": "",\r
+    "x": 3512,\r
+    "y": 2236,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88e2026c.753db8",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create ethernet Service without token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3666,\r
+    "y": 2284,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "e41adb3.0072828",\r
+        "6a4db145.9abb38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e41adb3.0072828",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4011.5,\r
+    "y": 2265,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "b46428d7.0cf41"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a4db145.9abb38",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4015.5,\r
+    "y": 2305,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1616e093.24d98f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b46428d7.0cf41",\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 Create ethernet service rest api\" />\n",\r
+    "comments": "",\r
+    "x": 4169.5,\r
+    "y": 2265,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1616e093.24d98f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4173,\r
+    "y": 2305,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f5ad5aa7.4c2ca",\r
+        "f30a934b.4a146"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5ad5aa7.4c2ca",\r
+    "type": "save",\r
+    "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4513,\r
+    "y": 2304,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "14882444.425ec4",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
+    "comments": "",\r
+    "x": 4371,\r
+    "y": 2262,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f30a934b.4a146",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4442,\r
+    "y": 2353,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "35b5f42.3d7048c",\r
+    "type": "set",\r
+    "name": "set attachment_param (gfp-n) for OTN",\r
+    "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
+    "comments": "",\r
+    "x": 3067,\r
+    "y": 620,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "672937f1.5c86c",\r
+    "type": "comment",\r
+    "name": "only dst ttp exists. No src",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3662,\r
+    "y": 306,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf6d8000.914ec",\r
+    "type": "comment",\r
+    "name": "only src ttp exists. No dst",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3219,\r
+    "y": 1884,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6bc727fb.e5e2c8",\r
+    "type": "switchNode",\r
+    "name": "switch vpn-binding has src-access-ltp",\r
+    "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3398,\r
+    "y": 468,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "16d04d16.35cc13",\r
+        "81d801a9.0be79"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "81d801a9.0be79",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3640,\r
+    "y": 1057,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "87bd1b21.78447"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "16d04d16.35cc13",\r
+    "type": "outcome",\r
+    "name": "Null",\r
+    "xml": "<outcome value=''>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3634,\r
+    "y": 348,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fe0662dd.a80948"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "87bd1b21.78447",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3798,\r
+    "y": 1056,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6a4fd43b.29d0a4",\r
+        "bb732000.b077a",\r
+        "14bb373f.07c761",\r
+        "ee3130b2.515378",\r
+        "25e58429.ad4ee4",\r
+        "13fd978.b0ce7e9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb732000.b077a",\r
+    "type": "set",\r
+    "name": "set attachment_param for OTN G",\r
+    "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
+    "comments": "",\r
+    "x": 4062,\r
+    "y": 939,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "25e58429.ad4ee4",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create OTN tunnel with token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4143,\r
+    "y": 1254,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "69f73464.0e3e8c",\r
+        "5f37ff67.4bb2f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "69f73464.0e3e8c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4452.5,\r
+    "y": 1223,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "43cec921.9d623"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f37ff67.4bb2f",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4457.5,\r
+    "y": 1288,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "a900d0fc.b4f8e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "43cec921.9d623",\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 Create OTN tunnel rest api\" />\n",\r
+    "comments": "",\r
+    "x": 4628.5,\r
+    "y": 1223,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a900d0fc.b4f8e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4624,\r
+    "y": 1288,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "14bb373f.07c761",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
+    "comments": "",\r
+    "x": 4000,\r
+    "y": 987,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ee3130b2.515378",\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.domainG.pnf-name\"\n        pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4026,\r
+    "y": 1104,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7994d48a.ca38a4",\r
+        "46376621.e31dd8",\r
+        "662f2070.bc1d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7994d48a.ca38a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4221.5001220703125,\r
+    "y": 1056,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "28f98c5.d17c774"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46376621.e31dd8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4213.5001220703125,\r
+    "y": 1111,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "b6666e55.258c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "28f98c5.d17c774",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4365.8824462890625,\r
+    "y": 1055.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "abee57b5.2a2df"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "abee57b5.2a2df",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4550,\r
+    "y": 1054,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "4e7ce11e.d4486"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4e7ce11e.d4486",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4745,\r
+    "y": 1054,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "cd73aa8e.57927"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "662f2070.bc1d4",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4218.5001220703125,\r
+    "y": 1168,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "65647ec7.0c6e5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "65647ec7.0c6e5",\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": 4370.5001220703125,\r
+    "y": 1169,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b6666e55.258c4",\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": 4381.5001220703125,\r
+    "y": 1112,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a4fd43b.29d0a4",\r
+    "type": "set",\r
+    "name": "set vpn-bindingG and connectivityG",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
+    "comments": "",\r
+    "x": 4057,\r
+    "y": 879,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cd73aa8e.57927",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4948,\r
+    "y": 1058,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d2b1d416.053a58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "66918eb9.ab92e8",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5333,\r
+    "y": 1071,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f8b9a196.010a1",\r
+        "fd17d420.f985",\r
+        "40d42743.f42fd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d2b1d416.053a58",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5127,\r
+    "y": 1058,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c71b3067.5066e8",\r
+        "66918eb9.ab92e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c71b3067.5066e8",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainG id",\r
+    "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5363,\r
+    "y": 1019,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f8b9a196.010a1",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5543,\r
+    "y": 1062,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "27038b3e.3bcfc4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fd17d420.f985",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5535,\r
+    "y": 1117,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "967c6c86.0bbb78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "40d42743.f42fd8",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5540,\r
+    "y": 1174,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "35455e8c.6afe9a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35455e8c.6afe9a",\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": 5692,\r
+    "y": 1175,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "967c6c86.0bbb78",\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": 5703,\r
+    "y": 1120,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "27038b3e.3bcfc4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5687.38232421875,\r
+    "y": 1059.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "501ec52c.0a5be4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "501ec52c.0a5be4",\r
+    "type": "set",\r
+    "name": "set controller domainG data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5902,\r
+    "y": 1056,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ce5771d5.1db118",\r
+    "type": "comment",\r
+    "name": "both src and dst exist",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3676,\r
+    "y": 997,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2ade390a.34dac6",\r
+    "type": "switchNode",\r
+    "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
+    "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2238,\r
+    "y": 724,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "faa20144.28683",\r
+        "a3241eaf.e05748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3241eaf.e05748",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2645,\r
+    "y": 742,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "73c18a9e.ba438c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "faa20144.28683",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2645,\r
+    "y": 687,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d5f3133.6f4a0f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d5f3133.6f4a0f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2801,\r
+    "y": 685,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "35b5f42.3d7048c",\r
+        "1dc25027.0c33f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73c18a9e.ba438c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2778,\r
+    "y": 743,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fda13949.60eb78",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 955,\r
+    "y": 159,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "38085312.8a965c",\r
+    "type": "comment",\r
+    "name": "CLL new",\r
+    "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
+    "comments": "",\r
+    "x": 4072,\r
+    "y": 577,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1721d523.151643",\r
+    "type": "set",\r
+    "name": "set leaf-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`leaf-tunnels-list[$leaftunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`leaf-tunnels-list[$leaftunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`leaf-tunnels-list_length`' value='`$leaftunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 4132,\r
+    "y": 616,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "47d2cfff.4a0e4",\r
+    "type": "set",\r
+    "name": "unset leaf-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`leaf-tunnels-list.`' value='' />\n<parameter name='`leaf-tunnels-list_length`' value='0' />\n<parameter name='`leaftunsidx`' value='0' />\n",\r
+    "comments": "",\r
+    "x": 948,\r
+    "y": 67,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "be7a05aa.4b83b",\r
+    "type": "comment",\r
+    "name": "CLL new",\r
+    "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
+    "comments": "",\r
+    "x": 3484,\r
+    "y": 2093,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7c2a5c1b.45951c",\r
+    "type": "set",\r
+    "name": "set root-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`root-tunnels-list[$roottunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`root-tunnels-list[$roottunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`root-tunnels-list_length`' value='`$roottunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 3540,\r
+    "y": 2142,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f179b432.4e819",\r
+    "type": "set",\r
+    "name": "unset root-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`root-tunnels-list.`' value='' />\n<parameter name='`root-tunnels-list_length`' value='0' />\n<parameter name='`roottunsidx`' value='0' />\n",\r
+    "comments": "",\r
+    "x": 948,\r
+    "y": 106,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8845442c.1d5de8",\r
+    "type": "execute",\r
+    "name": "execute properties",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 979,\r
+    "y": 207,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "72564454.b964f4",\r
+    "type": "save",\r
+    "name": "get service-instance from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 189,\r
+    "y": 682,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "130c8849.c68768",\r
+        "9607da93.a7cfb8",\r
+        "675a11bf.37e84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "130c8849.c68768",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 408,\r
+    "y": 620,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "19b84d16.53d643"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9607da93.a7cfb8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 417.490966796875,\r
+    "y": 662.5740356445312,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "675a11bf.37e84",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 406,\r
+    "y": 709,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "13e02ffd.705ef8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19b84d16.53d643",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 605,\r
+    "y": 616,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "95aa58da.ce0078"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "13e02ffd.705ef8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 575,\r
+    "y": 710,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "95aa58da.ce0078",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 828.33349609375,\r
+    "y": 615.9999389648438,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "82937c17.5a3278"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82937c17.5a3278",\r
+    "type": "outcome",\r
+    "name": "connectivity",\r
+    "xml": "<outcome value='connectivity'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1029.0001335144043,\r
+    "y": 617.000020980835,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7d4de732.7e236"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d4de732.7e236",\r
+    "type": "save",\r
+    "name": "get connectivity from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 159,\r
+    "y": 879,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f6447d51.51534",\r
+        "d2723085.ef21f",\r
+        "14bf719a.197f76"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6447d51.51534",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 367,\r
+    "y": 843,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "93da3cfa.70c248"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d2723085.ef21f",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 367.490966796875,\r
+    "y": 888.5740356445312,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "14bf719a.197f76",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 365,\r
+    "y": 932,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "836041f9.6829f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "836041f9.6829f8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 534,\r
+    "y": 933,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a94aa53a.b107d8",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 506,\r
+    "y": 1427,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "21c47827.df1568"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "21c47827.df1568",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 709,\r
+    "y": 1439,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "18be783b.f07278"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "18be783b.f07278",\r
+    "type": "outcome",\r
+    "name": "UNI",\r
+    "xml": "<outcome value='uni'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 875,\r
+    "y": 1436,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "11fb7f76.b02469"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11fb7f76.b02469",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 1036,\r
+    "y": 1433,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "47d6d37a.9fb43c",\r
+        "1c027792.461348",\r
+        "ea05bf35.5069",\r
+        "9d31ed5b.d2c91",\r
+        "23eb7cf4.f6cfdc",\r
+        "99b18acf.7ec528"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1c027792.461348",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.uni",\r
+    "xml": "<set>\n<parameter name='tmp.aai.uni.' value='' />\n",\r
+    "comments": "",\r
+    "x": 1242,\r
+    "y": 1032.9999389648438,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "47d6d37a.9fb43c",\r
+    "type": "save",\r
+    "name": "get uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1239,\r
+    "y": 1077.9999389648438,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2a120b9c.2b340c",\r
+        "41aafa7d.002584",\r
+        "b80f04fd.7f4018"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41aafa7d.002584",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1434.490966796875,\r
+    "y": 1051.5739135742188,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "b752ad58.1bdf1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b80f04fd.7f4018",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1430,\r
+    "y": 1095.9998779296875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "81604b65.13211"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b752ad58.1bdf1",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 1597.0625,\r
+    "y": 1050.859619140625,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "81604b65.13211",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 1598,\r
+    "y": 1095.9998779296875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1b5d0889.20238f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 1600,\r
+    "y": 1142.9998779296875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a120b9c.2b340c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1431,\r
+    "y": 1142.9998779296875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1b5d0889.20238f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "450a13df.b4e0a4",\r
+    "type": "comment",\r
+    "name": "CLL new",\r
+    "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
+    "comments": "",\r
+    "x": 1213,\r
+    "y": 1664,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ea05bf35.5069",\r
+    "type": "set",\r
+    "name": "set ethernet-srv-end-points-list array",\r
+    "xml": "<set>\n<!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->\n<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n\n<parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 1304,\r
+    "y": 1718,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "93a880c5.cd0b3",\r
+    "type": "set",\r
+    "name": "unset ethernet-srv-end-points-list",\r
+    "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+    "comments": "",\r
+    "x": 1980.5,\r
+    "y": 1131,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "481f95ef.87ef1c",\r
+    "type": "set",\r
+    "name": "unset ethernet-srv-end-points-list",\r
+    "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+    "comments": "",\r
+    "x": 1985.5,\r
+    "y": 1233,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c1ad05eb.c84b48",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 469,\r
+    "y": 1683,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7f234491.70b134"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f234491.70b134",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 701,\r
+    "y": 1682,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c6ba5a66.793238"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6ba5a66.793238",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 913,\r
+    "y": 1683,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6ed8d899.fdc1a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6ed8d899.fdc1a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 169,\r
+    "y": 1839,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d9421c0f.7a0898",\r
+        "953702c4.2d79b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "953702c4.2d79b",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+    "comments": "",\r
+    "x": 404,\r
+    "y": 1826,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9421c0f.7a0898",\r
+    "type": "save",\r
+    "name": "get vpn-binding from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 394,\r
+    "y": 1887,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "329ab1cc.22fb9e",\r
+        "864547d3.a6077",\r
+        "b2aa6219.f09508"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "864547d3.a6077",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 607.490966796875,\r
+    "y": 1871.5740356445312,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6b83b223.ee9d94"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b2aa6219.f09508",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 603,\r
+    "y": 1916,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "4ac70bf0.89675c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "329ab1cc.22fb9e",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 605,\r
+    "y": 1976,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f02a177d.26c7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b83b223.ee9d94",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 770.0625,\r
+    "y": 1870.8597412109375,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ac70bf0.89675c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 771,\r
+    "y": 1916,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f02a177d.26c7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 774,\r
+    "y": 1975,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fc6eb753.cc314",\r
+        "6f8a0144.f9e8e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ace8d395.16f8f8",\r
+    "type": "set",\r
+    "name": "set sotn_value",\r
+    "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />\n<!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->\n<!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<!--<parameter name='index-number' value='0' />-->\n<!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->\n<!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->\n<!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->\n",\r
+    "comments": "",\r
+    "x": 173,\r
+    "y": 2474,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa159141.96876",\r
+    "type": "execute",\r
+    "name": "execute RestApiCallNode Create ethernet Service without token",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop-protection.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 316,\r
+    "y": 2534,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "192fb1d6.9d578e",\r
+        "7d0ee5a8.eae4dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "192fb1d6.9d578e",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 628.5,\r
+    "y": 2511,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d0ee5a8.eae4dc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 632.5,\r
+    "y": 2551,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "31d10b34.3ac65c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a578c61.6716c4",\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 Create ethernet service rest api\" />\n",\r
+    "comments": "",\r
+    "x": 808.5,\r
+    "y": 2515,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "31d10b34.3ac65c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 824,\r
+    "y": 2569,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "34d0fee.5345782"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e5aa9a1b.90043",\r
+    "type": "save",\r
+    "name": "update vpn-binding resource (aka. OTN ) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1119.5,\r
+    "y": 2538,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dceb8020.64dda",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
+    "comments": "",\r
+    "x": 2586.5,\r
+    "y": 1889,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "34d0fee.5345782",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1081.5,\r
+    "y": 2580,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1840e683.b61c39",\r
+    "type": "set",\r
+    "name": "set leafOrRootAccess",\r
+    "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />\n",\r
+    "comments": "",\r
+    "x": 1946.5,\r
+    "y": 1169,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ebd04ab8.6f009",\r
+    "type": "set",\r
+    "name": "set leafOrRootAccess",\r
+    "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />\n",\r
+    "comments": "",\r
+    "x": 1947.5,\r
+    "y": 1273,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9094f518.043e98",\r
+    "type": "save",\r
+    "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4241,\r
+    "y": 530,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "13fd978.b0ce7e9",\r
+    "type": "save",\r
+    "name": "update vpn-binding G resource (aka. OTN domainA) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4144,\r
+    "y": 1349,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "db1559a9.21dcb8",\r
+    "type": "save",\r
+    "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3638,\r
+    "y": 2021,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "93da3cfa.70c248",\r
+    "type": "switchNode",\r
+    "name": "switch connectivity is not already Activated (i.e. is either Created or Modified)",\r
+    "xml": "<switch test=\"`$tmp.aai.connectivity.operational-status != 'Activated' `\">\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 739,\r
+    "y": 829,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2c44355c.6d9982",\r
+        "16b41754.18b639"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c44355c.6d9982",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1102,\r
+    "y": 852,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "58ecddbb.063a6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "16b41754.18b639",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1102,\r
+    "y": 801,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "255e639c.d2ebb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "58ecddbb.063a6c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 1258,\r
+    "y": 850,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "9a61b358.c738d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "255e639c.d2ebb4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1235,\r
+    "y": 802,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c0e6872b.6bc578",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 1995,\r
+    "y": 200,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "64935ddb.b635b4",\r
+    "type": "set",\r
+    "name": "set root-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`roottunsidx`' value='`$roottunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 3537,\r
+    "y": 2181,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f54721e.ec69de",\r
+    "type": "set",\r
+    "name": "set leaf-otn-tunnels-list array",\r
+    "xml": "<set>\n<parameter name='`leaftunsidx`' value='`$leaftunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 4127,\r
+    "y": 654,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9d31ed5b.d2c91",\r
+    "type": "set",\r
+    "name": "set ethernet-srv-end-points-list array",\r
+    "xml": "<set>\n<parameter name='`epidx`' value='`$epidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 1301,\r
+    "y": 1760,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7af36070.5c1af",\r
+    "type": "set",\r
+    "name": "set filename",\r
+    "xml": "<set>\n<parameter name='filenameclleths' value=\"`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`\" />",\r
+    "comments": "",\r
+    "x": 480,\r
+    "y": 1494,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d8e3cc1.bb010c",\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=\"`$filenameclleths`\" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 511,\r
+    "y": 1534,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc6eb753.cc314",\r
+    "type": "set",\r
+    "name": "set otn-tunnels-name-list array",\r
+    "xml": "<set>\n<parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 1059,\r
+    "y": 1942,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6f8a0144.f9e8e8",\r
+    "type": "set",\r
+    "name": "set otn-tunnels-name-list array",\r
+    "xml": "<set>\n<parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />\n",\r
+    "comments": "",\r
+    "x": 1062,\r
+    "y": 1984,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1e5bd700.d21b81",\r
+    "type": "set",\r
+    "name": "unset otn-tunnels-name-list array",\r
+    "xml": "<set>\n<parameter name='`otn-tunnels-name-list.`' value='' />\n<parameter name='`otn-tunnels-name-list_length`' value='0' />\n<parameter name='`otntunsidx`' value='0' />\n",\r
+    "comments": "",\r
+    "x": 505,\r
+    "y": 1624,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "144b407f.200e78",\r
+    "type": "set",\r
+    "name": "set filename",\r
+    "xml": "<set>\n<parameter name='filenamecllotns' value=\"`leafrootOTNtunnelnames`\" />",\r
+    "comments": "",\r
+    "x": 260,\r
+    "y": 2003,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "76785af4.e022ac",\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=\"`$filenamecllotns`\" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 268,\r
+    "y": 2060,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "23eb7cf4.f6cfdc",\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.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1279,\r
+    "y": 1609,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "779a259e.64832c",\r
+        "277a0a61.75069e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "277a0a61.75069e",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1502,\r
+    "y": 1564,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "21f0cc68.0dd77c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "779a259e.64832c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1504,\r
+    "y": 1628,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "db13af98.99768"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "21f0cc68.0dd77c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 1667,\r
+    "y": 1561,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "ec997076.0ceb28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db13af98.99768",\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": 1666,\r
+    "y": 1624,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ec997076.0ceb28",\r
+    "type": "set",\r
+    "name": "set tmp.uni-node-id-short",\r
+    "xml": "<set>\n<parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />\n",\r
+    "comments": "",\r
+    "x": 1887,\r
+    "y": 1575,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2341ba90.ed99d6",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1432,\r
+    "y": 2300,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "35e4a68.098365a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "701770f6.4dd0f8",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1817,\r
+    "y": 2313,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "d75e7467.a58a4",\r
+        "74ab773b.95bd78",\r
+        "df0b8ca4.cd7bb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35e4a68.098365a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 1611,\r
+    "y": 2300,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "fa1aec8.0f5319",\r
+        "701770f6.4dd0f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa1aec8.0f5319",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainConn id",\r
+    "xml": "<set>\n<parameter name='tmp.domainConn.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 1847,\r
+    "y": 2261,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d75e7467.a58a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2027,\r
+    "y": 2304,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1ccfad18.1b3fa3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "74ab773b.95bd78",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2019,\r
+    "y": 2359,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2692af0.8253f52"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df0b8ca4.cd7bb8",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2024,\r
+    "y": 2416,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f048da7.b1469a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f048da7.b1469a8",\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": 2176,\r
+    "y": 2417,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2692af0.8253f52",\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": 2187,\r
+    "y": 2362,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1ccfad18.1b3fa3",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2171.38232421875,\r
+    "y": 2301.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "64610343.e61854"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "64610343.e61854",\r
+    "type": "set",\r
+    "name": "set controller domainConn data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 2386,\r
+    "y": 2298,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d3c52589.f54e9",\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.pnf-name-forUrl\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 510,\r
+    "y": 2346,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "f189c3f1.d69a28",\r
+        "4452e7a9.eaf9c8",\r
+        "77af657c.107d34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f189c3f1.d69a28",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 705.5001220703125,\r
+    "y": 2298,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "47b3661c.a1e7d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4452e7a9.eaf9c8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 697.5001220703125,\r
+    "y": 2353,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "34198ba3.49ea3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47b3661c.a1e7d8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 849.8824462890625,\r
+    "y": 2297.6556701660156,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "cd5c4879.eeeaf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd5c4879.eeeaf",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1034,\r
+    "y": 2296,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7bf74b1f.d5837c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7bf74b1f.d5837c",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1229,\r
+    "y": 2296,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "2341ba90.ed99d6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "77af657c.107d34",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 702.5001220703125,\r
+    "y": 2410,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "6c7ae4ee.17c334"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6c7ae4ee.17c334",\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": 854.5001220703125,\r
+    "y": 2411,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "34198ba3.49ea3c",\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": 865.5001220703125,\r
+    "y": 2354,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "303a4e11.243e7a",\r
+    "type": "set",\r
+    "name": "set tmp.pnf-name-forUrl",\r
+    "xml": "<set>\n\n<parameter name='tmp.pnf-name-forUrl' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
+    "comments": "",\r
+    "x": 500,\r
+    "y": 2258,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c718737.8cca71",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 245,\r
+    "y": 2389,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "303a4e11.243e7a",\r
+        "d3c52589.f54e9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "72622933.417d18",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1459.9666748046875,\r
+    "y": 206.88333129882812,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c3fd03f5.ced1a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 662,\r
+    "y": 429,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c72dabdd.dd1b58",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 221.5,\r
+    "y": 1398,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "a94aa53a.b107d8",\r
+        "c1ad05eb.c84b48",\r
+        "7af36070.5c1af",\r
+        "2d8e3cc1.bb010c",\r
+        "ace8d395.16f8f8",\r
+        "fa159141.96876",\r
+        "1e5bd700.d21b81",\r
+        "144b407f.200e78",\r
+        "76785af4.e022ac",\r
+        "c718737.8cca71",\r
+        "eca312ef.b3f488"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "99b18acf.7ec528",\r
+    "type": "switchNode",\r
+    "name": "switch uni type",\r
+    "xml": "<switch test=\"`$tmp.aai.uni.type`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1252,\r
+    "y": 1236,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "bfa56f6a.14e168",\r
+        "3c1ef869.c0abd8",\r
+        "3b2dd259.d313d6",\r
+        "42d627cc.4d9d98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bfa56f6a.14e168",\r
+    "type": "outcome",\r
+    "name": "leaf",\r
+    "xml": "<outcome value='leaf'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1417,\r
+    "y": 1218,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "327e25a1.149b82"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c1ef869.c0abd8",\r
+    "type": "outcome",\r
+    "name": "root",\r
+    "xml": "<outcome value='root'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1420,\r
+    "y": 1257,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "bb94632d.8744e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "42d627cc.4d9d98",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1414,\r
+    "y": 1335,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "aa99ff1e.001ee"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3b2dd259.d313d6",\r
+    "type": "outcome",\r
+    "name": "secondary-root",\r
+    "xml": "<outcome value='secondary-root'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1437,\r
+    "y": 1298,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "3c1ff952.ce0566"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b34828e.2e2fe8",\r
+    "type": "set",\r
+    "name": "unset ethernet-srv-end-points-list",\r
+    "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+    "comments": "",\r
+    "x": 1983,\r
+    "y": 1331,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7c827d8b.b5207c",\r
+    "type": "set",\r
+    "name": "set leafOrRootAccess",\r
+    "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-backup' />\n",\r
+    "comments": "",\r
+    "x": 1945,\r
+    "y": 1371,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aa99ff1e.001ee",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1582,\r
+    "y": 1335,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "327e25a1.149b82",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1578,\r
+    "y": 1214,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "1840e683.b61c39"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb94632d.8744e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1585,\r
+    "y": 1259,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "ebd04ab8.6f009"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c1ff952.ce0566",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1584,\r
+    "y": 1299,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "7c827d8b.b5207c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a61b358.c738d8",\r
+    "type": "switchNode",\r
+    "name": "switch conn type != mdsc",\r
+    "xml": "<switch test=\"`$tmp.aai.connectivity.vpn-type != 'mdsc' `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 218.56666564941406,\r
+    "y": 1158.933349609375,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "4c9cf74b.527528"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c9cf74b.527528",\r
+    "type": "outcome",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 400.566650390625,\r
+    "y": 1159.933349609375,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": [\r
+      [\r
+        "c72dabdd.dd1b58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eca312ef.b3f488",\r
+    "type": "set",\r
+    "name": "unset ethernet-srv-end-points-list",\r
+    "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+    "comments": "",\r
+    "x": 536.566650390625,\r
+    "y": 1336.9666748046875,\r
+    "z": "b60623c5.e2d9e8",\r
+    "wires": []\r
+  }\r
+]
\ No newline at end of file
index 1828f87..d58ad7b 100644 (file)
 [\r
     {\r
-        "id": "4a53e986.e1345",\r
+        "id": "d35e2da9.70a7e",\r
         "type": "save",\r
         "name": "get all-vpn-bindings from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 401.8833312988281,\r
-        "y": 341,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 372,\r
+        "y": 306,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "bee28b81.87faf8",\r
-                "2e0d3206.b3958e",\r
-                "2caa6605.779652"\r
+                "88d19ab1.10b18",\r
+                "8fd12759.af6e18",\r
+                "50405d21.7eae84"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bee28b81.87faf8",\r
+        "id": "88d19ab1.10b18",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 589.8833312988281,\r
-        "y": 354,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 560,\r
+        "y": 319,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "db2a2eb9.c4729"\r
+                "d472199a.beff9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e0d3206.b3958e",\r
+        "id": "8fd12759.af6e18",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 597.374267578125,\r
-        "y": 396.57403564453125,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 567.4909362792969,\r
+        "y": 361.57403564453125,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2caa6605.779652",\r
+        "id": "50405d21.7eae84",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 587.8833312988281,\r
-        "y": 443,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 558,\r
+        "y": 408,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9a0e1ef7.428b9"\r
+                "6b1a691d.f6617"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "db2a2eb9.c4729",\r
+        "id": "d472199a.beff9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 762.8833312988281,\r
-        "y": 352,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 733,\r
+        "y": 317,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b1233538.ceab4"\r
+                "f306805a.38d6f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1233538.ceab4",\r
+        "id": "f306805a.38d6f8",\r
         "type": "for",\r
         "name": "for vpnidx in all-vpn-bindings",\r
         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 991.8833312988281,\r
-        "y": 353,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 962,\r
+        "y": 318,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f68da0c8.dc2638"\r
+                "4a920666.d84d68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f68da0c8.dc2638",\r
+        "id": "4a920666.d84d68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1206.8833312988281,\r
-        "y": 354,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1177,\r
+        "y": 319,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "947d4965.a799f8"\r
+                "fc848cba.fc33d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab775a4c.a509d",\r
+        "id": "841ae1dd.49d178",\r
         "type": "switchNode",\r
         "name": "switch vpnuuid is for this slice",\r
         "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1460.8833312988281,\r
-        "y": 276,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1431,\r
+        "y": 241,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "1ae0d7f3.280b18",\r
-                "b7c135fb.7fc808"\r
+                "98ef6cc.4725e9",\r
+                "ab42fe03.c49e3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1ae0d7f3.280b18",\r
+        "id": "98ef6cc.4725e9",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1677.8833312988281,\r
-        "y": 255,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1648,\r
+        "y": 220,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "947d4965.a799f8"\r
+                "fc848cba.fc33d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7c135fb.7fc808",\r
+        "id": "ab42fe03.c49e3",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1677.8833312988281,\r
-        "y": 304,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1648,\r
+        "y": 269,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "947d4965.a799f8",\r
+        "id": "fc848cba.fc33d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1861.8833312988281,\r
-        "y": 341,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1832,\r
+        "y": 306,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7307d136.f98668",\r
-                "d6d93ab.df041c8",\r
-                "ed4d0298.cdb578"\r
+                "53692e4a.48cde",\r
+                "957d0d12.f7d338",\r
+                "1f9b767f.d670b2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d12da893.5808e",\r
+        "id": "524dbe59.8ef8f",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 220.88333129882812,\r
-        "y": 82,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 191,\r
+        "y": 47,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ba22940.68974f"\r
+                "320667fa.12a2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba22940.68974f",\r
+        "id": "320667fa.12a2c",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 505.1690216064453,\r
-        "y": 143.23810863494873,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 475.2856903076172,\r
+        "y": 108.23810863494873,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f0aeb23e.8f1f7"\r
+                "aa006c98.f12b58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f0aeb23e.8f1f7",\r
+        "id": "aa006c98.f12b58",\r
         "type": "method",\r
         "name": "method cll-vnf-topology-operation-cll-F1-Activate",\r
         "xml": "<method rpc='cll-vnf-topology-operation-cll-F1-Activate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 511.3119354248047,\r
-        "y": 228.00003051757812,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 481.42860412597656,\r
+        "y": 193.00003051757812,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "849eab75.e48858"\r
+                "72fe4a66.39584c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "849eab75.e48858",\r
+        "id": "72fe4a66.39584c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 821.1213684082031,\r
-        "y": 219.66668701171875,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 791.238037109375,\r
+        "y": 184.66668701171875,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4a53e986.e1345",\r
-                "9dad0003.283738",\r
-                "47e937a3.3ee608",\r
-                "fa83bc41.1d8b08",\r
-                "39b1b2.d055464e"\r
+                "d35e2da9.70a7e",\r
+                "cce8745e.b515b8",\r
+                "706cb78c.da92b",\r
+                "88772a4.9b58658",\r
+                "4ace150.4554dec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7307d136.f98668",\r
+        "id": "53692e4a.48cde",\r
         "type": "set",\r
         "name": "set tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
         "comments": "",\r
-        "x": 2078.883331298828,\r
-        "y": 279,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2049,\r
+        "y": 244,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5be24b21.11ebc4",\r
+        "id": "123fcc82.b79ae3",\r
         "type": "set",\r
         "name": "set attachment_param for OTN A",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 4247.883331298828,\r
-        "y": 165,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4218,\r
+        "y": 130,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "66c2f1fa.df4e",\r
+        "id": "e308a3a2.af826",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4328.883331298828,\r
-        "y": 480,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4299,\r
+        "y": 445,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "78ae8a16.bcde6c",\r
-                "163e60b5.f624ef"\r
+                "fedd6b9.d7f3318",\r
+                "39581c20.edb614"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78ae8a16.bcde6c",\r
+        "id": "fedd6b9.d7f3318",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4638.383331298828,\r
-        "y": 449,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4608.5,\r
+        "y": 414,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a86780cc.869ba"\r
+                "c49081cf.377c78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "163e60b5.f624ef",\r
+        "id": "39581c20.edb614",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4643.383331298828,\r
-        "y": 514,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4613.5,\r
+        "y": 479,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "496a02d9.361154"\r
+                "9c0572a4.3a997"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a86780cc.869ba",\r
+        "id": "c49081cf.377c78",\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 Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4814.383331298828,\r
-        "y": 449,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4784.5,\r
+        "y": 414,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "496a02d9.361154",\r
+        "id": "9c0572a4.3a997",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4809.883331298828,\r
-        "y": 514,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4780,\r
+        "y": 479,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4c8b1659.abc1b",\r
+        "id": "2d297001.689a7",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
         "comments": "",\r
-        "x": 4193.383331298828,\r
-        "y": 734,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4163.5,\r
+        "y": 699,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "902cb9fb.0d496",\r
+        "id": "54d9bbcc.0d0bac",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4347.383331298828,\r
-        "y": 782,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4317.5,\r
+        "y": 747,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f961065e.0e576",\r
-                "6ca1f611.56dee"\r
+                "2ade786d.c09b28",\r
+                "f17ad5b3.0ef818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f961065e.0e576",\r
+        "id": "2ade786d.c09b28",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4692.883331298828,\r
-        "y": 763,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4663,\r
+        "y": 728,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "6296fab8.967dac"\r
+                "72718fb4.e15e78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ca1f611.56dee",\r
+        "id": "f17ad5b3.0ef818",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4696.883331298828,\r
-        "y": 803,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4667,\r
+        "y": 768,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ef7067c4.7ea328"\r
+                "98b1fdb0.a42648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6296fab8.967dac",\r
+        "id": "72718fb4.e15e78",\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 Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4850.883331298828,\r
-        "y": 763,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4821,\r
+        "y": 728,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ef7067c4.7ea328",\r
+        "id": "98b1fdb0.a42648",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4854.383331298828,\r
-        "y": 803,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4824.5,\r
+        "y": 768,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ee477ca2.a65568",\r
-                "5e527e99.1f4728"\r
+                "fe12ce9.6a53ab",\r
+                "4eba4c2.fda54b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee477ca2.a65568",\r
+        "id": "fe12ce9.6a53ab",\r
         "type": "save",\r
         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5184.883331298828,\r
-        "y": 768,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5155,\r
+        "y": 733,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f9d5afb7.0291b",\r
+        "id": "9e233ee4.5c90e",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 5048.883331298828,\r
-        "y": 727,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5019,\r
+        "y": 692,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5e527e99.1f4728",\r
+        "id": "4eba4c2.fda54b4",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5111.883331298828,\r
-        "y": 814,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5082,\r
+        "y": 779,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "48c30a65.f0f584",\r
+        "id": "fbd17573.b91cd8",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 4185.883331298828,\r
-        "y": 213,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4156,\r
+        "y": 178,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bc523ecb.f956a8",\r
+        "id": "985dbb20.1c3b78",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4211.883331298828,\r
-        "y": 330,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4182,\r
+        "y": 295,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a72840b5.dc70e",\r
-                "54e4a8de.9445f8",\r
-                "4012660e.b55b2"\r
+                "544c4f89.eba52",\r
+                "eb873b5e.d10b8",\r
+                "d8377d86.76164"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a72840b5.dc70e",\r
+        "id": "544c4f89.eba52",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4407.383453369141,\r
-        "y": 282,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4377.5001220703125,\r
+        "y": 247,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9d071aa.9c29c68"\r
+                "cd232c91.ed7d5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54e4a8de.9445f8",\r
+        "id": "eb873b5e.d10b8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4399.383453369141,\r
-        "y": 337,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4369.5001220703125,\r
+        "y": 302,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3662c50c.d754d2"\r
+                "7e7e18a4.ea2a98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d071aa.9c29c68",\r
+        "id": "cd232c91.ed7d5",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4551.765777587891,\r
-        "y": 281.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4521.8824462890625,\r
+        "y": 246.65567016601562,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "c1155c42.4dc2e8"\r
+                "d5d46c3b.524dc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a3b68f87.0c3248",\r
+        "id": "4c85ec99.26bac4",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5133.883331298828,\r
-        "y": 284,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5104,\r
+        "y": 249,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e6d1f56a.1147f8"\r
+                "490c8cc0.c71134"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c1155c42.4dc2e8",\r
+        "id": "d5d46c3b.524dc8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4735.883331298828,\r
-        "y": 280,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4706,\r
+        "y": 245,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e3565ab9.0a825"\r
+                "cc43f2ea.19847"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3565ab9.0a825",\r
+        "id": "cc43f2ea.19847",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4930.883331298828,\r
-        "y": 280,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4901,\r
+        "y": 245,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a3b68f87.0c3248"\r
+                "4c85ec99.26bac4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4012660e.b55b2",\r
+        "id": "d8377d86.76164",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4404.383453369141,\r
-        "y": 394,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4374.5001220703125,\r
+        "y": 359,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7e9c03d8.c41c7c"\r
+                "9cf617d3.aee3a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e9c03d8.c41c7c",\r
+        "id": "9cf617d3.aee3a8",\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": 4556.383453369141,\r
-        "y": 395,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4526.5001220703125,\r
+        "y": 360,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3662c50c.d754d2",\r
+        "id": "7e7e18a4.ea2a98",\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": 4567.383453369141,\r
-        "y": 338,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4537.5001220703125,\r
+        "y": 303,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "99fa8e6f.e803d8",\r
+        "id": "f42e9c90.ae58f",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5518.883331298828,\r
-        "y": 297,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5489,\r
+        "y": 262,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a38e0436.5aedc",\r
-                "80f6747e.265c78",\r
-                "c370b7ba.84a26"\r
+                "f404a9ca.fbce2",\r
+                "3fd1ebaf.c62a54",\r
+                "66a3972e.71bfa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e6d1f56a.1147f8",\r
+        "id": "490c8cc0.c71134",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5312.883331298828,\r
-        "y": 284,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5283,\r
+        "y": 249,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4599703a.c42f3",\r
-                "99fa8e6f.e803d8"\r
+                "9ce5b4b0.4bb188",\r
+                "f42e9c90.ae58f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4599703a.c42f3",\r
+        "id": "9ce5b4b0.4bb188",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainA id",\r
         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5548.883331298828,\r
-        "y": 245,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5519,\r
+        "y": 210,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a38e0436.5aedc",\r
+        "id": "f404a9ca.fbce2",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5728.883331298828,\r
-        "y": 288,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5699,\r
+        "y": 253,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "8c88cbf0.e09b1"\r
+                "3597c274.50637e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80f6747e.265c78",\r
+        "id": "3fd1ebaf.c62a54",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5720.883331298828,\r
-        "y": 343,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5691,\r
+        "y": 308,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e2be9acb.77d62"\r
+                "ff90e84e.43d4b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c370b7ba.84a26",\r
+        "id": "66a3972e.71bfa8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5725.883331298828,\r
-        "y": 400,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5696,\r
+        "y": 365,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "856ee89c.2898"\r
+                "ff823793.36814"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "856ee89c.2898",\r
+        "id": "ff823793.36814",\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": 5877.883331298828,\r
-        "y": 401,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5848,\r
+        "y": 366,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e2be9acb.77d62",\r
+        "id": "ff90e84e.43d4b8",\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": 5888.883331298828,\r
-        "y": 346,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5859,\r
+        "y": 311,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c88cbf0.e09b1",\r
+        "id": "3597c274.50637e",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5873.265655517578,\r
-        "y": 285.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5843.38232421875,\r
+        "y": 250.65567016601562,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a4a57efc.888ff8"\r
+                "d39e28b5.1aec5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4a57efc.888ff8",\r
+        "id": "d39e28b5.1aec5",\r
         "type": "set",\r
         "name": "set controller domainA data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 6087.883331298828,\r
-        "y": 282,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 6058,\r
+        "y": 247,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "172d91c5.a78676",\r
+        "id": "139f2f1e.8fa159",\r
         "type": "set",\r
         "name": "set attachment_param for OTN B",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 3654.883331298828,\r
-        "y": 1622,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3625,\r
+        "y": 1587,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f13d198f.d5c79",\r
+        "id": "18d2c2bc.05fd85",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3717.883331298828,\r
-        "y": 1951,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3688,\r
+        "y": 1916,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3640aede.8913a2",\r
-                "f1b1c8d.9945bb8"\r
+                "8895fa29.bf8e3",\r
+                "23c7c635.fd4722"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3640aede.8913a2",\r
+        "id": "8895fa29.bf8e3",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4013.383331298828,\r
-        "y": 1918,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3983.5,\r
+        "y": 1883,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4b0d0deb.6577e4"\r
+                "500b5538.e88684"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f1b1c8d.9945bb8",\r
+        "id": "23c7c635.fd4722",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4018.383331298828,\r
-        "y": 1983,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3988.5,\r
+        "y": 1948,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "5da14040.cb50b8"\r
+                "909dfd67.2300d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b0d0deb.6577e4",\r
+        "id": "500b5538.e88684",\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 Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4181.383331298828,\r
-        "y": 1918,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4151.5,\r
+        "y": 1883,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5da14040.cb50b8",\r
+        "id": "909dfd67.2300d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4191.883331298828,\r
-        "y": 1983,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4162,\r
+        "y": 1948,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1e50105a.a8b96",\r
+        "id": "a49aeabe.b5ff8",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 3593.883331298828,\r
-        "y": 1679,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3564,\r
+        "y": 1644,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dfe45c65.d48f6",\r
+        "id": "642d00da.b53c68",\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.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3613.883331298828,\r
-        "y": 1776,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3584,\r
+        "y": 1741,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "56d2f84a.b524e8",\r
-                "43f5b436.ace8b4",\r
-                "a9c884c3.3b2c18"\r
+                "1e5d6803.78b7d8",\r
+                "84307ec5.09a8d",\r
+                "b468d4fc.bc9c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56d2f84a.b524e8",\r
+        "id": "1e5d6803.78b7d8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3816.3834533691406,\r
-        "y": 1729,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3786.5001220703125,\r
+        "y": 1694,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "10cf7345.17615d"\r
+                "683b34d0.c1df64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43f5b436.ace8b4",\r
+        "id": "84307ec5.09a8d",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3808.3834533691406,\r
-        "y": 1784,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3778.5001220703125,\r
+        "y": 1749,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "40e41e98.b2ab3"\r
+                "72cad52e.cb1d74"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10cf7345.17615d",\r
+        "id": "683b34d0.c1df64",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3960.7657775878906,\r
-        "y": 1726.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3930.8824462890625,\r
+        "y": 1691.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "69889215.886b4c"\r
+                "8511cae6.cbf588"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69889215.886b4c",\r
+        "id": "8511cae6.cbf588",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4144.883331298828,\r
-        "y": 1741,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4115,\r
+        "y": 1706,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3c1ff953.79a23e"\r
+                "82496ff9.234ee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9c884c3.3b2c18",\r
+        "id": "b468d4fc.bc9c8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3813.3834533691406,\r
-        "y": 1841,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3783.5001220703125,\r
+        "y": 1806,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "8ab7ecfb.f03ee"\r
+                "a6137ce1.b3b5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ab7ecfb.f03ee",\r
+        "id": "a6137ce1.b3b5c",\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": 3965.3834533691406,\r
-        "y": 1842,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3935.5001220703125,\r
+        "y": 1807,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "40e41e98.b2ab3",\r
+        "id": "72cad52e.cb1d74",\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": 3976.3834533691406,\r
-        "y": 1787,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3946.5001220703125,\r
+        "y": 1752,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "37ef2104.1e9d5e",\r
+        "id": "7b4a137a.364fcc",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4542.883331298828,\r
-        "y": 1745,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4513,\r
+        "y": 1710,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "901dac81.52118"\r
+                "37fe69a9.07064e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c1ff953.79a23e",\r
+        "id": "82496ff9.234ee",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4339.883331298828,\r
-        "y": 1741,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4310,\r
+        "y": 1706,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "37ef2104.1e9d5e"\r
+                "7b4a137a.364fcc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "86b8c4cb.c3747",\r
+        "id": "4bdd9e57.a5e13",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4927.883331298828,\r
-        "y": 1744,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4898,\r
+        "y": 1709,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b5f45931.a1805",\r
-                "34bcb3b6.e69b1c",\r
-                "d4cc1381.862c48"\r
+                "8afff046.26af98",\r
+                "5118b1e.53f805",\r
+                "5a800db8.063d6c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "901dac81.52118",\r
+        "id": "37fe69a9.07064e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4719.883331298828,\r
-        "y": 1737,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4690,\r
+        "y": 1702,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "81cd4229.29ba8",\r
-                "86b8c4cb.c3747"\r
+                "d299743b.8f6b68",\r
+                "4bdd9e57.a5e13"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "81cd4229.29ba8",\r
+        "id": "d299743b.8f6b68",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainB id",\r
         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4957.883331298828,\r
-        "y": 1692,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4928,\r
+        "y": 1657,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6f965e8.0bb248",\r
+        "id": "2523ddf0.8e1c8a",\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": 5286.883331298828,\r
-        "y": 1848,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5257,\r
+        "y": 1813,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3b503e2a.8c5dd2",\r
+        "id": "6f850c0f.e212ac",\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": 5297.883331298828,\r
-        "y": 1793,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5268,\r
+        "y": 1758,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a84f2510.1ebf08",\r
+        "id": "546ca846.269108",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5282.265655517578,\r
-        "y": 1732.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5252.38232421875,\r
+        "y": 1697.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f83738f1.e5e14"\r
+                "fac7ab27.77dda8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f83738f1.e5e14",\r
+        "id": "fac7ab27.77dda8",\r
         "type": "set",\r
         "name": "set controller domainB data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5496.883331298828,\r
-        "y": 1729,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5467,\r
+        "y": 1694,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b5f45931.a1805",\r
+        "id": "8afff046.26af98",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5137.883331298828,\r
-        "y": 1735,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5108,\r
+        "y": 1700,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a84f2510.1ebf08"\r
+                "546ca846.269108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34bcb3b6.e69b1c",\r
+        "id": "5118b1e.53f805",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5129.883331298828,\r
-        "y": 1790,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5100,\r
+        "y": 1755,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3b503e2a.8c5dd2"\r
+                "6f850c0f.e212ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d4cc1381.862c48",\r
+        "id": "5a800db8.063d6c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5134.883331298828,\r
-        "y": 1847,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5105,\r
+        "y": 1812,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a6f965e8.0bb248"\r
+                "2523ddf0.8e1c8a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a95df1.67c3fa",\r
+        "id": "a1edca3.1a62bb8",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has dst-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3168.883331298828,\r
-        "y": 693,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3139,\r
+        "y": 658,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "60b8b463.e4925c",\r
-                "5e23be29.1eb6a"\r
+                "d4bdeded.3ef248",\r
+                "eead64c.0115918"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60b8b463.e4925c",\r
+        "id": "d4bdeded.3ef248",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3382.883331298828,\r
-        "y": 730,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3353,\r
+        "y": 695,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4d4203c4.4fd81c"\r
+                "614a0644.b0e3e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e23be29.1eb6a",\r
+        "id": "eead64c.0115918",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3384.883331298828,\r
-        "y": 668,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3355,\r
+        "y": 633,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "402d5674.bb5698"\r
+                "295e16ce.878c6a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d4203c4.4fd81c",\r
+        "id": "614a0644.b0e3e",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has src-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2962.883331298828,\r
-        "y": 1973,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2933,\r
+        "y": 1938,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4155de88.54a1f",\r
-                "11e38b5d.85c715"\r
+                "75bfd38b.356f64",\r
+                "f4c4b096.a3ce2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4155de88.54a1f",\r
+        "id": "75bfd38b.356f64",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3215.883331298828,\r
-        "y": 2007,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3186,\r
+        "y": 1972,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "97b4f973.8f85a8"\r
+                "b0597a28.514d3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11e38b5d.85c715",\r
+        "id": "f4c4b096.a3ce2",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3215.883331298828,\r
-        "y": 1951,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3186,\r
+        "y": 1916,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4bdf7725.9cef3"\r
+                "64045150.224658"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "97b4f973.8f85a8",\r
+        "id": "b0597a28.514d3",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3366.883331298828,\r
-        "y": 2007,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3337,\r
+        "y": 1972,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "15e2350c.3f989b",\r
+        "id": "cf5b963d.2b5a08",\r
         "type": "set",\r
         "name": "set vpn-bindingA and connectivityA",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
         "comments": "",\r
-        "x": 4242.883331298828,\r
-        "y": 105,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4213,\r
+        "y": 70,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "22f55219.d9af6e",\r
+        "id": "4badfb31.b82c1c",\r
         "type": "set",\r
         "name": "set vpn-bindingB and connectivityB",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
         "comments": "",\r
-        "x": 3650.883331298828,\r
-        "y": 1564,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3621,\r
+        "y": 1529,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9157e39e.50973",\r
+        "id": "552020c2.f01db",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3933.883331298828,\r
-        "y": 362,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3904,\r
+        "y": 327,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "15e2350c.3f989b",\r
-                "5be24b21.11ebc4",\r
-                "48c30a65.f0f584",\r
-                "bc523ecb.f956a8",\r
-                "66c2f1fa.df4e",\r
-                "738a4fa7.5a68d",\r
-                "9521e4ca.a61af",\r
-                "224f4283.917d26"\r
+                "cf5b963d.2b5a08",\r
+                "123fcc82.b79ae3",\r
+                "fbd17573.b91cd8",\r
+                "985dbb20.1c3b78",\r
+                "e308a3a2.af826",\r
+                "ec3b4a19.7f5ee",\r
+                "881b2d7a.c4e888",\r
+                "1a392cd7.238923"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4bdf7725.9cef3",\r
+        "id": "64045150.224658",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3366.883331298828,\r
-        "y": 1950,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3337,\r
+        "y": 1915,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "22f55219.d9af6e",\r
-                "172d91c5.a78676",\r
-                "1e50105a.a8b96",\r
-                "dfe45c65.d48f6",\r
-                "f13d198f.d5c79",\r
-                "78f084cb.41e754",\r
-                "e35a6c95.6b3d6",\r
-                "1ced8517.ce35e3"\r
+                "4badfb31.b82c1c",\r
+                "139f2f1e.8fa159",\r
+                "a49aeabe.b5ff8",\r
+                "642d00da.b53c68",\r
+                "18d2c2bc.05fd85",\r
+                "724930a5.f44628",\r
+                "98331ea2.d141f",\r
+                "f84de17e.e8ea08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7e7eca7.931088",\r
+        "id": "ed40d4d6.135678",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
         "comments": "",\r
-        "x": 3604.883331298828,\r
-        "y": 2249,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3575,\r
+        "y": 2214,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5544b67f.df3238",\r
+        "id": "b71c97.3dad8368",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3758.883331298828,\r
-        "y": 2297,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3729,\r
+        "y": 2262,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b36c5e4.a4b982",\r
-                "75e03418.7b0a3c"\r
+                "aa1d9a65.d56ee",\r
+                "ce785491.f82258"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b36c5e4.a4b982",\r
+        "id": "aa1d9a65.d56ee",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4104.383331298828,\r
-        "y": 2278,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4074.5,\r
+        "y": 2243,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "996a2de3.86ff68"\r
+                "d8df230a.b47018"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75e03418.7b0a3c",\r
+        "id": "ce785491.f82258",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4108.383331298828,\r
-        "y": 2318,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4078.5,\r
+        "y": 2283,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "1787d971.8d0d67"\r
+                "d2d57048.de12f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "996a2de3.86ff68",\r
+        "id": "d8df230a.b47018",\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 Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4262.383331298828,\r
-        "y": 2278,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4232.5,\r
+        "y": 2243,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1787d971.8d0d67",\r
+        "id": "d2d57048.de12f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4265.883331298828,\r
-        "y": 2318,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4236,\r
+        "y": 2283,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "79bbcc28.d4fd3c",\r
-                "137b8fb9.4aaa78"\r
+                "703675c3.1d187c",\r
+                "6a8e2764.0748e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "79bbcc28.d4fd3c",\r
+        "id": "703675c3.1d187c",\r
         "type": "save",\r
         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4605.883331298828,\r
-        "y": 2317,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4576,\r
+        "y": 2282,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9aab71de.3f671",\r
+        "id": "b9adfc7b.f1d908",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 4463.883331298828,\r
-        "y": 2275,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4434,\r
+        "y": 2240,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "137b8fb9.4aaa78",\r
+        "id": "6a8e2764.0748e8",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4534.883331298828,\r
-        "y": 2366,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4505,\r
+        "y": 2331,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e7a16254.b52678",\r
+        "id": "641093d5.a73774",\r
         "type": "set",\r
         "name": "set attachment_param (gfp-n) for OTN",\r
         "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
         "comments": "",\r
-        "x": 3159.883331298828,\r
-        "y": 633,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3130,\r
+        "y": 598,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b98d7c04.aadb6",\r
+        "id": "29b91b19.d2edf4",\r
         "type": "comment",\r
         "name": "only dst ttp exists. No src",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3754.883331298828,\r
-        "y": 319,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3725,\r
+        "y": 284,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f9466402.70d608",\r
+        "id": "df88a98e.3b797",\r
         "type": "comment",\r
         "name": "only src ttp exists. No dst",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3311.883331298828,\r
-        "y": 1897,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3282,\r
+        "y": 1862,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "402d5674.bb5698",\r
+        "id": "295e16ce.878c6a",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has src-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3490.883331298828,\r
-        "y": 481,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3461,\r
+        "y": 446,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "40174504.12275c",\r
-                "483f6800.997ef8"\r
+                "fdfbdf68.ace01",\r
+                "8f7ef737.3d4208"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "483f6800.997ef8",\r
+        "id": "8f7ef737.3d4208",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3732.883331298828,\r
-        "y": 1070,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3703,\r
+        "y": 1035,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f91cd9b2.b4ebc8"\r
+                "d545d977.39f008"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40174504.12275c",\r
+        "id": "fdfbdf68.ace01",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3726.883331298828,\r
-        "y": 361,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3697,\r
+        "y": 326,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9157e39e.50973"\r
+                "552020c2.f01db"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f91cd9b2.b4ebc8",\r
+        "id": "d545d977.39f008",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3890.883331298828,\r
-        "y": 1069,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3861,\r
+        "y": 1034,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e0a89dfb.b97bd8",\r
-                "356efc92.1be0c4",\r
-                "b98c51bd.b1df7",\r
-                "c9386596.fb5188",\r
-                "99a335d9.47dc9",\r
-                "1d1e23b2.17cb04"\r
+                "127c7c35.f5600c",\r
+                "aa22b9fb.8c00d",\r
+                "7a8bb8ff.a3807",\r
+                "b6e4b7cd.3aab58",\r
+                "9befe6d.bfbfb18",\r
+                "61ff745d.2cf8b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "356efc92.1be0c4",\r
+        "id": "aa22b9fb.8c00d",\r
         "type": "set",\r
         "name": "set attachment_param for OTN G",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 4154.883331298828,\r
-        "y": 952,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4125,\r
+        "y": 917,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "99a335d9.47dc9",\r
+        "id": "9befe6d.bfbfb18",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4235.883331298828,\r
-        "y": 1267,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4206,\r
+        "y": 1232,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "2ae3d84f.15cb3",\r
-                "a0cd8374.ae65d8"\r
+                "602f32f4.cac7b4",\r
+                "1d093526.32224b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2ae3d84f.15cb3",\r
+        "id": "602f32f4.cac7b4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4545.383331298828,\r
-        "y": 1236,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4515.5,\r
+        "y": 1201,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "d03fdf1c.3b45d"\r
+                "4513cd6b.369634"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a0cd8374.ae65d8",\r
+        "id": "1d093526.32224b",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4550.383331298828,\r
-        "y": 1301,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4520.5,\r
+        "y": 1266,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f8c3fa12.5c834"\r
+                "7640c8ac.188fc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d03fdf1c.3b45d",\r
+        "id": "4513cd6b.369634",\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 Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4721.383331298828,\r
-        "y": 1236,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4691.5,\r
+        "y": 1201,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f8c3fa12.5c834",\r
+        "id": "7640c8ac.188fc8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4716.883331298828,\r
-        "y": 1301,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4687,\r
+        "y": 1266,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b98c51bd.b1df7",\r
+        "id": "7a8bb8ff.a3807",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 4092.883331298828,\r
-        "y": 1000,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4063,\r
+        "y": 965,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c9386596.fb5188",\r
+        "id": "b6e4b7cd.3aab58",\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.domainG.pnf-name\"\n        pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4118.883331298828,\r
-        "y": 1117,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4089,\r
+        "y": 1082,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "312e9154.f9dbd6",\r
-                "38e6d39b.3fc964",\r
-                "d52b1c1f.8a6ca8"\r
+                "bc604696.f19bf",\r
+                "6b2ab2eb.e94cac",\r
+                "158e3d74.81687b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "312e9154.f9dbd6",\r
+        "id": "bc604696.f19bf",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4314.383453369141,\r
-        "y": 1069,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4284.5001220703125,\r
+        "y": 1034,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "6d3eafaf.02fb48"\r
+                "fbbae41a.6bb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38e6d39b.3fc964",\r
+        "id": "6b2ab2eb.e94cac",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4306.383453369141,\r
-        "y": 1124,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4276.5001220703125,\r
+        "y": 1089,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3519bfd5.fa4b3"\r
+                "5e10560f.7f2a6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6d3eafaf.02fb48",\r
+        "id": "fbbae41a.6bb8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4458.765777587891,\r
-        "y": 1068.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4428.8824462890625,\r
+        "y": 1033.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "6a66b1f9.955598"\r
+                "4ab90ec7.0f8a1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a66b1f9.955598",\r
+        "id": "4ab90ec7.0f8a1",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4642.883331298828,\r
-        "y": 1067,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4613,\r
+        "y": 1032,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "43b05855.517cf"\r
+                "3bb025b6.92298a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43b05855.517cf",\r
+        "id": "3bb025b6.92298a",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4837.883331298828,\r
-        "y": 1067,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4808,\r
+        "y": 1032,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "c21a24cd.dd2528"\r
+                "ce204654.d589e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d52b1c1f.8a6ca8",\r
+        "id": "158e3d74.81687b",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4311.383453369141,\r
-        "y": 1181,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4281.5001220703125,\r
+        "y": 1146,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "db81dd24.8006b"\r
+                "cfe04507.17faa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "db81dd24.8006b",\r
+        "id": "cfe04507.17faa",\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": 4463.383453369141,\r
-        "y": 1182,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4433.5001220703125,\r
+        "y": 1147,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3519bfd5.fa4b3",\r
+        "id": "5e10560f.7f2a6",\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": 4474.383453369141,\r
-        "y": 1125,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4444.5001220703125,\r
+        "y": 1090,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e0a89dfb.b97bd8",\r
+        "id": "127c7c35.f5600c",\r
         "type": "set",\r
         "name": "set vpn-bindingG and connectivityG",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
         "comments": "",\r
-        "x": 4149.883331298828,\r
-        "y": 892,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4120,\r
+        "y": 857,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c21a24cd.dd2528",\r
+        "id": "ce204654.d589e8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5040.883331298828,\r
-        "y": 1071,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5011,\r
+        "y": 1036,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f7c609f5.0c2d28"\r
+                "fea8f5c8.b664d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dff3e5ec.9273",\r
+        "id": "17936311.45c0f5",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5425.883331298828,\r
-        "y": 1084,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5396,\r
+        "y": 1049,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "2769bc77.6b9fa4",\r
-                "7925966f.3df658",\r
-                "161a4207.178c96"\r
+                "bda3b861.07af08",\r
+                "8ce8739f.28fc08",\r
+                "8098fa71.4cbf3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7c609f5.0c2d28",\r
+        "id": "fea8f5c8.b664d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5219.883331298828,\r
-        "y": 1071,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5190,\r
+        "y": 1036,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3634d6f2.f94292",\r
-                "dff3e5ec.9273"\r
+                "619520a0.18d9e",\r
+                "17936311.45c0f5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3634d6f2.f94292",\r
+        "id": "619520a0.18d9e",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainG id",\r
         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5455.883331298828,\r
-        "y": 1032,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5426,\r
+        "y": 997,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2769bc77.6b9fa4",\r
+        "id": "bda3b861.07af08",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5635.883331298828,\r
-        "y": 1075,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5606,\r
+        "y": 1040,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "8b0e2b2b.7a21d"\r
+                "3c9ad3f5.e5e4a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7925966f.3df658",\r
+        "id": "8ce8739f.28fc08",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5627.883331298828,\r
-        "y": 1130,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5598,\r
+        "y": 1095,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b9107d6e.7c0358"\r
+                "ec86cd9f.a15968"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "161a4207.178c96",\r
+        "id": "8098fa71.4cbf3",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5632.883331298828,\r
-        "y": 1187,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5603,\r
+        "y": 1152,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "d5598bab.3dfb58"\r
+                "244270ad.8dfe1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5598bab.3dfb58",\r
+        "id": "244270ad.8dfe1",\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": 5784.883331298828,\r
-        "y": 1188,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5755,\r
+        "y": 1153,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b9107d6e.7c0358",\r
+        "id": "ec86cd9f.a15968",\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": 5795.883331298828,\r
-        "y": 1133,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5766,\r
+        "y": 1098,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8b0e2b2b.7a21d",\r
+        "id": "3c9ad3f5.e5e4a4",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5780.265655517578,\r
-        "y": 1072.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5750.38232421875,\r
+        "y": 1037.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f80d31a9.31f3d"\r
+                "2068f2a1.5ec866"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f80d31a9.31f3d",\r
+        "id": "2068f2a1.5ec866",\r
         "type": "set",\r
         "name": "set controller domainG data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5994.883331298828,\r
-        "y": 1069,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 5965,\r
+        "y": 1034,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d718b282.287ca",\r
+        "id": "e69cbe2a.82be58",\r
         "type": "comment",\r
         "name": "both src and dst exist",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3768.883331298828,\r
-        "y": 1010,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3739,\r
+        "y": 975,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d6d93ab.df041c8",\r
+        "id": "957d0d12.f7d338",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
         "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2330.883331298828,\r
-        "y": 737,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2301,\r
+        "y": 702,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7d753f63.af1d7",\r
-                "7719dbd9.957fc4"\r
+                "7969493f.6a54d",\r
+                "9a6050c4.300548"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7719dbd9.957fc4",\r
+        "id": "9a6050c4.300548",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2737.883331298828,\r
-        "y": 755,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2708,\r
+        "y": 720,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "2b5dce30.392f92"\r
+                "66cd0943.de62f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d753f63.af1d7",\r
+        "id": "7969493f.6a54d",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2737.883331298828,\r
-        "y": 700,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2708,\r
+        "y": 665,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "155f7f13.57fce1"\r
+                "7c5fc999.6b62c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "155f7f13.57fce1",\r
+        "id": "7c5fc999.6b62c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2893.883331298828,\r
-        "y": 698,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2864,\r
+        "y": 663,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e7a16254.b52678",\r
-                "4a95df1.67c3fa"\r
+                "641093d5.a73774",\r
+                "a1edca3.1a62bb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2b5dce30.392f92",\r
+        "id": "66cd0943.de62f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2870.883331298828,\r
-        "y": 756,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2841,\r
+        "y": 721,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9dad0003.283738",\r
+        "id": "cce8745e.b515b8",\r
         "type": "set",\r
         "name": "unset tmp.aai.all-vpn-bindings",\r
         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value=\"\" />\n",\r
         "comments": "",\r
-        "x": 1047.8833312988281,\r
-        "y": 172,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1018,\r
+        "y": 137,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6d3cb9.27687b8",\r
+        "id": "48ad099a.c16688",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 4164.883331298828,\r
-        "y": 590,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4135,\r
+        "y": 555,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "738a4fa7.5a68d",\r
+        "id": "ec3b4a19.7f5ee",\r
         "type": "set",\r
         "name": "set leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaf-tunnels-list[$leaftunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`leaf-tunnels-list[$leaftunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`leaf-tunnels-list_length`' value='`$leaftunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 4224.883331298828,\r
-        "y": 629,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4195,\r
+        "y": 594,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47e937a3.3ee608",\r
+        "id": "706cb78c.da92b",\r
         "type": "set",\r
         "name": "unset leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaf-tunnels-list.`' value='' />\n<parameter name='`leaf-tunnels-list_length`' value='0' />\n<parameter name='`leaftunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 1040.8833312988281,\r
-        "y": 80,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1011,\r
+        "y": 45,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6f67cdff.5c5554",\r
+        "id": "9a38eb9e.71f4d8",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 3576.883331298828,\r
-        "y": 2106,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3547,\r
+        "y": 2071,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "78f084cb.41e754",\r
+        "id": "724930a5.f44628",\r
         "type": "set",\r
         "name": "set root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`root-tunnels-list[$roottunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`root-tunnels-list[$roottunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`root-tunnels-list_length`' value='`$roottunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 3632.883331298828,\r
-        "y": 2155,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3603,\r
+        "y": 2120,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "912dde6.9b60fa",\r
+        "id": "2a414bdc.2311dc",\r
         "type": "set",\r
         "name": "unset root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`root-tunnels-list.`' value='' />\n<parameter name='`root-tunnels-list_length`' value='0' />\n<parameter name='`roottunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 1040.8833312988281,\r
-        "y": 119,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1011,\r
+        "y": 84,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa83bc41.1d8b08",\r
+        "id": "88772a4.9b58658",\r
         "type": "execute",\r
         "name": "execute properties",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1071.8833312988281,\r
-        "y": 220,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1042,\r
+        "y": 185,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "39b1b2.d055464e",\r
+        "id": "4ace150.4554dec",\r
         "type": "save",\r
         "name": "get service-instance from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 281.8833312988281,\r
-        "y": 695,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 252,\r
+        "y": 660,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "e70c3582.89ad08",\r
-                "3aeaa08a.574a",\r
-                "1322af3c.bc6319"\r
+                "ce4ab0d3.b836a",\r
+                "9dbee6c6.1a60a",\r
+                "290803ec.65c94c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e70c3582.89ad08",\r
+        "id": "ce4ab0d3.b836a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 500.8833312988281,\r
-        "y": 633,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 471,\r
+        "y": 598,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9c476365.2b909"\r
+                "280015e3.c315e2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3aeaa08a.574a",\r
+        "id": "9dbee6c6.1a60a",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 510.3742980957031,\r
-        "y": 675.5740356445312,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 480.490966796875,\r
+        "y": 640.5740356445312,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1322af3c.bc6319",\r
+        "id": "290803ec.65c94c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 498.8833312988281,\r
-        "y": 722,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 469,\r
+        "y": 687,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "23db95da.1941e2"\r
+                "f842cdf9.29a79"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c476365.2b909",\r
+        "id": "280015e3.c315e2",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 697.8833312988281,\r
-        "y": 629,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 668,\r
+        "y": 594,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "1a5a20de.60b4cf"\r
+                "cd508bdd.302a88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23db95da.1941e2",\r
+        "id": "f842cdf9.29a79",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 667.8833312988281,\r
-        "y": 723,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 638,\r
+        "y": 688,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1a5a20de.60b4cf",\r
+        "id": "cd508bdd.302a88",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 921.2168273925781,\r
-        "y": 628.9999389648438,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 891.33349609375,\r
+        "y": 593.9999389648438,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "59a859e2.c48ca8"\r
+                "d4df8e14.56fc08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59a859e2.c48ca8",\r
+        "id": "d4df8e14.56fc08",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1121.8834648132324,\r
-        "y": 630.000020980835,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1092.0001335144043,\r
+        "y": 595.000020980835,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ae28be96.a81b18"\r
+                "b67eb6e5.58b31"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae28be96.a81b18",\r
+        "id": "b67eb6e5.58b31",\r
         "type": "save",\r
         "name": "get connectivity from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 251.88333129882812,\r
-        "y": 892,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 222,\r
+        "y": 857,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4595d435.587aa4",\r
-                "60a8c3ff.237aec",\r
-                "18e77ed.3460901"\r
+                "eb910f68.8a5408",\r
+                "a6536ba8.c4e148",\r
+                "6d1288a7.3722b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4595d435.587aa4",\r
+        "id": "eb910f68.8a5408",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 459.8833312988281,\r
-        "y": 856,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 430,\r
+        "y": 821,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9c5806bb.83c05"\r
+                "6687da8.fb06ca4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60a8c3ff.237aec",\r
+        "id": "a6536ba8.c4e148",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 460.3742980957031,\r
-        "y": 901.5740356445312,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 430.490966796875,\r
+        "y": 866.5740356445312,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "18e77ed.3460901",\r
+        "id": "6d1288a7.3722b8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 457.8833312988281,\r
-        "y": 945,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 428,\r
+        "y": 910,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a170b783.101ed"\r
+                "a3e6b31.4b2495"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a170b783.101ed",\r
+        "id": "a3e6b31.4b2495",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 626.8833312988281,\r
-        "y": 946,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 597,\r
+        "y": 911,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aaf101ae.84a298",\r
+        "id": "64de189c.ea0ca",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 598.8833312988281,\r
-        "y": 1440,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 569,\r
+        "y": 1405,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "48f75925.f13078"\r
+                "f09d5f3a.90b09"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48f75925.f13078",\r
+        "id": "f09d5f3a.90b09",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 801.8833312988281,\r
-        "y": 1452,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 772,\r
+        "y": 1417,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "dc596581.8a224"\r
+                "be069a3d.2f258"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dc596581.8a224",\r
+        "id": "be069a3d.2f258",\r
         "type": "outcome",\r
         "name": "UNI",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 967.8833312988281,\r
-        "y": 1449,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 938,\r
+        "y": 1414,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "63611a55.44e3fc"\r
+                "b33327bf.cf44b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63611a55.44e3fc",\r
+        "id": "b33327bf.cf44b8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1128.8833312988281,\r
-        "y": 1446,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1099,\r
+        "y": 1411,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "155181d9.def56e",\r
-                "450c0202.9562fc",\r
-                "e522d7e8.f0b6d",\r
-                "b85bac18.623698",\r
-                "d97c4e37.51bad8"\r
+                "9b6250ff.75cf18",\r
+                "6e8e9c3e.00f634",\r
+                "db16830a.f6a5",\r
+                "611e4d54.277574",\r
+                "c0f4e533.035be8",\r
+                "ee82569c.a25768"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "450c0202.9562fc",\r
+        "id": "6e8e9c3e.00f634",\r
         "type": "set",\r
         "name": "unset tmp.aai.uni",\r
         "xml": "<set>\n<parameter name='tmp.aai.uni.' value='' />\n",\r
         "comments": "",\r
-        "x": 1332.8833312988281,\r
-        "y": 1404,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1305,\r
+        "y": 1010.9999389648438,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "155181d9.def56e",\r
+        "id": "9b6250ff.75cf18",\r
         "type": "save",\r
         "name": "get uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1329.8833312988281,\r
-        "y": 1449,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1302,\r
+        "y": 1055.9999389648438,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "c73d859f.d40f2",\r
-                "cdecbb41.644898",\r
-                "ca040aae.e9fa08"\r
+                "1b290eb5.e974c9",\r
+                "b84573d.a8be19",\r
+                "ef2334eb.3c1b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cdecbb41.644898",\r
+        "id": "b84573d.a8be19",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1525.3742980957031,\r
-        "y": 1422.573974609375,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1497.490966796875,\r
+        "y": 1029.5739135742188,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "dcd0fdd9.1c84f"\r
+                "45bb14a8.1a7924"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ca040aae.e9fa08",\r
+        "id": "ef2334eb.3c1b68",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1520.8833312988281,\r
-        "y": 1466.9999389648438,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1493,\r
+        "y": 1073.9998779296875,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7c23dd25.00653c"\r
+                "cd1f6950.fef1f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dcd0fdd9.1c84f",\r
+        "id": "45bb14a8.1a7924",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1687.9458312988281,\r
-        "y": 1421.8596801757812,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1660.0625,\r
+        "y": 1028.859619140625,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7c23dd25.00653c",\r
+        "id": "cd1f6950.fef1f",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 1688.8833312988281,\r
-        "y": 1466.9999389648438,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1661,\r
+        "y": 1073.9998779296875,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c84187cf.6e6008",\r
+        "id": "cd4af41f.be1a78",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1690.8833312988281,\r
-        "y": 1513.9999389648438,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1663,\r
+        "y": 1120.9998779296875,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c73d859f.d40f2",\r
+        "id": "1b290eb5.e974c9",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1521.8833312988281,\r
-        "y": 1513.9999389648438,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "c84187cf.6e6008"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a7f36b9f.f75b88",\r
-        "type": "switchNode",\r
-        "name": "switch conn type",\r
-        "xml": "<switch test=\"`$tmp.aai.connectivity.vpn-type`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 211.38333129882812,\r
-        "y": 1111,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "b58d5b5e.9a197",\r
-                "5c723a86.22c16c",\r
-                "fb40210e.8c5be8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ce504b34.d68ac8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 322.3833312988281,\r
-        "y": 1467,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b58d5b5e.9a197",\r
-        "type": "outcome",\r
-        "name": "leaf",\r
-        "xml": "<outcome value='leaf'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 197.38333129882812,\r
-        "y": 1357,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "67ff853e.386644"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5c723a86.22c16c",\r
-        "type": "outcome",\r
-        "name": "root",\r
-        "xml": "<outcome value='root'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 198.38333129882812,\r
-        "y": 1415,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "402699af.4c591"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fb40210e.8c5be8",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 200.38333129882812,\r
-        "y": 1469,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1494,\r
+        "y": 1120.9998779296875,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ce504b34.d68ac8"\r
+                "cd4af41f.be1a78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d006f15.710a08",\r
+        "id": "60f7024f.a382fc",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 1305.8833312988281,\r
-        "y": 1677,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1276,\r
+        "y": 1642,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e522d7e8.f0b6d",\r
+        "id": "db16830a.f6a5",\r
         "type": "set",\r
         "name": "set ethernet-srv-end-points-list array",\r
         "xml": "<set>\n<!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->\n<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n\n<parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1396.8833312988281,\r
-        "y": 1731,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1367,\r
+        "y": 1696,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "402699af.4c591",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 314.3833312988281,\r
-        "y": 1411,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "784b1e5c.92c77",\r
-                "aaf101ae.84a298",\r
-                "dfffb0d0.b2d2d",\r
-                "3502903c.982ab",\r
-                "5524ecac.5cf47c",\r
-                "a12bd239.f8368",\r
-                "f8f2651c.3a035",\r
-                "f84d6f72.692148",\r
-                "5d1396ed.19b6f8",\r
-                "1b4871a6.1cd8a6",\r
-                "48083140.e99758",\r
-                "d94511cd.5d63f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "67ff853e.386644",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 326.3833312988281,\r
-        "y": 1348,\r
-        "z": "db287b1f.2984a8",\r
-        "wires": [\r
-            [\r
-                "aaf101ae.84a298",\r
-                "80e8f9a6.45b808",\r
-                "70ed09af.22122",\r
-                "3502903c.982ab",\r
-                "5524ecac.5cf47c",\r
-                "a12bd239.f8368",\r
-                "f8f2651c.3a035",\r
-                "f84d6f72.692148",\r
-                "5d1396ed.19b6f8",\r
-                "1b4871a6.1cd8a6",\r
-                "48083140.e99758",\r
-                "d94511cd.5d63f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "80e8f9a6.45b808",\r
+        "id": "1989ebd9.8b76bc",\r
         "type": "set",\r
         "name": "unset ethernet-srv-end-points-list",\r
         "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
         "comments": "",\r
-        "x": 618.3833312988281,\r
-        "y": 1233,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2043.5,\r
+        "y": 1109,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "784b1e5c.92c77",\r
+        "id": "9da50ff.0241af",\r
         "type": "set",\r
         "name": "unset ethernet-srv-end-points-list",\r
         "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
         "comments": "",\r
-        "x": 635.3833312988281,\r
-        "y": 1327,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2048.5,\r
+        "y": 1211,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3502903c.982ab",\r
+        "id": "eda2f0f7.d8fb38",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 561.8833312988281,\r
-        "y": 1696,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 532,\r
+        "y": 1661,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "2dc7d020.0f01c8"\r
+                "62852429.1f30ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2dc7d020.0f01c8",\r
+        "id": "62852429.1f30ac",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 793.8833312988281,\r
-        "y": 1695,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 764,\r
+        "y": 1660,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9a9b2fc1.cfc378"\r
+                "ede4a749.9f1af8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9a9b2fc1.cfc378",\r
+        "id": "ede4a749.9f1af8",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1005.8833312988281,\r
-        "y": 1696,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 976,\r
+        "y": 1661,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3ee84e3e.71c9c2"\r
+                "b699a292.eb6f88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3ee84e3e.71c9c2",\r
+        "id": "b699a292.eb6f88",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 261.8833312988281,\r
-        "y": 1852,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 232,\r
+        "y": 1817,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a6f3ac42.8fbf28",\r
-                "c5253df7.0ed11"\r
+                "13d7e483.3188fb",\r
+                "74bc3a8f.9628d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5253df7.0ed11",\r
+        "id": "74bc3a8f.9628d4",\r
         "type": "set",\r
         "name": "unset tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
         "comments": "",\r
-        "x": 496.8833312988281,\r
-        "y": 1839,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 467,\r
+        "y": 1804,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6f3ac42.8fbf28",\r
+        "id": "13d7e483.3188fb",\r
         "type": "save",\r
         "name": "get vpn-binding from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 486.8833312988281,\r
-        "y": 1900,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 457,\r
+        "y": 1865,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b27c66fe.f461f8",\r
-                "d86a808d.b5d38",\r
-                "51be47ba.06369"\r
+                "bcef8cd9.e20998",\r
+                "764e27eb.b5496",\r
+                "21958602.3fa0ea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d86a808d.b5d38",\r
+        "id": "764e27eb.b5496",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 700.3742980957031,\r
-        "y": 1884.5740356445312,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 670.490966796875,\r
+        "y": 1849.5740356445312,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "40ccd27e.7bf8ec"\r
+                "9c812de2.87639"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "51be47ba.06369",\r
+        "id": "21958602.3fa0ea",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 695.8833312988281,\r
-        "y": 1929,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 666,\r
+        "y": 1894,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "10ad75eb.cd3092"\r
+                "2915d3a6.63730c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b27c66fe.f461f8",\r
+        "id": "bcef8cd9.e20998",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 697.8833312988281,\r
-        "y": 1989,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 668,\r
+        "y": 1954,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "f72f31f7.42e17"\r
+                "bb26f0d0.bc6288"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40ccd27e.7bf8ec",\r
+        "id": "9c812de2.87639",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 862.9458312988281,\r
-        "y": 1883.8597412109375,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 833.0625,\r
+        "y": 1848.8597412109375,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "10ad75eb.cd3092",\r
+        "id": "2915d3a6.63730c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 863.8833312988281,\r
-        "y": 1929,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 834,\r
+        "y": 1894,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f72f31f7.42e17",\r
+        "id": "bb26f0d0.bc6288",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 866.8833312988281,\r
-        "y": 1988,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 837,\r
+        "y": 1953,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "c01095c8.c5a848",\r
-                "1e0b480.37d7ab8"\r
+                "e8fb0469.22a408",\r
+                "b503b0ba.b1ff6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f8f2651c.3a035",\r
+        "id": "445d8bb1.6c470c",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />\n<!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->\n<!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<!--<parameter name='index-number' value='0' />-->\n<!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->\n<!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->\n<!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->\n",\r
         "comments": "",\r
-        "x": 265.8833312988281,\r
-        "y": 2487,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 236,\r
+        "y": 2452,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f84d6f72.692148",\r
+        "id": "925823e9.1c4a4",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 408.8833312988281,\r
-        "y": 2547,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 379,\r
+        "y": 2512,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7174c4fb.4236d4",\r
-                "3df090d7.e28cf"\r
+                "345842a4.88ef2e",\r
+                "a4dc32a8.6620d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7174c4fb.4236d4",\r
+        "id": "345842a4.88ef2e",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 721.3833312988281,\r
-        "y": 2524,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 691.5,\r
+        "y": 2489,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3df090d7.e28cf",\r
+        "id": "a4dc32a8.6620d8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 725.3833312988281,\r
-        "y": 2564,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 695.5,\r
+        "y": 2529,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "bbef1ecc.7916"\r
+                "d1fda3bb.92b0e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d6cfe8e.59e2a",\r
+        "id": "cde1b667.7c4d6",\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 Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 901.3833312988281,\r
-        "y": 2528,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 871.5,\r
+        "y": 2493,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bbef1ecc.7916",\r
+        "id": "d1fda3bb.92b0e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 916.8833312988281,\r
-        "y": 2582,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 887,\r
+        "y": 2547,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b94bbfec.158258"\r
+                "a9ee92c3.93f6e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b2dda6de.cb3b28",\r
+        "id": "459839ba.ae33c",\r
         "type": "save",\r
         "name": "update vpn-binding resource (aka. OTN ) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1212.3833312988281,\r
-        "y": 2551,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1182.5,\r
+        "y": 2516,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1cb10652.ba5e0a",\r
+        "id": "120147ed.79206",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 2679.383331298828,\r
-        "y": 1902,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2649.5,\r
+        "y": 1867,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b94bbfec.158258",\r
+        "id": "a9ee92c3.93f6e8",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1174.3833312988281,\r
-        "y": 2593,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1144.5,\r
+        "y": 2558,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "70ed09af.22122",\r
+        "id": "9d25e547.75567",\r
         "type": "set",\r
         "name": "set leafOrRootAccess",\r
         "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />\n",\r
         "comments": "",\r
-        "x": 584.3833312988281,\r
-        "y": 1271,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2009.5,\r
+        "y": 1147,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dfffb0d0.b2d2d",\r
+        "id": "52a255e0.e77dec",\r
         "type": "set",\r
         "name": "set leafOrRootAccess",\r
         "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />\n",\r
         "comments": "",\r
-        "x": 597.3833312988281,\r
-        "y": 1367,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2010.5,\r
+        "y": 1251,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9521e4ca.a61af",\r
+        "id": "881b2d7a.c4e888",\r
         "type": "save",\r
         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4333.883331298828,\r
-        "y": 543,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4304,\r
+        "y": 508,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1d1e23b2.17cb04",\r
+        "id": "61ff745d.2cf8b4",\r
         "type": "save",\r
         "name": "update vpn-binding G resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4236.883331298828,\r
-        "y": 1362,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4207,\r
+        "y": 1327,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e35a6c95.6b3d6",\r
+        "id": "98331ea2.d141f",\r
         "type": "save",\r
         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3730.883331298828,\r
-        "y": 2034,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3701,\r
+        "y": 1999,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c5806bb.83c05",\r
+        "id": "6687da8.fb06ca4",\r
         "type": "switchNode",\r
         "name": "switch connectivity is not already Activated (i.e. is either Created or Modified)",\r
         "xml": "<switch test=\"`$tmp.aai.connectivity.operational-status != 'Activated' `\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 831.8833312988281,\r
-        "y": 842,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 802,\r
+        "y": 807,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "24382f34.66808",\r
-                "ea56d949.8ce4b"\r
+                "11a4a5f5.385f32",\r
+                "192499d2.667f1e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "24382f34.66808",\r
+        "id": "11a4a5f5.385f32",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1194.8833312988281,\r
-        "y": 865,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1165,\r
+        "y": 830,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "d7ed30c6.74c9b"\r
+                "1fc9c5be.8fac2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ea56d949.8ce4b",\r
+        "id": "192499d2.667f1e",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1194.8833312988281,\r
-        "y": 814,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1165,\r
+        "y": 779,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3707e8cf.65827"\r
+                "5fe8520c.50e664"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7ed30c6.74c9b",\r
+        "id": "1fc9c5be.8fac2a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1350.8833312988281,\r
-        "y": 863,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1321,\r
+        "y": 828,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "a7f36b9f.f75b88"\r
+                "a46faf22.6dbda8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3707e8cf.65827",\r
+        "id": "5fe8520c.50e664",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1327.8833312988281,\r
-        "y": 815,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1298,\r
+        "y": 780,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ed4d0298.cdb578",\r
+        "id": "1f9b767f.d670b2",\r
         "type": "set",\r
         "name": "unset tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",\r
         "comments": "",\r
-        "x": 2087.883331298828,\r
-        "y": 213,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2058,\r
+        "y": 178,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1ced8517.ce35e3",\r
+        "id": "f84de17e.e8ea08",\r
         "type": "set",\r
         "name": "set root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`roottunsidx`' value='`$roottunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 3629.883331298828,\r
-        "y": 2194,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 3600,\r
+        "y": 2159,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "224f4283.917d26",\r
+        "id": "1a392cd7.238923",\r
         "type": "set",\r
         "name": "set leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaftunsidx`' value='`$leaftunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 4219.883331298828,\r
-        "y": 667,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 4190,\r
+        "y": 632,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b85bac18.623698",\r
+        "id": "611e4d54.277574",\r
         "type": "set",\r
         "name": "set ethernet-srv-end-points-list array",\r
         "xml": "<set>\n<parameter name='`epidx`' value='`$epidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1393.8833312988281,\r
-        "y": 1773,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1364,\r
+        "y": 1738,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5524ecac.5cf47c",\r
+        "id": "dc7d7df9.afb81",\r
         "type": "set",\r
         "name": "set filename",\r
         "xml": "<set>\n<parameter name='filenameclleths' value=\"`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`\" />",\r
         "comments": "",\r
-        "x": 572.8833312988281,\r
-        "y": 1507,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 543,\r
+        "y": 1472,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a12bd239.f8368",\r
+        "id": "c70f6326.e297a",\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=\"`$filenameclleths`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 603.8833312988281,\r
-        "y": 1547,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 574,\r
+        "y": 1512,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c01095c8.c5a848",\r
+        "id": "e8fb0469.22a408",\r
         "type": "set",\r
         "name": "set otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1151.8833312988281,\r
-        "y": 1955,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1122,\r
+        "y": 1920,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1e0b480.37d7ab8",\r
+        "id": "b503b0ba.b1ff6",\r
         "type": "set",\r
         "name": "set otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1154.8833312988281,\r
-        "y": 1997,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1125,\r
+        "y": 1962,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d1396ed.19b6f8",\r
+        "id": "f7d70d92.8a17d",\r
         "type": "set",\r
         "name": "unset otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otn-tunnels-name-list.`' value='' />\n<parameter name='`otn-tunnels-name-list_length`' value='0' />\n<parameter name='`otntunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 597.8833312988281,\r
-        "y": 1637,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 568,\r
+        "y": 1602,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1b4871a6.1cd8a6",\r
+        "id": "93ecab9f.5bb27",\r
         "type": "set",\r
         "name": "set filename",\r
         "xml": "<set>\n<parameter name='filenamecllotns' value=\"`leafrootOTNtunnelnames`\" />",\r
         "comments": "",\r
-        "x": 352.8833312988281,\r
-        "y": 2016,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 323,\r
+        "y": 1981,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "48083140.e99758",\r
+        "id": "e1bf516d.80132",\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=\"`$filenamecllotns`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 360.8833312988281,\r
-        "y": 2073,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 331,\r
+        "y": 2038,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d97c4e37.51bad8",\r
+        "id": "c0f4e533.035be8",\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.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1371.8833312988281,\r
-        "y": 1622,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1342,\r
+        "y": 1587,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3df77641.8d727a",\r
-                "f024d61d.5a31c"\r
+                "ff9a5641.69fda",\r
+                "a44c9ce4.5d2008"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f024d61d.5a31c",\r
+        "id": "a44c9ce4.5d2008",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1594.8833312988281,\r
-        "y": 1577,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1565,\r
+        "y": 1542,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "3c67000e.e921c"\r
+                "eaca171f.944a48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3df77641.8d727a",\r
+        "id": "ff9a5641.69fda",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1596.8833312988281,\r
-        "y": 1641,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1567,\r
+        "y": 1606,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "de64177a.8916f"\r
+                "93d69fa.52d496"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c67000e.e921c",\r
+        "id": "eaca171f.944a48",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1759.8833312988281,\r
-        "y": 1574,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1730,\r
+        "y": 1539,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "9bea7c66.5f62c8"\r
+                "b0447236.92d3b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "de64177a.8916f",\r
+        "id": "93d69fa.52d496",\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": 1758.8833312988281,\r
-        "y": 1637,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1729,\r
+        "y": 1602,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9bea7c66.5f62c8",\r
+        "id": "b0447236.92d3b",\r
         "type": "set",\r
         "name": "set tmp.uni-node-id-short",\r
         "xml": "<set>\n<parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />\n",\r
         "comments": "",\r
-        "x": 1979.8833312988281,\r
-        "y": 1588,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1950,\r
+        "y": 1553,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7a38583b.020a88",\r
+        "id": "ab15b7a9.bc6bc8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1524.8833312988281,\r
-        "y": 2313,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1495,\r
+        "y": 2278,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "c388a6bf.f87f3"\r
+                "be2440af.c20c98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2f5b878.ad169",\r
+        "id": "1405448e.40f263",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1909.8833312988281,\r
-        "y": 2326,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1880,\r
+        "y": 2291,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7866488b.2039a8",\r
-                "bdc692ef.1c0858",\r
-                "823a852f.40d29"\r
+                "facba133.b01618",\r
+                "36457cd.f85a104",\r
+                "a0c24437.cf174"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c388a6bf.f87f3",\r
+        "id": "be2440af.c20c98",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1703.8833312988281,\r
-        "y": 2313,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1674,\r
+        "y": 2278,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "5c79d6d8.a6a8e",\r
-                "a2f5b878.ad169"\r
+                "eec40e11.9fdab",\r
+                "1405448e.40f263"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5c79d6d8.a6a8e",\r
+        "id": "eec40e11.9fdab",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainConn id",\r
         "xml": "<set>\n<parameter name='tmp.domainConn.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 1939.8833312988281,\r
-        "y": 2274,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1910,\r
+        "y": 2239,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7866488b.2039a8",\r
+        "id": "facba133.b01618",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2119.883331298828,\r
-        "y": 2317,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2090,\r
+        "y": 2282,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "4da79570.cd80cc"\r
+                "926a046d.eed228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bdc692ef.1c0858",\r
+        "id": "36457cd.f85a104",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2111.883331298828,\r
-        "y": 2372,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2082,\r
+        "y": 2337,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "5ef7fec5.5efb98"\r
+                "6ca22053.c9fba8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "823a852f.40d29",\r
+        "id": "a0c24437.cf174",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2116.883331298828,\r
-        "y": 2429,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2087,\r
+        "y": 2394,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "57488074.1d65e"\r
+                "f91dd017.676d7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "57488074.1d65e",\r
+        "id": "f91dd017.676d7",\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": 2268.883331298828,\r
-        "y": 2430,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2239,\r
+        "y": 2395,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5ef7fec5.5efb98",\r
+        "id": "6ca22053.c9fba8",\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": 2279.883331298828,\r
-        "y": 2375,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2250,\r
+        "y": 2340,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4da79570.cd80cc",\r
+        "id": "926a046d.eed228",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2264.265655517578,\r
-        "y": 2314.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2234.38232421875,\r
+        "y": 2279.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "69f8caaf.bba51c"\r
+                "1e25e04f.ee7df"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69f8caaf.bba51c",\r
+        "id": "1e25e04f.ee7df",\r
         "type": "set",\r
         "name": "set controller domainConn data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 2478.883331298828,\r
-        "y": 2311,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 2449,\r
+        "y": 2276,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "53cc84ce.e1faf4",\r
+        "id": "46842cb8.91c5bc",\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.pnf-name-forUrl\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 602.8833312988281,\r
-        "y": 2359,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 573,\r
+        "y": 2324,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "bb343bdc.881868",\r
-                "8bc84f5e.0473d8",\r
-                "78444b47.33ec34"\r
+                "80e94eed.70f82",\r
+                "e1101309.b00428",\r
+                "6cefa506.12a2dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb343bdc.881868",\r
+        "id": "80e94eed.70f82",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 798.3834533691406,\r
-        "y": 2311,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 768.5001220703125,\r
+        "y": 2276,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "bf3ecbb9.4dd008"\r
+                "a961cabf.5d77d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8bc84f5e.0473d8",\r
+        "id": "e1101309.b00428",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 790.3834533691406,\r
-        "y": 2366,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 760.5001220703125,\r
+        "y": 2331,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "ef40b092.bc09e"\r
+                "cfce6a08.8d1818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf3ecbb9.4dd008",\r
+        "id": "a961cabf.5d77d8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 942.7657775878906,\r
-        "y": 2310.6556701660156,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 912.8824462890625,\r
+        "y": 2275.6556701660156,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "1285266.d4ce8da"\r
+                "41f5578e.096c08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1285266.d4ce8da",\r
+        "id": "41f5578e.096c08",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1126.8833312988281,\r
-        "y": 2309,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1097,\r
+        "y": 2274,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "640d04c1.8428dc"\r
+                "78702bad.3695f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "640d04c1.8428dc",\r
+        "id": "78702bad.3695f4",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1321.8833312988281,\r
-        "y": 2309,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1292,\r
+        "y": 2274,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "7a38583b.020a88"\r
+                "ab15b7a9.bc6bc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78444b47.33ec34",\r
+        "id": "6cefa506.12a2dc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 795.3834533691406,\r
-        "y": 2423,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 765.5001220703125,\r
+        "y": 2388,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "b417de17.8b3a6"\r
+                "bbb236e9.1d475"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b417de17.8b3a6",\r
+        "id": "bbb236e9.1d475",\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": 947.3834533691406,\r
-        "y": 2424,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 917.5001220703125,\r
+        "y": 2389,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ef40b092.bc09e",\r
+        "id": "cfce6a08.8d1818",\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": 958.3834533691406,\r
-        "y": 2367,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 928.5001220703125,\r
+        "y": 2332,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fc4eafc.4810e5",\r
+        "id": "fd11a034.71ffe8",\r
         "type": "set",\r
         "name": "set tmp.pnf-name-forUrl",\r
         "xml": "<set>\n\n<parameter name='tmp.pnf-name-forUrl' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 592.8833312988281,\r
-        "y": 2271,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 563,\r
+        "y": 2236,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d94511cd.5d63f",\r
+        "id": "2ab715a0.ab46a2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 337.8833312988281,\r
-        "y": 2402,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 308,\r
+        "y": 2367,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": [\r
             [\r
-                "fc4eafc.4810e5",\r
-                "53cc84ce.e1faf4"\r
+                "fd11a034.71ffe8",\r
+                "46842cb8.91c5bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a955b8d.047dd4",\r
+        "id": "c68339b5.636678",\r
         "type": "comment",\r
         "name": "Temporary skipping this check - to support multiple instances in one slice",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1552.8500061035156,\r
-        "y": 219.88333129882812,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 1522.9666748046875,\r
+        "y": 184.88333129882812,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9a0e1ef7.428b9",\r
+        "id": "6b1a691d.f6617",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 754.8833312988281,\r
-        "y": 442,\r
-        "z": "db287b1f.2984a8",\r
+        "x": 725,\r
+        "y": 407,\r
+        "z": "5a4cb919.dfff38",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "a46faf22.6dbda8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 284.5,\r
+        "y": 1376,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "64de189c.ea0ca",\r
+                "eda2f0f7.d8fb38",\r
+                "dc7d7df9.afb81",\r
+                "c70f6326.e297a",\r
+                "445d8bb1.6c470c",\r
+                "925823e9.1c4a4",\r
+                "f7d70d92.8a17d",\r
+                "93ecab9f.5bb27",\r
+                "e1bf516d.80132",\r
+                "2ab715a0.ab46a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee82569c.a25768",\r
+        "type": "switchNode",\r
+        "name": "switch uni type",\r
+        "xml": "<switch test=\"`$tmp.aai.uni.type`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1315,\r
+        "y": 1214,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "ef11d348.e67b18",\r
+                "db4eac49.9ee78",\r
+                "ccd7386e.438c4",\r
+                "8a1e26c1.925918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef11d348.e67b18",\r
+        "type": "outcome",\r
+        "name": "leaf",\r
+        "xml": "<outcome value='leaf'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1480,\r
+        "y": 1196,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "1989ebd9.8b76bc",\r
+                "9d25e547.75567"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db4eac49.9ee78",\r
+        "type": "outcome",\r
+        "name": "root",\r
+        "xml": "<outcome value='root'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1483,\r
+        "y": 1235,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "9da50ff.0241af",\r
+                "52a255e0.e77dec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a1e26c1.925918",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1477,\r
+        "y": 1313,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "af3eb285.34bda8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccd7386e.438c4",\r
+        "type": "outcome",\r
+        "name": "root-secondary",\r
+        "xml": "<outcome value='root-secondary'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1500,\r
+        "y": 1276,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            [\r
+                "8dd3ee03.704618",\r
+                "3acf3b0f.3b0184"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dd3ee03.704618",\r
+        "type": "set",\r
+        "name": "unset ethernet-srv-end-points-list",\r
+        "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
+        "comments": "",\r
+        "x": 2046,\r
+        "y": 1309,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3acf3b0f.3b0184",\r
+        "type": "set",\r
+        "name": "set leafOrRootAccess",\r
+        "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-secondary' />\n",\r
+        "comments": "",\r
+        "x": 2008,\r
+        "y": 1349,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af3eb285.34bda8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1629,\r
+        "y": 1334,\r
+        "z": "5a4cb919.dfff38",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
 ]
\ No newline at end of file
index 891b0ab..459577c 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "66573054.d6959",\r
+        "id": "2b7da8b.17ed9d8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 230,\r
-        "y": 62,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 248,\r
+        "y": 45,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "88fd1149.f833f"\r
+                "970691bb.ddc15"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "88fd1149.f833f",\r
+        "id": "970691bb.ddc15",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 514.2856903076172,\r
-        "y": 123.23810863494873,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 532.2856903076172,\r
+        "y": 106.23810863494873,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "4c164ab.c48bfb4"\r
+                "60aef583.9235ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4c164ab.c48bfb4",\r
+        "id": "60aef583.9235ac",\r
         "type": "method",\r
         "name": "method cll-vnf-topology-operation-cll-F1",\r
         "xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 430.4285888671875,\r
-        "y": 201.00003051757812,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 448.4285888671875,\r
+        "y": 184.00003051757812,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "e2c1e393.f72a2"\r
+                "aea204d6.6a791"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2c1e393.f72a2",\r
+        "id": "aea204d6.6a791",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 164.238037109375,\r
-        "y": 704.6666870117188,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 182.238037109375,\r
+        "y": 687.6666870117188,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "35872244.0dadfe",\r
-                "76353aba.1a1834",\r
-                "1a3db60a.42601a",\r
-                "cde65043.1c4f8",\r
-                "5f4f339e.018654",\r
-                "6f21b0a4.c1ba8",\r
-                "19956ea.f245091"\r
+                "8d663f65.8f74e8",\r
+                "8c3bad0a.2ae1e",\r
+                "7334fea3.c843f",\r
+                "322c901e.38e458",\r
+                "363053e.3c7802c",\r
+                "6a3e2f90.eef6e",\r
+                "65e8fb60.0959f4",\r
+                "af2be5de.84caa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "35872244.0dadfe",\r
+        "id": "8d663f65.8f74e8",\r
         "type": "set",\r
         "name": "set query_param",\r
         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
         "comments": "",\r
-        "x": 437,\r
-        "y": 659,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 455,\r
+        "y": 642,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "76353aba.1a1834",\r
+        "id": "8c3bad0a.2ae1e",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 658,\r
-        "y": 727,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 676,\r
+        "y": 710,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1a3db60a.42601a",\r
+        "id": "7334fea3.c843f",\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": 448,\r
-        "y": 773,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 466,\r
+        "y": 756,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "19956ea.f245091",\r
+        "id": "6a3e2f90.eef6e",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 641,\r
-        "y": 837,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 659,\r
+        "y": 820,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cde65043.1c4f8",\r
+        "id": "65e8fb60.0959f4",\r
         "type": "for",\r
         "name": "for vidx..tmp.otninfo_length[]",\r
         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 468,\r
-        "y": 993,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 751,\r
+        "y": 1199,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "53111f1b.5dbab"\r
+                "c2ebc420.8ee88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "53111f1b.5dbab",\r
+        "id": "c2ebc420.8ee88",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737,\r
-        "y": 993,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 972.9999694824219,\r
+        "y": 1211,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "78857b79.cfe234",\r
-                "b3432980.49ee6",\r
-                "233e999f.144d9e",\r
-                "7a85fbed.abf844",\r
-                "715b7a53.d039d4",\r
-                "13d7f319.f10ffd",\r
-                "fe43d4e7.2e266",\r
-                "9673bbc9.e232d8",\r
-                "8c1ff0ec.d0238",\r
-                "84f3d24d.36c17"\r
+                "2cc97555.3fad02",\r
+                "78caef7b.ab95f8",\r
+                "9c05f571.1eb168",\r
+                "eda8e4ad.92ee8",\r
+                "a27c8181.cf517",\r
+                "e500131.d3db37",\r
+                "b4245913.ae7bb",\r
+                "ac5e1496.5bc93",\r
+                "6299b58a.3a41b4",\r
+                "6cd61101.45105"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78857b79.cfe234",\r
+        "id": "2cc97555.3fad02",\r
         "type": "execute",\r
         "name": "execute UUID generator for vpn-binding $otnidx",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1630,\r
-        "y": 807,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1648,\r
+        "y": 790,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b3432980.49ee6",\r
+        "id": "78caef7b.ab95f8",\r
         "type": "switchNode",\r
         "name": "switch dstPort == NULL",\r
         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1344,\r
-        "y": 897,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1362,\r
+        "y": 880,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "fb6a4667.5dee4",\r
-                "8968ad13.112c48"\r
+                "b4cf3f6b.7b5288",\r
+                "f7c5eac6.57b338"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb6a4667.5dee4",\r
+        "id": "b4cf3f6b.7b5288",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1710,\r
-        "y": 858,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1728,\r
+        "y": 841,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "38cd80d0.a81b08"\r
+                "7ef1427a.0fd4ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8968ad13.112c48",\r
+        "id": "f7c5eac6.57b338",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1711,\r
-        "y": 904,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1729,\r
+        "y": 887,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "12ac055c.676cf3"\r
+                "26ca350f.1d9a8a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38cd80d0.a81b08",\r
+        "id": "7ef1427a.0fd4ac",\r
         "type": "set",\r
         "name": "set access-provider-id and client-id",\r
         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
         "comments": "",\r
-        "x": 1924,\r
-        "y": 857,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1942,\r
+        "y": 840,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "12ac055c.676cf3",\r
+        "id": "26ca350f.1d9a8a",\r
         "type": "set",\r
         "name": "set access-provider-id and client-id",\r
         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
         "comments": "",\r
-        "x": 1922,\r
-        "y": 902,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1940,\r
+        "y": 885,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "233e999f.144d9e",\r
+        "id": "9c05f571.1eb168",\r
         "type": "set",\r
         "name": "set srcdstpnf-name",\r
         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1520,\r
-        "y": 971,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1538,\r
+        "y": 954,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7a85fbed.abf844",\r
+        "id": "eda8e4ad.92ee8",\r
         "type": "get-resource",\r
         "name": "get-resource tmp.srcdstpnf-name",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1564,\r
-        "y": 1019,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1582,\r
+        "y": 1002,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "85cf2b2f.efe2d8",\r
-                "40c18c0.1c43574",\r
-                "e3b12e57.7afb78"\r
+                "79ecfb4e.255ea4",\r
+                "441f51df.f58208",\r
+                "204f27c3.a07c18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85cf2b2f.efe2d8",\r
+        "id": "79ecfb4e.255ea4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1776.5,\r
-        "y": 966,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1794.5,\r
+        "y": 949,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "7b23fddb.009994"\r
+                "eac32b1e.ec64f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40c18c0.1c43574",\r
+        "id": "441f51df.f58208",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1788.5,\r
-        "y": 1016,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1806.5,\r
+        "y": 999,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "317c3552.8ea652"\r
+                "4a1b3b6f.aa547c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3b12e57.7afb78",\r
+        "id": "204f27c3.a07c18",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1779.5,\r
-        "y": 1071,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1797.5,\r
+        "y": 1054,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "c0e357e5.8168d8"\r
+                "afa61155.e3e4f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c0e357e5.8168d8",\r
+        "id": "afa61155.e3e4f",\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": 1924.5,\r
-        "y": 1070,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1942.5,\r
+        "y": 1053,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "317c3552.8ea652",\r
+        "id": "4a1b3b6f.aa547c",\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": 1935.5,\r
-        "y": 1013,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1953.5,\r
+        "y": 996,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7b23fddb.009994",\r
+        "id": "eac32b1e.ec64f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1901.8824462890625,\r
-        "y": 959.6556701660156,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1919.8824462890625,\r
+        "y": 942.6556701660156,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "f3d54fb4.5c0a1"\r
+                "3c0a3138.bdd26e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f3d54fb4.5c0a1",\r
+        "id": "3c0a3138.bdd26e",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2063,\r
-        "y": 974,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2081,\r
+        "y": 957,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "763118b6.61e2b8"\r
+                "e187685d.0e36b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "763118b6.61e2b8",\r
+        "id": "e187685d.0e36b8",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2258,\r
-        "y": 974,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2276,\r
+        "y": 957,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "45a9ec7c.a92c4c"\r
+                "124aeba.98fab14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6fd0244b.f38ce4",\r
+        "id": "48b536ea.5f9248",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2638,\r
-        "y": 970,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2656,\r
+        "y": 953,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "e527c2f.df2fcc",\r
-                "56d60802.89ee28"\r
+                "c8495fb1.c63f38",\r
+                "9a0b489a.f82b3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56d60802.89ee28",\r
+        "id": "9a0b489a.f82b3",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2846,\r
-        "y": 977,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2864,\r
+        "y": 960,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "b854345d.faf84",\r
-                "437ea2b.b00f35c",\r
-                "fed3318a.a11e3"\r
+                "ff325fba.81a3f",\r
+                "5e11cb23.ea8384",\r
+                "435ef02b.e0a51"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e527c2f.df2fcc",\r
+        "id": "c8495fb1.c63f38",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainG id",\r
         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 2876,\r
-        "y": 925,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2894,\r
+        "y": 908,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b854345d.faf84",\r
+        "id": "ff325fba.81a3f",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3056,\r
-        "y": 968,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3074,\r
+        "y": 951,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "918d39ea.cf7f2"\r
+                "3437139a.bfdd9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "437ea2b.b00f35c",\r
+        "id": "5e11cb23.ea8384",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3048,\r
-        "y": 1023,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3066,\r
+        "y": 1006,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "1afabba1.4179cc"\r
+                "db1340d4.287d2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fed3318a.a11e3",\r
+        "id": "435ef02b.e0a51",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3053,\r
-        "y": 1080,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3071,\r
+        "y": 1063,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "e095e0e5.375ba"\r
+                "c8c2b440.36c658"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e095e0e5.375ba",\r
+        "id": "c8c2b440.36c658",\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": 3205,\r
-        "y": 1081,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3223,\r
+        "y": 1064,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1afabba1.4179cc",\r
+        "id": "db1340d4.287d2",\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": 3216,\r
-        "y": 1026,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3234,\r
+        "y": 1009,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "918d39ea.cf7f2",\r
+        "id": "3437139a.bfdd9c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3200.38232421875,\r
-        "y": 965.6556701660156,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3218.38232421875,\r
+        "y": 948.6556701660156,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "47a021ef.066c88"\r
+                "e7684b.19d5f7b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "45a9ec7c.a92c4c",\r
+        "id": "124aeba.98fab14",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2461,\r
-        "y": 978,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2479,\r
+        "y": 961,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "6fd0244b.f38ce4"\r
+                "48b536ea.5f9248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47a021ef.066c88",\r
+        "id": "e7684b.19d5f7b8",\r
         "type": "set",\r
         "name": "set controller domainA data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 3415,\r
-        "y": 962,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3433,\r
+        "y": 945,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "715b7a53.d039d4",\r
+        "id": "a27c8181.cf517",\r
         "type": "switchNode",\r
         "name": "switch dmnsidx == 0 (domainA)",\r
         "xml": "<switch test='`$otnidx == 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1534,\r
-        "y": 1188,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1552,\r
+        "y": 1171,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "f53c2621.eb9438",\r
-                "1c719c21.ec9b04"\r
+                "55f451b.c21bcb",\r
+                "148790b5.591b8f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f53c2621.eb9438",\r
+        "id": "55f451b.c21bcb",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1735,\r
-        "y": 1186,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1753,\r
+        "y": 1169,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "39a7b2e1.a50fbe"\r
+                "190bbee0.fdc3a1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b0d2a923.51103",\r
+        "id": "a4ef5898.fcc6d8",\r
         "type": "set",\r
         "name": "set pce-src-node",\r
         "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
         "comments": "",\r
-        "x": 2016,\r
-        "y": 1136,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2034,\r
+        "y": 1119,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c9652673.c83de8",\r
+        "id": "82a35f7.532ff2",\r
         "type": "switchNode",\r
         "name": "switch dmnsidx == last (domainB)",\r
         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1952,\r
-        "y": 1237,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1970,\r
+        "y": 1220,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "ab876b76.0d0a8",\r
-                "2a964a93.a3cb96"\r
+                "151d6bac.6b36ac",\r
+                "e7ce23ad.f63438"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab876b76.0d0a8",\r
+        "id": "151d6bac.6b36ac",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2182,\r
-        "y": 1233,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2200,\r
+        "y": 1216,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "62dd94dd.71b75c"\r
+                "1bd30175.73854f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c719c21.ec9b04",\r
+        "id": "148790b5.591b8f",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1735,\r
-        "y": 1235,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1753,\r
+        "y": 1218,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "c9652673.c83de8"\r
+                "82a35f7.532ff2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a964a93.a3cb96",\r
+        "id": "e7ce23ad.f63438",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2183,\r
-        "y": 1279,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2201,\r
+        "y": 1262,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "1f38645a.fd2454"\r
+                "3d6b9433.a347bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f38645a.fd2454",\r
+        "id": "3d6b9433.a347bc",\r
         "type": "set",\r
         "name": "set attachment_param domain G",\r
         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
         "comments": "",\r
-        "x": 2397,\r
-        "y": 1279,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2415,\r
+        "y": 1262,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ada84f30.11bba8",\r
+        "id": "308a9211.a77236",\r
         "type": "set",\r
         "name": "set attachment_param domain A",\r
         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
         "comments": "",\r
-        "x": 2071,\r
-        "y": 1183,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2089,\r
+        "y": 1166,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "39a7b2e1.a50fbe",\r
+        "id": "190bbee0.fdc3a1",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1859,\r
-        "y": 1177,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1877,\r
+        "y": 1160,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "ada84f30.11bba8"\r
+                "308a9211.a77236"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62dd94dd.71b75c",\r
+        "id": "1bd30175.73854f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2315,\r
-        "y": 1209,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2333,\r
+        "y": 1192,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "c86a8489.80e7c"\r
+                "9e7d0c9c.28922"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dce0c80a.efad",\r
+        "id": "9261980e.04515",\r
         "type": "set",\r
         "name": "set pce-src-node",\r
         "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
         "comments": "",\r
-        "x": 2471,\r
-        "y": 1225,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2489,\r
+        "y": 1208,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c86a8489.80e7c",\r
+        "id": "9e7d0c9c.28922",\r
         "type": "set",\r
         "name": "set attachment_param domain B",\r
         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
         "comments": "",\r
-        "x": 2519,\r
-        "y": 1177,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2537,\r
+        "y": 1160,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6f21b0a4.c1ba8",\r
+        "id": "363053e.3c7802c",\r
         "type": "set",\r
         "name": "unset parameters",\r
         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 404,\r
-        "y": 2903,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 423.99993896484375,\r
+        "y": 3813.000244140625,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5f4f339e.018654",\r
+        "id": "322c901e.38e458",\r
         "type": "set",\r
         "name": "set srcTtp OTN layer",\r
         "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 445,\r
-        "y": 915,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 463,\r
+        "y": 898,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "13d7f319.f10ffd",\r
+        "id": "e500131.d3db37",\r
         "type": "set",\r
         "name": "set srcTtp+dstTtp pair",\r
         "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n                                               $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 1510,\r
-        "y": 1268,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1528,\r
+        "y": 1251,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9673bbc9.e232d8",\r
+        "id": "ac5e1496.5bc93",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1703,\r
-        "y": 1365,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1719.9999694824219,\r
+        "y": 1349,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fe43d4e7.2e266",\r
+        "id": "b4245913.ae7bb",\r
         "type": "set",\r
         "name": "set current-provider-id and current-cvlan-id",\r
         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",\r
         "comments": "",\r
-        "x": 1574,\r
-        "y": 1319,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1592,\r
+        "y": 1302,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c1ff0ec.d0238",\r
+        "id": "6299b58a.3a41b4",\r
         "type": "switchNode",\r
         "name": "switch found-connectivity?",\r
         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1383,\r
-        "y": 1520,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1401,\r
+        "y": 1503,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "43f2090.27bb178",\r
-                "78a0670.cf2d998"\r
+                "2ae1d3e2.c44d5c",\r
+                "7342444f.5f3ea4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43f2090.27bb178",\r
+        "id": "2ae1d3e2.c44d5c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1669,\r
-        "y": 2339,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1687,\r
+        "y": 2322,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "c80f5b2c.e8799"\r
+                "27e9b59e.2795c2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "340621d.c4a9c5e",\r
+        "id": "8ba690d8.c6505",\r
         "type": "comment",\r
         "name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
         "info": "if it had: then no new otn/vpn-binding is needed\n           ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n           ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",\r
         "comments": "",\r
-        "x": 2095,\r
-        "y": 2284,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2113,\r
+        "y": 2267,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b5382f7e.2bd898",\r
+        "id": "6f1cf403.6bf7dc",\r
         "type": "comment",\r
-        "name": "create a new connectivity",\r
+        "name": "create a new connectivity - (for dummy connectivity)",\r
         "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",\r
         "comments": "",\r
-        "x": 1906,\r
-        "y": 1496,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1979.9999694824219,\r
+        "y": 1465,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "be6ceee2.825c9",\r
+        "id": "570cc158.1e1d08",\r
         "type": "save",\r
         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2009,\r
-        "y": 1532,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2027,\r
+        "y": 1515,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "cf21392c.4841d8"\r
+                "e9e323ca.2e498"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf21392c.4841d8",\r
+        "id": "e9e323ca.2e498",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2297,\r
-        "y": 1533,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2315,\r
+        "y": 1516,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "7f292268.acccbc"\r
+                "f5fef51a.3d04f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f292268.acccbc",\r
+        "id": "f5fef51a.3d04f8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2480.5,\r
-        "y": 1531.25390625,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2498.5,\r
+        "y": 1514.25390625,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "16c5a50f.2f8633",\r
+        "id": "12f528da.eadc7f",\r
         "type": "execute",\r
         "name": "execute string.contains srcTtpdstTtpPair",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2083,\r
-        "y": 2336,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2101,\r
+        "y": 2319,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "452b77d1.b4f2a8",\r
-                "b1806606.25c148"\r
+                "8dd1e788.b5dd4",\r
+                "6a3cb15d.6fc0f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "452b77d1.b4f2a8",\r
+        "id": "8dd1e788.b5dd4",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2256,\r
-        "y": 2184,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2274,\r
+        "y": 2167,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b1806606.25c148",\r
+        "id": "6a3cb15d.6fc0f8",\r
         "type": "outcomeFalse",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2288,\r
-        "y": 2443,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2306,\r
+        "y": 2426,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "28b98f8a.d66ba8"\r
+                "7ecab95b.cd5a18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "65dfad8a.1bcc14",\r
+        "id": "82bc647c.2cf778",\r
         "type": "save",\r
         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2695,\r
-        "y": 1974,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2713,\r
+        "y": 1957,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "685af2d8.b662dc"\r
+                "6754cf0f.d24068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "685af2d8.b662dc",\r
+        "id": "6754cf0f.d24068",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2999,\r
-        "y": 1971,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3017,\r
+        "y": 1954,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "edef5d31.f27bb8"\r
+                "a854224c.98a058"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "edef5d31.f27bb8",\r
+        "id": "a854224c.98a058",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3149.5,\r
-        "y": 1978.25390625,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3167.5,\r
+        "y": 1961.25390625,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fca1e078.90281",\r
+        "id": "87b5ce3b.8ef938",\r
         "type": "execute",\r
         "name": "execute UUID generator for connectivity domain otnidx",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1989,\r
-        "y": 1587,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2007,\r
+        "y": 1570,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "84e90fcb.be7ce",\r
+        "id": "6a69c0c.0beb14",\r
         "type": "save",\r
         "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1927,\r
-        "y": 1637,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1945,\r
+        "y": 1620,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "548a399a.3a9a1",\r
+        "id": "a4e3ab7a.498dc8",\r
         "type": "save",\r
         "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2028,\r
-        "y": 1682,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2046,\r
+        "y": 1665,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ea27a84e.a57e98",\r
+        "id": "909dac00.1cdf4",\r
         "type": "save",\r
         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2064,\r
-        "y": 1736,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2082,\r
+        "y": 1719,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "688a1580.c26934",\r
+        "id": "30650806.4cf508",\r
         "type": "save",\r
         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2032,\r
-        "y": 1795,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2050,\r
+        "y": 1778,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ab8e2668.029e08",\r
+        "id": "a06d70ba.206bf",\r
         "type": "comment",\r
         "name": "find middle-man's eth-srv-name",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1490,\r
-        "y": 1411,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1508,\r
+        "y": 1394,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "84f3d24d.36c17",\r
+        "id": "6cd61101.45105",\r
         "type": "set",\r
         "name": "set prop.ethernet-service-name",\r
         "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
         "comments": "",\r
-        "x": 1512,\r
-        "y": 1455,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1530,\r
+        "y": 1438,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ae53151f.a2887",\r
+        "id": "78936cec.4008d4",\r
         "type": "save",\r
         "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2719,\r
-        "y": 2191,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2737,\r
+        "y": 2174,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4e7cd680.120818",\r
+        "id": "8c815ed6.372fa",\r
         "type": "save",\r
         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2750,\r
-        "y": 2230,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2768,\r
+        "y": 2213,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ecdbcb6.a92d738",\r
+        "id": "add6fed7.67e35",\r
         "type": "save",\r
         "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2721,\r
-        "y": 2303,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2739,\r
+        "y": 2286,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "82dff351.eb0b18",\r
+        "id": "8ad8acf7.e8e67",\r
         "type": "comment",\r
         "name": "update the founded connectivity to have a new coupling-flag",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2691,\r
-        "y": 2019,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2709,\r
+        "y": 2002,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4af074ca.bd591c",\r
+        "id": "8ca2b693.c50608",\r
         "type": "set",\r
         "name": "set newFlag",\r
         "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n                                               $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 2577,\r
-        "y": 2058,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2595,\r
+        "y": 2041,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5e632476.eb799c",\r
+        "id": "9f51b095.94fd08",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2641,\r
-        "y": 2103,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2659,\r
+        "y": 2086,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6b3b57c6.7c8f5",\r
+        "id": "58d04196.f5778",\r
         "type": "comment",\r
         "name": "the following two relationships should have already been there; if not => error",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2733,\r
-        "y": 2153,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2751,\r
+        "y": 2136,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "453ea410.800c04",\r
+        "id": "832e8c75.f85478",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1719,\r
-        "y": 1520,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1737,\r
+        "y": 1503,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "be6ceee2.825c9",\r
-                "fca1e078.90281",\r
-                "84e90fcb.be7ce",\r
-                "548a399a.3a9a1",\r
-                "ea27a84e.a57e98",\r
-                "688a1580.c26934"\r
+                "570cc158.1e1d08",\r
+                "87b5ce3b.8ef938",\r
+                "6a69c0c.0beb14",\r
+                "a4e3ab7a.498dc8",\r
+                "909dac00.1cdf4",\r
+                "30650806.4cf508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78a0670.cf2d998",\r
+        "id": "7342444f.5f3ea4",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1581,\r
-        "y": 1516,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 1599,\r
+        "y": 1499,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "453ea410.800c04"\r
+                "832e8c75.f85478"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c80f5b2c.e8799",\r
+        "id": "27e9b59e.2795c2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2379,\r
-        "y": 1983,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2397,\r
+        "y": 1966,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "65dfad8a.1bcc14",\r
-                "4af074ca.bd591c",\r
-                "5e632476.eb799c",\r
-                "ecdbcb6.a92d738"\r
+                "82bc647c.2cf778",\r
+                "8ca2b693.c50608",\r
+                "9f51b095.94fd08",\r
+                "add6fed7.67e35"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5aa86ab.3de758",\r
+        "id": "ddcfbda0.672cc",\r
         "type": "comment",\r
         "name": "loop through the relationships of this founded connectivity, then",\r
         "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
         "comments": "",\r
-        "x": 2384,\r
-        "y": 2408,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2402,\r
+        "y": 2391,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8608bc09.df0608",\r
+        "id": "86c04fbf.f3fdf8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2726,\r
-        "y": 2444,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2744,\r
+        "y": 2427,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "5d08ac03.36d834"\r
+                "d9d55075.06cb88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d08ac03.36d834",\r
+        "id": "d9d55075.06cb88",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2938,\r
-        "y": 2442,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2956,\r
+        "y": 2425,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "d7fbd393.802b28"\r
+                "b5809f3c.79c17"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7fbd393.802b28",\r
+        "id": "b5809f3c.79c17",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3122,\r
-        "y": 2440,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3140,\r
+        "y": 2423,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "7b17a25c.8a3ecc"\r
+                "17f341d4.56b9ee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b17a25c.8a3ecc",\r
+        "id": "17f341d4.56b9ee",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3301,\r
-        "y": 2445,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3319,\r
+        "y": 2428,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "404536aa.fd072",\r
-                "ebe21a38.772d1"\r
+                "77bff99b.403968",\r
+                "813820e1.d9db2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebe21a38.772d1",\r
+        "id": "813820e1.d9db2",\r
         "type": "set",\r
         "name": "unset tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
         "comments": "",\r
-        "x": 3518,\r
-        "y": 2376,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3536,\r
+        "y": 2359,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "404536aa.fd072",\r
+        "id": "77bff99b.403968",\r
         "type": "save",\r
         "name": "get vpn-binding from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3511,\r
-        "y": 2462,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3529,\r
+        "y": 2445,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "82eb023b.8b6878",\r
-                "3917c696.d9cc82",\r
-                "ad895865.ea3bc8"\r
+                "574e7a35.7acb64",\r
+                "72ff429d.0f84dc",\r
+                "d88724e6.b16bd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3917c696.d9cc82",\r
+        "id": "72ff429d.0f84dc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3724.490966796875,\r
-        "y": 2446.5740356445312,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3742.490966796875,\r
+        "y": 2429.5740356445312,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "33dd47ac.b200d"\r
+                "47df6bef.c00ec4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33dd47ac.b200d",\r
+        "id": "47df6bef.c00ec4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3887.0625,\r
-        "y": 2445.8597412109375,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3905.0625,\r
+        "y": 2428.8597412109375,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "49f1ea3b.eabc34",\r
+        "id": "25a6a90d.740966",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3888,\r
-        "y": 2491,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3906,\r
+        "y": 2474,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ad895865.ea3bc8",\r
+        "id": "d88724e6.b16bd8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3720,\r
-        "y": 2491,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3738,\r
+        "y": 2474,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "49f1ea3b.eabc34"\r
+                "25a6a90d.740966"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82eb023b.8b6878",\r
+        "id": "574e7a35.7acb64",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3722,\r
-        "y": 2551,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3740,\r
+        "y": 2534,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "cb43f8c5.5d2f9"\r
+                "fafaf735.33502"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cb43f8c5.5d2f9",\r
+        "id": "fafaf735.33502",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3891,\r
-        "y": 2550,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 3909,\r
+        "y": 2533,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "b8d3290b.70429"\r
+                "dbd3b6f8.ffc688"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "28b98f8a.d66ba8",\r
+        "id": "7ecab95b.cd5a18",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2515,\r
-        "y": 2442,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2533,\r
+        "y": 2425,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "8608bc09.df0608",\r
-                "57ababe0.ec3414",\r
-                "52276af3.2f9a4c"\r
+                "86c04fbf.f3fdf8",\r
+                "3d93e24d.201056",\r
+                "18210d7a.52f32b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8d3290b.70429",\r
+        "id": "dbd3b6f8.ffc688",\r
         "type": "switchNode",\r
         "name": "switch srcTtp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4090,\r
-        "y": 2551,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4108,\r
+        "y": 2534,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "4ce3e8eb.f24da8"\r
+                "f13865e2.850a98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ce3e8eb.f24da8",\r
+        "id": "f13865e2.850a98",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4253,\r
-        "y": 2549,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4271,\r
+        "y": 2532,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "18f785cc.cf347a"\r
+                "9cbb1279.26e6c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "18f785cc.cf347a",\r
+        "id": "9cbb1279.26e6c",\r
         "type": "switchNode",\r
         "name": "switch dstTtp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4434,\r
-        "y": 2549,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4452,\r
+        "y": 2532,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "988f1cd5.aa027"\r
+                "9f041833.a96178"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "988f1cd5.aa027",\r
+        "id": "9f041833.a96178",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4597,\r
-        "y": 2547,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4615,\r
+        "y": 2530,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "9caa890d.344aa8"\r
+                "7a99f43e.47072c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd1b26b2.35eef",\r
+        "id": "3d307538.ff5302",\r
         "type": "set",\r
         "name": "set tmp.the-vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
         "comments": "",\r
-        "x": 4954,\r
-        "y": 2554,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4972,\r
+        "y": 2537,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9caa890d.344aa8",\r
+        "id": "7a99f43e.47072c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4736,\r
-        "y": 2546,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4754,\r
+        "y": 2529,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             [\r
-                "dd1b26b2.35eef",\r
-                "69c80295.f3b48c"\r
+                "3d307538.ff5302",\r
+                "9c163e19.5e2778"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69c80295.f3b48c",\r
+        "id": "9c163e19.5e2778",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4900,\r
-        "y": 2598,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 4918,\r
+        "y": 2581,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57ababe0.ec3414",\r
+        "id": "3d93e24d.201056",\r
         "type": "set",\r
         "name": "unset tmp.the-vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
         "comments": "",\r
-        "x": 2736,\r
-        "y": 2405,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2754,\r
+        "y": 2388,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b81a7ea3.f58288",\r
+        "id": "ad919177.04496",\r
         "type": "comment",\r
         "name": "increase the bw of the-vpn-binding and change status to modified",\r
         "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
         "comments": "",\r
-        "x": 2825,\r
-        "y": 2579,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2843,\r
+        "y": 2562,\r
+        "z": "ab59e982.86c81",\r
         "wires": []\r
     },\r
     {\r
-        "id": "52276af3.2f9a4c",\r
+        "id": "18210d7a.52f32b",\r
         "type": "save",\r
         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2795,\r
-        "y": 2639,\r
-        "z": "4fb14ce0.40eb24",\r
+        "x": 2813,\r
+        "y": 2622,\r
+        "z": "ab59e982.86c81",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "af2be5de.84caa8",\r
+        "type": "switchNode",\r
+        "name": "switch otninfoProtect exists",\r
+        "xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 579.1166381835938,\r
+        "y": 2488,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "bdb88dff.a2cfc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bdb88dff.a2cfc8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.1166381835938,\r
+        "y": 2489,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "62f58207.69b144"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4da32200.1a505",\r
+        "type": "for",\r
+        "name": "for vidx..tmp.otninfoProtect_length[]",\r
+        "xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 615.6666870117188,\r
+        "y": 3269.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "78d123a7.ebdd04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78d123a7.ebdd04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 875.6666564941406,\r
+        "y": 3262.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "655b0cf9.434f14",\r
+                "2cbd342f.008e4c",\r
+                "af443653.16e2a",\r
+                "b4328c41.7c5e68",\r
+                "54752c5a.7588d4",\r
+                "88c79ac5.392298",\r
+                "f442f477.1b9ac",\r
+                "1b1a37df.8ffb38",\r
+                "40d5cce.138f1b4",\r
+                "17ca39fd.1576de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cbd342f.008e4c",\r
+        "type": "switchNode",\r
+        "name": "switch dstPort == NULL",\r
+        "xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1264.6666870117188,\r
+        "y": 2931.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "390f0f63.f5713",\r
+                "a481fb54.252848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a481fb54.252848",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1631.6666870117188,\r
+        "y": 2938.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "accd9965.551cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "accd9965.551cc",\r
+        "type": "set",\r
+        "name": "set access-provider-id and client-id",\r
+        "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />\n",\r
+        "comments": "",\r
+        "x": 1842.6666870117188,\r
+        "y": 2936.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af443653.16e2a",\r
+        "type": "set",\r
+        "name": "set srcdstpnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1440.6666870117188,\r
+        "y": 3005.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4328c41.7c5e68",\r
+        "type": "get-resource",\r
+        "name": "get-resource tmp.srcdstpnf-name",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1484.6666870117188,\r
+        "y": 3053.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "2ab1cad2.cc8df6",\r
+                "95061116.66953",\r
+                "d118596c.c8a1b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ab1cad2.cc8df6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1697.1666870117188,\r
+        "y": 3000.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "9a46b094.250a1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95061116.66953",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1709.1666870117188,\r
+        "y": 3050.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "a8bbbf3c.490288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d118596c.c8a1b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1700.1666870117188,\r
+        "y": 3105.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "c4cf4a50.357dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4cf4a50.357dd",\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": 1845.1666870117188,\r
+        "y": 3104.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a8bbbf3c.490288",\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": 1856.1666870117188,\r
+        "y": 3047.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9a46b094.250a1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1822.5491333007812,\r
+        "y": 2994.5555725097656,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "8c15c7c0.68b978"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c15c7c0.68b978",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1983.6666870117188,\r
+        "y": 3008.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "a8c602fe.1de83"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8c602fe.1de83",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2178.6666870117188,\r
+        "y": 3008.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "92605acf.b6eae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d5fc5da.8209c2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2558.6666870117188,\r
+        "y": 3004.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "f1e62050.aa9b48",\r
+                "142adcaa.53768b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "142adcaa.53768b",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2766.6666870117188,\r
+        "y": 3011.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "b0f57546.a572f8",\r
+                "f4d8ee18.503d6",\r
+                "6cf185fa.032e7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1e62050.aa9b48",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domainG id",\r
+        "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2796.6666870117188,\r
+        "y": 2959.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0f57546.a572f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2976.6666870117188,\r
+        "y": 3002.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "8af042ca.abce2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4d8ee18.503d6",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2968.6666870117188,\r
+        "y": 3057.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "14e1063f.bcaa12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cf185fa.032e7c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2973.6666870117188,\r
+        "y": 3114.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "88d269ff.2a4e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88d269ff.2a4e78",\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": 3125.6666870117188,\r
+        "y": 3115.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14e1063f.bcaa12",\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": 3136.6666870117188,\r
+        "y": 3060.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8af042ca.abce2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3121.0490112304688,\r
+        "y": 3000.5555725097656,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "6ee06c7f.e87634"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92605acf.b6eae",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2381.6666870117188,\r
+        "y": 3012.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "3d5fc5da.8209c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ee06c7f.e87634",\r
+        "type": "set",\r
+        "name": "set controller domainA data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 3335.6666870117188,\r
+        "y": 2996.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54752c5a.7588d4",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == 0 (domainA)",\r
+        "xml": "<switch test='`$otnidx == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1454.6666870117188,\r
+        "y": 3222.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "a23826d9.6cbf8",\r
+                "ca79965c.c43c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a23826d9.6cbf8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1655.6666870117188,\r
+        "y": 3220.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "1188399c.8e417e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f0d00e5.7b1628",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 1936.6666870117188,\r
+        "y": 3170.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4e7389.48dcac8",\r
+        "type": "switchNode",\r
+        "name": "switch dmnsidx == last (domainC)",\r
+        "xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1872.6666870117188,\r
+        "y": 3271.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "1eeda518.bbd863",\r
+                "25bb7e68.eed552"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1eeda518.bbd863",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2102.6666870117188,\r
+        "y": 3267.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "19cc5bd6.d13bb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca79965c.c43c5",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1655.6666870117188,\r
+        "y": 3269.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "f4e7389.48dcac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25bb7e68.eed552",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2103.6666870117188,\r
+        "y": 3313.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "ff457a93.22142"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff457a93.22142",\r
+        "type": "set",\r
+        "name": "set attachment_param domain G",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",\r
+        "comments": "",\r
+        "x": 2317.6666870117188,\r
+        "y": 3313.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a5bfc25b.24a798",\r
+        "type": "set",\r
+        "name": "set attachment_param domain A",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",\r
+        "comments": "",\r
+        "x": 1991.6666870117188,\r
+        "y": 3217.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1188399c.8e417e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1779.6666870117188,\r
+        "y": 3211.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "a5bfc25b.24a798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19cc5bd6.d13bb4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2235.6666870117188,\r
+        "y": 3243.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "ecfd7b03.8cb46"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9df9d2f.f6b57",\r
+        "type": "set",\r
+        "name": "set pce-src-node",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
+        "comments": "",\r
+        "x": 2391.6666870117188,\r
+        "y": 3259.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ecfd7b03.8cb46",\r
+        "type": "set",\r
+        "name": "set attachment_param domain C",\r
+        "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />",\r
+        "comments": "",\r
+        "x": 2439.6666870117188,\r
+        "y": 3211.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "88c79ac5.392298",\r
+        "type": "set",\r
+        "name": "set srcTtp+dstTtp pair",\r
+        "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n                                               $tmp.otninfootninfoProtect.dstPort.dst-tunnel-tp-id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 1430.6666870117188,\r
+        "y": 3302.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b1a37df.8ffb38",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1622.6666564941406,\r
+        "y": 3400.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f442f477.1b9ac",\r
+        "type": "set",\r
+        "name": "set current-provider-id and current-cvlan-id",\r
+        "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",\r
+        "comments": "",\r
+        "x": 1494.6666870117188,\r
+        "y": 3353.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40d5cce.138f1b4",\r
+        "type": "switchNode",\r
+        "name": "switch found-connectivity?",\r
+        "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1303.6666870117188,\r
+        "y": 3554.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "e841833f.a5b018",\r
+                "1d9dc789.fabfa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e841833f.a5b018",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1589.6666870117188,\r
+        "y": 4373.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "5f9745ba.8cabdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40e5d82c.0988c",\r
+        "type": "comment",\r
+        "name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
+        "info": "if it had: then no new otn/vpn-binding is needed\n           ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n           ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",\r
+        "comments": "",\r
+        "x": 2015.6666870117188,\r
+        "y": 4318.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37b719a7.3177d6",\r
+        "type": "comment",\r
+        "name": "create a new connectivity - (for dummy connectivity)",\r
+        "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",\r
+        "comments": "",\r
+        "x": 1882.6666564941406,\r
+        "y": 3516.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0f8f4ff.e42fa",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1929.6666870117188,\r
+        "y": 3566.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "37e8875.87c3378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37e8875.87c3378",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2217.6666870117188,\r
+        "y": 3567.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "90a3277d.c4bfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90a3277d.c4bfc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2401.1666870117188,\r
+        "y": 3566.15380859375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b046e56.9a1b9",\r
+        "type": "execute",\r
+        "name": "execute string.contains srcTtpdstTtpPair",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2003.6666870117188,\r
+        "y": 4370.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "779ce37e.93a47c",\r
+                "f1f0cfe.10d413"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "779ce37e.93a47c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2176.6666870117188,\r
+        "y": 4218.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1f0cfe.10d413",\r
+        "type": "outcomeFalse",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2208.6666870117188,\r
+        "y": 4477.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "9f0cdaa9.449a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58dad5a1.4283d4",\r
+        "type": "save",\r
+        "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2615.6666870117188,\r
+        "y": 4008.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "ca0562a9.f9dfa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca0562a9.f9dfa",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2919.6666870117188,\r
+        "y": 4005.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "21917e0f.61cb02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21917e0f.61cb02",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3070.1666870117188,\r
+        "y": 4013.15380859375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c456d560.e56b4",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for connectivity domain otnidx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1909.6666870117188,\r
+        "y": 3621.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c6b3c2b.a8cfe4",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1847.6666870117188,\r
+        "y": 3671.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "883e63bc.f1bf9",\r
+        "type": "save",\r
+        "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1948.6666870117188,\r
+        "y": 3716.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67b90a5f.a2bde4",\r
+        "type": "save",\r
+        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1984.6666870117188,\r
+        "y": 3770.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "44633bde.4c2f24",\r
+        "type": "save",\r
+        "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1952.6666870117188,\r
+        "y": 3829.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad055e93.cbffc8",\r
+        "type": "comment",\r
+        "name": "find middle-man's eth-srv-name",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1410.6666870117188,\r
+        "y": 3445.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "17ca39fd.1576de",\r
+        "type": "set",\r
+        "name": "set prop.ethernet-service-name",\r
+        "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
+        "comments": "",\r
+        "x": 1432.6666870117188,\r
+        "y": 3489.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "91cb3623.bfa508",\r
+        "type": "save",\r
+        "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2639.6666870117188,\r
+        "y": 4225.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "749face3.2a032c",\r
+        "type": "save",\r
+        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2670.6666870117188,\r
+        "y": 4264.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1e29877.e2638",\r
+        "type": "save",\r
+        "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2641.6666870117188,\r
+        "y": 4337.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca553073.a3999",\r
+        "type": "comment",\r
+        "name": "update the founded connectivity to have a new coupling-flag",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2611.6666870117188,\r
+        "y": 4053.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "30b58e5f.9a5412",\r
+        "type": "set",\r
+        "name": "set newFlag",\r
+        "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n                                               $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2497.6666870117188,\r
+        "y": 4092.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b32f2c11.a0cbd",\r
+        "type": "save",\r
+        "name": "update connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2561.6666870117188,\r
+        "y": 4137.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b26dba6c.6455b",\r
+        "type": "comment",\r
+        "name": "the following two relationships should have already been there; if not => error",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2653.6666870117188,\r
+        "y": 4187.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f615578d.11ca3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1639.6666870117188,\r
+        "y": 3554.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "f0f8f4ff.e42fa",\r
+                "c456d560.e56b4",\r
+                "1c6b3c2b.a8cfe4",\r
+                "883e63bc.f1bf9",\r
+                "67b90a5f.a2bde4",\r
+                "44633bde.4c2f24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d9dc789.fabfa",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1501.6666870117188,\r
+        "y": 3550.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "f615578d.11ca3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f9745ba.8cabdc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2299.6666870117188,\r
+        "y": 4017.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "58dad5a1.4283d4",\r
+                "30b58e5f.9a5412",\r
+                "b32f2c11.a0cbd",\r
+                "d1e29877.e2638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe407594.64cba8",\r
+        "type": "comment",\r
+        "name": "loop through the relationships of this founded connectivity, then",\r
+        "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
+        "comments": "",\r
+        "x": 2304.6666870117188,\r
+        "y": 4442.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c41409e5.b5d3c",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2646.6666870117188,\r
+        "y": 4478.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "edec3f37.241e6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "edec3f37.241e6",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2858.6666870117188,\r
+        "y": 4476.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "1919beb6.7cb971"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1919beb6.7cb971",\r
+        "type": "outcome",\r
+        "name": "vpn-binding",\r
+        "xml": "<outcome value='vpn-binding'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3042.6666870117188,\r
+        "y": 4474.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "df4bf19a.978d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df4bf19a.978d2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3221.6666870117188,\r
+        "y": 4479.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "89ff485c.8db648",\r
+                "2bf1f71c.a919d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bf1f71c.a919d",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+        "comments": "",\r
+        "x": 3438.6666870117188,\r
+        "y": 4410.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "89ff485c.8db648",\r
+        "type": "save",\r
+        "name": "get vpn-binding from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3431.6666870117188,\r
+        "y": 4496.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "5ee5ca48.dc9864",\r
+                "e1c034fb.99a648",\r
+                "c5ac5c6f.6f9258"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1c034fb.99a648",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3645.1576538085938,\r
+        "y": 4481.473937988281,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "6e271c06.d0d73c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e271c06.d0d73c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3807.7291870117188,\r
+        "y": 4480.7596435546875,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "38e2891f.3394ee",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 3808.6666870117188,\r
+        "y": 4525.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5ac5c6f.6f9258",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3640.6666870117188,\r
+        "y": 4525.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "38e2891f.3394ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ee5ca48.dc9864",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3642.6666870117188,\r
+        "y": 4585.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "e13c4300.ac87f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e13c4300.ac87f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3811.6666870117188,\r
+        "y": 4584.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "3fedffc1.068a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f0cdaa9.449a9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2435.6666870117188,\r
+        "y": 4476.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "c41409e5.b5d3c",\r
+                "ef03524f.322ab",\r
+                "a41cf4f1.35b988"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fedffc1.068a9",\r
+        "type": "switchNode",\r
+        "name": "switch srcTtp",\r
+        "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4010.6666870117188,\r
+        "y": 4585.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "46797ae5.8f5fdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46797ae5.8f5fdc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4173.666687011719,\r
+        "y": 4583.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "26801daf.757d4a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26801daf.757d4a",\r
+        "type": "switchNode",\r
+        "name": "switch dstTtp",\r
+        "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4354.666687011719,\r
+        "y": 4583.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "4ecd0d28.02b6dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ecd0d28.02b6dc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4517.666687011719,\r
+        "y": 4581.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "2b446601.7eb632"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "efbe91c3.9535c8",\r
+        "type": "set",\r
+        "name": "set tmp.the-vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
+        "comments": "",\r
+        "x": 4874.666687011719,\r
+        "y": 4588.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2b446601.7eb632",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4656.666687011719,\r
+        "y": 4580.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "efbe91c3.9535c8",\r
+                "1b35126e.c915be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b35126e.c915be",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4820.666687011719,\r
+        "y": 4632.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ef03524f.322ab",\r
+        "type": "set",\r
+        "name": "unset tmp.the-vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
+        "comments": "",\r
+        "x": 2656.6666870117188,\r
+        "y": 4439.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb2c64f6.a88498",\r
+        "type": "comment",\r
+        "name": "increase the bw of the-vpn-binding and change status to modified",\r
+        "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+        "comments": "",\r
+        "x": 2745.6666870117188,\r
+        "y": 4613.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a41cf4f1.35b988",\r
+        "type": "save",\r
+        "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2715.6666870117188,\r
+        "y": 4673.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "655b0cf9.434f14",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for vpn-binding $otnidx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1550.6666870117188,\r
+        "y": 2841.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "390f0f63.f5713",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1630.6666870117188,\r
+        "y": 2892.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "46e17225.a2db0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46e17225.a2db0c",\r
+        "type": "set",\r
+        "name": "set access-provider-id and client-id",\r
+        "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n",\r
+        "comments": "",\r
+        "x": 1844.6666870117188,\r
+        "y": 2891.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2286c595.dee83a",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value='' />\n<parameter name='prop.vpn-binding-otnidx-uuid' value='' />\n<parameter name='tmp.access-provider-id' value='' />\n<parameter name='tmp.access-client-id' value='' />\n<parameter name='tmp.access-topology-id' value='' />\n<parameter name='tmp.srcdstpnf-id' value='' />\n<parameter name='tmp.aai.srcdst-pnf.' value='' />\n<parameter name='tmp.domainG.esr-thirdparty-id' value='' />\n<parameter name='tmp.aai.domainG.esr-thirdparty-sdnc.' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value='' />\n<parameter name='tmp.srcTtpdstTtpPair' value='' />\n\n\n",\r
+        "comments": "",\r
+        "x": 1210.5665893554688,\r
+        "y": 2476.89990234375,\r
+        "z": "ab59e982.86c81",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "62f58207.69b144",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 985.2000122070312,\r
+        "y": 2493.13330078125,\r
+        "z": "ab59e982.86c81",\r
+        "wires": [\r
+            [\r
+                "2286c595.dee83a",\r
+                "4da32200.1a505"\r
+            ]\r
+        ]\r
     }\r
 ]
\ No newline at end of file
index c1b37ce..338c645 100644 (file)
@@ -1,20 +1,20 @@
 [\r
   {\r
-    "id": "458f4ac.c4718b4",\r
+    "id": "eebfe6b4.36c4f8",\r
     "type": "dgstart",\r
     "name": "DGSTART",\r
     "outputs": 1,\r
-    "x": 134.88333129882812,\r
-    "y": 96.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 140,\r
+    "y": 119,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "2b796419.174294"\r
+        "f39097a1.daa63"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2b796419.174294",\r
+    "id": "f39097a1.daa63",\r
     "type": "service-logic",\r
     "name": "GENERIC-RESOURCE-API ${project.version}",\r
     "module": "GENERIC-RESOURCE-API",\r
     "comments": "",\r
     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
     "outputs": 1,\r
-    "x": 419.1690216064453,\r
-    "y": 158.12143993377686,\r
-    "z": "4456793a.59a288",\r
+    "x": 424.2856903076172,\r
+    "y": 180.23810863494873,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "81638429.4a926"\r
+        "af444c12.6df4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "81638429.4a926",\r
+    "id": "af444c12.6df4",\r
     "type": "method",\r
     "name": "method cll-vnf-topology-operation-cll-create-clean",\r
     "xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 425.3119354248047,\r
-    "y": 242.88336181640625,\r
-    "z": "4456793a.59a288",\r
+    "x": 430.42860412597656,\r
+    "y": 265.0000305175781,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "49ee9c33.493f7c"\r
+        "cd7fb41b.b80af8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "49ee9c33.493f7c",\r
+    "id": "cd7fb41b.b80af8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 774.8833312988281,\r
-    "y": 301.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 780,\r
+    "y": 324,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a4831915.5eaaa",\r
-        "7639e853.9511c8",\r
-        "a54eb7d5.3629"\r
+        "1330d7b6.40f6",\r
+        "327e5a08.352bde",\r
+        "b36ceae.9917d98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a4831915.5eaaa",\r
+    "id": "1330d7b6.40f6",\r
     "type": "returnSuccess",\r
     "name": "return success",\r
     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
     "comments": "",\r
-    "x": 1076.2168273925781,\r
-    "y": 572.8136291503906,\r
-    "z": "4456793a.59a288",\r
+    "x": 1081.33349609375,\r
+    "y": 594.9302978515625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7639e853.9511c8",\r
+    "id": "327e5a08.352bde",\r
     "type": "save",\r
     "name": "get service-instance from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1097.6452941894531,\r
-    "y": 275.2166442871094,\r
-    "z": "4456793a.59a288",\r
+    "x": 1102.761962890625,\r
+    "y": 297.33331298828125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "46a7c921.f80be8",\r
-        "fa1c1252.bcac98",\r
-        "22347b09.105eec"\r
+        "393ddb72.9cdaac",\r
+        "27423ab.7bf7dc6",\r
+        "e70357b.8e78fa8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "46a7c921.f80be8",\r
+    "id": "393ddb72.9cdaac",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1322.6452941894531,\r
-    "y": 133.21664428710938,\r
-    "z": "4456793a.59a288",\r
+    "x": 1327.761962890625,\r
+    "y": 155.33331298828125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f818b9cf.ba44c"\r
+        "db827fdb.ec8a7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fa1c1252.bcac98",\r
+    "id": "27423ab.7bf7dc6",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1318.1362609863281,\r
-    "y": 202.79067993164062,\r
-    "z": "4456793a.59a288",\r
+    "x": 1323.2529296875,\r
+    "y": 224.9073486328125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7ac2bf1b.1c3bb8"\r
+        "2aba6522.745fa2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "22347b09.105eec",\r
+    "id": "e70357b.8e78fa8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1306.6452941894531,\r
-    "y": 249.21664428710938,\r
-    "z": "4456793a.59a288",\r
+    "x": 1311.761962890625,\r
+    "y": 271.33331298828125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9932a9c7.205738"\r
+        "85c2ab27.5d7c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3db9725e.eccbce",\r
+    "id": "d67dd652.2acc48",\r
     "type": "comment",\r
     "name": "new for TransportSlicing",\r
     "info": "",\r
     "comments": "",\r
-    "x": 1076.6452941894531,\r
-    "y": 163.21664428710938,\r
-    "z": "4456793a.59a288",\r
+    "x": 1081.761962890625,\r
+    "y": 185.33331298828125,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a54eb7d5.3629",\r
+    "id": "b36ceae.9917d98",\r
     "type": "execute",\r
     "name": "execute properties",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1064.6452941894531,\r
-    "y": 215.21664428710938,\r
-    "z": "4456793a.59a288",\r
+    "x": 1069.761962890625,\r
+    "y": 237.33331298828125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "f818b9cf.ba44c",\r
+    "id": "db827fdb.ec8a7",\r
     "type": "switchNode",\r
     "name": "switch allotted-resources_length != 0",\r
     "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1562.8833312988281,\r
-    "y": 129.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1568,\r
+    "y": 152,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8e919d6f.673508",\r
-        "51e0925d.04913c"\r
+        "cb5b5e94.b15ef8",\r
+        "b997ad22.d70e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7ac2bf1b.1c3bb8",\r
+    "id": "2aba6522.745fa2",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 1472.9457092285156,\r
-    "y": 205.74310302734375,\r
-    "z": "4456793a.59a288",\r
+    "x": 1478.0623779296875,\r
+    "y": 227.85977172851562,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9932a9c7.205738",\r
+    "id": "85c2ab27.5d7c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 1476.8833312988281,\r
-    "y": 249.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1482,\r
+    "y": 272,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8e919d6f.673508",\r
+    "id": "cb5b5e94.b15ef8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1767.8833312988281,\r
-    "y": 166.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1773,\r
+    "y": 189,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "68453177.cb78b8"\r
+        "3cb72715.02a808"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "51e0925d.04913c",\r
+    "id": "b997ad22.d70e8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1777.8833312988281,\r
-    "y": 93.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1783,\r
+    "y": 116,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "68453177.cb78b8",\r
+    "id": "3cb72715.02a808",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1760.8833312988281,\r
-    "y": 241.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1766,\r
+    "y": 264,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a82eb2b4.74145",\r
-        "2f11fd49.33bf4a",\r
-        "3f7479d2.cf6ebe",\r
-        "9bc906e5.702fc8",\r
-        "a8e7354f.a1833"\r
+        "ebf5f2d6.b4c7b8",\r
+        "490f1cae.a20b64",\r
+        "b4dd975f.8385a8",\r
+        "43a803a5.2842f4",\r
+        "651a17c0.63b678"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c81e4e53.d33bf",\r
+    "id": "d707b8ba.d22b28",\r
     "type": "save",\r
     "name": "get allotted-resource from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2246.883331298828,\r
-    "y": 292.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2252,\r
+    "y": 315,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "93e1f14a.5a9588",\r
-        "d05d8571.8f54d8",\r
-        "43bb6a89.efb504"\r
+        "3717142f.9eacbc",\r
+        "81f224b1.8ce278",\r
+        "360e18d9.8e8878"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "93e1f14a.5a9588",\r
+    "id": "3717142f.9eacbc",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2462.883331298828,\r
-    "y": 359.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2468,\r
+    "y": 382,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "29fa3a31.28ab1e"\r
+        "90fe9f39.2d3b48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d05d8571.8f54d8",\r
+    "id": "81f224b1.8ce278",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2463.374298095703,\r
-    "y": 259.4573059082031,\r
-    "z": "4456793a.59a288",\r
+    "x": 2468.490966796875,\r
+    "y": 281.573974609375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9a07cfe7.b03588"\r
+        "fa7677d5.848dd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "43bb6a89.efb504",\r
+    "id": "360e18d9.8e8878",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2458.883331298828,\r
-    "y": 308.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2464,\r
+    "y": 331,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b1a3ba46.e979e8"\r
+        "72c2923b.56a34c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a82eb2b4.74145",\r
+    "id": "ebf5f2d6.b4c7b8",\r
     "type": "for",\r
     "name": "for each allotted-resource",\r
     "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1963.8833312988281,\r
-    "y": 273.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 1969,\r
+    "y": 296,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9e7211a2.fa3648",\r
-        "c81e4e53.d33bf",\r
-        "d050303.0f4a3d",\r
-        "c2f95f80.985fc"\r
+        "618e3f4f.a42bf",\r
+        "d707b8ba.d22b28",\r
+        "e8527008.db6228",\r
+        "a669b945.663408"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9e7211a2.fa3648",\r
+    "id": "618e3f4f.a42bf",\r
     "type": "set",\r
     "name": "set the current allotted-resource-id",\r
     "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2243.883331298828,\r
-    "y": 211.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 2249,\r
+    "y": 234,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9bc906e5.702fc8",\r
+    "id": "43a803a5.2842f4",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
     "comments": "",\r
-    "x": 1937.8833312988281,\r
-    "y": 223.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1943,\r
+    "y": 246,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2f11fd49.33bf4a",\r
+    "id": "490f1cae.a20b64",\r
     "type": "get-resource",\r
     "name": "get-resource pnfs-list",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1980.8833312988281,\r
-    "y": 82.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1986,\r
+    "y": 105,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3f7479d2.cf6ebe",\r
+    "id": "b4dd975f.8385a8",\r
     "type": "get-resource",\r
     "name": "get-resource logical-links",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1992.8833312988281,\r
-    "y": 123.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1998,\r
+    "y": 146,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ea819687.b3e55",\r
+    "id": "d38afd8a.8bc96",\r
     "type": "comment",\r
     "name": "The following two nodes are for PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2017.8833312988281,\r
-    "y": 35.883331298828125,\r
-    "z": "4456793a.59a288",\r
+    "x": 2023,\r
+    "y": 58,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a0a17876.3d9168",\r
+    "id": "8fedb211.a1c3d8",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
     "comments": "",\r
-    "x": 1937.8833312988281,\r
-    "y": 169.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 1943,\r
+    "y": 192,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9a07cfe7.b03588",\r
+    "id": "fa7677d5.848dd",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 2641.883331298828,\r
-    "y": 261.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2647,\r
+    "y": 284,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b1a3ba46.e979e8",\r
+    "id": "72c2923b.56a34c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 2641.820831298828,\r
-    "y": 311.0235900878906,\r
-    "z": "4456793a.59a288",\r
+    "x": 2646.9375,\r
+    "y": 333.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "29fa3a31.28ab1e",\r
+    "id": "90fe9f39.2d3b48",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2643.820831298828,\r
-    "y": 362.0235900878906,\r
-    "z": "4456793a.59a288",\r
+    "x": 2648.9375,\r
+    "y": 384.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ccdb352a.c0afb"\r
+        "458d5965.a3abf"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ccdb352a.c0afb",\r
+    "id": "458d5965.a3abf",\r
     "type": "save",\r
     "name": "get allotted-resource relationship from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2936.820831298828,\r
-    "y": 309.0235900878906,\r
-    "z": "4456793a.59a288",\r
+    "x": 2941.9375,\r
+    "y": 331.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1d1c178.a002b69",\r
-        "a96469cb.c566d8",\r
-        "1d270f4d.7f92d9"\r
+        "9e8135ff.08a04",\r
+        "11480c56.53825c",\r
+        "c18b528b.950eb"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a96469cb.c566d8",\r
+    "id": "11480c56.53825c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3210.311798095703,\r
-    "y": 201.59756469726562,\r
-    "z": "4456793a.59a288",\r
+    "x": 3245.428436279297,\r
+    "y": 63.7142333984375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a9051800.9d7288"\r
+        "fafa91c8.b89"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a9051800.9d7288",\r
+    "id": "fafa91c8.b89",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3387.883331298828,\r
-    "y": 201.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 3422.999969482422,\r
+    "y": 64,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1d270f4d.7f92d9",\r
+    "id": "c18b528b.950eb",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3205.820831298828,\r
-    "y": 251.02359008789062,\r
-    "z": "4456793a.59a288",\r
+    "x": 3240.937469482422,\r
+    "y": 113.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "74b9715b.81c6"\r
+        "c9c4d95e.e78bc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "74b9715b.81c6",\r
+    "id": "c9c4d95e.e78bc8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3387.820831298828,\r
-    "y": 251.02359008789062,\r
-    "z": "4456793a.59a288",\r
+    "x": 3422.937469482422,\r
+    "y": 113.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1d1c178.a002b69",\r
+    "id": "9e8135ff.08a04",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3209.820831298828,\r
-    "y": 302.0235900878906,\r
-    "z": "4456793a.59a288",\r
+    "x": 3244.937469482422,\r
+    "y": 164.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "dea72b0a.7f4d98"\r
+        "249c683e.fa6548"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "dea72b0a.7f4d98",\r
+    "id": "249c683e.fa6548",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3389.820831298828,\r
-    "y": 302.0235900878906,\r
-    "z": "4456793a.59a288",\r
+    "x": 3424.937469482422,\r
+    "y": 164.1402587890625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1a6bb71b.cc26c9"\r
+        "8380148b.ccdda"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1a6bb71b.cc26c9",\r
+    "id": "8380148b.ccdda",\r
     "type": "switchNode",\r
     "name": "switch allotted-resource.relationship-list not empty",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2955.883331298828,\r
-    "y": 436.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2961,\r
+    "y": 459,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "24693fb2.e93b7",\r
-        "a9c05c16.6229b8"\r
+        "f9f860ee.48ada",\r
+        "3ee71a32.7e39ae"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a9c05c16.6229b8",\r
+    "id": "3ee71a32.7e39ae",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3265.883331298828,\r
-    "y": 443.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3300.999969482422,\r
+    "y": 306,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "24693fb2.e93b7",\r
+    "id": "f9f860ee.48ada",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3264.883331298828,\r
-    "y": 497.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3299.999969482422,\r
+    "y": 360,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "54d9e040.3e5a2"\r
+        "88c3b86.63e2c48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7514cb1e.22b7cc",\r
+    "id": "b0fb22ca.f9ce1",\r
     "type": "outcome",\r
     "name": "network-policy",\r
     "xml": "<outcome value='network-policy'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4009.883331298828,\r
-    "y": 451.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4044.999969482422,\r
+    "y": 314,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1a1e9340.1cb465"\r
+        "5f3f920d.e5225c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1a1e9340.1cb465",\r
+    "id": "5f3f920d.e5225c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4186.883209228516,\r
-    "y": 444.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 4221.999847412109,\r
+    "y": 306.9998779296875,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1cd3fabc.2c7055",\r
-        "df5b418a.0dd23"\r
+        "8197a230.f5fc28",\r
+        "add943b3.661de"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "54d9e040.3e5a2",\r
+    "id": "88c3b86.63e2c48",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3428.883331298828,\r
-    "y": 423.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3463.999969482422,\r
+    "y": 286,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "dde05d5d.d568e8",\r
-        "89905857.784518"\r
+        "b1327250.c3733",\r
+        "de9a0d51.d824a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "dde05d5d.d568e8",\r
+    "id": "b1327250.c3733",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3709.883331298828,\r
-    "y": 379.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3744.999969482422,\r
+    "y": 242,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "abe51cd7.f8f208"\r
+        "64d386dc.4f4038"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "abe51cd7.f8f208",\r
+    "id": "64d386dc.4f4038",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3971.883331298828,\r
-    "y": 379.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4006.999969482422,\r
+    "y": 242,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7514cb1e.22b7cc"\r
+        "b0fb22ca.f9ce1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1cd3fabc.2c7055",\r
+    "id": "8197a230.f5fc28",\r
     "type": "set",\r
     "name": "set the 1st network-policy-id",\r
     "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4429.883209228516,\r
-    "y": 401.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 4464.999847412109,\r
+    "y": 263.9998779296875,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "df5b418a.0dd23",\r
+    "id": "add943b3.661de",\r
     "type": "save",\r
     "name": "get network-policy from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4418.883209228516,\r
-    "y": 456.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 4453.999847412109,\r
+    "y": 318.9998779296875,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b1c8bb90.0c2e78",\r
-        "2f32ddcf.c1426a",\r
-        "a81fdee7.10c348"\r
+        "584012e4.8af54c",\r
+        "84e11e56.e2a698",\r
+        "b5114711.48fe28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a81fdee7.10c348",\r
+    "id": "b5114711.48fe28",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4671.883331298828,\r
-    "y": 342.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4705.000213623047,\r
+    "y": 260,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "933dded8.905d48"\r
+        "3ff18282.41fa7e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "933dded8.905d48",\r
+    "id": "3ff18282.41fa7e",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4820.454864501953,\r
-    "y": 343.1690979003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4853.571746826172,\r
+    "y": 260.2857666015625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4ff8891b.b27e6",\r
+    "id": "576f251.536f1dc",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4819.392364501953,\r
-    "y": 387.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 4852.509246826172,\r
+    "y": 304.426025390625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2f32ddcf.c1426a",\r
+    "id": "84e11e56.e2a698",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4660.392364501953,\r
-    "y": 387.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 4693.509246826172,\r
+    "y": 304.426025390625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4ff8891b.b27e6"\r
+        "576f251.536f1dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b1c8bb90.0c2e78",\r
+    "id": "584012e4.8af54c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4667.392364501953,\r
-    "y": 466.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 4700.509246826172,\r
+    "y": 383.426025390625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9b0431ef.52336"\r
+        "84e0295.fec0058"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9b0431ef.52336",\r
+    "id": "84e0295.fec0058",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4806.392364501953,\r
-    "y": 466.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 4839.509246826172,\r
+    "y": 383.426025390625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "30420590.b9ff82",\r
-        "80a75b67.8413b8"\r
+        "40dc732c.a37574",\r
+        "72f9e36c.5c6004"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "30420590.b9ff82",\r
+    "id": "40dc732c.a37574",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5011.883331298828,\r
-    "y": 463.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5045.000213623047,\r
+    "y": 381,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "80a75b67.8413b8",\r
+    "id": "72f9e36c.5c6004",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5010.883331298828,\r
-    "y": 509.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5044.000213623047,\r
+    "y": 427,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "89905857.784518",\r
+    "id": "de9a0d51.d824a",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3526.883331298828,\r
-    "y": 495.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3561.999969482422,\r
+    "y": 358,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b46dcd3d.f4afe8"\r
+        "1f9cf648.b23842"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b46dcd3d.f4afe8",\r
+    "id": "1f9cf648.b23842",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3806.883331298828,\r
-    "y": 495.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3841.999969482422,\r
+    "y": 358,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f685aa80.8cfb4"\r
+        "9a7f86a9.e4bc3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f685aa80.8cfb4",\r
+    "id": "9a7f86a9.e4bc3",\r
     "type": "outcome",\r
     "name": "logical-link",\r
     "xml": "<outcome value='logical-link'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2219.8834533691406,\r
-    "y": 748.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 2225.0001220703125,\r
+    "y": 771.0001220703125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a18b2354.2da15"\r
+        "a00c69ca.adce48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a18b2354.2da15",\r
+    "id": "a00c69ca.adce48",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2396.883331298828,\r
-    "y": 741.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2402,\r
+    "y": 764,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ea2df6b1.4ac208",\r
-        "5238e333.611ed4"\r
+        "b1915aed.463e4",\r
+        "2d618162.692d86"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ea2df6b1.4ac208",\r
+    "id": "b1915aed.463e4",\r
     "type": "set",\r
     "name": "set the current logical-link-name",\r
     "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2639.883331298828,\r
-    "y": 698.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2645,\r
+    "y": 721,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5238e333.611ed4",\r
+    "id": "2d618162.692d86",\r
     "type": "save",\r
     "name": "get logical-link from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2628.883331298828,\r
-    "y": 753.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2634,\r
+    "y": 776,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "d29bd2a6.f0278",\r
-        "aae66833.e493",\r
-        "51948363.691cec"\r
+        "e482931e.42ecd",\r
+        "ed5f6487.2f87b",\r
+        "f8d33751.7b5a4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d29bd2a6.f0278",\r
+    "id": "e482931e.42ecd",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2920.374298095703,\r
-    "y": 732.4573059082031,\r
-    "z": "4456793a.59a288",\r
+    "x": 2925.490966796875,\r
+    "y": 754.573974609375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a5baff8.5c15f"\r
+        "57635b4b.26640c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aae66833.e493",\r
+    "id": "ed5f6487.2f87b",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2908.883331298828,\r
-    "y": 776.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2914,\r
+    "y": 799,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "590adc04.7c8c64"\r
+        "a7b92e8f.8c52e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a5baff8.5c15f",\r
+    "id": "57635b4b.26640c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3068.945831298828,\r
-    "y": 732.7430725097656,\r
-    "z": "4456793a.59a288",\r
+    "x": 3074.0625,\r
+    "y": 754.8597412109375,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "590adc04.7c8c64",\r
+    "id": "a7b92e8f.8c52e8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3067.883331298828,\r
-    "y": 776.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3073,\r
+    "y": 799,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "51948363.691cec",\r
+    "id": "f8d33751.7b5a4",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2915.883331298828,\r
-    "y": 855.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 2921,\r
+    "y": 878,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "138db6d7.8d5031"\r
+        "98a40400.3efa78"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "138db6d7.8d5031",\r
+    "id": "98a40400.3efa78",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3054.883331298828,\r
-    "y": 855.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3060,\r
+    "y": 878,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7a4c5f2f.9027d8",\r
-        "f3e41369.61302",\r
-        "bb0c73ed.00d09",\r
-        "8e9b40a2.60b6c",\r
-        "bda9878c.43ffc8",\r
-        "746b18d4.be3d18",\r
-        "15698ad5.b40d3d",\r
-        "3d22a200.42e29e",\r
-        "ff1965cc.9c6318",\r
-        "a8011cb7.dd8288",\r
-        "60be6b60.c49e7c",\r
-        "77fe2bdc.eed0c4",\r
-        "c658e7ef.0b11d8",\r
-        "d48a24b6.db8ce8"\r
+        "71736994.8ef448",\r
+        "262a2cdd.1722ec",\r
+        "6dffa8a4.87ef28",\r
+        "19dc8ab.73ff975",\r
+        "442ee5c4.7ebc14",\r
+        "55e39af5.a2b61c",\r
+        "22efa8c9.c8576",\r
+        "d6e1611b.9ddcf",\r
+        "b18620c8.640928",\r
+        "11e0f934.faeab7",\r
+        "b71f57a7.e2a288",\r
+        "f7d11626.bd108",\r
+        "7d22810d.66642",\r
+        "5fc2699f.6720b8",\r
+        "d4db1de6.243c9",\r
+        "4c9f1a43.e137e4",\r
+        "f953800.9cf34",\r
+        "1931dff5.72d728",\r
+        "be1fed24.75522",\r
+        "3ab03c8.bdf8544",\r
+        "d566dc7.835f6a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f45cdd5f.c90798",\r
+    "id": "8992052.d396a78",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3368.883331298828,\r
-    "y": 661.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3409,\r
+    "y": 411.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7a4c5f2f.9027d8",\r
+    "id": "71736994.8ef448",\r
     "type": "execute",\r
     "name": "execute UUID generator for otn-tunnel-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3349.883331298828,\r
-    "y": 711.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3389.9999389648438,\r
+    "y": 490.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d48a24b6.db8ce8",\r
+    "id": "5fc2699f.6720b8",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3306.883331298828,\r
-    "y": 756.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3346.9999389648438,\r
+    "y": 535.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f3e41369.61302",\r
+    "id": "262a2cdd.1722ec",\r
     "type": "set",\r
     "name": "set network-route-one",\r
     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3281.883331298828,\r
-    "y": 819.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3311.999969482422,\r
+    "y": 589.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bb0c73ed.00d09",\r
+    "id": "6dffa8a4.87ef28",\r
     "type": "set",\r
     "name": "set network-route-two",\r
     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3282.883331298828,\r
-    "y": 874.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3312.999969482422,\r
+    "y": 644.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8e9b40a2.60b6c",\r
+    "id": "19dc8ab.73ff975",\r
     "type": "save",\r
     "name": "get network-route-one from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3298.883331298828,\r
-    "y": 922.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3310.999969482422,\r
+    "y": 908.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "5e527f7c.215cc8",\r
-        "e57980fe.5f9758",\r
-        "d6304ea1.fb76e"\r
+        "6a238476.e2fb94",\r
+        "535decdf.f72024",\r
+        "ae1cf5c7.80a6f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bda9878c.43ffc8",\r
+    "id": "442ee5c4.7ebc14",\r
     "type": "save",\r
     "name": "get network-route-two from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3287.883331298828,\r
-    "y": 1009.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3305.999969482422,\r
+    "y": 969.9998474121094,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "be8da30d.6c1bf8",\r
-        "59df3d01.4ec704",\r
-        "23f36ff9.6f46c"\r
+        "3acf80af.f43f8",\r
+        "d256cf0d.9aea78",\r
+        "e101efde.aba"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5e527f7c.215cc8",\r
+    "id": "6a238476.e2fb94",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3499.883331298828,\r
-    "y": 806.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3621.999969482422,\r
+    "y": 679.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7280738b.1a48a4"\r
+        "ab9f09fe.f29c98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e57980fe.5f9758",\r
+    "id": "535decdf.f72024",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3495.392364501953,\r
-    "y": 856.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 3617.509002685547,\r
+    "y": 729.4259948730469,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "74f46c1.d313d14"\r
+        "e4e6f924.884bf"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d6304ea1.fb76e",\r
+    "id": "ae1cf5c7.80a6f8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3499.392364501953,\r
-    "y": 909.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 3621.509002685547,\r
+    "y": 782.4259948730469,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1f52b8ab.2e56cf"\r
+        "ab5ff9c2.10c8a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7280738b.1a48a4",\r
+    "id": "ab9f09fe.f29c98",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3648.454864501953,\r
-    "y": 806.1690979003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 3770.571502685547,\r
+    "y": 679.2857360839844,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "74f46c1.d313d14",\r
+    "id": "e4e6f924.884bf",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3638.392364501953,\r
-    "y": 856.3093566894531,\r
-    "z": "4456793a.59a288",\r
+    "x": 3760.509002685547,\r
+    "y": 729.4259948730469,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "be8da30d.6c1bf8",\r
+    "id": "3acf80af.f43f8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3510.883331298828,\r
-    "y": 979.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3583.9999389648438,\r
+    "y": 869.9998168945312,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4c2e6e70.a93be8"\r
+        "87a2e14c.f364a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "59df3d01.4ec704",\r
+    "id": "d256cf0d.9aea78",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3506.392364501953,\r
-    "y": 1029.3092346191406,\r
-    "z": "4456793a.59a288",\r
+    "x": 3579.509002685547,\r
+    "y": 912.4258728027344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "25d04654.5e839a"\r
+        "98a18e9a.d4f5a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "23f36ff9.6f46c",\r
+    "id": "e101efde.aba",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3507.392364501953,\r
-    "y": 1082.3092346191406,\r
-    "z": "4456793a.59a288",\r
+    "x": 3580.509002685547,\r
+    "y": 965.4258728027344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "e7e2a18.77a626"\r
+        "4d45fe17.38da58"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4c2e6e70.a93be8",\r
+    "id": "87a2e14c.f364a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3659.454864501953,\r
-    "y": 979.1689758300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 3732.5714721679688,\r
+    "y": 869.2855834960938,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "25d04654.5e839a",\r
+    "id": "98a18e9a.d4f5a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3649.392364501953,\r
-    "y": 1029.3092346191406,\r
-    "z": "4456793a.59a288",\r
+    "x": 3722.509002685547,\r
+    "y": 912.4258728027344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1f52b8ab.2e56cf",\r
+    "id": "ab5ff9c2.10c8a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3660.883331298828,\r
-    "y": 908.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3782.999969482422,\r
+    "y": 781.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "37185a88.04a7d6"\r
+        "84478c6a.6d587"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e7e2a18.77a626",\r
+    "id": "4d45fe17.38da58",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3660.883331298828,\r
-    "y": 1081.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3733.999969482422,\r
+    "y": 964.9998474121094,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "2a90b49d.030114"\r
+        "2dfc998d.a2b3e6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "37185a88.04a7d6",\r
+    "id": "84478c6a.6d587",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3832.883331298828,\r
-    "y": 908.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3957.999969482422,\r
+    "y": 755.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b7871daf.9b4e8",\r
-        "5be956df.30349"\r
+        "be084505.b458",\r
+        "5b2d2057.dd8c4",\r
+        "83ce05e.7f315f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2a90b49d.030114",\r
+    "id": "2dfc998d.a2b3e6",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3833.883331298828,\r
-    "y": 1081.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3917.999969482422,\r
+    "y": 872.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7b05f3d6.ed8c14",\r
-        "ed6ce3d.aa0b8a"\r
+        "27a94561.e70e32",\r
+        "e39a6c9c.1e6dd8",\r
+        "fe4b773c.0eae98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b7871daf.9b4e8",\r
+    "id": "be084505.b458",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4008.883331298828,\r
-    "y": 887.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4079.999969482422,\r
+    "y": 540.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "52465f0e.0c996"\r
+        "86b880d.ad45d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5be956df.30349",\r
+    "id": "5b2d2057.dd8c4",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4010.883331298828,\r
-    "y": 941.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4081.999969482422,\r
+    "y": 594.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "98cbb890.5e8b88"\r
+        "10eaea8a.998afd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7b05f3d6.ed8c14",\r
+    "id": "27a94561.e70e32",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4009.883331298828,\r
-    "y": 1051.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4099,\r
+    "y": 811,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "d0104e32.ac2ab8"\r
+        "e84921e.f8ecce"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ed6ce3d.aa0b8a",\r
+    "id": "e39a6c9c.1e6dd8",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4011.883331298828,\r
-    "y": 1105.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4101,\r
+    "y": 865,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8e259d5c.262c5"\r
+        "b7ebf9b7.e2f348"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c68d1d99.71ec4",\r
+    "id": "4ebe65d0.3ec92c",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4318.883331298828,\r
-    "y": 839.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4389.999969482422,\r
+    "y": 492.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "97074ecd.08e3c8",\r
+    "id": "b5b3e89e.18b28",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4311.883331298828,\r
-    "y": 937.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4382.999969482422,\r
+    "y": 590.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "be8be686.f85c68",\r
+    "id": "81270995.5d712",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4311.883331298828,\r
-    "y": 1024.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4401,\r
+    "y": 784,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3fa3de22.b5b33a",\r
+    "id": "7db54dd4.f36624",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4315.883331298828,\r
-    "y": 1117.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4405,\r
+    "y": 877,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bd818350.b1a8a8",\r
+    "id": "3464c217.ddf82e",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3542.883331298828,\r
-    "y": 1526.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3548,\r
+    "y": 1549,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "56ff5ea8.b777"\r
+        "5c2f3801.4eed3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ec755270.8f35e8",\r
+    "id": "e12bcc6e.caae8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3552.374298095703,\r
-    "y": 1569.4573669433594,\r
-    "z": "4456793a.59a288",\r
+    "x": 3557.490966796875,\r
+    "y": 1591.5740356445312,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "e382dfde.5b31d8"\r
+        "fb3f4046.01bc4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c9437d33.ef4e6",\r
+    "id": "a3a68564.d1334",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3540.883331298828,\r
-    "y": 1615.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3546,\r
+    "y": 1638,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f857e1e2.07be58"\r
+        "9f68f9be.d7aab8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5760f0e8.25dba",\r
+    "id": "8a9b7f74.e3a568",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3242.883331298828,\r
-    "y": 1488.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3248,\r
+    "y": 1511,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "15698ad5.b40d3d",\r
+    "id": "22efa8c9.c8576",\r
     "type": "save",\r
     "name": "get p-interface-src from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3285.883331298828,\r
-    "y": 1553.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3291,\r
+    "y": 1576,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bd818350.b1a8a8",\r
-        "ec755270.8f35e8",\r
-        "c9437d33.ef4e6"\r
+        "3464c217.ddf82e",\r
+        "e12bcc6e.caae8",\r
+        "a3a68564.d1334"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "746b18d4.be3d18",\r
+    "id": "55e39af5.a2b61c",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3286.883331298828,\r
-    "y": 1223.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3292,\r
+    "y": 1246,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "16a316bf.36aa51",\r
-        "5dc43b13.af0e5c"\r
+        "cbe70d53.b79168",\r
+        "9e0cb899.0e0f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5dc43b13.af0e5c",\r
+    "id": "9e0cb899.0e0f",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3509.883331298828,\r
-    "y": 1209.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3512.999969482422,\r
+    "y": 1298.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4015e76.5fd6098"\r
+        "300fab87.54654c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "16a316bf.36aa51",\r
+    "id": "cbe70d53.b79168",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3511.883331298828,\r
-    "y": 1242.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3514.999969482422,\r
+    "y": 1331.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f3f89c52.21e5b8"\r
+        "ad0b83ff.4cb308"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "56ff5ea8.b777",\r
+    "id": "5c2f3801.4eed3",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3715.549835205078,\r
-    "y": 1525.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3720.66650390625,\r
+    "y": 1548,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "286978b9.608f5",\r
-        "e1e71113.50d348"\r
+        "fe2c6692.47101",\r
+        "9af14a91.b12a68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e382dfde.5b31d8",\r
+    "id": "fb3f4046.01bc4",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3705.9457092285156,\r
-    "y": 1572.7431030273438,\r
-    "z": "4456793a.59a288",\r
+    "x": 3711.0623779296875,\r
+    "y": 1594.8597717285156,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f857e1e2.07be58",\r
+    "id": "9f68f9be.d7aab8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3709.883331298828,\r
-    "y": 1616.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3715,\r
+    "y": 1639,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "286978b9.608f5",\r
+    "id": "fe2c6692.47101",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3979.883331298828,\r
-    "y": 1509.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3985,\r
+    "y": 1532,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "5b0e63ee.a3ecd4",\r
-        "22c0e5a9.26fd0a"\r
+        "37956c14.cf1964",\r
+        "7f26a273.a5f25c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "22c0e5a9.26fd0a",\r
+    "id": "7f26a273.a5f25c",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4202.883331298828,\r
-    "y": 1464.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4208,\r
+    "y": 1487,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bad02ed0.d565e8"\r
+        "d180abab.fe69a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5b0e63ee.a3ecd4",\r
+    "id": "37956c14.cf1964",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4204.883331298828,\r
-    "y": 1528.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4210,\r
+    "y": 1551,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "cba8e08.e7cb12"\r
+        "11875f6b.e538c1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cba8e08.e7cb12",\r
+    "id": "11875f6b.e538c1",\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": 4366.883331298828,\r
-    "y": 1524.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4372,\r
+    "y": 1547,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bad02ed0.d565e8",\r
+    "id": "d180abab.fe69a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4367.883331298828,\r
-    "y": 1461.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4373,\r
+    "y": 1484,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "14c7dbb3.7bb934",\r
-        "ad8d4f98.026b1"\r
+        "c42ee54d.ec9ea",\r
+        "e2dee17e.90746"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b0538c9f.9cd51",\r
-    "type": "save",\r
-    "name": "save connectivity resource in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3981.883331298828,\r
-    "y": 1668.8833312988281,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "4ca2f9ab.45ab7",\r
-    "type": "execute",\r
-    "name": "execute UUID generator for connectivity domainA",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4026.883331298828,\r
-    "y": 1578.8833312988281,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "ecb8fc16.8423f8",\r
-    "type": "save",\r
-    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4109.883331298828,\r
-    "y": 1716.8833312988281,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "f3f89c52.21e5b8",\r
+    "id": "ad0b83ff.4cb308",\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": 3654.883331298828,\r
-    "y": 1239.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3657.999969482422,\r
+    "y": 1328.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4015e76.5fd6098",\r
+    "id": "300fab87.54654c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3657.883331298828,\r
-    "y": 1202.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3660.999969482422,\r
+    "y": 1291.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ebd7b0f3.96fde8",\r
-        "1cc07a61.1b7696"\r
+        "844bb618.6c32e8",\r
+        "99a55ff.3057da"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ebd7b0f3.96fde8",\r
+    "id": "844bb618.6c32e8",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3831.883331298828,\r
-    "y": 1158.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3834.999969482422,\r
+    "y": 1247.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e1e71113.50d348",\r
+    "id": "9af14a91.b12a68",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3933.883331298828,\r
-    "y": 1793.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3933.999969482422,\r
+    "y": 1641.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bc68df19.413ab"\r
+        "1b19176e.822411"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bc68df19.413ab",\r
+    "id": "1b19176e.822411",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4139.883331298828,\r
-    "y": 1793.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4139.999969482422,\r
+    "y": 1641.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "50ca2971.ea36d8"\r
+        "c875ac48.6e9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "50ca2971.ea36d8",\r
+    "id": "c875ac48.6e9",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4355.168975830078,\r
-    "y": 1793.7051086425781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4355.285614013672,\r
+    "y": 1641.8217468261719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9aafd9b7.eaf6"\r
+        "6e0bf03.4de201"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1cc07a61.1b7696",\r
+    "id": "99a55ff.3057da",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3846.883331298828,\r
-    "y": 1269.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3849.999969482422,\r
+    "y": 1358.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "502e27f2.360128",\r
-        "613a0c37.ee93fc",\r
-        "15983fe1.c65378"\r
+        "26c5a31d.0e26c4",\r
+        "1dba38b8.e09647",\r
+        "703777cb.7523f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "502e27f2.360128",\r
+    "id": "26c5a31d.0e26c4",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4042.3834533691406,\r
-    "y": 1221.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4045.5000915527344,\r
+    "y": 1310.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ab759fb6.dae2a8"\r
+        "3f157e84.d62172"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "613a0c37.ee93fc",\r
+    "id": "1dba38b8.e09647",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4034.3834533691406,\r
-    "y": 1276.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4037.5000915527344,\r
+    "y": 1365.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bc752416.e0cbc"\r
+        "7126adde.e76d1c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "15983fe1.c65378",\r
+    "id": "703777cb.7523f",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4039.3834533691406,\r
-    "y": 1333.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4042.5000915527344,\r
+    "y": 1422.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9670670b.649c48"\r
+        "f85ce86b.434b48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9670670b.649c48",\r
+    "id": "f85ce86b.434b48",\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": 4191.383453369141,\r
-    "y": 1334.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4194.500091552734,\r
+    "y": 1423.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bc752416.e0cbc",\r
+    "id": "7126adde.e76d1c",\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": 4202.383453369141,\r
-    "y": 1279.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4205.500091552734,\r
+    "y": 1368.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ab759fb6.dae2a8",\r
+    "id": "3f157e84.d62172",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4186.765777587891,\r
-    "y": 1219.5390014648438,\r
-    "z": "4456793a.59a288",\r
+    "x": 4189.882415771484,\r
+    "y": 1308.6556396484375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "fbc120c8.3124d8"\r
+        "61a6617b.c1f918"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fbc120c8.3124d8",\r
+    "id": "61a6617b.c1f918",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4370.883331298828,\r
-    "y": 1233.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4373.999969482422,\r
+    "y": 1322.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "df89787f.a5a578"\r
+        "c94ffafa.dcbd38"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ad8d4f98.026b1",\r
+    "id": "e2dee17e.90746",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4537.883331298828,\r
-    "y": 1419.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4543,\r
+    "y": 1442,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "14c7dbb3.7bb934",\r
+    "id": "c42ee54d.ec9ea",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4538.883331298828,\r
-    "y": 1527.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4544,\r
+    "y": 1550,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "832f55b4.d525f",\r
+    "id": "a1e5e819.9ba388",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4539.883331298828,\r
-    "y": 1476.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4545,\r
+    "y": 1499,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9aafd9b7.eaf6",\r
+    "id": "6e0bf03.4de201",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4562.000518798828,\r
-    "y": 1794.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4562.117156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f4bf2a88.8e07c8",\r
-        "84226d1d.c53f58",\r
-        "5135c34e.c2878c"\r
+        "663b6226.995afc",\r
+        "dd7e9ff0.ed3a48",\r
+        "21e8d5ce.795f42"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f4bf2a88.8e07c8",\r
+    "id": "663b6226.995afc",\r
     "type": "set",\r
     "name": "set source ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4777.000518798828,\r
-    "y": 1756.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4777.117156982422,\r
+    "y": 1604.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "84226d1d.c53f58",\r
+    "id": "dd7e9ff0.ed3a48",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4774.000518798828,\r
-    "y": 1795.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4774.117156982422,\r
+    "y": 1643.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9d44e19c.6d7318"\r
+        "49a01492.84fe34"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5135c34e.c2878c",\r
+    "id": "21e8d5ce.795f42",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4729.500518798828,\r
-    "y": 1837.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4729.617156982422,\r
+    "y": 1685.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9d44e19c.6d7318",\r
+    "id": "49a01492.84fe34",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4954.500518798828,\r
-    "y": 1794.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 4954.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "29687f0b.c77f5"\r
+        "292cacf5.882694"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a2ec001d.4a7fb8",\r
+    "id": "ccfcf164.268f1",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4768.883331298828,\r
-    "y": 1237.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4774,\r
+    "y": 1260,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "6f5c9a68.97563c"\r
+        "c88ef5fa.00d8b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6f5c9a68.97563c",\r
+    "id": "c88ef5fa.00d8b",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4945.883331298828,\r
-    "y": 1229.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4951,\r
+    "y": 1252,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7ae681af.873ac8",\r
-        "9549ff73.9a1cc8"\r
+        "889b0a64.f04af",\r
+        "b7b819bd.9ab3a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "df89787f.a5a578",\r
+    "id": "c94ffafa.dcbd38",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4565.883331298828,\r
-    "y": 1233.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4568.999969482422,\r
+    "y": 1322.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a2ec001d.4a7fb8",\r
-        "bc76afd9.40381"\r
+        "ccfcf164.268f1",\r
+        "109fb904.331fef"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bc76afd9.40381",\r
+    "id": "109fb904.331fef",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4771.883331298828,\r
-    "y": 1311.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4777,\r
+    "y": 1334,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1ac8b93a.8f9647"\r
+        "c72b69fd.2d015"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1ac8b93a.8f9647",\r
+    "id": "c72b69fd.2d015",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4948.883331298828,\r
-    "y": 1303.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4954,\r
+    "y": 1326,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "12ac39b2.69f38e"\r
+        "7fcaaf72.ffd618"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "29687f0b.c77f5",\r
+    "id": "292cacf5.882694",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5112.500518798828,\r
-    "y": 1794.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 5112.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "6aef1ca3.67a3dc"\r
+        "63e30873.d5c4b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6aef1ca3.67a3dc",\r
+    "id": "63e30873.d5c4b8",\r
     "type": "set",\r
     "name": "set source tunnel tp ip",\r
     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5319.500518798828,\r
-    "y": 1794.2236633300781,\r
-    "z": "4456793a.59a288",\r
+    "x": 5319.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9549ff73.9a1cc8",\r
+    "id": "b7b819bd.9ab3a",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5153.883331298828,\r
-    "y": 1236.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5159,\r
+    "y": 1259,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1ca68d2c.42a1b3",\r
-        "79238f45.d528a",\r
-        "b580a25b.41384"\r
+        "b062763c.d2a4c",\r
+        "54b52301.01aeac",\r
+        "c657b443.273d9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7ae681af.873ac8",\r
+    "id": "889b0a64.f04af",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainA id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5183.883331298828,\r
-    "y": 1184.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5189,\r
+    "y": 1207,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1ca68d2c.42a1b3",\r
+    "id": "b062763c.d2a4c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5363.883331298828,\r
-    "y": 1227.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5369,\r
+    "y": 1250,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1cf65ad.e3b2e25"\r
+        "be5642b7.4ae158"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "79238f45.d528a",\r
+    "id": "54b52301.01aeac",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5355.883331298828,\r
-    "y": 1282.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5361,\r
+    "y": 1305,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "55debd4.7dcf144"\r
+        "4c818fe4.79442"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b580a25b.41384",\r
+    "id": "c657b443.273d9",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5360.883331298828,\r
-    "y": 1339.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5366,\r
+    "y": 1362,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "277b43ae.d3d8bc"\r
+        "efb52045.6ba93"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "277b43ae.d3d8bc",\r
+    "id": "efb52045.6ba93",\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": 5512.883331298828,\r
-    "y": 1340.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5518,\r
+    "y": 1363,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "55debd4.7dcf144",\r
+    "id": "4c818fe4.79442",\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": 5523.883331298828,\r
-    "y": 1285.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5529,\r
+    "y": 1308,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1cf65ad.e3b2e25",\r
+    "id": "be5642b7.4ae158",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5508.265655517578,\r
-    "y": 1225.5390014648438,\r
-    "z": "4456793a.59a288",\r
+    "x": 5513.38232421875,\r
+    "y": 1247.6556701660156,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "293b0137.5d1d8e"\r
+        "6763b660.709548"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "12ac39b2.69f38e",\r
+    "id": "7fcaaf72.ffd618",\r
     "type": "set",\r
     "name": "set domainA ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5183.883331298828,\r
-    "y": 1427.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5189,\r
+    "y": 1450,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "293b0137.5d1d8e",\r
+    "id": "6763b660.709548",\r
     "type": "set",\r
     "name": "set controller domainA data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5722.883331298828,\r
-    "y": 1221.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5728,\r
+    "y": 1244,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f12c4ac3.acc2d",\r
+    "id": "1bc82fcd.e38b3",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4306.883331298828,\r
-    "y": 875.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4377.999969482422,\r
+    "y": 528.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "23d5a8e8.6a48d8",\r
+    "id": "1ea9819.2a7577e",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4297.883331298828,\r
-    "y": 973.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4368.999969482422,\r
+    "y": 626.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "52465f0e.0c996",\r
+    "id": "86b880d.ad45d",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4131.883331298828,\r
-    "y": 881.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4202.999969482422,\r
+    "y": 534.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "c68d1d99.71ec4",\r
-        "f12c4ac3.acc2d"\r
+        "4ebe65d0.3ec92c",\r
+        "1bc82fcd.e38b3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "98cbb890.5e8b88",\r
+    "id": "10eaea8a.998afd",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4137.883331298828,\r
-    "y": 945.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4208.999969482422,\r
+    "y": 598.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "97074ecd.08e3c8",\r
-        "23d5a8e8.6a48d8"\r
+        "b5b3e89e.18b28",\r
+        "1ea9819.2a7577e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d0104e32.ac2ab8",\r
+    "id": "e84921e.f8ecce",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4137.883331298828,\r
-    "y": 1051.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4227,\r
+    "y": 811,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "be8be686.f85c68",\r
-        "e50dfba7.f60328"\r
+        "81270995.5d712",\r
+        "aacd9933.603dc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8e259d5c.262c5",\r
+    "id": "b7ebf9b7.e2f348",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4140.883331298828,\r
-    "y": 1104.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4230,\r
+    "y": 864,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "3fa3de22.b5b33a",\r
-        "6c2da806.3569b"\r
+        "7db54dd4.f36624",\r
+        "bffe7efa.872038"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e50dfba7.f60328",\r
+    "id": "aacd9933.603dc8",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4297.883331298828,\r
-    "y": 1064.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4387,\r
+    "y": 824,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6c2da806.3569b",\r
+    "id": "bffe7efa.872038",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4300.883331298828,\r
-    "y": 1155.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4390,\r
+    "y": 915,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b9324a20.74a63",\r
+    "id": "786dd6d1.bb9f",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3672.883331298828,\r
-    "y": 2365.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3681.999969482422,\r
+    "y": 2041.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f10be91.1b09d98",\r
-        "d09bd461.c7ba88"\r
+        "ced1d6e7.1761a",\r
+        "debfaec3.11449"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "56bce95e.90bfe",\r
+    "id": "4b469f00.bbd698",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3500.216827392578,\r
-    "y": 2366.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3509.333465576172,\r
+    "y": 2042.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b9324a20.74a63"\r
+        "786dd6d1.bb9f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aea1bf99.8fdcc",\r
+    "id": "abe29976.f7b82",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3509.707794189453,\r
-    "y": 2409.4573669433594,\r
-    "z": "4456793a.59a288",\r
+    "x": 3518.824432373047,\r
+    "y": 2085.574005126953,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "29a46b5c.88b5bc"\r
+        "fd5b7bb5.9eb778"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "87e0206.8796c6",\r
+    "id": "df5e24e1.4bbfc8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3498.216827392578,\r
-    "y": 2455.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3507.333465576172,\r
+    "y": 2131.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1d955e57.2601ca"\r
+        "8efc96df.7aca9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "29a46b5c.88b5bc",\r
+    "id": "fd5b7bb5.9eb778",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3663.2792053222656,\r
-    "y": 2412.7431030273438,\r
-    "z": "4456793a.59a288",\r
+    "x": 3672.3958435058594,\r
+    "y": 2088.8597412109375,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1d955e57.2601ca",\r
+    "id": "8efc96df.7aca9",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3667.216827392578,\r
-    "y": 2456.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3676.333465576172,\r
+    "y": 2132.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f10be91.1b09d98",\r
+    "id": "ced1d6e7.1761a",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3959.216827392578,\r
-    "y": 2369.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 3968.333465576172,\r
+    "y": 2046.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "fda7c536.3acee",\r
-        "c79b96a2.97ef58"\r
+        "8ff8205e.94493",\r
+        "d23599ca.696b88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c79b96a2.97ef58",\r
+    "id": "d23599ca.696b88",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4182.216827392578,\r
-    "y": 2324.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4191.333465576172,\r
+    "y": 2001.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "81ad908f.6a16e"\r
+        "9c58fe22.c1b4f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fda7c536.3acee",\r
+    "id": "8ff8205e.94493",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4184.216827392578,\r
-    "y": 2388.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4193.333465576172,\r
+    "y": 2065.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "e8b14d91.9e5c88"\r
+        "f9f53a1b.e6879"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e8b14d91.9e5c88",\r
+    "id": "f9f53a1b.e6879",\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": 4343.216827392578,\r
-    "y": 2407.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4352.333465576172,\r
+    "y": 2084.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "81ad908f.6a16e",\r
+    "id": "9c58fe22.c1b4f8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4347.216827392578,\r
-    "y": 2321.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4356.333465576172,\r
+    "y": 1998.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "cad9326b.b2da",\r
-        "3eb5f127.732d1e"\r
+        "a3891ddf.35707",\r
+        "dedb2135.03f5b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cf8b334d.12d69",\r
-    "type": "save",\r
-    "name": "save connectivity resource in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3961.216827392578,\r
-    "y": 2528.8834533691406,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "a51bfc6c.2ab4b",\r
-    "type": "execute",\r
-    "name": "execute UUID generator for connectivity domainB",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4006.216827392578,\r
-    "y": 2438.8834533691406,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "5d70457e.e444e4",\r
-    "type": "save",\r
-    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4088.216827392578,\r
-    "y": 2593.8834533691406,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "ff1965cc.9c6318",\r
+    "id": "b18620c8.640928",\r
     "type": "save",\r
     "name": "get p-interface-dst from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3272.216827392578,\r
-    "y": 2401.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3281.333465576172,\r
+    "y": 2077.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "56bce95e.90bfe",\r
-        "aea1bf99.8fdcc",\r
-        "87e0206.8796c6"\r
+        "4b469f00.bbd698",\r
+        "abe29976.f7b82",\r
+        "df5e24e1.4bbfc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e04ad761.fdc11",\r
+    "id": "2363f2d1.c22566",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3233.216827392578,\r
-    "y": 2345.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3242.333465576172,\r
+    "y": 2021.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3d22a200.42e29e",\r
+    "id": "d6e1611b.9ddcf",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3290.216827392578,\r
-    "y": 2064.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3301.333465576172,\r
+    "y": 1817.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f0778891.f400f",\r
-        "2be980fe.83d6b8"\r
+        "cf2f2f41.e3b378",\r
+        "39e668ff.f44578"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2be980fe.83d6b8",\r
+    "id": "39e668ff.f44578",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3513.216827392578,\r
-    "y": 2050.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3524.333465576172,\r
+    "y": 1803.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1ec9f8d.bab6807"\r
+        "a19c910d.573ee"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f0778891.f400f",\r
+    "id": "cf2f2f41.e3b378",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3515.216827392578,\r
-    "y": 2083.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3526.333465576172,\r
+    "y": 1836.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "45edb459.c45c8c"\r
+        "13f310d4.058aff"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "45edb459.c45c8c",\r
+    "id": "13f310d4.058aff",\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": 3658.216827392578,\r
-    "y": 2080.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3669.333465576172,\r
+    "y": 1833.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1ec9f8d.bab6807",\r
+    "id": "a19c910d.573ee",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3661.216827392578,\r
-    "y": 2043.8832092285156,\r
-    "z": "4456793a.59a288",\r
+    "x": 3672.333465576172,\r
+    "y": 1796.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8bf99b8b.4af368",\r
-        "57c842ba.83379c"\r
+        "f7d74c47.1bc978",\r
+        "f5bac544.61fa48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8bf99b8b.4af368",\r
+    "id": "f7d74c47.1bc978",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3855.216827392578,\r
-    "y": 2046.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3866.333465576172,\r
+    "y": 1800.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d09bd461.c7ba88",\r
+    "id": "debfaec3.11449",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3918.216827392578,\r
-    "y": 2678.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3919.3334350585938,\r
+    "y": 2168.9999389648438,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "adbd165.7c69a68"\r
+        "9615e6c.711fd18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "adbd165.7c69a68",\r
+    "id": "9615e6c.711fd18",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4124.216827392578,\r
-    "y": 2678.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4125.333435058594,\r
+    "y": 2168.9999389648438,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9b58a38.dc3806"\r
+        "cbe4341f.004078"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9b58a38.dc3806",\r
+    "id": "cbe4341f.004078",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4341.502471923828,\r
-    "y": 2677.705108642578,\r
-    "z": "4456793a.59a288",\r
+    "x": 4342.619079589844,\r
+    "y": 2167.8217163085938,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ec0e6199.3c529"\r
+        "c7f950c4.309208"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "57c842ba.83379c",\r
+    "id": "f5bac544.61fa48",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3877.216827392578,\r
-    "y": 2114.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3888.333465576172,\r
+    "y": 1868.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "34626e8a.0bbe1a",\r
-        "390dcffe.f00898",\r
-        "4d1fe4fe.2890ec"\r
+        "2c3b0cc0.e9a8bc",\r
+        "964d0d68.ea7238",\r
+        "c9fecb15.92dc4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "34626e8a.0bbe1a",\r
+    "id": "2c3b0cc0.e9a8bc",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4072.7169494628906,\r
-    "y": 2066.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4083.8335876464844,\r
+    "y": 1820.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "95be6ff8.bea0e"\r
+        "d8e08a6a.bad6c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "390dcffe.f00898",\r
+    "id": "964d0d68.ea7238",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4064.7169494628906,\r
-    "y": 2121.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4075.8335876464844,\r
+    "y": 1875.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "46312f08.59959"\r
+        "30330606.c5c78a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4d1fe4fe.2890ec",\r
+    "id": "c9fecb15.92dc4",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4069.7169494628906,\r
-    "y": 2178.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4080.8335876464844,\r
+    "y": 1932.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "15450853.01aa88"\r
+        "7d5217b1.764cf"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "15450853.01aa88",\r
+    "id": "7d5217b1.764cf",\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": 4221.716949462891,\r
-    "y": 2179.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4232.833587646484,\r
+    "y": 1933.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "46312f08.59959",\r
+    "id": "30330606.c5c78a",\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": 4232.716949462891,\r
-    "y": 2124.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4243.833587646484,\r
+    "y": 1878.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "95be6ff8.bea0e",\r
+    "id": "d8e08a6a.bad6c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4217.099273681641,\r
-    "y": 2064.5390014648438,\r
-    "z": "4456793a.59a288",\r
+    "x": 4228.215911865234,\r
+    "y": 1817.65576171875,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "691678af.c2875"\r
+        "57c065bf.a4bd5c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cad9326b.b2da",\r
+    "id": "a3891ddf.35707",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4517.216827392578,\r
-    "y": 2282.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4526.333465576172,\r
+    "y": 1959.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3eb5f127.732d1e",\r
+    "id": "dedb2135.03f5b8",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4518.216827392578,\r
-    "y": 2387.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4527.333465576172,\r
+    "y": 2064.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bf01d807.ca2a6",\r
+    "id": "cd4b037.d584a",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4513.216827392578,\r
-    "y": 2336.8834533691406,\r
-    "z": "4456793a.59a288",\r
+    "x": 4522.333465576172,\r
+    "y": 2013.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ec0e6199.3c529",\r
+    "id": "c7f950c4.309208",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4548.334014892578,\r
-    "y": 2667.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4549.450622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "310c30a2.98cdd8",\r
-        "f852afcd.3e249",\r
-        "77117052.72541"\r
+        "dd90bf13.7024b8",\r
+        "71302a26.8b2194",\r
+        "1d143619.b4c942"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "310c30a2.98cdd8",\r
+    "id": "dd90bf13.7024b8",\r
     "type": "set",\r
     "name": "set destination ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4763.334014892578,\r
-    "y": 2629.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4764.450622558594,\r
+    "y": 2119.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f852afcd.3e249",\r
+    "id": "71302a26.8b2194",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4760.334014892578,\r
-    "y": 2668.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4761.450622558594,\r
+    "y": 2158.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8dd58be1.de6918"\r
+        "d8986410.1ab67"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "77117052.72541",\r
+    "id": "1d143619.b4c942",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4715.834014892578,\r
-    "y": 2710.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4716.950622558594,\r
+    "y": 2200.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8dd58be1.de6918",\r
+    "id": "d8986410.1ab67",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4940.834014892578,\r
-    "y": 2667.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 4941.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bf6de4b9.07a8d8"\r
+        "ce977a1e.eca43"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bf6de4b9.07a8d8",\r
+    "id": "ce977a1e.eca43",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5098.834014892578,\r
-    "y": 2667.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 5099.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4337b0b8.5fd258"\r
+        "fad51809.c9b758"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4337b0b8.5fd258",\r
+    "id": "fad51809.c9b758",\r
     "type": "set",\r
     "name": "set destination tunnel tp ip",\r
     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5305.834014892578,\r
-    "y": 2667.2237854003906,\r
-    "z": "4456793a.59a288",\r
+    "x": 5306.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "290c1291.0be836",\r
+    "id": "3e817052.af0e48",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4799.216827392578,\r
-    "y": 2082.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4810.333465576172,\r
+    "y": 1836.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4a42d224.6e916c"\r
+        "41d964fa.bed18c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4a42d224.6e916c",\r
+    "id": "41d964fa.bed18c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4976.216827392578,\r
-    "y": 2074.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4987.333465576172,\r
+    "y": 1828.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "44500a36.8314c4",\r
-        "edf4775.6feec88"\r
+        "286abe4.161a1c2",\r
+        "51859ea0.e5a788"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "691678af.c2875",\r
+    "id": "57c065bf.a4bd5c",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4401.216827392578,\r
-    "y": 2078.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4412.333465576172,\r
+    "y": 1832.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "e26ac43.7b22838"\r
+        "89b46226.1281f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e26ac43.7b22838",\r
+    "id": "89b46226.1281f",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4596.216827392578,\r
-    "y": 2078.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4607.333465576172,\r
+    "y": 1832.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "290c1291.0be836",\r
-        "91efe90a.a989f"\r
+        "3e817052.af0e48",\r
+        "56bdf4f5.249c24"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "edf4775.6feec88",\r
+    "id": "51859ea0.e5a788",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5184.216827392578,\r
-    "y": 2081.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5195.333465576172,\r
+    "y": 1835.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ccc8d651.608a58",\r
-        "4c1a6f18.7cad4",\r
-        "d7a69532.21f81"\r
+        "d1ce3d2f.531928",\r
+        "ba2a8dba.a8d52",\r
+        "4ba192d1.030d84"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1e83e9df.5f1ca6",\r
+    "id": "f8a3b14d.675a5",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4978.216827392578,\r
-    "y": 2147.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4989.333465576172,\r
+    "y": 1901.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "36af6584.4e4842"\r
+        "25c16268.66f006"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "91efe90a.a989f",\r
+    "id": "56bdf4f5.249c24",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4801.216827392578,\r
-    "y": 2155.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4812.333465576172,\r
+    "y": 1909.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1e83e9df.5f1ca6"\r
+        "f8a3b14d.675a5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "44500a36.8314c4",\r
+    "id": "286abe4.161a1c2",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainB id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5214.216827392578,\r
-    "y": 2029.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 5225.333465576172,\r
+    "y": 1783.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "36af6584.4e4842",\r
+    "id": "25c16268.66f006",\r
     "type": "set",\r
     "name": "set domainB ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5213.216827392578,\r
-    "y": 2271.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5224.333465576172,\r
+    "y": 2025.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ccc8d651.608a58",\r
+    "id": "d1ce3d2f.531928",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5394.216827392578,\r
-    "y": 2072.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5405.333465576172,\r
+    "y": 1826.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "39681472.975784"\r
+        "9d788655.20f98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4c1a6f18.7cad4",\r
+    "id": "ba2a8dba.a8d52",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5386.216827392578,\r
-    "y": 2127.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5397.333465576172,\r
+    "y": 1881.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bc7c4cb6.e261e8"\r
+        "96363bdc.091"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d7a69532.21f81",\r
+    "id": "4ba192d1.030d84",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5391.216827392578,\r
-    "y": 2184.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5402.333465576172,\r
+    "y": 1938.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "10a038dd.f22947"\r
+        "6a0588e1.3fd2b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "10a038dd.f22947",\r
+    "id": "6a0588e1.3fd2b8",\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": 5543.216827392578,\r
-    "y": 2185.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5554.333465576172,\r
+    "y": 1939.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bc7c4cb6.e261e8",\r
+    "id": "96363bdc.091",\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": 5554.216827392578,\r
-    "y": 2130.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5565.333465576172,\r
+    "y": 1884.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "39681472.975784",\r
+    "id": "9d788655.20f98",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5538.599151611328,\r
-    "y": 2070.5390014648438,\r
-    "z": "4456793a.59a288",\r
+    "x": 5549.715789794922,\r
+    "y": 1823.65576171875,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "19f3508c.df2467"\r
+        "f42174ac.a42b5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "19f3508c.df2467",\r
+    "id": "f42174ac.a42b5",\r
     "type": "set",\r
     "name": "set controller domainB data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5753.216827392578,\r
-    "y": 2066.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5764.333465576172,\r
+    "y": 1820.0000915527344,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a8011cb7.dd8288",\r
+    "id": "11e0f934.faeab7",\r
     "type": "set",\r
     "name": "set LEAF stuff",\r
     "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3251.883331298828,\r
-    "y": 1676.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3248.999969482422,\r
+    "y": 1638.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "48c20a24.e1d944",\r
+    "id": "87d62238.4ede38",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4473.883331298828,\r
-    "y": 959.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4544.999969482422,\r
+    "y": 612.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "33f8c668.c00922",\r
+    "id": "da6b2335.2cb2",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4465.883331298828,\r
-    "y": 1049.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 4555,\r
+    "y": 809,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "60be6b60.c49e7c",\r
+    "id": "b71f57a7.e2a288",\r
     "type": "set",\r
     "name": "set ROOT stuff",\r
     "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3232.883331298828,\r
-    "y": 2532.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3251.9999389648438,\r
+    "y": 2146.9999389648438,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "77fe2bdc.eed0c4",\r
+    "id": "f7d11626.bd108",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3383.883331298828,\r
-    "y": 2780.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3389,\r
+    "y": 2803,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c658e7ef.0b11d8",\r
+    "id": "7d22810d.66642",\r
     "type": "switchNode",\r
     "name": "switch found-middle-man?",\r
     "xml": "<switch test='`$found-middle-man`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3260.883331298828,\r
-    "y": 2890.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3266,\r
+    "y": 2913,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "5eb047e9.2f7668",\r
-        "a0bb1c61.b88728"\r
+        "74458dfb.e82acc",\r
+        "6d43d493.c2ab14"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5eb047e9.2f7668",\r
+    "id": "74458dfb.e82acc",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3444.883331298828,\r
-    "y": 2869.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3450,\r
+    "y": 2892,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "fb1841e2.6264"\r
+        "bd8c7362.5e86a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a0bb1c61.b88728",\r
+    "id": "6d43d493.c2ab14",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3336.883331298828,\r
-    "y": 5047.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3342,\r
+    "y": 5070,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4d88182e.2579a"\r
+        "f235a0e0.02a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4d88182e.2579a",\r
+    "id": "f235a0e0.02a8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3491.883331298828,\r
-    "y": 5040.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3497,\r
+    "y": 5063,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "44d48088.590d78",\r
-        "a2dd9c19.75287",\r
-        "906b118c.b5ca4",\r
-        "80cc4c1e.a6bfe",\r
-        "3d1de5ec.2ac45a"\r
+        "69d3ed18.577c3c",\r
+        "f2a7dc4a.68ede",\r
+        "a789852e.51cd48",\r
+        "434bd8c2.bae4f8",\r
+        "cd1fc06c.124968",\r
+        "c32fbe2a.4ce3f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fb1841e2.6264",\r
+    "id": "bd8c7362.5e86a8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3587.883331298828,\r
-    "y": 2869.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3593,\r
+    "y": 2892,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "e6eab534.0772a8",\r
-        "b10b9835.71fc5",\r
-        "9c84ab4f.a1a008",\r
-        "50925bce.958aec",\r
-        "eab645cb.c973",\r
-        "74310cc1.794b3c",\r
-        "b442de01.03d108",\r
-        "a559e6ec.97fea8",\r
-        "c65cb0db.1db578",\r
-        "c0792f26.4d13b8",\r
-        "e82ea719.e6f068",\r
-        "c4a1bace.0d4bb",\r
-        "8f561f42.000fe8",\r
-        "aa738c85.1c137",\r
-        "54d18bcb.0986c4",\r
-        "4494cc45.3ce764",\r
-        "b937ed07.a77618",\r
-        "d5c180c8.9f0b08",\r
-        "123d53b6.2c62dc"\r
+        "edf6563f.502118",\r
+        "59e68189.ade8e8",\r
+        "39d89d00.a48b3c",\r
+        "f51c657e.c3fcc8",\r
+        "3b5e2d55.c49c42",\r
+        "c40c923d.ffb318",\r
+        "3d1335ab.d13122",\r
+        "441ba30c.ae2a1c",\r
+        "5bfaebb4.b0d114",\r
+        "32f3c697.c51f22",\r
+        "f60b0d1b.343218",\r
+        "51fbee04.79f4f",\r
+        "a2a5771a.032e88",\r
+        "a39c337f.4b8598",\r
+        "f9369eb9.dd61b",\r
+        "dad20130.739d78",\r
+        "124ab46d.2d752c",\r
+        "fdfcc8c4.b3e8a8",\r
+        "8b9dcfa3.01c508",\r
+        "87dcb71b.a618f",\r
+        "286f0ec8.852352",\r
+        "2bbca6cc.0ec622"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c65cb0db.1db578",\r
+    "id": "5bfaebb4.b0d114",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainB",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3898.883331298828,\r
-    "y": 3224.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3903,\r
+    "y": 3207,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e6eab534.0772a8",\r
+    "id": "edf6563f.502118",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3852.883331298828,\r
-    "y": 3322.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3851,\r
+    "y": 3249,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b10b9835.71fc5",\r
+    "id": "59e68189.ade8e8",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3988.883331298828,\r
-    "y": 3369.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3980,\r
+    "y": 3291,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "6e8e8040.0d64",\r
+    "id": "c425c4b.b5f8838",\r
     "type": "comment",\r
     "name": "Create ROOT connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3819.883331298828,\r
-    "y": 3173.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3826,\r
+    "y": 3166,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "69147836.dfe478",\r
+    "id": "78e08e98.7c634",\r
     "type": "comment",\r
     "name": "create middle man connectivity and ...",\r
     "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
     "comments": "",\r
-    "x": 4345.883331298828,\r
-    "y": 3664.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4351,\r
+    "y": 3687,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9c84ab4f.a1a008",\r
+    "id": "39d89d00.a48b3c",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity middle-man",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3909.883331298828,\r
-    "y": 3703.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3915,\r
+    "y": 3726,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "50925bce.958aec",\r
+    "id": "f51c657e.c3fcc8",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3857.883331298828,\r
-    "y": 3754.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3863,\r
+    "y": 3777,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "eab645cb.c973",\r
+    "id": "3b5e2d55.c49c42",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3993.883331298828,\r
-    "y": 3801.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3999,\r
+    "y": 3824,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "921a5ccf.2b2f38",\r
+    "id": "62d7e2a.9cbc61c",\r
     "type": "comment",\r
     "name": "Create MIDDLE-MAN connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3850.883331298828,\r
-    "y": 3663.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3856,\r
+    "y": 3686,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8fa15646.014b68",\r
+    "id": "1f0597e7.f750d8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4280.883331298828,\r
-    "y": 3860.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4286,\r
+    "y": 3883,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "74310cc1.794b3c",\r
+    "id": "c40c923d.ffb318",\r
     "type": "save",\r
     "name": "get middle-man connectivity from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3871.883331298828,\r
-    "y": 3907.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3877,\r
+    "y": 3930,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9785079b.24c0f8",\r
-        "81e9c000.43765",\r
-        "377b8f18.e7499"\r
+        "b2dc6149.43ec28",\r
+        "f8c162ee.8e2a8",\r
+        "a8c36503.377908"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9785079b.24c0f8",\r
+    "id": "b2dc6149.43ec28",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4118.883331298828,\r
-    "y": 3861.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4124,\r
+    "y": 3884,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8fa15646.014b68"\r
+        "1f0597e7.f750d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "81e9c000.43765",\r
+    "id": "f8c162ee.8e2a8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4119.374298095703,\r
-    "y": 3907.4573669433594,\r
-    "z": "4456793a.59a288",\r
+    "x": 4124.490966796875,\r
+    "y": 3929.5740356445312,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b389b203.4af2"\r
+        "244505cb.7c97da"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "377b8f18.e7499",\r
+    "id": "a8c36503.377908",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4116.883331298828,\r
-    "y": 3950.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4122,\r
+    "y": 3973,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "7f887f7.029e08"\r
+        "fac0a6c3.57a578"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b389b203.4af2",\r
+    "id": "244505cb.7c97da",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4281.945709228516,\r
-    "y": 3907.7431030273438,\r
-    "z": "4456793a.59a288",\r
+    "x": 4287.0623779296875,\r
+    "y": 3929.8597717285156,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7f887f7.029e08",\r
+    "id": "fac0a6c3.57a578",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4285.883331298828,\r
-    "y": 3951.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4291,\r
+    "y": 3974,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "54d18bcb.0986c4",\r
+    "id": "f9369eb9.dd61b",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3928.883331298828,\r
-    "y": 4186.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3931,\r
+    "y": 4272,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "4494cc45.3ce764",\r
+    "id": "dad20130.739d78",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3931.883331298828,\r
-    "y": 4231.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3934,\r
+    "y": 4317,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d5c180c8.9f0b08",\r
+    "id": "fdfcc8c4.b3e8a8",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3920.883331298828,\r
-    "y": 4022.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3926,\r
+    "y": 4045,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "123d53b6.2c62dc",\r
+    "id": "8b9dcfa3.01c508",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3922.883331298828,\r
-    "y": 4069.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3928,\r
+    "y": 4092,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "8369bd06.57f78",\r
+    "id": "ed841a30.7664d",\r
     "type": "comment",\r
     "name": "The following two will be done in F1",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3844.883331298828,\r
-    "y": 4139.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3847,\r
+    "y": 4225,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "487123e4.9cc8ac",\r
+    "id": "7144ff5f.c519e8",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4451.883331298828,\r
-    "y": 4868.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4457,\r
+    "y": 4891,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "44d48088.590d78",\r
+    "id": "69d3ed18.577c3c",\r
     "type": "switchNode",\r
     "name": "switch no-pce-call",\r
     "xml": "<switch test='`$no-pce-call`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3706.883331298828,\r
-    "y": 5021.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3712,\r
+    "y": 5044,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "876b39f.35a52c8",\r
-        "8bc7cacf.04871"\r
+        "ae7574f4.3ebe3",\r
+        "8bd2d4fd.8c4f1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8bc7cacf.04871",\r
+    "id": "8bd2d4fd.8c4f1",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3878.883331298828,\r
-    "y": 5018.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3884,\r
+    "y": 5041,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "682f4705.be7878"\r
+        "439959aa.a8d0e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "876b39f.35a52c8",\r
+    "id": "ae7574f4.3ebe3",\r
     "type": "outcomeFalse",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3830.883331298828,\r
-    "y": 5865.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3836,\r
+    "y": 5888,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "dd90ad1a.7eef1"\r
+        "b05d129.ef1b1f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "270e251f.118d82",\r
+    "id": "bbd89123.3c84c8",\r
     "type": "comment",\r
     "name": "1 --> PCE is needed",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3891.883331298828,\r
-    "y": 4988.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3897,\r
+    "y": 5011,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4e629c01.10676c",\r
+    "id": "88e636e4.0ad278",\r
     "type": "comment",\r
     "name": "2 --> no need to call PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3901.883331298828,\r
-    "y": 5823.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3907,\r
+    "y": 5846,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b442de01.03d108",\r
+    "id": "3d1335ab.d13122",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3928.883331298828,\r
-    "y": 4295.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3930,\r
+    "y": 4420,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "682f4705.be7878",\r
+    "id": "439959aa.a8d0e",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4054.883331298828,\r
-    "y": 5020.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4060,\r
+    "y": 5043,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "bf69d5f0.d5943",\r
-        "50051e09.5a44c8",\r
-        "d933fbbc.703308",\r
-        "52cab496.bab24c",\r
-        "86c9672.840f818",\r
-        "81a4b89b.48797",\r
-        "487123e4.9cc8ac"\r
+        "398ca5b9.10ae92",\r
+        "26315d76.5ba5da",\r
+        "70413194.4e4218",\r
+        "36f7b692.fe5f9a",\r
+        "23762b83.94d65c",\r
+        "1981b041.f96778",\r
+        "7144ff5f.c519e8",\r
+        "d1a4e2c9.15ac9",\r
+        "24040f90.d6a4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b674f25b.3aa2a8",\r
+    "id": "9b6d23e8.2f4c1",\r
     "type": "comment",\r
     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5499.883331298828,\r
-    "y": 4493.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5505,\r
+    "y": 4516,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bf69d5f0.d5943",\r
+    "id": "398ca5b9.10ae92",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4446.883331298828,\r
-    "y": 5171.883331298828,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "5c84b550.a10344",\r
-    "type": "call",\r
-    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3938.883331298828,\r
-    "y": 4350.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4438,\r
+    "y": 5546,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a559e6ec.97fea8",\r
+    "id": "441ba30c.ae2a1c",\r
     "type": "save",\r
     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3904.883331298828,\r
-    "y": 3563.883331298828,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "ce126dd2.e4e358",\r
-    "type": "save",\r
-    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3364.883331298828,\r
-    "y": 1782.8833312988281,\r
-    "z": "4456793a.59a288",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "b48deb35.d704b8",\r
-    "type": "save",\r
-    "name": "save LEAF UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3271.883331298828,\r
-    "y": 1729.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3909,\r
+    "y": 3420,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "dfa7cbf8.916408",\r
-    "type": "set",\r
-    "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
-    "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
-    "comments": "",\r
-    "x": 3954.883331298828,\r
-    "y": 3266.883331298828,\r
-    "z": "4456793a.59a288",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "c0792f26.4d13b8",\r
+    "id": "32f3c697.c51f22",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3901.883331298828,\r
-    "y": 2854.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3907,\r
+    "y": 2877,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e82ea719.e6f068",\r
+    "id": "f60b0d1b.343218",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3849.883331298828,\r
-    "y": 2902.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3855,\r
+    "y": 2925,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c4a1bace.0d4bb",\r
+    "id": "51fbee04.79f4f",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3977.883331298828,\r
-    "y": 2949.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3983,\r
+    "y": 2972,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c598b640.a89e8",\r
+    "id": "f3326814.1ece9",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3814.883331298828,\r
-    "y": 2812.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3820,\r
+    "y": 2835,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8f561f42.000fe8",\r
+    "id": "a2a5771a.032e88",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3811.883331298828,\r
-    "y": 3040.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3817,\r
+    "y": 3063,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "aa738c85.1c137",\r
+    "id": "a39c337f.4b8598",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3904.883331298828,\r
-    "y": 3093.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3910,\r
+    "y": 3116,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b51a7f91.5cff9",\r
+    "id": "71641615.6f44c8",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3795.883331298828,\r
-    "y": 2996.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3801,\r
+    "y": 3019,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4ec3384a.676a5",\r
+    "id": "11067d29.f83e4b",\r
     "type": "comment",\r
     "name": "Create ROOT UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3801.883331298828,\r
-    "y": 3446.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3805,\r
+    "y": 3335,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "52cab496.bab24c",\r
+    "id": "36f7b692.fe5f9a",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4368.883331298828,\r
-    "y": 4501.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4374,\r
+    "y": 4524,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1646f155.836fb7",\r
+    "id": "fa6ec7f0.b5b858",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4352.883331298828,\r
-    "y": 4457.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4358,\r
+    "y": 4480,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "778ce84a.a3568",\r
+    "id": "87e40dc2.3dae2",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5099.883331298828,\r
-    "y": 4488.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5105,\r
+    "y": 4511,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b61f10f5.eeecf",\r
+    "id": "a4406b4c.17bbc",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5186.883331298828,\r
-    "y": 4530.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5192,\r
+    "y": 4553,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "90640d99.12302",\r
+    "id": "18ca4a3.634f536",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5134.883331298828,\r
-    "y": 4578.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5140,\r
+    "y": 4601,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "42e8372d.d506e",\r
+    "id": "b4f57662.21d798",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5262.883331298828,\r
-    "y": 4625.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5268,\r
+    "y": 4648,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "81a4b89b.48797",\r
+    "id": "1981b041.f96778",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4439.883331298828,\r
-    "y": 4910.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4445,\r
+    "y": 4933,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a53bc0fc.34d448",\r
+    "id": "1ff0ab3b.554fd5",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4422.883331298828,\r
-    "y": 4972.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4428,\r
+    "y": 4995,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "50051e09.5a44c8",\r
+    "id": "26315d76.5ba5da",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4533.883331298828,\r
-    "y": 5014.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4539,\r
+    "y": 5037,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3073b323.349b7c",\r
+    "id": "99476299.d65948",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4981.883331298828,\r
-    "y": 5067.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4987,\r
+    "y": 5090,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dbdd7c00.c39698",\r
+    "id": "7e1b41de.44cf5",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4291.883331298828,\r
-    "y": 5765.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4297,\r
+    "y": 5788,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1d6ec4bb.ad8c0b",\r
+    "id": "99207b39.65e8d8",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4189.883331298828,\r
-    "y": 5714.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4195,\r
+    "y": 5737,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "41eb9866.4372",\r
+    "id": "fc9d3b48.0b961",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4173.883331298828,\r
-    "y": 5670.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4179,\r
+    "y": 5693,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c54f6272.9ba24",\r
+    "id": "cdbca407.a3714",\r
     "type": "save",\r
     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4980.883087158203,\r
-    "y": 5868.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4965,\r
+    "y": 5950,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d933fbbc.703308",\r
+    "id": "70413194.4e4218",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4360.883331298828,\r
-    "y": 5071.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4366,\r
+    "y": 5094,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4c2996a3.75ee88",\r
-        "d5943bd2.ad1f5"\r
+        "9e68e3f9.d79778",\r
+        "3f3ed24c.0decee"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4c2996a3.75ee88",\r
+    "id": "9e68e3f9.d79778",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4571.883331298828,\r
-    "y": 5071.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4577,\r
+    "y": 5094,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8f5805d9.890fd8"\r
+        "e924e4da.1f13b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8f5805d9.890fd8",\r
+    "id": "e924e4da.1f13b",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4727.883331298828,\r
-    "y": 5067.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4733,\r
+    "y": 5090,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "3073b323.349b7c",\r
-        "7eeebeb3.54b298",\r
-        "eadd33f3.5f43"\r
+        "99476299.d65948",\r
+        "259aff1b.d97a1",\r
+        "b61f1c95.4694d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d5943bd2.ad1f5",\r
+    "id": "3f3ed24c.0decee",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4567.883331298828,\r
-    "y": 5119.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4573,\r
+    "y": 5142,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "329fba30.af81ce"\r
+        "6bc2c49e.5247fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "329fba30.af81ce",\r
+    "id": "6bc2c49e.5247fc",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 4715.883331298828,\r
-    "y": 5114.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4721,\r
+    "y": 5137,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7679135b.31e8e4",\r
+    "id": "540d81b.ac8608",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5223.883331298828,\r
-    "y": 4696.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5229,\r
+    "y": 4719,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d050303.0f4a3d",\r
+    "id": "e8527008.db6228",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2389.883331298828,\r
-    "y": 107.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 2395,\r
+    "y": 130,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c2f95f80.985fc",\r
+    "id": "a669b945.663408",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2323.883331298828,\r
-    "y": 143.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 2329,\r
+    "y": 166,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "360465cd.d1fc3a",\r
+    "id": "ba20200a.599368",\r
     "type": "comment",\r
     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2508.883331298828,\r
-    "y": 70.88333129882812,\r
-    "z": "4456793a.59a288",\r
+    "x": 2514,\r
+    "y": 93,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "33673680.57cf72",\r
+    "id": "f5cafc97.3be338",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 4258.883331298828,\r
-    "y": 5831.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4264,\r
+    "y": 5854,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e2cec405.b0409",\r
+    "id": "433677c1.52ee48",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4391.883331298828,\r
-    "y": 5879.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4397,\r
+    "y": 5902,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "6e2ab292.566884",\r
+    "id": "fabf4cab.b217e",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4210.883331298828,\r
-    "y": 5937.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4216,\r
+    "y": 5960,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "9073e816.ad482",\r
-        "45d66689.aaaf7"\r
+        "d58843e6.45b67",\r
+        "5480ce12.618198"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9073e816.ad482",\r
+    "id": "d58843e6.45b67",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4403.883331298828,\r
-    "y": 5938.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4409,\r
+    "y": 5961,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "db09f17e.79bb3"\r
+        "3584d606.ea3b92"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db09f17e.79bb3",\r
+    "id": "3584d606.ea3b92",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
     "comments": "",\r
-    "x": 4559.883331298828,\r
-    "y": 5935.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4565,\r
+    "y": 5958,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "45d66689.aaaf7",\r
+    "id": "5480ce12.618198",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4407.883331298828,\r
-    "y": 5982.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4413,\r
+    "y": 6005,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "2adb498f.b3f97e"\r
+        "2c5800b.fe6138"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2adb498f.b3f97e",\r
+    "id": "2c5800b.fe6138",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4546.883331298828,\r
-    "y": 5977.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4552,\r
+    "y": 6000,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "c54f6272.9ba24",\r
-        "6998ca1d.92c5d4",\r
-        "15021f96.80eb18",\r
-        "e6e1dbd3.6e0a6",\r
-        "67962261.2516d4",\r
-        "1b601be6.7f6134",\r
-        "27a83227.012ede",\r
-        "b320b0e.20770d",\r
-        "34955381.c5797c",\r
-        "9ca77368.01f7",\r
-        "6922fe88.2fe5f8",\r
-        "4514c9c4.eaef1"\r
+        "cdbca407.a3714",\r
+        "908326bd.db0de8",\r
+        "252b791f.9db75e",\r
+        "275b22ee.4a806e",\r
+        "331c47e0.bff598",\r
+        "cf9d9601.e8d088",\r
+        "b92b2881.bc3e18",\r
+        "19e51740.b8f8a1",\r
+        "2ded21f8.219046",\r
+        "a0a762d0.469c28",\r
+        "60c16c76.a98d34",\r
+        "8396080f.a7f6c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "27a83227.012ede",\r
+    "id": "b92b2881.bc3e18",\r
     "type": "save",\r
     "name": "get all-vpn-bindings from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4743.883331298828,\r
-    "y": 6656.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4749,\r
+    "y": 6679,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "c2308ca7.57dff",\r
-        "aeb0b0d0.9dedb8",\r
-        "b67a59a3.18fb1"\r
+        "b068e9a3.d4db4",\r
+        "b79debc6.f268c",\r
+        "599f79e1.6940a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c2308ca7.57dff",\r
+    "id": "b068e9a3.d4db4",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4948.883331298828,\r
-    "y": 6653.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4954,\r
+    "y": 6676,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "eeeb2441.6710c8"\r
+        "be7eb0d3.672b2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aeb0b0d0.9dedb8",\r
+    "id": "b79debc6.f268c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4932.374298095703,\r
-    "y": 6715.457366943359,\r
-    "z": "4456793a.59a288",\r
+    "x": 4937.490966796875,\r
+    "y": 6737.574035644531,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "77e5496.94ba0b8"\r
+        "7384abca.e83424"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b67a59a3.18fb1",\r
+    "id": "599f79e1.6940a8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4929.883331298828,\r
-    "y": 6758.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4935,\r
+    "y": 6781,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "f70b29bb.3fb788"\r
+        "5c72f79d.0cafa"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "eeeb2441.6710c8",\r
+    "id": "be7eb0d3.672b2",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5104.883331298828,\r
-    "y": 6667.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5110,\r
+    "y": 6690,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a3bf8aa6.020cb8"\r
+        "477f7936.afbf38"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "77e5496.94ba0b8",\r
+    "id": "7384abca.e83424",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5094.945709228516,\r
-    "y": 6715.743103027344,\r
-    "z": "4456793a.59a288",\r
+    "x": 5100.0623779296875,\r
+    "y": 6737.859771728516,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f70b29bb.3fb788",\r
+    "id": "5c72f79d.0cafa",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5096.883331298828,\r
-    "y": 6757.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5102,\r
+    "y": 6780,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a3bf8aa6.020cb8",\r
+    "id": "477f7936.afbf38",\r
     "type": "for",\r
     "name": "for vpnidx in all-vpn-bindings",\r
     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5351.883331298828,\r
-    "y": 6664.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5357,\r
+    "y": 6687,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "8a5692b6.b002c8"\r
+        "8d0d8dd8.5dff18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8a5692b6.b002c8",\r
+    "id": "8d0d8dd8.5dff18",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5588.883331298828,\r
-    "y": 6660.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5594,\r
+    "y": 6683,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "eabc4609.9defb"\r
+        "234239f1.092ec6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "98f388ed.2cda7",\r
+    "id": "af0f93b9.f63018",\r
     "type": "switchNode",\r
     "name": "switch vpnuuid is for this slice",\r
     "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5831.883331298828,\r
-    "y": 6632.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5837,\r
+    "y": 6655,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "6a0ae6a2.ba9fb",\r
-        "25f881ea.6e0566"\r
+        "1906307e.4f6708",\r
+        "7e26fbb1.9c733c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6a0ae6a2.ba9fb",\r
+    "id": "1906307e.4f6708",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6036.883331298828,\r
-    "y": 6652.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 6042,\r
+    "y": 6675,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "eabc4609.9defb"\r
+        "234239f1.092ec6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "25f881ea.6e0566",\r
+    "id": "7e26fbb1.9c733c",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6035.883331298828,\r
-    "y": 6605.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 6041,\r
+    "y": 6628,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "eabc4609.9defb",\r
+    "id": "234239f1.092ec6",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4779.883331298828,\r
-    "y": 6927.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4785,\r
+    "y": 6950,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "392e3f81.e0a6a8"\r
+        "9c243a63.6beae8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f8de35a7.d0325",\r
+    "id": "7d275a16.b90c94",\r
     "type": "set",\r
     "name": "set tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
     "comments": "",\r
-    "x": 6241.88330078125,\r
-    "y": 6865.88330078125,\r
-    "z": "4456793a.59a288",\r
+    "x": 6246.999969482422,\r
+    "y": 6887.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8d84ad9.3a159d",\r
+    "id": "62c83b20.7bb344",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4841.883331298828,\r
-    "y": 6603.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4847,\r
+    "y": 6626,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1b601be6.7f6134",\r
+    "id": "cf9d9601.e8d088",\r
     "type": "set",\r
     "name": "set srcTtp OTN layer",\r
     "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4725.883331298828,\r
-    "y": 6452.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4729,\r
+    "y": 6514,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6e7ae435.b7607c",\r
+    "id": "fb325d12.16a73",\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": 5070.883331298828,\r
-    "y": 6283.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5074,\r
+    "y": 6345,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "82ed19a6.aafd78"\r
+        "2ae3447b.0a1c44"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "82ed19a6.aafd78",\r
+    "id": "2ae3447b.0a1c44",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5290.883331298828,\r
-    "y": 6289.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5294,\r
+    "y": 6351,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "fa1ec726.b4647"\r
+        "47fb23b1.c734fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fa1ec726.b4647",\r
+    "id": "47fb23b1.c734fc",\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": 5475.883331298828,\r
-    "y": 6288.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5481,\r
+    "y": 6311,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "46306bd4.ee79e4"\r
+        "504a47cd.0300d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "46306bd4.ee79e4",\r
+    "id": "504a47cd.0300d8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5667.883331298828,\r
-    "y": 6291.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5673,\r
+    "y": 6314,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "3b3ddb68.994c3c"\r
+        "70b7cd06.f487e4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3b3ddb68.994c3c",\r
+    "id": "70b7cd06.f487e4",\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": 5876.883331298828,\r
-    "y": 6289.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5882,\r
+    "y": 6312,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b320b0e.20770d",\r
+    "id": "19e51740.b8f8a1",\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": 4777.883331298828,\r
-    "y": 6277.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4781,\r
+    "y": 6339,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "6e7ae435.b7607c"\r
+        "fb325d12.16a73"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "15021f96.80eb18",\r
+    "id": "252b791f.9db75e",\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/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4785.883331298828,\r
-    "y": 6170.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4789,\r
+    "y": 6232,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "90de6696.037bd8",\r
-        "ce29f9bd.7d263",\r
-        "94bbebf0.09f428"\r
+        "ab2e0e9b.e6e2a",\r
+        "175d6a26.e8f2ae",\r
+        "30472c6d.7bfeec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "90de6696.037bd8",\r
+    "id": "ab2e0e9b.e6e2a",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5021.883331298828,\r
-    "y": 6153.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5025,\r
+    "y": 6215,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ce29f9bd.7d263",\r
+    "id": "175d6a26.e8f2ae",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5018.883331298828,\r
-    "y": 6194.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5022,\r
+    "y": 6256,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "94bbebf0.09f428",\r
+    "id": "30472c6d.7bfeec",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5032.883331298828,\r
-    "y": 6234.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5036,\r
+    "y": 6296,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e6e1dbd3.6e0a6",\r
+    "id": "275b22ee.4a806e",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
     "comments": "",\r
-    "x": 4721.883331298828,\r
-    "y": 6329.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4725,\r
+    "y": 6391,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "67962261.2516d4",\r
+    "id": "331c47e0.bff598",\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": 4729.883331298828,\r
-    "y": 6387.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4733,\r
+    "y": 6449,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6998ca1d.92c5d4",\r
+    "id": "908326bd.db0de8",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
     "comments": "",\r
-    "x": 4734.883331298828,\r
-    "y": 6127.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4738,\r
+    "y": 6189,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "94b4d538.041a9",\r
+    "id": "8ef1afe7.71ad38",\r
     "type": "comment",\r
     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
     "comments": "",\r
-    "x": 4849.883331298828,\r
-    "y": 6079.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4853,\r
+    "y": 6141,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "392e3f81.e0a6a8",\r
+    "id": "9c243a63.6beae8",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5022.883331298828,\r
-    "y": 6924.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5028,\r
+    "y": 6947,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "84fb2e7.f2e54d",\r
-        "113d3615.17adaa"\r
+        "14533561.0c5673",\r
+        "af779ea0.7fb81"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "84fb2e7.f2e54d",\r
+    "id": "14533561.0c5673",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5251.883331298828,\r
-    "y": 6901.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5257,\r
+    "y": 6924,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "c3b316fd.fba0a8"\r
+        "55635f65.d76ee8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "113d3615.17adaa",\r
+    "id": "af779ea0.7fb81",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5251.883331298828,\r
-    "y": 6950.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5257,\r
+    "y": 6973,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b6424391.0ceee8",\r
+    "id": "494eed0f.99eb84",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5984.88330078125,\r
-    "y": 6956.88330078125,\r
-    "z": "4456793a.59a288",\r
+    "x": 5989.999969482422,\r
+    "y": 6978.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1cb2d5ed.65008a",\r
-        "f8de35a7.d0325",\r
-        "515cca2b.2a6e8c"\r
+        "6ed262af.6482c4",\r
+        "7d275a16.b90c94",\r
+        "ea085aad.03ece"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b0305853.25009",\r
+    "id": "eb8bdae2.80aaf8",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6369.88330078125,\r
-    "y": 6919.88330078125,\r
-    "z": "4456793a.59a288",\r
+    "x": 6374.999969482422,\r
+    "y": 6941.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "515cca2b.2a6e8c",\r
+    "id": "ea085aad.03ece",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6339.88330078125,\r
-    "y": 6979.88330078125,\r
-    "z": "4456793a.59a288",\r
+    "x": 6344.999969482422,\r
+    "y": 7001.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1cb2d5ed.65008a",\r
+    "id": "6ed262af.6482c4",\r
     "type": "set",\r
     "name": "unset tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
     "comments": "",\r
-    "x": 6246.88330078125,\r
-    "y": 6807.88330078125,\r
-    "z": "4456793a.59a288",\r
+    "x": 6251.999969482422,\r
+    "y": 6829.999969482422,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dd90ad1a.7eef1",\r
+    "id": "b05d129.ef1b1f",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3982.883331298828,\r
-    "y": 5864.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3988,\r
+    "y": 5887,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "1d6ec4bb.ad8c0b",\r
-        "33673680.57cf72",\r
-        "e2cec405.b0409",\r
-        "6e2ab292.566884",\r
-        "dbdd7c00.c39698"\r
+        "99207b39.65e8d8",\r
+        "f5cafc97.3be338",\r
+        "433677c1.52ee48",\r
+        "fabf4cab.b217e",\r
+        "7e1b41de.44cf5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "74fcf6b5.dbb39",\r
+    "id": "e2f1cfff.a8b258",\r
     "type": "set",\r
     "name": "unset otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
     "comments": "",\r
-    "x": 4726.883331298828,\r
-    "y": 6227.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4730,\r
+    "y": 6289,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "34955381.c5797c",\r
+    "id": "2ded21f8.219046",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4873.883087158203,\r
-    "y": 5949.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4858,\r
+    "y": 6031,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2a032dd9.9380b2",\r
+    "id": "4a18264c.6d9e",\r
     "type": "comment",\r
     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "comments": "",\r
-    "x": 5010.883087158203,\r
-    "y": 5899.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4995,\r
+    "y": 5981,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b937ed07.a77618",\r
+    "id": "124ab46d.2d752c",\r
     "type": "save",\r
     "name": "save ROOT UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3817.883331298828,\r
-    "y": 3505.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3822,\r
+    "y": 3374,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3dd82151.976f0e",\r
+    "id": "826efc02.44c7b",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3999.883331298828,\r
-    "y": 1760.8833312988281,\r
-    "z": "4456793a.59a288",\r
+    "x": 3999.999969482422,\r
+    "y": 1608.9999694824219,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6b6522.bc964ae",\r
+    "id": "3746cfac.cfad98",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3977.883331298828,\r
-    "y": 2630.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3978.9999389648438,\r
+    "y": 2120.9999389648438,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "195c3e5b.085da2",\r
+    "id": "b5ea3d16.fd41f",\r
     "type": "comment",\r
     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3808.883331298828,\r
-    "y": 3972.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3814,\r
+    "y": 3995,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a8e7354f.a1833",\r
+    "id": "9d7f2116.baeda",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3489.883331298828,\r
-    "y": 6004.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3904,\r
+    "y": 6375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a2dd9c19.75287",\r
+    "id": "f2a7dc4a.68ede",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 3700.883331298828,\r
-    "y": 4881.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3706,\r
+    "y": 4904,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "906b118c.b5ca4",\r
+    "id": "a789852e.51cd48",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3833.883331298828,\r
-    "y": 4929.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3839,\r
+    "y": 4952,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "86c9672.840f818",\r
+    "id": "23762b83.94d65c",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4379.883331298828,\r
-    "y": 4557.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4385,\r
+    "y": 4580,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b9a92126.1d0eb",\r
-        "e7523195.456808"\r
+        "e4f34350.306628",\r
+        "84eda9bb.13e58"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b9a92126.1d0eb",\r
+    "id": "e4f34350.306628",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4572.883331298828,\r
-    "y": 4558.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4578,\r
+    "y": 4581,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "71a4d763.a9eac"\r
+        "d93f9a59.274b5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e7523195.456808",\r
+    "id": "84eda9bb.13e58",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4576.883331298828,\r
-    "y": 4602.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4582,\r
+    "y": 4625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "6742a953.fe0d28"\r
+        "fa8add54.9c2898"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6742a953.fe0d28",\r
+    "id": "fa8add54.9c2898",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4715.883331298828,\r
-    "y": 4597.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4721,\r
+    "y": 4620,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "34f2cb8a.7f3954",\r
-        "50607a4b.9927b4",\r
-        "d6e6e1de.8f0598"\r
+        "48346123.4f10a8",\r
+        "5e210590.033b4c",\r
+        "140ccb32.dd72dd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "71a4d763.a9eac",\r
+    "id": "d93f9a59.274b5",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4715.883331298828,\r
-    "y": 4554.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4721,\r
+    "y": 4577,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b61f10f5.eeecf",\r
-        "90640d99.12302",\r
-        "42e8372d.d506e",\r
-        "7679135b.31e8e4"\r
+        "a4406b4c.17bbc",\r
+        "18ca4a3.634f536",\r
+        "b4f57662.21d798",\r
+        "540d81b.ac8608"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "34f2cb8a.7f3954",\r
+    "id": "48346123.4f10a8",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainA-uuid",\r
     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5117.883575439453,\r
-    "y": 4819.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5123.000244140625,\r
+    "y": 4842,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9d0b91dc.02ae8",\r
+    "id": "54a11c60.7fd1ec",\r
     "type": "comment",\r
     "name": "populate connectivity-A variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5124.883575439453,\r
-    "y": 4773.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5130.000244140625,\r
+    "y": 4796,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9ca77368.01f7",\r
+    "id": "a0a762d0.469c28",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4914.883331298828,\r
-    "y": 6552.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 4920,\r
+    "y": 6575,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "50607a4b.9927b4",\r
+    "id": "5e210590.033b4c",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5235.883575439453,\r
-    "y": 4861.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5241.000244140625,\r
+    "y": 4884,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7eeebeb3.54b298",\r
+    "id": "259aff1b.d97a1",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5110.883331298828,\r
-    "y": 5119.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 5116,\r
+    "y": 5142,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d039e4e7.e91be8",\r
+    "id": "80314ddc.393748",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3664.883331298828,\r
-    "y": 4479.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3461,\r
+    "y": 4475,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3c0dfd8f.f0eaca",\r
+    "id": "d1326c21.abc33",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3998.883331298828,\r
-    "y": 4662.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3983,\r
+    "y": 4576,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "80cc4c1e.a6bfe",\r
+    "id": "434bd8c2.bae4f8",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3610.883331298828,\r
-    "y": 4529.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3440,\r
+    "y": 4519,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ef8f5d34.35bfc8",\r
-        "7b54fcfe.00d69c",\r
-        "e9708f34.58ed3"\r
+        "7ea7dff4.93abc",\r
+        "616c8d40.285e14",\r
+        "ffe0a536.7eaff8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7b54fcfe.00d69c",\r
+    "id": "616c8d40.285e14",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3838.374298095703,\r
-    "y": 4502.457305908203,\r
-    "z": "4456793a.59a288",\r
+    "x": 3628.490966796875,\r
+    "y": 4487.57421875,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "edc83f73.f7df38"\r
+        "739b53.f4a4fcac"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e9708f34.58ed3",\r
+    "id": "ffe0a536.7eaff8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3833.883331298828,\r
-    "y": 4546.883270263672,\r
-    "z": "4456793a.59a288",\r
+    "x": 3617,\r
+    "y": 4527,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "a66e06b4.3bd7c"\r
+        "68d1064e.ebb3b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "edc83f73.f7df38",\r
+    "id": "739b53.f4a4fcac",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4000.945831298828,\r
-    "y": 4501.743011474609,\r
-    "z": "4456793a.59a288",\r
+    "x": 3788.0625,\r
+    "y": 4485.85986328125,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a66e06b4.3bd7c",\r
+    "id": "68d1064e.ebb3b8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4001.883331298828,\r
-    "y": 4546.883270263672,\r
-    "z": "4456793a.59a288",\r
+    "x": 3778,\r
+    "y": 4528,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fa42d876.f3bfc8",\r
+    "id": "aedbd8f5.94f11",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3786.883331298828,\r
-    "y": 4619.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3780,\r
+    "y": 4572,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b660a30a.8893a8",\r
-        "3c0dfd8f.f0eaca"\r
+        "530f885c.d5a28",\r
+        "d1326c21.abc33"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ef8f5d34.35bfc8",\r
+    "id": "7ea7dff4.93abc",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3617.883331298828,\r
-    "y": 4619.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3622,\r
+    "y": 4564,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "fa42d876.f3bfc8"\r
+        "aedbd8f5.94f11"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b660a30a.8893a8",\r
+    "id": "530f885c.d5a28",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
     "comments": "",\r
-    "x": 3975.883331298828,\r
-    "y": 4611.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3941,\r
+    "y": 4504,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3d1de5ec.2ac45a",\r
+    "id": "cd1fc06c.124968",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3808.883331298828,\r
-    "y": 4757.883331298828,\r
-    "z": "4456793a.59a288",\r
+    "x": 3806,\r
+    "y": 4843,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "25e4380.733ab48",\r
+    "id": "ac8fc812.ca8b88",\r
     "type": "comment",\r
     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5915.766632080078,\r
-    "y": 6570.766632080078,\r
-    "z": "4456793a.59a288",\r
+    "x": 5920.88330078125,\r
+    "y": 6592.88330078125,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d6e6e1de.8f0598",\r
+    "id": "140ccb32.dd72dd",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5115.550567626953,\r
-    "y": 4957.966827392578,\r
-    "z": "4456793a.59a288",\r
+    "x": 5120.667236328125,\r
+    "y": 4980.08349609375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "924c8eb8.8bcc2",\r
+    "id": "60fccea7.c83a28",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5117.767364501953,\r
-    "y": 4917.766632080078,\r
-    "z": "4456793a.59a288",\r
+    "x": 5122.884033203125,\r
+    "y": 4939.88330078125,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "eadd33f3.5f43",\r
+    "id": "b61f1c95.4694d",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4991.550323486328,\r
-    "y": 5207.966827392578,\r
-    "z": "4456793a.59a288",\r
+    "x": 4996.6669921875,\r
+    "y": 5230.08349609375,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "33d164e6.6e7844",\r
+    "id": "82a40a13.767da8",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4993.767120361328,\r
-    "y": 5167.766632080078,\r
-    "z": "4456793a.59a288",\r
+    "x": 4998.8837890625,\r
+    "y": 5189.88330078125,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3216abfb.82724c",\r
+    "id": "91bd4596.74f628",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5086.350128173828,\r
-    "y": 5663.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5086.466796875,\r
+    "y": 5592.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "723b66c7.37bb08",\r
+    "id": "f50c2a2e.93dfe8",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4913.350128173828,\r
-    "y": 5720.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 4913.466796875,\r
+    "y": 5649.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4b59f245.4d6edc",\r
-        "fb820a66.06fc1"\r
+        "8646fa93.554c38",\r
+        "a6ded94a.e3e54"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4b59f245.4d6edc",\r
+    "id": "8646fa93.554c38",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5124.350128173828,\r
-    "y": 5720.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5124.466796875,\r
+    "y": 5649.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "95f01780.285928"\r
+        "258b63bd.85fb7c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fb820a66.06fc1",\r
+    "id": "a6ded94a.e3e54",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5120.350128173828,\r
-    "y": 5768.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5120.466796875,\r
+    "y": 5697.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "ceaa430d.e25cf8"\r
+        "d925f9fa.8153b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "95f01780.285928",\r
+    "id": "258b63bd.85fb7c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5280.350128173828,\r
-    "y": 5716.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5280.466796875,\r
+    "y": 5645.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "363f2480.f640d4",\r
-        "ec57c9d5.e1e658",\r
-        "18db1f41.a7c409"\r
+        "8d6cf51e.6059f8",\r
+        "44488697.cdb02",\r
+        "c9ce352b.46ce88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ceaa430d.e25cf8",\r
+    "id": "d925f9fa.8153b8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 5268.350128173828,\r
-    "y": 5763.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5268.466796875,\r
+    "y": 5692.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7a15e8cb.5f6df8",\r
+    "id": "df7464c9.77f0d",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5546.233917236328,\r
-    "y": 5816.283233642578,\r
-    "z": "4456793a.59a288",\r
+    "x": 5590.3505859375,\r
+    "y": 5746.39990234375,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "18db1f41.a7c409",\r
+    "id": "c9ce352b.46ce88",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5544.017120361328,\r
-    "y": 5856.483428955078,\r
-    "z": "4456793a.59a288",\r
+    "x": 5594.1337890625,\r
+    "y": 5784.60009765625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ec57c9d5.e1e658",\r
+    "id": "44488697.cdb02",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5663.350128173828,\r
-    "y": 5768.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5700.466796875,\r
+    "y": 5697.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "363f2480.f640d4",\r
+    "id": "8d6cf51e.6059f8",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5534.350128173828,\r
-    "y": 5716.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 5584.466796875,\r
+    "y": 5645.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "60039858.187258",\r
+    "id": "7e224339.ebcda4",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4975.350128173828,\r
-    "y": 5621.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 4975.466796875,\r
+    "y": 5550.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6922fe88.2fe5f8",\r
+    "id": "60c16c76.a98d34",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4682.683135986328,\r
-    "y": 5703.399932861328,\r
-    "z": "4456793a.59a288",\r
+    "x": 4687.7998046875,\r
+    "y": 5725.5166015625,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "3216abfb.82724c",\r
-        "723b66c7.37bb08"\r
+        "91bd4596.74f628",\r
+        "f50c2a2e.93dfe8",\r
+        "b08c7802.5d204",\r
+        "7492e58a.da53dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4514c9c4.eaef1",\r
+    "id": "8396080f.a7f6c8",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5003.716094970703,\r
-    "y": 6005.083526611328,\r
-    "z": "4456793a.59a288",\r
+    "x": 4987.8330078125,\r
+    "y": 6086.2001953125,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d7548734.759b08",\r
+    "id": "e07ba4bc.bfaae8",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5789,\r
-    "y": 6901,\r
-    "z": "4456793a.59a288",\r
+    "x": 5794.116668701172,\r
+    "y": 6923.116668701172,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c3b316fd.fba0a8",\r
+    "id": "55635f65.d76ee8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5408,\r
-    "y": 6904,\r
-    "z": "4456793a.59a288",\r
+    "x": 5413.116668701172,\r
+    "y": 6926.116668701172,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "d7548734.759b08",\r
-        "d42bdb23.7a5dc8",\r
-        "40573be3.cee89c"\r
+        "e07ba4bc.bfaae8",\r
+        "d0282e45.27576",\r
+        "be279863.754a6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d42bdb23.7a5dc8",\r
+    "id": "d0282e45.27576",\r
     "type": "switchNode",\r
     "name": "switch $foundVpnName",\r
     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5634,\r
-    "y": 6956,\r
-    "z": "4456793a.59a288",\r
+    "x": 5639.116668701172,\r
+    "y": 6978.116668701172,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "4a08f8b2.c71278"\r
+        "adb0d898.09cba8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4a08f8b2.c71278",\r
+    "id": "adb0d898.09cba8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5813,\r
-    "y": 6955,\r
-    "z": "4456793a.59a288",\r
+    "x": 5818.116668701172,\r
+    "y": 6977.116668701172,\r
+    "z": "f8944603.71553",\r
     "wires": [\r
       [\r
-        "b6424391.0ceee8"\r
+        "494eed0f.99eb84"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "40573be3.cee89c",\r
+    "id": "be279863.754a6",\r
     "type": "set",\r
     "name": "set vpnNameToSearch",\r
     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
     "comments": "",\r
-    "x": 5635,\r
-    "y": 6849,\r
-    "z": "4456793a.59a288",\r
+    "x": 5640.116668701172,\r
+    "y": 6871.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3cd9264c.3cdbea",\r
+    "type": "notify",\r
+    "name": "notify",\r
+    "xml": "<notify plugin='' resource='' action='' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2634.116668701172,\r
+    "y": 920.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4db1de6.243c9",\r
+    "type": "set",\r
+    "name": "set network-route-three",\r
+    "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3312.116668701172,\r
+    "y": 696.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b2eea3d4.d83b2",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.116668701172,\r
+    "y": 1024.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c92a9c74.6d8cb",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3523.625732421875,\r
+    "y": 1066.542724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be6d3c2.c1bdfc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3527.625701904297,\r
+    "y": 1114.5426940917969,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "82044de7.824378"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82044de7.824378",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3685.116668701172,\r
+    "y": 1114.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9732d3c5.76e0c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9732d3c5.76e0c8",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3855.11669921875,\r
+    "y": 1117.1168212890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7d1d73b.5c3fc8c",\r
+        "8cd6f95a.d7c4d",\r
+        "68098f91.a64618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d1d73b.5c3fc8c",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4029.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a9479bec.894888"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8cd6f95a.d7c4d",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4031.116668701172,\r
+    "y": 1109.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d844935e.741748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a9479bec.894888",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4157.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7a232bae.539a2c",\r
+        "19f7263a.0f2e72"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d844935e.741748",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4160.116668701172,\r
+    "y": 1108.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e31191f4.c7e44",\r
+        "c783c2e3.52d62"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19f7263a.0f2e72",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4318.116668701172,\r
+    "y": 1079.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e31191f4.c7e44",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4335.116668701172,\r
+    "y": 1121.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c783c2e3.52d62",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4320.116668701172,\r
+    "y": 1159.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7a232bae.539a2c",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4332.116668701172,\r
+    "y": 1039.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5dbb2ad5.55ee04",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4497.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
     "wires": []\r
+  },\r
+  {\r
+    "id": "4c9f1a43.e137e4",\r
+    "type": "save",\r
+    "name": "get network-route-three from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3288.116668701172,\r
+    "y": 1041.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b2eea3d4.d83b2",\r
+        "c92a9c74.6d8cb",\r
+        "be6d3c2.c1bdfc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "68098f91.a64618",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3974.116668701172,\r
+    "y": 1173.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3baeb12d.78947e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3baeb12d.78947e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4148.116668701172,\r
+    "y": 1168.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f32a06d7.18ee6",\r
+        "9c8c5f6f.4f4828"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c8c5f6f.4f4828",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4318.116668701172,\r
+    "y": 1241.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f32a06d7.18ee6",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4372.116668701172,\r
+    "y": 1201.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "89b3411b.fe2cb",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4486.116668701172,\r
+    "y": 1226.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe4b773c.0eae98",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4045.116668701172,\r
+    "y": 929.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a6d4107d.6655f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8ae3a08.56b988",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4389.116668701172,\r
+    "y": 997.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8ecb2104.b1fc58",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4443.116668701172,\r
+    "y": 957.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a817660e.e9d2",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4587.116668701172,\r
+    "y": 986.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a6d4107d.6655f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4219.116668701172,\r
+    "y": 924.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8ecb2104.b1fc58",\r
+        "e8ae3a08.56b988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "83ce05e.7f315f8",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4105.116668701172,\r
+    "y": 667.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d03cb873.c57328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2049e56d.3172ca",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4449.116668701172,\r
+    "y": 735.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6995e48e.171b9c",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4503.116668701172,\r
+    "y": 695.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "80fe4b30.9273d",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4617.116668701172,\r
+    "y": 720.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d03cb873.c57328",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4279.116668701172,\r
+    "y": 662.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6995e48e.171b9c",\r
+        "2049e56d.3172ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8eb368d.7e35e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3686.116668701172,\r
+    "y": 2544.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9d31c4f.62b63b8",\r
+        "42d540.6e2552c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4acebe87.51a2e",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3513.450164794922,\r
+    "y": 2545.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d8eb368d.7e35e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "faf79ca9.39c718",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3522.941131591797,\r
+    "y": 2587.690704345703,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "760b8826.a76aa",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3511.450164794922,\r
+    "y": 2634.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d31c4f.62b63b8",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3972.450164794922,\r
+    "y": 2548.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "beea1414.622ca8",\r
+        "e0900c85.f5153"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0900c85.f5153",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4195.450164794922,\r
+    "y": 2503.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b1fce547.cdefa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "beea1414.622ca8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4197.450164794922,\r
+    "y": 2567.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1f2077c9.d2f12"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1931dff5.72d728",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3285.450164794922,\r
+    "y": 2580.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4acebe87.51a2e",\r
+        "faf79ca9.39c718",\r
+        "760b8826.a76aa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20a2805c.f7ce68",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3246.450164794922,\r
+    "y": 2524.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f953800.9cf34",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3305.450164794922,\r
+    "y": 2320.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1523d633.28a802",\r
+        "23587c7d.fbba4c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23587c7d.fbba4c",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.450164794922,\r
+    "y": 2306.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c7b4b7e7.8e8b78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1523d633.28a802",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3530.450164794922,\r
+    "y": 2339.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7b4b7e7.8e8b78",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3676.450164794922,\r
+    "y": 2299.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cb965cfe.67a2f",\r
+        "1a7add8d.af97ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb965cfe.67a2f",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3870.450164794922,\r
+    "y": 2302.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42d540.6e2552c",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3923.4501342773438,\r
+    "y": 2671.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b84e7511.3844a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b84e7511.3844a8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4129.450134277344,\r
+    "y": 2671.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ac19c527.29aaf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1a7add8d.af97ca",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3892.450164794922,\r
+    "y": 2370.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c6c93f82.1aa228",\r
+        "f4da497f.0275c8",\r
+        "6e9758a5.eabec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6c93f82.1aa228",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4087.9502868652344,\r
+    "y": 2322.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a1f1dc1c.4be4e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4da497f.0275c8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4079.9502868652344,\r
+    "y": 2377.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "dd2530b3.0ce388"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e9758a5.eabec",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4084.9502868652344,\r
+    "y": 2434.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "35cb1b46.9ab3ac"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35cb1b46.9ab3ac",\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": 4236.950286865234,\r
+    "y": 2435.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a1f1dc1c.4be4e8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4232.332611083984,\r
+    "y": 2319.7724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "807e8aa5.b5f288"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be1fed24.75522",\r
+    "type": "set",\r
+    "name": "set SECONDARY-ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3308.116668701172,\r
+    "y": 2659.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "89002347.f12fb8",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3983.1166381835938,\r
+    "y": 2623.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1f2077c9.d2f12",\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": 4356.450164794922,\r
+    "y": 2586.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b1fce547.cdefa8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4360.450164794922,\r
+    "y": 2500.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9ddcbad2.3cd968",\r
+        "a4909c74.16b3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac19c527.29aaf8",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4346.735778808594,\r
+    "y": 2669.9384155273438,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "aecc45b1.07799"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd2530b3.0ce388",\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": 4247.950286865234,\r
+    "y": 2380.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9ddcbad2.3cd968",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4530.450164794922,\r
+    "y": 2461.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a4909c74.16b3c",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4531.450164794922,\r
+    "y": 2566.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90f369e0.1f5ea",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4526.450164794922,\r
+    "y": 2515.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aecc45b1.07799",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4553.567321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d7d46b6.f157298",\r
+        "a76ccf28.3b019",\r
+        "6d38c2ba.e73f94"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7d46b6.f157298",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4768.567321777344,\r
+    "y": 2621.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a76ccf28.3b019",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4765.567321777344,\r
+    "y": 2660.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "af66a72d.a68048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d38c2ba.e73f94",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4721.067321777344,\r
+    "y": 2702.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "56aae750.4bf18",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4814.450164794922,\r
+    "y": 2338.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "df2c6ab5.f8c7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "807e8aa5.b5f288",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4416.450164794922,\r
+    "y": 2334.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "83815f42.db62e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "83815f42.db62e8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4611.450164794922,\r
+    "y": 2334.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "56aae750.4bf18",\r
+        "ace3955f.b78118"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ace3955f.b78118",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4816.450164794922,\r
+    "y": 2411.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "86fe5017.1c8158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af66a72d.a68048",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4946.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "73b98dcb.d53e2c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73b98dcb.d53e2c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5104.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "35f64a50.ea71a6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35f64a50.ea71a6",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5311.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df2c6ab5.f8c7a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4991.450164794922,\r
+    "y": 2330.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b41095a1.9dd71",\r
+        "c294b821.4082d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c294b821.4082d",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5199.450164794922,\r
+    "y": 2337.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cbd53666.7a192",\r
+        "70f8105c.8c53c8",\r
+        "d07f4c5c.e57d28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86fe5017.1c8158",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4993.450164794922,\r
+    "y": 2403.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "29792fa0.312a5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b41095a1.9dd71",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainC id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5229.450164794922,\r
+    "y": 2285.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "29792fa0.312a5",\r
+    "type": "set",\r
+    "name": "set domainC ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5228.450164794922,\r
+    "y": 2527.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cbd53666.7a192",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5409.450164794922,\r
+    "y": 2328.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "12fe1a85.5f5265"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "70f8105c.8c53c8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5401.450164794922,\r
+    "y": 2383.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "720591da.7ff908"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d07f4c5c.e57d28",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5406.450164794922,\r
+    "y": 2440.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "50fd00db.804e78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "50fd00db.804e78",\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": 5558.450164794922,\r
+    "y": 2441.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "720591da.7ff908",\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": 5569.450164794922,\r
+    "y": 2386.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "12fe1a85.5f5265",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5553.832489013672,\r
+    "y": 2325.7724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d4fbd78f.a8b058"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4fbd78f.a8b058",\r
+    "type": "set",\r
+    "name": "set controller domainC data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5768.450164794922,\r
+    "y": 2322.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3ab03c8.bdf8544",\r
+    "type": "switchNode",\r
+    "name": "switch secondary empty?",\r
+    "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3282.116668701172,\r
+    "y": 795.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7806cbe6.64ea14",\r
+        "91bd4861.b38048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7806cbe6.64ea14",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3404.11669921875,\r
+    "y": 740.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4d1b7d4.397bf04"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91bd4861.b38048",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3391.11669921875,\r
+    "y": 849.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a8d8fc87.45b9a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d1b7d4.397bf04",\r
+    "type": "set",\r
+    "name": "set hasSecondary false",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3619.116668701172,\r
+    "y": 577.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a8d8fc87.45b9a",\r
+    "type": "set",\r
+    "name": "set hasSecondary true",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3615.116668701172,\r
+    "y": 621.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "87dcb71b.a618f",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3812.11669921875,\r
+    "y": 3521.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9a1c6f33.80c0c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a1c6f33.80c0c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4003.11669921875,\r
+    "y": 3525.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8de09ee3.1f82b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8de09ee3.1f82b8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4130.11669921875,\r
+    "y": 3524.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cc59ae49.952b8",\r
+        "3b72359b.f45e6a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3b72359b.f45e6a",\r
+    "type": "save",\r
+    "name": "save SECONDARY-ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4352.11669921875,\r
+    "y": 3413.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d566dc7.835f6a",\r
+    "type": "set",\r
+    "name": "unset secondary related variables",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 3357,\r
+    "y": 453,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cc59ae49.952b8",\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": 4348,\r
+    "y": 3472,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e0cf290a.3bb57",\r
+        "91bee9e5.bd12c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0cf290a.3bb57",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4558,\r
+    "y": 3449,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2e6c4f7b.89f37"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e6c4f7b.89f37",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4684,\r
+    "y": 3449,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e80cf077.13626"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb956f81.674a8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4689,\r
+    "y": 3498,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "538ba095.13ecb8",\r
+        "a894e133.03a62",\r
+        "bbac82b0.611ad8",\r
+        "5d08bff9.d57b18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91bee9e5.bd12c8",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4563,\r
+    "y": 3498,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "eb956f81.674a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e80cf077.13626",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5012,\r
+    "y": 3446,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "538ba095.13ecb8",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainC",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4965,\r
+    "y": 3537,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a894e133.03a62",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4913,\r
+    "y": 3579,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbac82b0.611ad8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5042,\r
+    "y": 3621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7be6dab9.621efc",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4928,\r
+    "y": 3494,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5d08bff9.d57b18",\r
+    "type": "save",\r
+    "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5020,\r
+    "y": 3669,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "748bc1ca.c78678",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3840,\r
+    "y": 3472,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "286f0ec8.852352",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3815,\r
+    "y": 4143,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d7543b1f.0223a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7543b1f.0223a",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4007,\r
+    "y": 4138,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8aacb5a.7bd82c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8aacb5a.7bd82c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4136,\r
+    "y": 4138,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9ecf386c.da77f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ecf386c.da77f",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4468,\r
+    "y": 4136,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2bbca6cc.0ec622",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3803,\r
+    "y": 4367,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "85f62fba.be3af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "85f62fba.be3af8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3983,\r
+    "y": 4366,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f0b10235.e7e788"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f0b10235.e7e788",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4112,\r
+    "y": 4366,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ccf3ecf0.96a2b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ccf3ecf0.96a2b",\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": 4329.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cabe89a7.9d69e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cabe89a7.9d69e",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4544.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "760290ae.a21e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "760290ae.a21e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4676.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d0b7affb.c1db2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0b7affb.c1db2",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5041,\r
+    "y": 4364,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c32fbe2a.4ce3f",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3478,\r
+    "y": 4622,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f2b98ff2.538df8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2b98ff2.538df8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3658,\r
+    "y": 4621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "44866831.1c971"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "44866831.1c971",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3787,\r
+    "y": 4621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "531a8e91.6c36e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6aa2083f.c88dc",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3523,\r
+    "y": 4680,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5db121cf.f62b2",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4089,\r
+    "y": 4779,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "531a8e91.6c36e8",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3553,\r
+    "y": 4713,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5ffa37b0.a29d98",\r
+        "2e65d2b6.ac2056",\r
+        "b5462b77.92e368"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e65d2b6.ac2056",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3734.490966796875,\r
+    "y": 4690.57421875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5fe821cf.842878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b5462b77.92e368",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3723,\r
+    "y": 4730,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6ea658d1.17df7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5fe821cf.842878",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3894.0625,\r
+    "y": 4688.85986328125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6ea658d1.17df7",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3884,\r
+    "y": 4731,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4792a0c5.aeb76",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3886,\r
+    "y": 4775,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "78930237.780be4",\r
+        "5db121cf.f62b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5ffa37b0.a29d98",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3728,\r
+    "y": 4767,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4792a0c5.aeb76"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "78930237.780be4",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 4047,\r
+    "y": 4707,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74408c25.ef5164",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4413,\r
+    "y": 5275,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1a4e2c9.15ac9",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4568,\r
+    "y": 5316,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "748b1299.fd2144",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5011,\r
+    "y": 5364,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24040f90.d6a4",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4384,\r
+    "y": 5374,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f8d36d32.9ac71",\r
+        "9cd0c03a.a311a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8d36d32.9ac71",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4620,\r
+    "y": 5358,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d753b8f.12e03c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d753b8f.12e03c8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4764,\r
+    "y": 5360,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "748b1299.fd2144",\r
+        "9643625b.90e238",\r
+        "c3f4caa.3b73cb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cd0c03a.a311a",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4619,\r
+    "y": 5406,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9643625b.90e238",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5132,\r
+    "y": 5411,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3f4caa.3b73cb8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5013.6669921875,\r
+    "y": 5496.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "433011d7.349ae8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5014.8837890625,\r
+    "y": 5454.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2691c6e.49966",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5546,\r
+    "y": 5843,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7492e58a.da53dc",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4919,\r
+    "y": 5853,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7d7daf2e.06b168",\r
+        "1dddd00a.b82ef8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d7daf2e.06b168",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5152,\r
+    "y": 5847,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "51e74c47.c309bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "51e74c47.c309bc",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5299,\r
+    "y": 5855,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e2691c6e.49966",\r
+        "f2071b27.722968",\r
+        "ce8449a1.6c0af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1dddd00a.b82ef8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5153,\r
+    "y": 5897,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2071b27.722968",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5667,\r
+    "y": 5890,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce8449a1.6c0af8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5548.6669921875,\r
+    "y": 5975.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6cf05b70.9ecfd4",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5549.8837890625,\r
+    "y": 5933.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b08c7802.5d204",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5080,\r
+    "y": 5803,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e97fbec2.db6de",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4914,\r
+    "y": 5764,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "651a17c0.63b678",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3241.25,\r
+    "y": 6373.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "74077cd7.2a1a94",\r
+        "f3174188.6084b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "74077cd7.2a1a94",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3432.25,\r
+    "y": 6377.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f2351c78.3536d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2351c78.3536d",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3559.25,\r
+    "y": 6376.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9d7f2116.baeda"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3174188.6084b",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3428.25,\r
+    "y": 6447.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "84ee4e22.34786"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bf4fd4bd.d3efb",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3977.75,\r
+    "y": 6446.33349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "84ee4e22.34786",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3561.75,\r
+    "y": 6449.33349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "bf4fd4bd.d3efb"\r
+      ]\r
+    ]\r
   }\r
 ]
\ No newline at end of file
index 50f87f4..2a4ee23 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "4eba0592.d8f9ec",\r
+        "id": "a85fdd45.18532",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
         "x": 171.88333129882812,\r
-        "y": 174,\r
-        "z": "d1eceead.adafe",\r
+        "y": 177,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2ad94242.d34e8e"\r
+                "2eaf78b5.ba0318"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2ad94242.d34e8e",\r
+        "id": "2eaf78b5.ba0318",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\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": 456.1690216064453,\r
-        "y": 235.23810863494873,\r
-        "z": "d1eceead.adafe",\r
+        "y": 238.23810863494873,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "86bffa6e.8633f8"\r
+                "28e9741c.d81dfc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "86bffa6e.8633f8",\r
+        "id": "28e9741c.d81dfc",\r
         "type": "method",\r
         "name": "method cll-vnf-topology-operation-cll-delete",\r
         "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 462.3119354248047,\r
-        "y": 320.0000305175781,\r
-        "z": "d1eceead.adafe",\r
+        "y": 323.0000305175781,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "47cd43dd.6a0c84"\r
+                "df14e360.a098e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47cd43dd.6a0c84",\r
+        "id": "df14e360.a098e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 811.8833312988281,\r
-        "y": 379,\r
-        "z": "d1eceead.adafe",\r
+        "y": 382,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "17095ff1.ceb8e",\r
-                "f2cac95d.2dd4f",\r
-                "41a5db6f.16b124"\r
+                "e87fcff0.55123",\r
+                "b8bbed17.73d098",\r
+                "ed2f6b65.8be208"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17095ff1.ceb8e",\r
+        "id": "e87fcff0.55123",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
         "comments": "",\r
         "x": 1113.2168273925781,\r
-        "y": 649.9302978515625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 652.9302978515625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f2cac95d.2dd4f",\r
+        "id": "b8bbed17.73d098",\r
         "type": "save",\r
         "name": "get service-instance from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1134.6452941894531,\r
-        "y": 352.33331298828125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 355.33331298828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d39ef031.51bcf8",\r
-                "d0a14c94.f617f8",\r
-                "66ff38b5.215e28"\r
+                "c5539326.dc2ce",\r
+                "9370873a.5ec85",\r
+                "3f911b4d.a21904"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d39ef031.51bcf8",\r
+        "id": "c5539326.dc2ce",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1359.6452941894531,\r
-        "y": 210.33331298828125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 213.33331298828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6bec9327.9503c4"\r
+                "a5dbcf8a.fe1748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0a14c94.f617f8",\r
+        "id": "9370873a.5ec85",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1355.1362609863281,\r
-        "y": 279.9073486328125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 282.9073486328125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "73227915.55ca3"\r
+                "49f0af9f.5fedb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66ff38b5.215e28",\r
+        "id": "3f911b4d.a21904",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1343.6452941894531,\r
-        "y": 326.33331298828125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 329.33331298828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5c121a7a.2c527c"\r
+                "61830ec6.dfc06"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dcc088f.fb3b378",\r
+        "id": "f78d475.109eab8",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
         "x": 1113.6452941894531,\r
-        "y": 240.33331298828125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 243.33331298828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "41a5db6f.16b124",\r
+        "id": "ed2f6b65.8be208",\r
         "type": "execute",\r
         "name": "execute properties",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1101.6452941894531,\r
-        "y": 292.33331298828125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 295.33331298828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6bec9327.9503c4",\r
+        "id": "a5dbcf8a.fe1748",\r
         "type": "switchNode",\r
         "name": "switch allotted-resources_length != 0",\r
         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1599.8833312988281,\r
-        "y": 207,\r
-        "z": "d1eceead.adafe",\r
+        "y": 210,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "52c7d728.b872f8",\r
-                "31624b25.4a6dec"\r
+                "b303ce6.b126d3",\r
+                "55aeefb2.59b1e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73227915.55ca3",\r
+        "id": "49f0af9f.5fedb8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 1509.9457092285156,\r
-        "y": 282.8597717285156,\r
-        "z": "d1eceead.adafe",\r
+        "y": 285.8597717285156,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5c121a7a.2c527c",\r
+        "id": "61830ec6.dfc06",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 1513.8833312988281,\r
-        "y": 327,\r
-        "z": "d1eceead.adafe",\r
+        "y": 330,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "52c7d728.b872f8",\r
+        "id": "b303ce6.b126d3",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1804.8833312988281,\r
-        "y": 244,\r
-        "z": "d1eceead.adafe",\r
+        "y": 247,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b08352cf.6ac34"\r
+                "f1542288.012e3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31624b25.4a6dec",\r
+        "id": "55aeefb2.59b1e8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1814.8833312988281,\r
-        "y": 171,\r
-        "z": "d1eceead.adafe",\r
+        "y": 174,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b08352cf.6ac34",\r
+        "id": "f1542288.012e3",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1797.8833312988281,\r
-        "y": 319,\r
-        "z": "d1eceead.adafe",\r
+        "y": 322,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bdd428b9.6fddd",\r
-                "8710bcb7.6e657",\r
-                "6f728611.a8a3e",\r
-                "6d42412e.61e8d",\r
-                "e22daf3c.82e7c8"\r
+                "abe13a08.545e98",\r
+                "7178c36c.cf3274",\r
+                "ac38a7a3.b352e8",\r
+                "d727f01e.ad9c98",\r
+                "8cb68ccc.e851f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50e447ae.0fde38",\r
+        "id": "66649512.c7d5bc",\r
         "type": "save",\r
         "name": "get allotted-resource from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2283.883331298828,\r
-        "y": 370,\r
-        "z": "d1eceead.adafe",\r
+        "y": 373,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "27d61e5e.f12fe2",\r
-                "2c908c8d.59c394",\r
-                "32fadd2c.e0a1c2"\r
+                "b9d85c6f.27205",\r
+                "376ece8a.ca776a",\r
+                "b6dfab0d.b44bd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27d61e5e.f12fe2",\r
+        "id": "b9d85c6f.27205",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2499.883331298828,\r
-        "y": 437,\r
-        "z": "d1eceead.adafe",\r
+        "y": 440,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4e35bc34.a92d94"\r
+                "c1b489c1.9564e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c908c8d.59c394",\r
+        "id": "376ece8a.ca776a",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2500.374298095703,\r
-        "y": 336.573974609375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 339.573974609375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6fdcac69.b07bec"\r
+                "742662fc.5de6dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "32fadd2c.e0a1c2",\r
+        "id": "b6dfab0d.b44bd8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2495.883331298828,\r
-        "y": 386,\r
-        "z": "d1eceead.adafe",\r
+        "y": 389,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "71176ed6.70694"\r
+                "b4af8420.603268"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bdd428b9.6fddd",\r
+        "id": "abe13a08.545e98",\r
         "type": "for",\r
         "name": "for each allotted-resource",\r
         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2000.8833312988281,\r
-        "y": 351,\r
-        "z": "d1eceead.adafe",\r
+        "y": 354,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7043f926.26b93",\r
-                "50e447ae.0fde38",\r
-                "8af2638e.140428",\r
-                "b2d6bb83.745318"\r
+                "7d659bd1.1ff4ec",\r
+                "66649512.c7d5bc",\r
+                "cfd6a168.75b7d8",\r
+                "fe93cfa.921edb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7043f926.26b93",\r
+        "id": "7d659bd1.1ff4ec",\r
         "type": "set",\r
         "name": "set the current allotted-resource-id",\r
         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
         "comments": "",\r
         "x": 2280.883331298828,\r
-        "y": 289,\r
-        "z": "d1eceead.adafe",\r
+        "y": 292,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6d42412e.61e8d",\r
+        "id": "d727f01e.ad9c98",\r
         "type": "set",\r
         "name": "set tmp.arr",\r
         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
         "comments": "",\r
         "x": 1974.8833312988281,\r
-        "y": 301,\r
-        "z": "d1eceead.adafe",\r
+        "y": 304,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8710bcb7.6e657",\r
+        "id": "7178c36c.cf3274",\r
         "type": "get-resource",\r
         "name": "get-resource pnfs-list",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2017.8833312988281,\r
-        "y": 160,\r
-        "z": "d1eceead.adafe",\r
+        "y": 163,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6f728611.a8a3e",\r
+        "id": "ac38a7a3.b352e8",\r
         "type": "get-resource",\r
         "name": "get-resource logical-links",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2029.8833312988281,\r
-        "y": 201,\r
-        "z": "d1eceead.adafe",\r
+        "y": 204,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8a5a98d5.6ebb1",\r
+        "id": "eed8a5a0.afccb8",\r
         "type": "comment",\r
         "name": "The following two nodes are for PCE",\r
         "info": "",\r
         "comments": "",\r
         "x": 2054.883331298828,\r
-        "y": 113,\r
-        "z": "d1eceead.adafe",\r
+        "y": 116,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2303563c.e9131a",\r
+        "id": "141349a5.fce93e",\r
         "type": "set",\r
         "name": "set tmp.arr",\r
         "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
         "comments": "",\r
         "x": 1974.8833312988281,\r
-        "y": 247,\r
-        "z": "d1eceead.adafe",\r
+        "y": 250,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6fdcac69.b07bec",\r
+        "id": "742662fc.5de6dc",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 2678.883331298828,\r
-        "y": 339,\r
-        "z": "d1eceead.adafe",\r
+        "y": 342,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "71176ed6.70694",\r
+        "id": "b4af8420.603268",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 2678.820831298828,\r
-        "y": 388.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 391.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4e35bc34.a92d94",\r
+        "id": "c1b489c1.9564e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2680.820831298828,\r
-        "y": 439.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 442.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6a0085f3.85f3dc"\r
+                "fcfb8da2.5eaaf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a0085f3.85f3dc",\r
+        "id": "fcfb8da2.5eaaf8",\r
         "type": "save",\r
         "name": "get allotted-resource relationship from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2973.820831298828,\r
-        "y": 386.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 389.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "47170bd3.47cd24",\r
-                "41231d4a.3c5914",\r
-                "413cb45a.a52f94"\r
+                "c3da29e4.d4aec",\r
+                "5d798b7c.bb38bc",\r
+                "f79e6540.82af6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41231d4a.3c5914",\r
+        "id": "5d798b7c.bb38bc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3247.311798095703,\r
-        "y": 278.7142333984375,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3277.311767578125,\r
+        "y": 45.7142333984375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ddcd6972.1cc26"\r
+                "90e8e37d.ca8e98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ddcd6972.1cc26",\r
+        "id": "90e8e37d.ca8e98",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3424.883331298828,\r
-        "y": 279,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3454.88330078125,\r
+        "y": 46,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "413cb45a.a52f94",\r
+        "id": "f79e6540.82af6",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3242.820831298828,\r
-        "y": 328.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3272.82080078125,\r
+        "y": 95.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "29789682.9a5ca2"\r
+                "9bf9393a.ada1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29789682.9a5ca2",\r
+        "id": "9bf9393a.ada1c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3424.820831298828,\r
-        "y": 328.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3454.82080078125,\r
+        "y": 95.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47170bd3.47cd24",\r
+        "id": "c3da29e4.d4aec",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3246.820831298828,\r
-        "y": 379.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3276.82080078125,\r
+        "y": 146.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5d602163.27f0b"\r
+                "614d711.ad6151"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d602163.27f0b",\r
+        "id": "614d711.ad6151",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3426.820831298828,\r
-        "y": 379.1402587890625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3456.82080078125,\r
+        "y": 146.1402587890625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "dd9e7161.bb7c"\r
+                "6f9dfac6.7f7acc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd9e7161.bb7c",\r
+        "id": "6f9dfac6.7f7acc",\r
         "type": "switchNode",\r
         "name": "switch allotted-resource.relationship-list not empty",\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2992.883331298828,\r
-        "y": 514,\r
-        "z": "d1eceead.adafe",\r
+        "y": 517,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e567be5f.46cf",\r
-                "117d3c85.14baf3"\r
+                "cc5d43a6.52dac",\r
+                "df06d31e.f926b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "117d3c85.14baf3",\r
+        "id": "df06d31e.f926b8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3302.883331298828,\r
-        "y": 521,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3332.88330078125,\r
+        "y": 288,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e567be5f.46cf",\r
+        "id": "cc5d43a6.52dac",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3301.883331298828,\r
-        "y": 575,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3331.88330078125,\r
+        "y": 342,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1aa53c9a.ee4c73"\r
+                "9005c08e.45bff"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "16e58d5c.45543b",\r
+        "id": "7cc4c3ab.96110c",\r
         "type": "outcome",\r
         "name": "network-policy",\r
         "xml": "<outcome value='network-policy'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4046.883331298828,\r
-        "y": 529,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4076.88330078125,\r
+        "y": 296,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e0a75ebb.a4e0a"\r
+                "e1ccec43.b4b718"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e0a75ebb.a4e0a",\r
+        "id": "e1ccec43.b4b718",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4223.883209228516,\r
-        "y": 521.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4253.8831787109375,\r
+        "y": 288.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "64783b1d.9ea984",\r
-                "aa6dd372.e093d"\r
+                "6a0eff2d.7a17d8",\r
+                "c12539fb.18b098"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1aa53c9a.ee4c73",\r
+        "id": "9005c08e.45bff",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3465.883331298828,\r
-        "y": 501,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3495.88330078125,\r
+        "y": 268,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9d9386aa.4ba0f",\r
-                "a5c7d0d0.70a6f8"\r
+                "c7cdd797.5d9c98",\r
+                "a2ea3a5e.b8028"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d9386aa.4ba0f",\r
+        "id": "c7cdd797.5d9c98",\r
         "type": "for",\r
         "name": "for each allotted-resource relationship",\r
         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3746.883331298828,\r
-        "y": 457,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3776.88330078125,\r
+        "y": 224,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ac9ffe20.350ab8"\r
+                "fdc5f0cb.fc2a38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ac9ffe20.350ab8",\r
+        "id": "fdc5f0cb.fc2a38",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4008.883331298828,\r
-        "y": 457,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4038.88330078125,\r
+        "y": 224,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "16e58d5c.45543b"\r
+                "7cc4c3ab.96110c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "64783b1d.9ea984",\r
+        "id": "6a0eff2d.7a17d8",\r
         "type": "set",\r
         "name": "set the 1st network-policy-id",\r
         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4466.883209228516,\r
-        "y": 478.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4496.8831787109375,\r
+        "y": 245.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aa6dd372.e093d",\r
+        "id": "c12539fb.18b098",\r
         "type": "save",\r
         "name": "get network-policy from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4455.883209228516,\r
-        "y": 533.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4485.8831787109375,\r
+        "y": 300.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a2aec981.c05928",\r
-                "c6a2ea9c.683df",\r
-                "b8928013.256998"\r
+                "53e90890.b88808",\r
+                "99815c1a.2d5d9",\r
+                "ef9ec486.51c458"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8928013.256998",\r
+        "id": "ef9ec486.51c458",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4708.883331298828,\r
-        "y": 420,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4738.88330078125,\r
+        "y": 187,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "83be4f6.3f006b"\r
+                "928a2f6e.9dcef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83be4f6.3f006b",\r
+        "id": "928a2f6e.9dcef",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4857.454864501953,\r
-        "y": 420.2857666015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4887.454833984375,\r
+        "y": 187.2857666015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "586d6db7.c2d804",\r
+        "id": "5f26f831.604e6",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 4856.392364501953,\r
-        "y": 464.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4886.392333984375,\r
+        "y": 231.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c6a2ea9c.683df",\r
+        "id": "99815c1a.2d5d9",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4697.392364501953,\r
-        "y": 464.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4727.392333984375,\r
+        "y": 231.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "586d6db7.c2d804"\r
+                "5f26f831.604e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2aec981.c05928",\r
+        "id": "53e90890.b88808",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4704.392364501953,\r
-        "y": 543.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4734.392333984375,\r
+        "y": 310.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4d4b39ee.fece78"\r
+                "c7f5e24b.264e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d4b39ee.fece78",\r
+        "id": "c7f5e24b.264e08",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4843.392364501953,\r
-        "y": 543.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4873.392333984375,\r
+        "y": 310.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "68714312.362fe4",\r
-                "860808d4.582b4"\r
+                "bd533599.870598",\r
+                "5b846fca.358228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68714312.362fe4",\r
+        "id": "bd533599.870598",\r
         "type": "set",\r
         "name": "set the max bandwidth",\r
         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
         "comments": "",\r
-        "x": 5048.883331298828,\r
-        "y": 541,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5078.88330078125,\r
+        "y": 308,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "860808d4.582b4",\r
+        "id": "5b846fca.358228",\r
         "type": "set",\r
         "name": "set the max bandwidth",\r
         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
         "comments": "",\r
-        "x": 5047.883331298828,\r
-        "y": 587,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5077.88330078125,\r
+        "y": 354,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a5c7d0d0.70a6f8",\r
+        "id": "a2ea3a5e.b8028",\r
         "type": "for",\r
         "name": "for each allotted-resource relationship",\r
         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3563.883331298828,\r
-        "y": 573,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3593.88330078125,\r
+        "y": 340,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "91204981.e8b1c8"\r
+                "25258bcb.d218b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91204981.e8b1c8",\r
+        "id": "25258bcb.d218b4",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3843.883331298828,\r
-        "y": 573,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3873.88330078125,\r
+        "y": 340,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "815c7496.5664a8"\r
+                "f26cca47.0cf8c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "815c7496.5664a8",\r
+        "id": "f26cca47.0cf8c8",\r
         "type": "outcome",\r
         "name": "logical-link",\r
         "xml": "<outcome value='logical-link'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2256.8834533691406,\r
-        "y": 826.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 829.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2e1a5e6a.390622"\r
+                "d5f97832.254d88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e1a5e6a.390622",\r
+        "id": "d5f97832.254d88",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2433.883331298828,\r
-        "y": 819,\r
-        "z": "d1eceead.adafe",\r
+        "y": 822,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "fda12a63.354948",\r
-                "9acb494f.3c831"\r
+                "ae5af3.3e9a4d1",\r
+                "12544593.6754f2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fda12a63.354948",\r
+        "id": "ae5af3.3e9a4d1",\r
         "type": "set",\r
         "name": "set the current logical-link-name",\r
         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
         "comments": "",\r
         "x": 2676.883331298828,\r
-        "y": 776,\r
-        "z": "d1eceead.adafe",\r
+        "y": 779,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9acb494f.3c831",\r
+        "id": "12544593.6754f2",\r
         "type": "save",\r
         "name": "get logical-link from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2665.883331298828,\r
-        "y": 831,\r
-        "z": "d1eceead.adafe",\r
+        "y": 834,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2cf3e7af.84ed7",\r
-                "7720ff91.14ecb8",\r
-                "6208751c.cb4214"\r
+                "79a8fecf.d1f59",\r
+                "b24729e3.47e65",\r
+                "4a9529bf.26c65"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2cf3e7af.84ed7",\r
+        "id": "79a8fecf.d1f59",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2957.374298095703,\r
-        "y": 809.573974609375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 812.573974609375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "644aada5.da5074"\r
+                "d25941f1.946b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7720ff91.14ecb8",\r
+        "id": "b24729e3.47e65",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2945.883331298828,\r
-        "y": 854,\r
-        "z": "d1eceead.adafe",\r
+        "y": 857,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b4b18b88.8b8778"\r
+                "11547725.a203f9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "644aada5.da5074",\r
+        "id": "d25941f1.946b68",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 3105.945831298828,\r
-        "y": 809.8597412109375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 812.8597412109375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b4b18b88.8b8778",\r
+        "id": "11547725.a203f9",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 3104.883331298828,\r
-        "y": 854,\r
-        "z": "d1eceead.adafe",\r
+        "y": 857,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6208751c.cb4214",\r
+        "id": "4a9529bf.26c65",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2952.883331298828,\r
-        "y": 933,\r
-        "z": "d1eceead.adafe",\r
+        "y": 936,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f4a1f138.8436a"\r
+                "a4fd9348.176d48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4a1f138.8436a",\r
+        "id": "a4fd9348.176d48",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3091.883331298828,\r
-        "y": 933,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            [\r
-                "64b776d1.df13b8",\r
-                "cf58d1a3.b75bc8",\r
-                "a4d7ff96.ceb5f8",\r
-                "4f57fa4.5908a84",\r
-                "93281de6.9193c8",\r
-                "279a0c66.95b87c",\r
-                "2fd6be0.ec30642",\r
-                "3458f9fd.a9fdce",\r
-                "b114579a.337d4",\r
-                "83634982.62f32",\r
-                "a78c5989.f5207",\r
-                "dc895d5a.f09ef",\r
-                "8c6f82a5.234d18",\r
-                "a984d0c7.8574d",\r
-                "49347bae.3e2974"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fe79d8e9.168438",\r
+        "y": 936,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "6c4953ff.9536c4",\r
+                "757555b7.a275b4",\r
+                "da8313.90b574f",\r
+                "a53e9db6.011d6",\r
+                "2b20579c.df8a7",\r
+                "1abe7496.3f7c9b",\r
+                "652968a1.d93e88",\r
+                "f369a6e9.5de548",\r
+                "fc221d76.582c9",\r
+                "5fd92a3e.ed6fec",\r
+                "4a864e6a.471e",\r
+                "e264db5d.2744d",\r
+                "afaae138.bb9798",\r
+                "121ba89c.f4d387",\r
+                "e7a924f9.c6032",\r
+                "e3b4a4d3.b60598",\r
+                "22dcd918.a9e88e",\r
+                "1743864d.d3d2f2",\r
+                "898efbe9.b7aab8",\r
+                "3ddfa25a.4bc3f6",\r
+                "f7bdbced.e4e6e",\r
+                "b2f7d29a.c36bc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c4bd54a.0e1cfa",\r
         "type": "execute",\r
         "name": "execute UUID generator for ethernet-service-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3405.883331298828,\r
-        "y": 739,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3435.883270263672,\r
+        "y": 410,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "64b776d1.df13b8",\r
+        "id": "6c4953ff.9536c4",\r
         "type": "execute",\r
         "name": "execute UUID generator for otn-tunnel-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3386.883331298828,\r
-        "y": 789,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3416.883270263672,\r
+        "y": 510,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "dc895d5a.f09ef",\r
+        "id": "e264db5d.2744d",\r
         "type": "set",\r
         "name": "set new ethernet-service-name",\r
         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3343.883331298828,\r
-        "y": 834,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3370.883270263672,\r
+        "y": 561,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cf58d1a3.b75bc8",\r
+        "id": "757555b7.a275b4",\r
         "type": "set",\r
         "name": "set network-route-one",\r
         "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3318.883331298828,\r
-        "y": 897,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3344.883270263672,\r
+        "y": 610,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4d7ff96.ceb5f8",\r
+        "id": "da8313.90b574f",\r
         "type": "set",\r
         "name": "set network-route-two",\r
         "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3319.883331298828,\r
-        "y": 952,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3343.883270263672,\r
+        "y": 659,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4f57fa4.5908a84",\r
+        "id": "a53e9db6.011d6",\r
         "type": "save",\r
         "name": "get network-route-one from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3335.883331298828,\r
-        "y": 1000,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3352.883270263672,\r
+        "y": 797,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "722a434e.2a3adc",\r
-                "e8fe3cd4.c3586",\r
-                "fdbfe007.1ea3b"\r
+                "cca9aa9c.5b4b58",\r
+                "6d66b175.a27548",\r
+                "6cf4995a.fab31"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93281de6.9193c8",\r
+        "id": "2b20579c.df8a7",\r
         "type": "save",\r
         "name": "get network-route-two from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3324.883331298828,\r
-        "y": 1086.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3345.883270263672,\r
+        "y": 857.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b372ac3d.0a4b1",\r
-                "d24aa16b.e47da",\r
-                "419032bc.a4963c"\r
+                "a115586d.1910d8",\r
+                "61de0330.a424c4",\r
+                "89e5a0b3.03b87"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "722a434e.2a3adc",\r
+        "id": "cca9aa9c.5b4b58",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3536.883331298828,\r
-        "y": 884,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3601.883026123047,\r
+        "y": 692,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "aae0d761.ec3158"\r
+                "294610ae.745698"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8fe3cd4.c3586",\r
+        "id": "6d66b175.a27548",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3532.392364501953,\r
-        "y": 933.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3595.392059326172,\r
+        "y": 733.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "af62b91c.6bf638"\r
+                "61b00039.d9b688"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fdbfe007.1ea3b",\r
+        "id": "6cf4995a.fab31",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3536.392364501953,\r
-        "y": 986.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3590.392059326172,\r
+        "y": 783.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "72360610.10f7e"\r
+                "1fe35696.f7e9f9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aae0d761.ec3158",\r
+        "id": "294610ae.745698",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3685.454864501953,\r
-        "y": 883.2857666015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3750.454559326172,\r
+        "y": 691.2857666015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "af62b91c.6bf638",\r
+        "id": "61b00039.d9b688",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3675.392364501953,\r
-        "y": 933.426025390625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3740.392059326172,\r
+        "y": 741.426025390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b372ac3d.0a4b1",\r
+        "id": "a115586d.1910d8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3547.883331298828,\r
-        "y": 1056.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3566.883270263672,\r
+        "y": 843.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3bdfccb0.f2d08c"\r
+                "807fba07.07f6d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d24aa16b.e47da",\r
+        "id": "61de0330.a424c4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3543.392364501953,\r
-        "y": 1106.4259033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3562.392303466797,\r
+        "y": 893.4259033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "57f2def1.81f4e"\r
+                "9f751353.b361d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "419032bc.a4963c",\r
+        "id": "89e5a0b3.03b87",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3544.392364501953,\r
-        "y": 1159.4259033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3563.392303466797,\r
+        "y": 946.4259033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "91fe26d2.5b80d"\r
+                "17e5ea49.0fe58e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bdfccb0.f2d08c",\r
+        "id": "807fba07.07f6d",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3696.454864501953,\r
-        "y": 1056.28564453125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3719.4546508789062,\r
+        "y": 849.28564453125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57f2def1.81f4e",\r
+        "id": "9f751353.b361d",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3686.392364501953,\r
-        "y": 1106.4259033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3705.392303466797,\r
+        "y": 893.4259033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "72360610.10f7e",\r
+        "id": "1fe35696.f7e9f9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3697.883331298828,\r
-        "y": 986,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3762.883026123047,\r
+        "y": 794,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "21ff581a.7d3f68"\r
+                "6a90f954.4bce88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91fe26d2.5b80d",\r
+        "id": "17e5ea49.0fe58e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3697.883331298828,\r
-        "y": 1158.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3716.883270263672,\r
+        "y": 945.9998779296875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f4949055.0aa838"\r
+                "f51128b5.0b454"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21ff581a.7d3f68",\r
+        "id": "6a90f954.4bce88",\r
         "type": "switchNode",\r
         "name": "switch nr type",\r
         "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3869.883331298828,\r
-        "y": 986,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3923.883270263672,\r
+        "y": 681,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d771576e.5459b",\r
-                "743ce77.86c2e98"\r
+                "d28de3c8.def278",\r
+                "32596d77.fd201a",\r
+                "c2039341.ed7fe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4949055.0aa838",\r
+        "id": "f51128b5.0b454",\r
         "type": "switchNode",\r
         "name": "switch nr type",\r
         "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3870.883331298828,\r
-        "y": 1159,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3915.883270263672,\r
+        "y": 866,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "854204ac.64311",\r
-                "5401ccd6.c2c2e4"\r
+                "6179a2a6.c7a764",\r
+                "6a08da95.c46784",\r
+                "49cd1e6.2c21e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d771576e.5459b",\r
+        "id": "d28de3c8.def278",\r
         "type": "outcome",\r
         "name": "ROOT",\r
         "xml": "<outcome value='ROOT'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4045.883331298828,\r
-        "y": 965,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4147.883758544922,\r
+        "y": 384.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2e04d27d.5faff6"\r
+                "af392071.289a38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "743ce77.86c2e98",\r
+        "id": "32596d77.fd201a",\r
         "type": "outcome",\r
         "name": "LEAF",\r
         "xml": "<outcome value='LEAF'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4047.883331298828,\r
-        "y": 1019,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4149.883758544922,\r
+        "y": 438.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "12c64a9b.27d615"\r
+                "7fbb2a1.f3ae954"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "854204ac.64311",\r
+        "id": "6179a2a6.c7a764",\r
         "type": "outcome",\r
         "name": "ROOT",\r
         "xml": "<outcome value='ROOT'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4046.883331298828,\r
-        "y": 1129,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4113.883758544922,\r
+        "y": 645,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a8347389.2ab3b"\r
+                "92f10d9d.0be95"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5401ccd6.c2c2e4",\r
+        "id": "6a08da95.c46784",\r
         "type": "outcome",\r
         "name": "LEAF",\r
         "xml": "<outcome value='LEAF'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4048.883331298828,\r
-        "y": 1183,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4115.883758544922,\r
+        "y": 699,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "49b6f3ad.a55ac4"\r
+                "bbb0db7f.fd9908"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20ddeea0.a0e9ea",\r
+        "id": "892e5669.1ea2b",\r
         "type": "set",\r
         "name": "set network-route-ROOT",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4355.883331298828,\r
-        "y": 917,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4457.883758544922,\r
+        "y": 336.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4916484.b95cf",\r
+        "id": "6a564e86.c1193",\r
         "type": "set",\r
         "name": "set network-route-LEAF",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4348.883331298828,\r
-        "y": 1015,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4450.883758544922,\r
+        "y": 434.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2f347429.e690cc",\r
+        "id": "a3abd24c.7a5ec",\r
         "type": "set",\r
         "name": "set network-route-ROOT",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4348.883331298828,\r
-        "y": 1102,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4429.883758544922,\r
+        "y": 618,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cad2e783.60fc68",\r
+        "id": "dc9fae61.a17b2",\r
         "type": "set",\r
         "name": "set network-route-LEAF",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4352.883331298828,\r
-        "y": 1195,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4433.883758544922,\r
+        "y": 711,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b1d86e33.3aa378",\r
+        "id": "50eeb433.a27fd4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3579.883331298828,\r
-        "y": 1604,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3609.88330078125,\r
+        "y": 1371,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a5f9a85c.99ac48"\r
+                "c94a30c2.a398b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4982a5c.ee1f08",\r
+        "id": "a408ed17.7674d",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3589.374298095703,\r
-        "y": 1646.5740356445312,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3619.374267578125,\r
+        "y": 1413.5740356445312,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bbb83480.f4afb8"\r
+                "82ef970c.862378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9afba595.5831a",\r
+        "id": "3bc8671c.26c7e",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3577.883331298828,\r
-        "y": 1693,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3607.88330078125,\r
+        "y": 1460,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "eeac5d42.037ff"\r
+                "5a6a5226.7899ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9f44662.0eb94",\r
+        "id": "246e8fda.9e3d88",\r
         "type": "comment",\r
         "name": "Question?",\r
         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
         "comments": "",\r
-        "x": 3279.883331298828,\r
-        "y": 1566,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3309.88330078125,\r
+        "y": 1333,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2fd6be0.ec30642",\r
+        "id": "652968a1.d93e88",\r
         "type": "save",\r
         "name": "get p-interface-src from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3322.883331298828,\r
-        "y": 1631,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3352.88330078125,\r
+        "y": 1398,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b1d86e33.3aa378",\r
-                "a4982a5c.ee1f08",\r
-                "9afba595.5831a"\r
+                "50eeb433.a27fd4",\r
+                "a408ed17.7674d",\r
+                "3bc8671c.26c7e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "279a0c66.95b87c",\r
+        "id": "1abe7496.3f7c9b",\r
         "type": "execute",\r
         "name": "execute split tp-id to get pnf-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3323.883331298828,\r
-        "y": 1301,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3353.883270263672,\r
+        "y": 1150,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ab7f6387.a06298",\r
-                "178d0fab.57c17"\r
+                "56f8321f.20ee54",\r
+                "27baf83a.a648a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "178d0fab.57c17",\r
+        "id": "27baf83a.a648a",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3546.883331298828,\r
-        "y": 1287,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3576.883270263672,\r
+        "y": 1136,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "174b650f.6f4cdb"\r
+                "89fdb9b4.3821e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab7f6387.a06298",\r
+        "id": "56f8321f.20ee54",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3548.883331298828,\r
-        "y": 1320,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3578.883270263672,\r
+        "y": 1169,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "109222da.cab295"\r
+                "bd796d50.897138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a5f9a85c.99ac48",\r
+        "id": "c94a30c2.a398b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3752.549835205078,\r
-        "y": 1603,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3782.5498046875,\r
+        "y": 1370,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f0dfffc5.29d178",\r
-                "acd2704e.4ae308"\r
+                "5b1520ee.c993d8",\r
+                "92906f1e.302de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bbb83480.f4afb8",\r
+        "id": "82ef970c.862378",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3742.9457092285156,\r
-        "y": 1649.8597717285156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3772.9456787109375,\r
+        "y": 1416.8597717285156,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "eeac5d42.037ff",\r
+        "id": "5a6a5226.7899ec",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3746.883331298828,\r
-        "y": 1694,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3776.88330078125,\r
+        "y": 1461,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f0dfffc5.29d178",\r
+        "id": "5b1520ee.c993d8",\r
         "type": "execute",\r
         "name": "execute split tp-id to get pnf-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4016.883331298828,\r
-        "y": 1587,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4046.88330078125,\r
+        "y": 1354,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "11bdf0f4.508487",\r
-                "23d1e1ad.23f75e"\r
+                "40f95927.3e48a8",\r
+                "155b2019.4d901"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23d1e1ad.23f75e",\r
+        "id": "155b2019.4d901",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4239.883331298828,\r
-        "y": 1542,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4269.88330078125,\r
+        "y": 1309,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3fc7a366.f1683c"\r
+                "8cff212e.fd093"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11bdf0f4.508487",\r
+        "id": "40f95927.3e48a8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4241.883331298828,\r
-        "y": 1606,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4271.88330078125,\r
+        "y": 1373,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d6cac3a3.d1f4"\r
+                "9ea2b228.156828"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d6cac3a3.d1f4",\r
+        "id": "9ea2b228.156828",\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": 4403.883331298828,\r
-        "y": 1602,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4433.88330078125,\r
+        "y": 1369,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3fc7a366.f1683c",\r
+        "id": "8cff212e.fd093",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4404.883331298828,\r
-        "y": 1539,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4434.88330078125,\r
+        "y": 1306,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d54289dc.18d288",\r
-                "cc99bc89.a9c058"\r
+                "ea39175a.08155",\r
+                "81bb5906.bb1848"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17e0fd07.b5de8b",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4018.883331298828,\r
-        "y": 1746,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f1afd056.64d73",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4063.883331298828,\r
-        "y": 1656,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "50d51c8c.dc95ac",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4146.883331298828,\r
-        "y": 1794,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "109222da.cab295",\r
+        "id": "bd796d50.897138",\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": 3691.883331298828,\r
-        "y": 1317,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3721.883270263672,\r
+        "y": 1166,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "174b650f.6f4cdb",\r
+        "id": "89fdb9b4.3821e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3694.883331298828,\r
-        "y": 1280,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3724.883270263672,\r
+        "y": 1129,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6b9c6245.ea050c",\r
-                "ab33cb14.ff6cc8"\r
+                "242e596.6a45da6",\r
+                "c522f465.9b1b48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6b9c6245.ea050c",\r
+        "id": "242e596.6a45da6",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
         "comments": "",\r
-        "x": 3868.883331298828,\r
-        "y": 1236,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3916.883270263672,\r
+        "y": 1131,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "acd2704e.4ae308",\r
+        "id": "92906f1e.302de8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3970.883331298828,\r
-        "y": 1871,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4006.88330078125,\r
+        "y": 1486,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "73a0105b.ac0e58"\r
+                "9d7e97d1.f3da4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73a0105b.ac0e58",\r
+        "id": "9d7e97d1.f3da4",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4176.883331298828,\r
-        "y": 1871,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4212.88330078125,\r
+        "y": 1486,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6dbfb157.d8359"\r
+                "39469ddd.cce81a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6dbfb157.d8359",\r
+        "id": "39469ddd.cce81a",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4392.168975830078,\r
-        "y": 1870.82177734375,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4428.1689453125,\r
+        "y": 1485.82177734375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "616def67.e5a25"\r
+                "286435fd.520a92"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab33cb14.ff6cc8",\r
+        "id": "c522f465.9b1b48",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3883.883331298828,\r
-        "y": 1347,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3913.883270263672,\r
+        "y": 1196,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e7bde0a4.3a223",\r
-                "856b3a3e.33dd18",\r
-                "ec1837c2.7e65e8"\r
+                "9a817681.2b7108",\r
+                "845c0857.7834f8",\r
+                "aae3c73d.eac74"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7bde0a4.3a223",\r
+        "id": "9a817681.2b7108",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4079.3834533691406,\r
-        "y": 1299,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4109.383392333984,\r
+        "y": 1148,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a049038b.508d4"\r
+                "d82b3eae.4c278"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "856b3a3e.33dd18",\r
+        "id": "845c0857.7834f8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4071.3834533691406,\r
-        "y": 1354,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4101.383392333984,\r
+        "y": 1203,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f843f7f2.8c64b8"\r
+                "c5b5dd85.a284c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ec1837c2.7e65e8",\r
+        "id": "aae3c73d.eac74",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4076.3834533691406,\r
-        "y": 1411,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4106.383392333984,\r
+        "y": 1260,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "47e459e1.2a9ce"\r
+                "535d5ed7.3fd4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47e459e1.2a9ce",\r
+        "id": "535d5ed7.3fd4e",\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": 4228.383453369141,\r
-        "y": 1412,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4258.383392333984,\r
+        "y": 1261,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f843f7f2.8c64b8",\r
+        "id": "c5b5dd85.a284c8",\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": 4239.383453369141,\r
-        "y": 1357,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4269.383392333984,\r
+        "y": 1206,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a049038b.508d4",\r
+        "id": "d82b3eae.4c278",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4223.765777587891,\r
-        "y": 1296.6556701660156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4253.765716552734,\r
+        "y": 1145.6556701660156,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b2d1999f.753708"\r
+                "5176f492.5f7e8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b2d1999f.753708",\r
+        "id": "5176f492.5f7e8c",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4407.883331298828,\r
-        "y": 1311,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4447.883270263672,\r
+        "y": 1189.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9b22416d.9cdac8"\r
+                "1d42fe6d.851b3a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc99bc89.a9c058",\r
+        "id": "81bb5906.bb1848",\r
         "type": "set",\r
         "name": "set ltpId",\r
         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
         "comments": "",\r
-        "x": 4574.883331298828,\r
-        "y": 1497,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4604.88330078125,\r
+        "y": 1264,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d54289dc.18d288",\r
+        "id": "ea39175a.08155",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
         "comments": "",\r
-        "x": 4575.883331298828,\r
-        "y": 1605,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4605.88330078125,\r
+        "y": 1372,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "46e18359.07aad4",\r
+        "id": "ea0872ed.58cfa",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
         "comments": "",\r
-        "x": 4576.883331298828,\r
-        "y": 1554,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4606.88330078125,\r
+        "y": 1321,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "616def67.e5a25",\r
+        "id": "286435fd.520a92",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4599.000518798828,\r
-        "y": 1871.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4635.00048828125,\r
+        "y": 1486.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6d0c5fcb.438328",\r
-                "40a1c35d.17991c",\r
-                "6c800e67.6aa9c8"\r
+                "b0e3cfe1.6d40f",\r
+                "7126b880.f67e48",\r
+                "ad3a7086.abf6b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6d0c5fcb.438328",\r
+        "id": "b0e3cfe1.6d40f",\r
         "type": "set",\r
         "name": "set source ttp-id",\r
         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4814.000518798828,\r
-        "y": 1833.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4850.00048828125,\r
+        "y": 1448.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "40a1c35d.17991c",\r
+        "id": "7126b880.f67e48",\r
         "type": "get-resource",\r
         "name": "get-resource src TTP",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4811.000518798828,\r
-        "y": 1872.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4847.00048828125,\r
+        "y": 1487.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9de28790.cf8c7"\r
+                "7a65c420.1080dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c800e67.6aa9c8",\r
+        "id": "ad3a7086.abf6b",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4766.500518798828,\r
-        "y": 1914.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4802.50048828125,\r
+        "y": 1529.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9de28790.cf8c7",\r
+        "id": "7a65c420.1080dc",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4991.500518798828,\r
-        "y": 1871.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5027.50048828125,\r
+        "y": 1486.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e5173d49.fc3368"\r
+                "96c8a7ed.e41958"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "376d58a4.adb2a",\r
+        "id": "90470a6f.8ef5f8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4805.883331298828,\r
-        "y": 1315,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4835.88330078125,\r
+        "y": 1082,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "60247fbe.4b6c2"\r
+                "e5efb625.18037"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60247fbe.4b6c2",\r
+        "id": "e5efb625.18037",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4982.883331298828,\r
-        "y": 1307,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5012.88330078125,\r
+        "y": 1074,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4270b940.4f6ac",\r
-                "65b48891.d54c3"\r
+                "732587d3.ab7a9",\r
+                "4baffabc.103f3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b22416d.9cdac8",\r
+        "id": "1d42fe6d.851b3a",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4602.883331298828,\r
-        "y": 1311,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4638.883270263672,\r
+        "y": 1179.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "376d58a4.adb2a",\r
-                "59d37917.573538"\r
+                "90470a6f.8ef5f8",\r
+                "6cae07e7.8ff81"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59d37917.573538",\r
+        "id": "6cae07e7.8ff81",\r
         "type": "outcome",\r
         "name": "network-resource",\r
         "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4808.883331298828,\r
-        "y": 1389,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4838.88330078125,\r
+        "y": 1156,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b8751b8b.fb4f58"\r
+                "8681155.73991e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8751b8b.fb4f58",\r
+        "id": "8681155.73991e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4985.883331298828,\r
-        "y": 1381,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5015.88330078125,\r
+        "y": 1148,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "673e159e.9038cc"\r
+                "c2e2c331.f24d7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e5173d49.fc3368",\r
+        "id": "96c8a7ed.e41958",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5149.500518798828,\r
-        "y": 1871.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5185.50048828125,\r
+        "y": 1486.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e816a090.0c423"\r
+                "d73ce805.51d21"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e816a090.0c423",\r
+        "id": "d73ce805.51d21",\r
         "type": "set",\r
         "name": "set source tunnel tp ip",\r
         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 5356.500518798828,\r
-        "y": 1871.34033203125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5392.50048828125,\r
+        "y": 1486.34033203125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "65b48891.d54c3",\r
+        "id": "4baffabc.103f3c",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5190.883331298828,\r
-        "y": 1314,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5220.88330078125,\r
+        "y": 1081,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "12ca2f18.a3fcb1",\r
-                "2eff6a6f.1256be",\r
-                "ae932fb7.b2f368"\r
+                "276c589.f8898a8",\r
+                "b6b78749.64c52",\r
+                "710e31ca.f7c328"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4270b940.4f6ac",\r
+        "id": "732587d3.ab7a9",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainA id",\r
         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5220.883331298828,\r
-        "y": 1262,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5250.88330078125,\r
+        "y": 1029,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "12ca2f18.a3fcb1",\r
+        "id": "276c589.f8898a8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5400.883331298828,\r
-        "y": 1305,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5430.88330078125,\r
+        "y": 1072,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "19df6125.66c90f"\r
+                "6595904d.14fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2eff6a6f.1256be",\r
+        "id": "b6b78749.64c52",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5392.883331298828,\r
-        "y": 1360,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5422.88330078125,\r
+        "y": 1127,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5900b30a.9db0cc"\r
+                "870ff6d4.3b5618"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae932fb7.b2f368",\r
+        "id": "710e31ca.f7c328",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5397.883331298828,\r
-        "y": 1417,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5427.88330078125,\r
+        "y": 1184,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "abcfe080.ae7e7"\r
+                "14dafdf8.cfb5c2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "abcfe080.ae7e7",\r
+        "id": "14dafdf8.cfb5c2",\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": 5549.883331298828,\r
-        "y": 1418,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5579.88330078125,\r
+        "y": 1185,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5900b30a.9db0cc",\r
+        "id": "870ff6d4.3b5618",\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": 5560.883331298828,\r
-        "y": 1363,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5590.88330078125,\r
+        "y": 1130,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "19df6125.66c90f",\r
+        "id": "6595904d.14fc",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5545.265655517578,\r
-        "y": 1302.6556701660156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5575.265625,\r
+        "y": 1069.6556701660156,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "db94bf6b.c81da8"\r
+                "4578d3b4.cc9aac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "673e159e.9038cc",\r
+        "id": "c2e2c331.f24d7",\r
         "type": "set",\r
         "name": "set domainA ethernet layer network-id",\r
         "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5220.883331298828,\r
-        "y": 1505,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5250.88330078125,\r
+        "y": 1272,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "db94bf6b.c81da8",\r
+        "id": "4578d3b4.cc9aac",\r
         "type": "set",\r
         "name": "set controller domainA data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5759.883331298828,\r
-        "y": 1299,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5789.88330078125,\r
+        "y": 1066,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "653ea460.331594",\r
+        "id": "d9f780b3.339398",\r
         "type": "set",\r
         "name": "set network-route-B",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4343.883331298828,\r
-        "y": 953,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4445.883758544922,\r
+        "y": 372.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3ff377ce.541508",\r
+        "id": "eeaf4d12.9621",\r
         "type": "set",\r
         "name": "set network-route-A",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4334.883331298828,\r
-        "y": 1051,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4446.883728027344,\r
+        "y": 476.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2e04d27d.5faff6",\r
+        "id": "af392071.289a38",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4168.883331298828,\r
-        "y": 959,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4270.883758544922,\r
+        "y": 378.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "20ddeea0.a0e9ea",\r
-                "653ea460.331594"\r
+                "892e5669.1ea2b",\r
+                "d9f780b3.339398"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12c64a9b.27d615",\r
+        "id": "7fbb2a1.f3ae954",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4174.883331298828,\r
-        "y": 1023,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4276.883758544922,\r
+        "y": 442.99993896484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a4916484.b95cf",\r
-                "3ff377ce.541508"\r
+                "6a564e86.c1193",\r
+                "eeaf4d12.9621"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8347389.2ab3b",\r
+        "id": "92f10d9d.0be95",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4174.883331298828,\r
-        "y": 1129,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4241.883758544922,\r
+        "y": 645,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2f347429.e690cc",\r
-                "64f47a9a.5541ec"\r
+                "a3abd24c.7a5ec",\r
+                "d4111de3.168d5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49b6f3ad.a55ac4",\r
+        "id": "bbb0db7f.fd9908",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4177.883331298828,\r
-        "y": 1182,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4244.883758544922,\r
+        "y": 698,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cad2e783.60fc68",\r
-                "93b1477b.b7ce28"\r
+                "dc9fae61.a17b2",\r
+                "daba5f73.79ab3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "64f47a9a.5541ec",\r
+        "id": "d4111de3.168d5",\r
         "type": "set",\r
         "name": "set network-route-B",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4334.883331298828,\r
-        "y": 1142,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4415.883758544922,\r
+        "y": 658,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "93b1477b.b7ce28",\r
+        "id": "daba5f73.79ab3",\r
         "type": "set",\r
         "name": "set network-route-A",\r
         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4337.883331298828,\r
-        "y": 1233,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4418.883758544922,\r
+        "y": 749,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bcceae66.215ea8",\r
+        "id": "f11652ec.f5ecc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3709.883331298828,\r
-        "y": 2443,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3741.88330078125,\r
+        "y": 1828.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "fa55cad.2f0ddb8",\r
-                "341eac77.d5f56c"\r
+                "2518ba78.6d21ae",\r
+                "ca887fb4.4fa748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e6e2e92d.d49f8",\r
+        "id": "5d22eff5.ad4738",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3537.216827392578,\r
-        "y": 2444,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3569.216796875,\r
+        "y": 1829.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bcceae66.215ea8"\r
+                "f11652ec.f5ecc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15d49e8e.f5c6d1",\r
+        "id": "f62aa8b7.81c7a8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3546.707794189453,\r
-        "y": 2486.5740356445312,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3578.707763671875,\r
+        "y": 1871.5741577148438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b6575c89.a4dbd8"\r
+                "3ccb36a1.cd58ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "456db0bd.6c4e5",\r
+        "id": "949b65da.c62778",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3535.216827392578,\r
-        "y": 2533,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3567.216796875,\r
+        "y": 1918.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f1a4c78.c749938"\r
+                "b3008d52.d5dec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6575c89.a4dbd8",\r
+        "id": "3ccb36a1.cd58ba",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3700.2792053222656,\r
-        "y": 2489.8597717285156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3732.2791748046875,\r
+        "y": 1874.8598937988281,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f1a4c78.c749938",\r
+        "id": "b3008d52.d5dec",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3704.216827392578,\r
-        "y": 2534,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3736.216796875,\r
+        "y": 1919.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa55cad.2f0ddb8",\r
+        "id": "2518ba78.6d21ae",\r
         "type": "execute",\r
         "name": "execute split tp-id to get pnf-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3996.216827392578,\r
-        "y": 2447.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4028.216796875,\r
+        "y": 1832.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2a55ff3d.a63f58",\r
-                "a4fedadd.ffdcf"\r
+                "2fdbf5bd.c09292",\r
+                "9a5de981.0de7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4fedadd.ffdcf",\r
+        "id": "9a5de981.0de7c",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4219.216827392578,\r
-        "y": 2402.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4251.216796875,\r
+        "y": 1787.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2cf5b91c.330536"\r
+                "82242071.f4a9f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a55ff3d.a63f58",\r
+        "id": "2fdbf5bd.c09292",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4221.216827392578,\r
-        "y": 2466.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4253.216796875,\r
+        "y": 1851.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f4cfd006.4df4a"\r
+                "56361c44.c984a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4cfd006.4df4a",\r
+        "id": "56361c44.c984a4",\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": 4380.216827392578,\r
-        "y": 2485.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4412.216796875,\r
+        "y": 1870.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2cf5b91c.330536",\r
+        "id": "82242071.f4a9f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4384.216827392578,\r
-        "y": 2399.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4416.216796875,\r
+        "y": 1784.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "60521985.bf9fa8",\r
-                "1b11d7f2.c04e4"\r
+                "10610dd4.f6c112",\r
+                "ddf5e2c4.67d9f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3e3a2fcb.29b168",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3998.216827392578,\r
-        "y": 2606.0001220703125,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a24d2064.f8a7c",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4043.216827392578,\r
-        "y": 2516.0001220703125,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "7f1c08c8.8cc28",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4125.216827392578,\r
-        "y": 2671.0001220703125,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b114579a.337d4",\r
+        "id": "fc221d76.582c9",\r
         "type": "save",\r
         "name": "get p-interface-dst from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3309.216827392578,\r
-        "y": 2479,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3341.216796875,\r
+        "y": 1864.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e6e2e92d.d49f8",\r
-                "15d49e8e.f5c6d1",\r
-                "456db0bd.6c4e5"\r
+                "5d22eff5.ad4738",\r
+                "f62aa8b7.81c7a8",\r
+                "949b65da.c62778"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e0a6f3b.01feb",\r
+        "id": "322a186d.549ed",\r
         "type": "comment",\r
         "name": "Question?",\r
         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
         "comments": "",\r
-        "x": 3270.216827392578,\r
-        "y": 2423,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3302.216796875,\r
+        "y": 1808.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3458f9fd.a9fdce",\r
+        "id": "f369a6e9.5de548",\r
         "type": "execute",\r
         "name": "execute split tp-id to get pnf-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3327.216827392578,\r
-        "y": 2141.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3353.216796875,\r
+        "y": 1603,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c48f1e5.b50d76",\r
-                "40db2833.3d6058"\r
+                "cb8e448.206bab8",\r
+                "778779f6.be6098"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40db2833.3d6058",\r
+        "id": "778779f6.be6098",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3550.216827392578,\r
-        "y": 2127.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3576.216796875,\r
+        "y": 1589,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "57ecc3e9.705994"\r
+                "4c771f34.9e70b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c48f1e5.b50d76",\r
+        "id": "cb8e448.206bab8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3552.216827392578,\r
-        "y": 2160.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3578.216796875,\r
+        "y": 1622,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6a189760.03fff"\r
+                "7c64438a.ff9f5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a189760.03fff",\r
+        "id": "7c64438a.ff9f5c",\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": 3695.216827392578,\r
-        "y": 2157.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3721.216796875,\r
+        "y": 1619,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57ecc3e9.705994",\r
+        "id": "4c771f34.9e70b8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3698.216827392578,\r
-        "y": 2120.9998779296875,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3724.216796875,\r
+        "y": 1582,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7ef10f50.4a98b",\r
-                "d3e48892.7c0638"\r
+                "8b5ae92b.18937",\r
+                "acd78677.da7398"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ef10f50.4a98b",\r
+        "id": "8b5ae92b.18937",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
         "comments": "",\r
-        "x": 3892.216827392578,\r
-        "y": 2124,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3918.216796875,\r
+        "y": 1585.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "341eac77.d5f56c",\r
+        "id": "ca887fb4.4fa748",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3955.216827392578,\r
-        "y": 2756,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3969.216766357422,\r
+        "y": 1965,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1d1b2999.e8eaf6"\r
+                "d3ca912e.f0454"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d1b2999.e8eaf6",\r
+        "id": "d3ca912e.f0454",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4161.216827392578,\r
-        "y": 2756,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4175.216766357422,\r
+        "y": 1965,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2587a419.edf304"\r
+                "e775983e.c87c6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2587a419.edf304",\r
+        "id": "e775983e.c87c6",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4378.502471923828,\r
-        "y": 2754.82177734375,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4392.502410888672,\r
+        "y": 1963.82177734375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "596e064d.3e4868"\r
+                "8510e412.3775c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d3e48892.7c0638",\r
+        "id": "acd78677.da7398",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3914.216827392578,\r
-        "y": 2192,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3940.216796875,\r
+        "y": 1653.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5d04022c.52094c",\r
-                "4363a204.88356c",\r
-                "d1632f49.e8bfd8"\r
+                "e413099e.5580f8",\r
+                "73fbbbe6.41f3fc",\r
+                "be84a2f7.e2d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d04022c.52094c",\r
+        "id": "e413099e.5580f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4109.716949462891,\r
-        "y": 2144,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4135.7169189453125,\r
+        "y": 1605.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "16d6f161.b988af"\r
+                "6607b5e0.cc2a14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4363a204.88356c",\r
+        "id": "73fbbbe6.41f3fc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4101.716949462891,\r
-        "y": 2199,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4127.7169189453125,\r
+        "y": 1660.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5ac71d3b.31ff94"\r
+                "c946d76.aa97f28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d1632f49.e8bfd8",\r
+        "id": "be84a2f7.e2d8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4106.716949462891,\r
-        "y": 2256,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4132.7169189453125,\r
+        "y": 1717.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8e2e62d9.6dcb8"\r
+                "55c1c0e2.5aae38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e2e62d9.6dcb8",\r
+        "id": "55c1c0e2.5aae38",\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": 4258.716949462891,\r
-        "y": 2257,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4284.7169189453125,\r
+        "y": 1718.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5ac71d3b.31ff94",\r
+        "id": "c946d76.aa97f28",\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": 4269.716949462891,\r
-        "y": 2202,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4295.7169189453125,\r
+        "y": 1663.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "16d6f161.b988af",\r
+        "id": "6607b5e0.cc2a14",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4254.099273681641,\r
-        "y": 2141.6556701660156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4280.0992431640625,\r
+        "y": 1602.6557922363281,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7d886bfd.e9ca4c"\r
+                "eb6f70d5.e0fd88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60521985.bf9fa8",\r
+        "id": "10610dd4.f6c112",\r
         "type": "set",\r
         "name": "set ltpId",\r
         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
         "comments": "",\r
-        "x": 4554.216827392578,\r
-        "y": 2360.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4586.216796875,\r
+        "y": 1745.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1b11d7f2.c04e4",\r
+        "id": "ddf5e2c4.67d9f8",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
         "comments": "",\r
-        "x": 4555.216827392578,\r
-        "y": 2465.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4587.216796875,\r
+        "y": 1850.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f5d8e7ee.5dd5b8",\r
+        "id": "f866aa99.a64d6",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
         "comments": "",\r
-        "x": 4550.216827392578,\r
-        "y": 2414.0001220703125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4582.216796875,\r
+        "y": 1799.000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "596e064d.3e4868",\r
+        "id": "8510e412.3775c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4585.334014892578,\r
-        "y": 2744.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4599.333953857422,\r
+        "y": 1953.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1d1ef4b9.b52cc3",\r
-                "aa09325d.47c72",\r
-                "f212860e.85526"\r
+                "3eb610b6.e19958",\r
+                "2b4d2f26.4fc18",\r
+                "56b44513.ed17bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d1ef4b9.b52cc3",\r
+        "id": "3eb610b6.e19958",\r
         "type": "set",\r
         "name": "set destination ttp-id",\r
         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4800.334014892578,\r
-        "y": 2706.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4814.333953857422,\r
+        "y": 1915.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aa09325d.47c72",\r
+        "id": "2b4d2f26.4fc18",\r
         "type": "get-resource",\r
         "name": "get-resource src TTP",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4797.334014892578,\r
-        "y": 2745.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4811.333953857422,\r
+        "y": 1954.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "391393be.95d72c"\r
+                "b7623c50.89af3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f212860e.85526",\r
+        "id": "56b44513.ed17bc",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4752.834014892578,\r
-        "y": 2787.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4766.833953857422,\r
+        "y": 1996.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "391393be.95d72c",\r
+        "id": "b7623c50.89af3",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4977.834014892578,\r
-        "y": 2744.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4991.833953857422,\r
+        "y": 1953.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "520819a9.ab1618"\r
+                "e2420b84.cbf938"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "520819a9.ab1618",\r
+        "id": "e2420b84.cbf938",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5135.834014892578,\r
-        "y": 2744.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5149.833953857422,\r
+        "y": 1953.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3a6f0d92.f64ee2"\r
+                "d3754257.cdbb9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3a6f0d92.f64ee2",\r
+        "id": "d3754257.cdbb9",\r
         "type": "set",\r
         "name": "set destination tunnel tp ip",\r
         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 5342.834014892578,\r
-        "y": 2744.3404541015625,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5356.833953857422,\r
+        "y": 1953.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "35d3101c.ddb4c",\r
+        "id": "303b1a28.56bd56",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4836.216827392578,\r
-        "y": 2160,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4862.216796875,\r
+        "y": 1621.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "461a66b2.13a6c8"\r
+                "8f6cdb8f.90967"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "461a66b2.13a6c8",\r
+        "id": "8f6cdb8f.90967",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5013.216827392578,\r
-        "y": 2152,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5039.216796875,\r
+        "y": 1613.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6cbb0705.4a3c5",\r
-                "670f0182.9fd968"\r
+                "5fcf484f.8e6e78",\r
+                "f4e9d00a.c60c9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d886bfd.e9ca4c",\r
+        "id": "eb6f70d5.e0fd88",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4438.216827392578,\r
-        "y": 2156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4464.216796875,\r
+        "y": 1617.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e2222250.60ef7"\r
+                "93bac5db.c9063"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2222250.60ef7",\r
+        "id": "93bac5db.c9063",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4633.216827392578,\r
-        "y": 2156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4659.216796875,\r
+        "y": 1617.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "35d3101c.ddb4c",\r
-                "768c39b6.117ae"\r
+                "303b1a28.56bd56",\r
+                "6dd697d7.ade42"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "670f0182.9fd968",\r
+        "id": "f4e9d00a.c60c9",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5221.216827392578,\r
-        "y": 2159,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5247.216796875,\r
+        "y": 1620.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4e714dda.e8064c",\r
-                "6d43e638.f020f8",\r
-                "33cdbe70.d704f2"\r
+                "af18531c.f561e8",\r
+                "6d4f9387.cdc244",\r
+                "7f999aa.ecc8a64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9bab22e5.a35978",\r
+        "id": "6e464f44.674b68",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5015.216827392578,\r
-        "y": 2225,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5041.216796875,\r
+        "y": 1686.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3c5a22cd.c5b5a6"\r
+                "c6202cfd.8bcb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "768c39b6.117ae",\r
+        "id": "6dd697d7.ade42",\r
         "type": "outcome",\r
         "name": "network-resource",\r
         "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4838.216827392578,\r
-        "y": 2233,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4864.216796875,\r
+        "y": 1694.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9bab22e5.a35978"\r
+                "6e464f44.674b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6cbb0705.4a3c5",\r
+        "id": "5fcf484f.8e6e78",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainB id",\r
         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5251.216827392578,\r
-        "y": 2107,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5277.216796875,\r
+        "y": 1568.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3c5a22cd.c5b5a6",\r
+        "id": "c6202cfd.8bcb4",\r
         "type": "set",\r
         "name": "set domainB ethernet layer network-id",\r
         "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5250.216827392578,\r
-        "y": 2349,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5254.216796875,\r
+        "y": 1752.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4e714dda.e8064c",\r
+        "id": "af18531c.f561e8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5431.216827392578,\r
-        "y": 2150,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5457.216796875,\r
+        "y": 1611.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c3b341d5.27524"\r
+                "5e16aade.ea368c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6d43e638.f020f8",\r
+        "id": "6d4f9387.cdc244",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5423.216827392578,\r
-        "y": 2205,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5449.216796875,\r
+        "y": 1666.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5319e635.03496"\r
+                "77d34b30.5fb23c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "33cdbe70.d704f2",\r
+        "id": "7f999aa.ecc8a64",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5428.216827392578,\r
-        "y": 2262,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5454.216796875,\r
+        "y": 1723.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bf85165f.b30b4"\r
+                "674c6f5c.5f0f88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf85165f.b30b4",\r
+        "id": "674c6f5c.5f0f88",\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": 5580.216827392578,\r
-        "y": 2263,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5606.216796875,\r
+        "y": 1724.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5319e635.03496",\r
+        "id": "77d34b30.5fb23c",\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": 5591.216827392578,\r
-        "y": 2208,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5617.216796875,\r
+        "y": 1669.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c3b341d5.27524",\r
+        "id": "5e16aade.ea368c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5575.599151611328,\r
-        "y": 2147.6556701660156,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5601.59912109375,\r
+        "y": 1608.6557922363281,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5a4d43b1.7dbc0c"\r
+                "4cb5ebab.b25f64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a4d43b1.7dbc0c",\r
+        "id": "4cb5ebab.b25f64",\r
         "type": "set",\r
         "name": "set controller domainB data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5790.216827392578,\r
-        "y": 2144,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5816.216796875,\r
+        "y": 1605.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "83634982.62f32",\r
+        "id": "5fd92a3e.ed6fec",\r
         "type": "set",\r
         "name": "set LEAF stuff",\r
         "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
         "comments": "",\r
-        "x": 3288.883331298828,\r
-        "y": 1754,\r
-        "z": "d1eceead.adafe",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "51304efd.d01998",\r
-        "type": "comment",\r
-        "name": "This is it (should be)",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4510.883331298828,\r
-        "y": 1037,\r
-        "z": "d1eceead.adafe",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8cad1e9f.c00c5",\r
-        "type": "comment",\r
-        "name": "This is it (should be)",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4502.883331298828,\r
-        "y": 1127,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3314.88330078125,\r
+        "y": 1475,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a78c5989.f5207",\r
+        "id": "4a864e6a.471e",\r
         "type": "set",\r
         "name": "set ROOT stuff",\r
         "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
         "comments": "",\r
-        "x": 3269.883331298828,\r
-        "y": 2610,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3301.88330078125,\r
+        "y": 1995.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5f144ff2.8e6388",\r
-        "type": "save",\r
-        "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3401.883331298828,\r
-        "y": 1860,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f39161b8.c95518",\r
-        "type": "save",\r
-        "name": "save LEAF UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3308.883331298828,\r
-        "y": 1807,\r
-        "z": "d1eceead.adafe",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8af2638e.140428",\r
+        "id": "cfd6a168.75b7d8",\r
         "type": "execute",\r
         "name": "execute UUID generator for ethernet-service-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2426.883331298828,\r
-        "y": 185,\r
-        "z": "d1eceead.adafe",\r
+        "y": 188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b2d6bb83.745318",\r
+        "id": "fe93cfa.921edb",\r
         "type": "set",\r
         "name": "set new ethernet-service-name",\r
         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
         "comments": "",\r
         "x": 2360.883331298828,\r
-        "y": 221,\r
-        "z": "d1eceead.adafe",\r
+        "y": 224,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "efb9627d.c73688",\r
+        "id": "85869c3a.24ed3",\r
         "type": "comment",\r
         "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
         "info": "",\r
         "comments": "",\r
         "x": 2545.883331298828,\r
-        "y": 148,\r
-        "z": "d1eceead.adafe",\r
+        "y": 151,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7954d1dd.93732",\r
+        "id": "f5ea8856.4eb3f",\r
         "type": "comment",\r
         "name": "NOT NEEDED ANYMORE?",\r
         "info": "",\r
         "comments": "",\r
-        "x": 4036.883331298828,\r
-        "y": 1838,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4072.88330078125,\r
+        "y": 1453,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "48007645.c6e248",\r
+        "id": "8e941b0d.26d14",\r
         "type": "comment",\r
         "name": "NOT NEEDED ANYMORE?",\r
         "info": "",\r
         "comments": "",\r
-        "x": 4014.883331298828,\r
-        "y": 2708,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4028.883270263672,\r
+        "y": 1917,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e22daf3c.82e7c8",\r
+        "id": "8cb68ccc.e851f8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3441.8837890625,\r
-        "y": 7480.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7483.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ba2fa114.256608",\r
+        "id": "80d49243.ddf01",\r
         "type": "comment",\r
         "name": "START OF DELETE OPERATION",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3288.88330078125,\r
-        "y": 2939.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3296.88330078125,\r
+        "y": 2476.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cea904e8.518f5",\r
+        "id": "8f2ca941.64e03",\r
         "type": "save",\r
         "name": "delete LEAF uni resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3874.566650390625,\r
-        "y": 3129.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3880.566650390625,\r
+        "y": 2578.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8c6f82a5.234d18",\r
+        "id": "afaae138.bb9798",\r
         "type": "save",\r
         "name": "get LEAF uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3245.566650390625,\r
-        "y": 3059.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3251.566650390625,\r
+        "y": 2558.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "980e282b.21ebf",\r
-                "62337ab9.8b1c5c",\r
-                "ac27f627.a68b4"\r
+                "661c06cc.3908b",\r
+                "1ca1166.e689c6a",\r
+                "b5955cba.954b1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62337ab9.8b1c5c",\r
+        "id": "1ca1166.e689c6a",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3473.0576171875,\r
-        "y": 3031.974090576172,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3479.0576171875,\r
+        "y": 2530.9740600585938,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a4aab25a.3920c"\r
+                "e6c36b4a.f9b0a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ac27f627.a68b4",\r
+        "id": "b5955cba.954b1",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3468.566650390625,\r
-        "y": 3076.4000549316406,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3474.566650390625,\r
+        "y": 2575.4000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "98b8996.e5a3fe8"\r
+                "9464bc90.391b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4aab25a.3920c",\r
+        "id": "e6c36b4a.f9b0a8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3635.629150390625,\r
-        "y": 3031.259796142578,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3641.629150390625,\r
+        "y": 2530.259765625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98b8996.e5a3fe8",\r
+        "id": "9464bc90.391b5",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3636.566650390625,\r
-        "y": 3076.4000549316406,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3642.566650390625,\r
+        "y": 2575.4000244140625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "980e282b.21ebf",\r
+        "id": "661c06cc.3908b",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3480.566650390625,\r
-        "y": 3126.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3486.566650390625,\r
+        "y": 2625.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "50a09dc8.f07414"\r
+                "8055efb.5ed0c9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50a09dc8.f07414",\r
+        "id": "8055efb.5ed0c9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3632.88330078125,\r
-        "y": 3129.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3638.88330078125,\r
+        "y": 2628.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "839bae2a.5eaff8",\r
-                "cea904e8.518f5",\r
-                "8b478b6f.069ff8"\r
+                "2d855333.ba947c",\r
+                "8f2ca941.64e03",\r
+                "7724024e.bb32ec",\r
+                "b98aea07.4499"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "839bae2a.5eaff8",\r
+        "id": "2d855333.ba947c",\r
         "type": "set",\r
         "name": "set bwToBeDecreased tpid cvlan",\r
         "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
         "comments": "",\r
-        "x": 3877.566650390625,\r
-        "y": 3072.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3883.566650390625,\r
+        "y": 2521.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5a01c9ff.aa79b8",\r
+        "id": "a9e99fa6.0d7b7",\r
         "type": "comment",\r
         "name": "Update ROOT UNI's bw",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3833.566650390625,\r
-        "y": 3235.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3845.566650390625,\r
+        "y": 2632.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e327e4d5.a4e2b",\r
+        "id": "d2355b29.347a7",\r
         "type": "save",\r
         "name": "update ROOT UNI in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4435.566650390625,\r
-        "y": 3340.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4523.566650390625,\r
+        "y": 2675.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8b478b6f.069ff8",\r
+        "id": "7724024e.bb32ec",\r
         "type": "save",\r
         "name": "get root uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3825.56640625,\r
-        "y": 3281.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3837.56640625,\r
+        "y": 2678.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b9a017aa.207728",\r
-                "1cc16855.ddb44",\r
-                "cca9f79e.b7e85"\r
+                "7f7b7065.dfb0f",\r
+                "18f5411.3947abf",\r
+                "5fedf83d.ca31e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1cc16855.ddb44",\r
+        "id": "18f5411.3947abf",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4053.057373046875,\r
-        "y": 3253.773895263672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4141.057373046875,\r
+        "y": 2588.77392578125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "dd7a8720.93a36"\r
+                "58e0cfbb.eeb22"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cca9f79e.b7e85",\r
+        "id": "5fedf83d.ca31e8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4048.56640625,\r
-        "y": 3298.1998596191406,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4136.56640625,\r
+        "y": 2633.1998901367188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bfa4184f.a70f18"\r
+                "9a2aec0d.d77f58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd7a8720.93a36",\r
+        "id": "58e0cfbb.eeb22",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4215.62890625,\r
-        "y": 3253.059600830078,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4303.62890625,\r
+        "y": 2588.0596313476562,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bfa4184f.a70f18",\r
+        "id": "9a2aec0d.d77f58",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 4216.56640625,\r
-        "y": 3298.1998596191406,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4304.56640625,\r
+        "y": 2633.1998901367188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "51dfcdd2.a7dd1c",\r
+        "id": "2175339a.46dd54",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4213.56640625,\r
-        "y": 3348.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4301.56640625,\r
+        "y": 2683.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f4f7b843.eb2a48",\r
-                "e327e4d5.a4e2b"\r
+                "9319905e.cf01b",\r
+                "d2355b29.347a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b9a017aa.207728",\r
+        "id": "7f7b7065.dfb0f",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4044.56640625,\r
-        "y": 3348.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4132.56640625,\r
+        "y": 2683.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "51dfcdd2.a7dd1c"\r
+                "2175339a.46dd54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4f7b843.eb2a48",\r
+        "id": "9319905e.cf01b",\r
         "type": "set",\r
         "name": "set new bw",\r
         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
         "comments": "",\r
-        "x": 4395.567138671875,\r
-        "y": 3290.199920654297,\r
-        "z": "d1eceead.adafe",\r
+        "x": 4483.567138671875,\r
+        "y": 2625.199951171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7302cb88.8e6284",\r
+        "id": "c9164c42.75d5f8",\r
         "type": "comment",\r
         "name": "Delete LEAF UNI",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3825.88330078125,\r
-        "y": 3013.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3831.88330078125,\r
+        "y": 2462.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b4e5a5d.18c714",\r
+        "id": "82a9b10f.cbf938",\r
         "type": "set",\r
         "name": "set current-provider-id and current-cvlan-id",\r
         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
         "comments": "",\r
         "x": 3311.749969482422,\r
-        "y": 3792.6000366210938,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3795.6000366210938,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a7a1bb48.b43ec8",\r
+        "id": "9a0ba695.c13258",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3444.749969482422,\r
-        "y": 3840.6000366210938,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3843.6000366210938,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7b0989f8.4cdbd",\r
+        "id": "a14834df.662a8",\r
         "type": "switchNode",\r
         "name": "switch found-connectivity?",\r
         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3266.749969482422,\r
-        "y": 3892.4000854492188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3895.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "723122ee.60b394",\r
-                "1f79397f.9ef707"\r
+                "b9a4b0ad.78d9e8",\r
+                "49168449.b48e54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "723122ee.60b394",\r
+        "id": "b9a4b0ad.78d9e8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3459.749969482422,\r
-        "y": 3893.4000854492188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3896.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "fc2d1c85.b4eee"\r
+                "c7d731c2.8648d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fc2d1c85.b4eee",\r
+        "id": "c7d731c2.8648d8",\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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
         "comments": "",\r
         "x": 3603.749969482422,\r
-        "y": 3889.6000366210938,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3892.6000366210938,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1f79397f.9ef707",\r
+        "id": "49168449.b48e54",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3463.749969482422,\r
-        "y": 3937.4000854492188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3940.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6275f59c.0890b4"\r
+                "2b5fde97.f226ea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6275f59c.0890b4",\r
+        "id": "2b5fde97.f226ea",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3602.749969482422,\r
-        "y": 3932.4000854492188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3935.4000854492188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "810f11d9.c59a7",\r
-                "852c933b.a9e98",\r
-                "dd94c766.3611e8"\r
+                "6c8d251.aa4085c",\r
+                "1d93d9c1.b4dc36",\r
+                "2f3e9082.a03f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "810f11d9.c59a7",\r
+        "id": "6c8d251.aa4085c",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3853.149627685547,\r
-        "y": 3940.9166870117188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3943.9166870117188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4f7025f7.9e0214"\r
+                "8f03c967.45f27"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f7025f7.9e0214",\r
+        "id": "8f03c967.45f27",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4075.149627685547,\r
-        "y": 3918.9166870117188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3921.9166870117188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c1dfdbf7.de4f68"\r
+                "3959f0cf.96f36"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c1dfdbf7.de4f68",\r
+        "id": "3959f0cf.96f36",\r
         "type": "outcome",\r
         "name": "uni",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4235.149139404297,\r
-        "y": 3898.9166870117188,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3901.9166870117188,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "811e3163.5710b"\r
+                "1414f243.3459be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7642582a.7718e8",\r
+        "id": "80ad8584.1bf2c8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4388.149658203125,\r
-        "y": 3879.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3882.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b019880c.9753e",\r
-                "f61cef0c.bbc238"\r
+                "dbcbba23.eadbb",\r
+                "2ba6b637.902e82"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b019880c.9753e",\r
+        "id": "dbcbba23.eadbb",\r
         "type": "set",\r
         "name": "set tmp.stillHasUni to TRUE",\r
         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
         "comments": "",\r
         "x": 4584.649871826172,\r
-        "y": 3847.9999389648438,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3850.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "852c933b.a9e98",\r
+        "id": "1d93d9c1.b4dc36",\r
         "type": "set",\r
         "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
         "comments": "",\r
         "x": 3959.64990234375,\r
-        "y": 3859.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3862.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dd94c766.3611e8",\r
+        "id": "2f3e9082.a03f",\r
         "type": "switchNode",\r
         "name": "switch tmp.keepVPNBs?",\r
         "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3767.64990234375,\r
-        "y": 4281.000213623047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4284.000213623047,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "73d16500.5c0ae4",\r
-                "d3a70ceb.c50b78"\r
+                "f5f9b41d.cada7",\r
+                "3f4fef24.6df1a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f61cef0c.bbc238",\r
+        "id": "2ba6b637.902e82",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 4552.88330078125,\r
-        "y": 3915.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3918.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d3a70ceb.c50b78",\r
+        "id": "3f4fef24.6df1a",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 154.65066528320312,\r
-        "y": 5345.000457763672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5348.000457763672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4a51985e.972e68"\r
+                "16d898b2.82d4af"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73d16500.5c0ae4",\r
+        "id": "f5f9b41d.cada7",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3988.650634765625,\r
-        "y": 4383.000213623047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4386.000213623047,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "25f72ad2.47990e"\r
+                "26c73a8d.4562be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25f72ad2.47990e",\r
+        "id": "26c73a8d.4562be",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4131.650634765625,\r
-        "y": 4379.000213623047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4382.000213623047,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6e8bafff.64fc88",\r
-                "dcf23a76.fb4f5",\r
-                "f889b68d.197d9",\r
-                "69806916.62139",\r
-                "32064458.33cdf4",\r
-                "9c7a66fb.560d48",\r
-                "2b19eccb.73cf0c",\r
-                "987f769f.1ba7f8"\r
+                "e9909468.33151",\r
+                "efe71d55.9caa78",\r
+                "21b48e5f.bc8462",\r
+                "55b631d2.803a38",\r
+                "a2022ff9.9bc538",\r
+                "702c8bba.ca32ac",\r
+                "e084df79.80ceb8",\r
+                "624968c9.f15538",\r
+                "abf74f44.8bd74"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "316316fc.4e3ac2",\r
+        "id": "4355739e.98f0ec",\r
         "type": "comment",\r
         "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
         "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
         "comments": "",\r
         "x": 181,\r
-        "y": 5301.000457763672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5304.000457763672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "32c3f6b1.304972",\r
+        "id": "4da2ca0c.4a8b84",\r
         "type": "comment",\r
         "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
         "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
         "comments": "",\r
         "x": 4007.884033203125,\r
-        "y": 4346.000213623047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4349.000213623047,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7adbe8ea.ad8838",\r
+        "id": "9b3df18d.6f724",\r
         "type": "set",\r
         "name": "set srcTtp OTN layer",\r
         "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
         "comments": "",\r
         "x": 4820.667724609375,\r
-        "y": 4536.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4539.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ee3b3067.d425a8",\r
+        "id": "84df48a4.4e5358",\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": 5165.667724609375,\r
-        "y": 4398.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4401.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "76f6067d.796678"\r
+                "cfc0c818.79fe68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fc93f53c.f481d",\r
+        "id": "10190e03.34bba2",\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": 4872.667724609375,\r
-        "y": 4392.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4395.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ee3b3067.d425a8"\r
+                "84df48a4.4e5358"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f4440b0.d66f8",\r
+        "id": "1796601b.dbfbf",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5127.667724609375,\r
-        "y": 4349.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4352.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "27f65669.8e0af2",\r
+        "id": "4871207.ade70e",\r
         "type": "set",\r
         "name": "unset parameters",\r
         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
         "comments": "",\r
         "x": 4816.667724609375,\r
-        "y": 4444.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4447.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "410c70eb.214758",\r
+        "id": "fe8bfdbc.e310b8",\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": 4824.667724609375,\r
-        "y": 4489.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4492.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e258b42d.2c46d8",\r
+        "id": "ed94bc94.c3085",\r
         "type": "set",\r
         "name": "unset otnTopoIdSrc",\r
         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
         "comments": "",\r
         "x": 4821.667724609375,\r
-        "y": 4342.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4345.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "76f6067d.796678",\r
+        "id": "cfc0c818.79fe68",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5074.667724609375,\r
-        "y": 4466.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4469.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "acca9da1.cc4618"\r
+                "3784b6ea.dad97a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "acca9da1.cc4618",\r
+        "id": "3784b6ea.dad97a",\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": 5259.667724609375,\r
-        "y": 4465.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4468.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f448b4f8.c120e"\r
+                "6ba573fe.abd33c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f448b4f8.c120e",\r
+        "id": "6ba573fe.abd33c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5451.667724609375,\r
-        "y": 4468.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4471.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "19985725.a5eca1"\r
+                "a8101530.41669"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "19985725.a5eca1",\r
+        "id": "a8101530.41669",\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": 5623.667724609375,\r
-        "y": 4464.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4467.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ab4edace.9f77f",\r
+        "id": "3a63decd.7b4cb2",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4999.667724609375,\r
-        "y": 4579.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4582.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6e8bafff.64fc88",\r
+        "id": "e9909468.33151",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4516.667724609375,\r
-        "y": 4364.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4367.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "30c992c8.4db58e",\r
-                "c2728b20.458338",\r
-                "27f65669.8e0af2",\r
-                "410c70eb.214758",\r
-                "7adbe8ea.ad8838",\r
-                "fc93f53c.f481d",\r
-                "ab4edace.9f77f"\r
+                "9c834ddf.7b5a8",\r
+                "1b5b7b9f.240eac",\r
+                "4871207.ade70e",\r
+                "fe8bfdbc.e310b8",\r
+                "9b3df18d.6f724",\r
+                "10190e03.34bba2",\r
+                "3a63decd.7b4cb2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e6e6c8a.c892fc",\r
+        "id": "5418760e.ea421",\r
         "type": "comment",\r
         "name": "The following section is to find srcTtp OTN layer (its long name)",\r
         "info": "The following section is to find srcTtp OTN layer (its long name)",\r
         "comments": "",\r
         "x": 4501.667724609375,\r
-        "y": 4298.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4301.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c2728b20.458338",\r
+        "id": "1b5b7b9f.240eac",\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/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4880.667724609375,\r
-        "y": 4285.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4288.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cd41e347.c8a4d",\r
-                "5bcb3237.45bf24",\r
-                "3f4440b0.d66f8"\r
+                "cdc8c3cd.7743d8",\r
+                "829501cc.19a87",\r
+                "1796601b.dbfbf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd41e347.c8a4d",\r
+        "id": "cdc8c3cd.7743d8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5116.667724609375,\r
-        "y": 4268.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4271.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5bcb3237.45bf24",\r
+        "id": "829501cc.19a87",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5113.667724609375,\r
-        "y": 4309.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4312.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "30c992c8.4db58e",\r
+        "id": "9c834ddf.7b5a8",\r
         "type": "set",\r
         "name": "unset parameters",\r
         "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
         "comments": "",\r
         "x": 4829.667724609375,\r
-        "y": 4242.783660888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4245.783660888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dcf23a76.fb4f5",\r
+        "id": "efe71d55.9caa78",\r
         "type": "set",\r
         "name": "unset tmp.aai.all-vpn-bindings",\r
         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
         "comments": "",\r
         "x": 4336.667724609375,\r
-        "y": 4697.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4700.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f549a24.b4e97e",\r
+        "id": "429a4c62.ec5bdc",\r
         "type": "comment",\r
         "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
         "info": "",\r
         "comments": "",\r
         "x": 4459.968017578125,\r
-        "y": 4736.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4739.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f889b68d.197d9",\r
+        "id": "21b48e5f.bc8462",\r
         "type": "save",\r
         "name": "get all-vpn-bindings from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4357.968017578125,\r
-        "y": 4771.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4774.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f7fe6bc0.f9d1a8",\r
-                "b939c13a.bd148",\r
-                "63930841.13965"\r
+                "a823d247.f64a98",\r
+                "36823aa3.4d18a6",\r
+                "eb8482c0.2d4878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7fe6bc0.f9d1a8",\r
+        "id": "a823d247.f64a98",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4562.968017578125,\r
-        "y": 4768.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4771.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "85787fa.a0f0d8"\r
+                "8498bebb.23bf48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b939c13a.bd148",\r
+        "id": "36823aa3.4d18a6",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4546.458984375,\r
-        "y": 4829.757598876953,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4832.757598876953,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c496c4d4.109c78"\r
+                "386b7921.748fb6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63930841.13965",\r
+        "id": "eb8482c0.2d4878",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4543.968017578125,\r
-        "y": 4873.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4876.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bb1ebaa9.c2fac"\r
+                "134c42f5.f94555"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85787fa.a0f0d8",\r
+        "id": "8498bebb.23bf48",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4730.96826171875,\r
-        "y": 4763.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4766.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6a7a29b4.6659c"\r
+                "6b12d916.16568"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c496c4d4.109c78",\r
+        "id": "386b7921.748fb6",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 4709.0303955078125,\r
-        "y": 4830.0433349609375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4833.0433349609375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bb1ebaa9.c2fac",\r
+        "id": "134c42f5.f94555",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 4710.968017578125,\r
-        "y": 4872.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4875.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6a7a29b4.6659c",\r
+        "id": "6b12d916.16568",\r
         "type": "for",\r
         "name": "for vpnidx in all-vpn-bindings",\r
         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4968.96826171875,\r
-        "y": 4768.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4771.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2e12f618.b174b2"\r
+                "cfa150d4.94ff28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e12f618.b174b2",\r
+        "id": "cfa150d4.94ff28",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5202.968017578125,\r
-        "y": 4775.183563232422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4778.183563232422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1b37b556.addac3"\r
+                "e4eccca9.9724c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3df57bb4.1a97cc",\r
+        "id": "dd4e0e04.50655",\r
         "type": "comment",\r
         "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
         "info": "",\r
         "comments": "",\r
         "x": 5119.783935546875,\r
-        "y": 4846.349884033203,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4849.349884033203,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1b37b556.addac3",\r
+        "id": "e4eccca9.9724c8",\r
         "type": "switchNode",\r
         "name": "switch ops-note is srcTtpOtnLayer",\r
         "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5063.783935546875,\r
-        "y": 4895.349884033203,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4898.349884033203,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c62dd674.fd73f",\r
-                "37627bf2.c03934"\r
+                "7056a1ab.16f5c8",\r
+                "9ff2677.5b72918"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37627bf2.c03934",\r
+        "id": "9ff2677.5b72918",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5306.784423828125,\r
-        "y": 4936.349395751953,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4939.349395751953,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c62dd674.fd73f",\r
+        "id": "7056a1ab.16f5c8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5317.7841796875,\r
-        "y": 4893.349609375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4896.349609375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b2c9765c.25999"\r
+                "2f2661a7.5dc1e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a5ecb13c.9c7548",\r
+        "id": "a26e073.3ca98f8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5544.767578125,\r
-        "y": 4900.76611328125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4903.76611328125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "78a5ede3.09cc54",\r
-                "aecf8872.1d5c4",\r
-                "657d43b1.13c254"\r
+                "ff1ba77c.30ef7",\r
+                "6cee0088.2f0908",\r
+                "acf1096d.49e23"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d348107.818aa",\r
+        "id": "6e1088cb.02b348",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5709.8173828125,\r
-        "y": 4785.766571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4788.766571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "99f28c5d.95abe8"\r
+                "28fa48d0.c1f11"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99f28c5d.95abe8",\r
+        "id": "28fa48d0.c1f11",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5901.8173828125,\r
-        "y": 4774.766815185547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4777.766815185547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9a75bdf9.10641"\r
+                "794e0693.bafff"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78a5ede3.09cc54",\r
+        "id": "ff1ba77c.30ef7",\r
         "type": "set",\r
         "name": "unset tmp.aai.the-vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
         "comments": "",\r
         "x": 5658.334228515625,\r
-        "y": 4675.983612060547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4678.983612060547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aecf8872.1d5c4",\r
+        "id": "6cee0088.2f0908",\r
         "type": "set",\r
         "name": "set tmp.aai.the-vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
         "comments": "",\r
         "x": 5650.334228515625,\r
-        "y": 4724.983612060547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4727.983612060547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "657d43b1.13c254",\r
+        "id": "acf1096d.49e23",\r
         "type": "save",\r
         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5881.751220703125,\r
-        "y": 4906.149627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4909.149627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f1c96228.a5339",\r
+        "id": "7591a9e8.920d7",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5833.401123046875,\r
-        "y": 4953.466522216797,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4956.466522216797,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "75d6304c.089cd8",\r
+        "id": "20c2cafd.4f2b6e",\r
         "type": "comment",\r
         "name": "decrease the bw of the-vpn-binding and change status to modified",\r
         "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
         "comments": "",\r
         "x": 5905.751220703125,\r
-        "y": 4867.149627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4870.149627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9a75bdf9.10641",\r
+        "id": "794e0693.bafff",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6083.8173828125,\r
-        "y": 4753.766815185547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4756.766815185547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b5ad886.81af5f8"\r
+                "cb67e673.c3b218"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5ad886.81af5f8",\r
+        "id": "cb67e673.c3b218",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 6245.8173828125,\r
-        "y": 4742.766815185547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4745.766815185547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6f94f7eb.f4d818",\r
-                "269fac18.2bb21c"\r
+                "28efce3c.031a02",\r
+                "a7f7a502.452a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6f94f7eb.f4d818",\r
+        "id": "28efce3c.031a02",\r
         "type": "set",\r
         "name": "unset tmp.the-connectivity",\r
         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
         "comments": "",\r
         "x": 6442.8173828125,\r
-        "y": 4671.766815185547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4674.766815185547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "269fac18.2bb21c",\r
+        "id": "a7f7a502.452a7",\r
         "type": "set",\r
         "name": "set tmp.the-connectivity",\r
         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
         "comments": "",\r
         "x": 6440.2841796875,\r
-        "y": 4770.983612060547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4773.983612060547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a984d0c7.8574d",\r
+        "id": "121ba89c.f4d387",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3097.800048828125,\r
-        "y": 3229.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3232.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "49347bae.3e2974",\r
+        "id": "e7a924f9.c6032",\r
         "type": "switchNode",\r
         "name": "switch found-middle-man?",\r
         "xml": "<switch test='`$found-middle-man`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2974.800048828125,\r
-        "y": 3339.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3342.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7b835f88.3b076",\r
-                "7490c0ec.4dda5"\r
+                "a8ce787f.7ca8b8",\r
+                "dab4cfcf.e3306"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b835f88.3b076",\r
+        "id": "a8ce787f.7ca8b8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3158.800048828125,\r
-        "y": 3318.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3321.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5b141b7a.8f28f4"\r
+                "3ed4168e.db435a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5b141b7a.8f28f4",\r
+        "id": "3ed4168e.db435a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3301.800048828125,\r
-        "y": 3318.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3321.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "94596646.a7e4f"\r
+                "d46982de.a36698"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "94596646.a7e4f",\r
+        "id": "d46982de.a36698",\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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
         "comments": "",\r
         "x": 3477.800048828125,\r
-        "y": 3316.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3319.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7490c0ec.4dda5",\r
+        "id": "dab4cfcf.e3306",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3156.800048828125,\r
-        "y": 3373.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3376.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a3855d70.dbb87"\r
+                "55aae2f8.8a15b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a3855d70.dbb87",\r
+        "id": "55aae2f8.8a15b4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3003.800048828125,\r
-        "y": 3506.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3509.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5b4e5a5d.18c714",\r
-                "a7a1bb48.b43ec8",\r
-                "7b0989f8.4cdbd",\r
-                "b98b1ba5.429c1",\r
-                "37657916.72f08e",\r
-                "cc0c619e.32de58"\r
+                "82a9b10f.cbf938",\r
+                "9a0ba695.c13258",\r
+                "a14834df.662a8",\r
+                "87bd7501.49bf18",\r
+                "4331a4c2.0089dc",\r
+                "b9e9be73.6c3be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a5a62e88.7d802",\r
+        "id": "6411a3c0.06e7c4",\r
         "type": "comment",\r
         "name": "Find LEAF connectivity",\r
         "info": "",\r
         "comments": "",\r
         "x": 3225.88330078125,\r
-        "y": 3746.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3749.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b98b1ba5.429c1",\r
+        "id": "87bd7501.49bf18",\r
         "type": "set",\r
         "name": "set tmp.MMstillHasUni to FALSE",\r
         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
         "comments": "",\r
         "x": 3308.333251953125,\r
-        "y": 3519.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3522.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "37657916.72f08e",\r
+        "id": "4331a4c2.0089dc",\r
         "type": "for",\r
         "name": "for each relationship of middle-man-conn",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3306.8330078125,\r
-        "y": 3565.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3568.716766357422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1a4c3937.32a93f"\r
+                "3cfcd803.984ff"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a4c3937.32a93f",\r
+        "id": "3cfcd803.984ff",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3569.8330078125,\r
-        "y": 3560.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3563.716766357422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "95d80a37.7eef5"\r
+                "19e3fea0.d430a9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "95d80a37.7eef5",\r
+        "id": "19e3fea0.d430a9",\r
         "type": "outcome",\r
         "name": "uni",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3729.83251953125,\r
-        "y": 3540.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3543.716766357422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9608373.19689c8"\r
+                "cc595a48.1912e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d9ea756c.06e5e",\r
+        "id": "db4c40a7.875698",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4498.833740234375,\r
-        "y": 3575.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5066.834228515625,\r
+        "y": 3574.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "29278691.db117a",\r
-                "29bad35d.650d14",\r
-                "a6af6c62.1a6b5"\r
+                "7118b227.f4c97c",\r
+                "642017c6.da5f18",\r
+                "d7647a1a.599238"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29278691.db117a",\r
+        "id": "7118b227.f4c97c",\r
         "type": "set",\r
         "name": "set tmp.MMstillHasUni to TRUE",\r
         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
         "comments": "",\r
-        "x": 4738.334228515625,\r
-        "y": 3524.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5306.334716796875,\r
+        "y": 3523.800048828125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "29bad35d.650d14",\r
+        "id": "642017c6.da5f18",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4671.567657470703,\r
-        "y": 3597.800048828125,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5239.568145751953,\r
+        "y": 3596.800079345703,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4465f9ec.e3dbb",\r
+        "id": "d96806ce.d6ba3",\r
         "type": "comment",\r
         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
         "info": "",\r
         "comments": "",\r
         "x": 4432.88427734375,\r
-        "y": 5128.000213623047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5131.000213623047,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "69806916.62139",\r
+        "id": "55b631d2.803a38",\r
         "type": "set",\r
         "name": "set tmp.leafconn.",\r
         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
         "comments": "",\r
         "x": 4331.317138671875,\r
-        "y": 5179.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5182.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2b19eccb.73cf0c",\r
+        "id": "e084df79.80ceb8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4482.317138671875,\r
-        "y": 5622.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5625.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "987f769f.1ba7f8",\r
+        "id": "624968c9.f15538",\r
         "type": "switchNode",\r
         "name": "switch found-root-connectivity",\r
         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4297.317138671875,\r
-        "y": 5689.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5692.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c7979e94.4deb18",\r
-                "5e8c956f.69a854"\r
+                "3ebbf801.286498",\r
+                "76ebd92f.1642a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7979e94.4deb18",\r
+        "id": "3ebbf801.286498",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4562.317138671875,\r
-        "y": 5674.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5677.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4a28d2a5.936924"\r
+                "37d1d73c.eecfd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e8c956f.69a854",\r
+        "id": "76ebd92f.1642a",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4558.317138671875,\r
-        "y": 5722.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5725.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "213fbf95.d03c8"\r
+                "199fe1ad.b53f66"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a28d2a5.936924",\r
+        "id": "37d1d73c.eecfd",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4718.317138671875,\r
-        "y": 5670.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5673.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a96c5a1a.d66bf"\r
+                "31a9971.ad96268"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "213fbf95.d03c8",\r
+        "id": "199fe1ad.b53f66",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
         "comments": "",\r
         "x": 4706.317138671875,\r
-        "y": 5717.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5720.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4e8315f.b9446ec",\r
+        "id": "802c1097.dcd94",\r
         "type": "set",\r
         "name": "set tmp.rootconn.",\r
         "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
         "comments": "",\r
         "x": 5138.3173828125,\r
-        "y": 5612.916717529297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5615.916717529297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aa7d5d8.eb8bca",\r
+        "id": "8e64de53.2c9fe8",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
         "comments": "",\r
         "x": 4540.734130859375,\r
-        "y": 5209.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5212.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "32064458.33cdf4",\r
+        "id": "a2022ff9.9bc538",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4311.734130859375,\r
-        "y": 5298.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5301.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "aa7d5d8.eb8bca",\r
-                "3165c974.539e06"\r
+                "8e64de53.2c9fe8",\r
+                "2a874f25.a11e68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3165c974.539e06",\r
+        "id": "2a874f25.a11e68",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4547.734130859375,\r
-        "y": 5291.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5294.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4cddcbba.102194",\r
-                "d5cd17da.64e6a",\r
-                "9d33157c.077f3"\r
+                "42e4546b.7efc04",\r
+                "8902c91a.a1454",\r
+                "2a8da0f.130cae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4cddcbba.102194",\r
+        "id": "42e4546b.7efc04",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4743.2342529296875,\r
-        "y": 5243.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5246.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "658952ec.d50f2c"\r
+                "374d8.3341eb28c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5cd17da.64e6a",\r
+        "id": "8902c91a.a1454",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4735.2342529296875,\r
-        "y": 5298.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5301.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f87d3f72.db25b"\r
+                "1ff3bcec.a42b9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "658952ec.d50f2c",\r
+        "id": "374d8.3341eb28c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4887.6165771484375,\r
-        "y": 5242.8560791015625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5245.8560791015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5e03d50d.e31174"\r
+                "ec0686db.c1a878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e03d50d.e31174",\r
+        "id": "ec0686db.c1a878",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5071.734130859375,\r
-        "y": 5241.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5244.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "81fcac6e.c2cbb"\r
+                "d4462e32.3100d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "81fcac6e.c2cbb",\r
+        "id": "d4462e32.3100d8",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5266.734130859375,\r
-        "y": 5241.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5244.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "23740bd0.c54174"\r
+                "3a9e0096.e3a448"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d33157c.077f3",\r
+        "id": "2a8da0f.130cae",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4740.2342529296875,\r
-        "y": 5355.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5358.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d477847d.474a8"\r
+                "17a678b2.952aef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d477847d.474a8",\r
+        "id": "17a678b2.952aef",\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": 4892.2342529296875,\r
-        "y": 5356.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5359.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f87d3f72.db25b",\r
+        "id": "1ff3bcec.a42b9b",\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": 4903.2342529296875,\r
-        "y": 5299.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5302.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e3023af7.680d7",\r
+        "id": "318d00c4.ca52c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 5648.734130859375,\r
-        "y": 5245.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5248.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "31c1897e.fbb116",\r
-                "b906e4f7.66368",\r
-                "ac0e0ca2.883cb"\r
+                "46db4a25.4363a4",\r
+                "34953acc.5d5dc6",\r
+                "9de681b9.d85948"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23740bd0.c54174",\r
+        "id": "3a9e0096.e3a448",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5469.734130859375,\r
-        "y": 5245.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5248.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e3023af7.680d7"\r
+                "318d00c4.ca52c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b906e4f7.66368",\r
+        "id": "34953acc.5d5dc6",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5854.734130859375,\r
-        "y": 5258.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5261.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "df7977a7.075b8",\r
-                "f17bde95.882498",\r
-                "61e2d23e.358d1c"\r
+                "a1306b3e.752188",\r
+                "af1e227.d98756",\r
+                "c7dc9a0c.c1a12"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31c1897e.fbb116",\r
+        "id": "46db4a25.4363a4",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
         "x": 5884.734130859375,\r
-        "y": 5206.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5209.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "df7977a7.075b8",\r
+        "id": "a1306b3e.752188",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6064.734130859375,\r
-        "y": 5249.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5252.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7ac6fe75.62b4e"\r
+                "c17f0a30.28a8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f17bde95.882498",\r
+        "id": "af1e227.d98756",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6056.734130859375,\r
-        "y": 5304.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5307.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "671c9934.2cd48"\r
+                "f59cff5b.1a7268"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "61e2d23e.358d1c",\r
+        "id": "c7dc9a0c.c1a12",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6061.734130859375,\r
-        "y": 5361.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5364.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a6615570.50c968"\r
+                "18fa3a10.34d806"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6615570.50c968",\r
+        "id": "18fa3a10.34d806",\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": 6213.734130859375,\r
-        "y": 5362.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5365.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "671c9934.2cd48",\r
+        "id": "f59cff5b.1a7268",\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": 6224.734130859375,\r
-        "y": 5307.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5310.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7ac6fe75.62b4e",\r
+        "id": "c17f0a30.28a8c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6209.116455078125,\r
-        "y": 5246.8560791015625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5249.8560791015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6989c737.25d068"\r
+                "7a04be69.78c07"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6989c737.25d068",\r
+        "id": "7a04be69.78c07",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
         "x": 6423.734130859375,\r
-        "y": 5243.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5246.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ac0e0ca2.883cb",\r
+        "id": "9de681b9.d85948",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 5804.734130859375,\r
-        "y": 5322.200408935547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5325.200408935547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9c7a66fb.560d48",\r
+        "id": "702c8bba.ca32ac",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4453.234375,\r
-        "y": 5402.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5405.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1e28e096.7499f7",\r
-                "cc9e5694.f9d17"\r
+                "b53a2357.cb19f",\r
+                "1f266f6e.997129"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1e28e096.7499f7",\r
+        "id": "b53a2357.cb19f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4813.734130859375,\r
-        "y": 5410.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5413.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "906e379.3b93848"\r
+                "1f814603.8b079a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "906e379.3b93848",\r
+        "id": "1f814603.8b079a",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 4971.734130859375,\r
-        "y": 5410.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5413.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "90be5ca9.028288",\r
+        "id": "3ef4bb2e.ea4704",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4975.234130859375,\r
-        "y": 5450.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5453.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cc9e5694.f9d17",\r
+        "id": "1f266f6e.997129",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4817.734130859375,\r
-        "y": 5450.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5453.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "90be5ca9.028288"\r
+                "3ef4bb2e.ea4704"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "921095c8.3bc23",\r
+        "id": "4cb994af.f28aac",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 5126.451171875,\r
-        "y": 5664.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5667.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "fb4f4697.4dc5f",\r
-                "7ea31674.99e1d8"\r
+                "37db8c04.dcc65c",\r
+                "e00788f7.d2c01"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ea31674.99e1d8",\r
+        "id": "e00788f7.d2c01",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5368.450927734375,\r
-        "y": 5614.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5617.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "10743e5b.0b6182",\r
-                "5598183a.212ab",\r
-                "9c9074e9.bbaff8"\r
+                "bd67e663.b6cc68",\r
+                "6a96c9e9.f60f08",\r
+                "24f63010.71743"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10743e5b.0b6182",\r
+        "id": "bd67e663.b6cc68",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5563.951171875,\r
-        "y": 5548.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5551.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "767943d2.64a144"\r
+                "9c952b2f.2e4c48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5598183a.212ab",\r
+        "id": "6a96c9e9.f60f08",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5559.951171875,\r
-        "y": 5604.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5607.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "74a77564.40268c"\r
+                "72760d9d.ebda64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "767943d2.64a144",\r
+        "id": "9c952b2f.2e4c48",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5708.3333740234375,\r
-        "y": 5566.4556884765625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5569.4556884765625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "10049f5.85364e1"\r
+                "27765347.4a6a3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10049f5.85364e1",\r
+        "id": "27765347.4a6a3c",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5892.450927734375,\r
-        "y": 5564.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5567.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "72e5612b.857e68"\r
+                "cd6a7530.d2bb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9c9074e9.bbaff8",\r
+        "id": "24f63010.71743",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5569.951171875,\r
-        "y": 5649.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5652.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "952a99b1.f3f0e"\r
+                "a1473e64.1f4fc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "952a99b1.f3f0e",\r
+        "id": "a1473e64.1f4fc8",\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": 5748.951171875,\r
-        "y": 5665.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5668.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "74a77564.40268c",\r
+        "id": "72760d9d.ebda64",\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": 5730.951171875,\r
-        "y": 5617.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5620.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f64c3a10.6bbc38",\r
+        "id": "b65e14dd.2b2b98",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5279.951171875,\r
-        "y": 5720.399627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5723.399627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cd722628.03685",\r
-                "76458c1b.1a62ac"\r
+                "f4d26e19.4a33a",\r
+                "2b318383.32132c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd722628.03685",\r
+        "id": "f4d26e19.4a33a",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5628.451171875,\r
-        "y": 5702.399627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5705.399627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d04dd9dc.2f2dc8"\r
+                "cc266f68.3170a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d04dd9dc.2f2dc8",\r
+        "id": "cc266f68.3170a8",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 5884.451171875,\r
-        "y": 5705.399627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5708.399627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1006a530.30b813",\r
+        "id": "e9302632.da2fb8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5836.951171875,\r
-        "y": 5746.399627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5749.399627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "76458c1b.1a62ac",\r
+        "id": "2b318383.32132c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5638.451171875,\r
-        "y": 5751.399627685547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5754.399627685547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1006a530.30b813"\r
+                "e9302632.da2fb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb4f4697.4dc5f",\r
+        "id": "37db8c04.dcc65c",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.rootconn.access-provider-id + '-clientId-' +\n                                                   $tmp.rootconn.access-client-id + '-topologyId-' +\n                                                   $tmp.rootconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.rootconn.access-node-id`\" />\n",\r
         "comments": "",\r
         "x": 5361.450927734375,\r
-        "y": 5532.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5535.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "72e5612b.857e68",\r
+        "id": "cd6a7530.d2bb8",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6087.450927734375,\r
-        "y": 5564.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5567.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3625dda5.38707a"\r
+                "40d39185.b5e49"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "402ab8f9.3aa18",\r
+        "id": "96e4f3b6.f5cd5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 6469.450927734375,\r
-        "y": 5568.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5571.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4697e13e.13b02",\r
-                "6c3ba6ac.e7c21",\r
-                "34e0c57a.0e712a"\r
+                "4ecdd233.2c761c",\r
+                "4b4d74a7.6aa104",\r
+                "563a66cd.e07e68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3625dda5.38707a",\r
+        "id": "40d39185.b5e49",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6290.450927734375,\r
-        "y": 5568.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5571.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "402ab8f9.3aa18"\r
+                "96e4f3b6.f5cd5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c3ba6ac.e7c21",\r
+        "id": "4b4d74a7.6aa104",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6675.450927734375,\r
-        "y": 5581.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5584.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2e31a205.2611fe",\r
-                "c9f11bf6.38bb98",\r
-                "99cec3e1.6d2f68"\r
+                "5212e394.a625ac",\r
+                "8a0a8abd.557d58",\r
+                "fe612827.fce1d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4697e13e.13b02",\r
+        "id": "4ecdd233.2c761c",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
         "x": 6705.450927734375,\r
-        "y": 5529.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5532.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2e31a205.2611fe",\r
+        "id": "5212e394.a625ac",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6885.450927734375,\r
-        "y": 5572.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5575.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2ba283a1.e08d44"\r
+                "22d6ab8e.b3d594"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c9f11bf6.38bb98",\r
+        "id": "8a0a8abd.557d58",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6877.450927734375,\r
-        "y": 5627.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5630.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3af9cd94.f12ff2"\r
+                "d2e549e.aa0e038"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99cec3e1.6d2f68",\r
+        "id": "fe612827.fce1d",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 6882.450927734375,\r
-        "y": 5684.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5687.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c501098b.50507"\r
+                "18a7205c.94ea5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c501098b.50507",\r
+        "id": "18a7205c.94ea5",\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": 7034.450927734375,\r
-        "y": 5685.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5688.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3af9cd94.f12ff2",\r
+        "id": "d2e549e.aa0e038",\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": 7045.450927734375,\r
-        "y": 5630.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5633.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2ba283a1.e08d44",\r
+        "id": "22d6ab8e.b3d594",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 7029.833251953125,\r
-        "y": 5570.4556884765625,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5573.4556884765625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bca9e0da.72619"\r
+                "c312e16c.c44d58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bca9e0da.72619",\r
+        "id": "c312e16c.c44d58",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
         "x": 7244.450927734375,\r
-        "y": 5566.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5569.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "34e0c57a.0e712a",\r
+        "id": "563a66cd.e07e68",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 6625.450927734375,\r
-        "y": 5645.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5648.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9608373.19689c8",\r
+        "id": "cc595a48.1912e8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3854.88330078125,\r
-        "y": 3534.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3537.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6e45c64.2629238",\r
-                "354c7fc8.6d8de"\r
+                "eec6a040.1af03",\r
+                "d560f701.2c7f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e45c64.2629238",\r
+        "id": "eec6a040.1af03",\r
         "type": "set",\r
         "name": "set tmp.mmUNI-id-long",\r
         "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
         "comments": "",\r
         "x": 4045.466552734375,\r
-        "y": 3477.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3480.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "354c7fc8.6d8de",\r
+        "id": "d560f701.2c7f08",\r
         "type": "switchNode",\r
         "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4092.466552734375,\r
-        "y": 3548.800018310547,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3551.800018310547,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6bdb2c16.23fc7c",\r
-                "5820e4e6.95b47c"\r
+                "70d2875.2f53ff8",\r
+                "b1bb56dc.337f2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6bdb2c16.23fc7c",\r
+        "id": "70d2875.2f53ff8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4330.884033203125,\r
-        "y": 3507.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3510.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d4fcba65.f8c8f"\r
+                "f216f825.2991a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5820e4e6.95b47c",\r
+        "id": "b1bb56dc.337f2",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4337.884246826172,\r
-        "y": 3564.9999389648438,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3567.9999389648438,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d9ea756c.06e5e"\r
+                "28b93260.26eace"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d4fcba65.f8c8f",\r
+        "id": "f216f825.2991a8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4458.884521484375,\r
-        "y": 3503.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3506.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cc0c619e.32de58",\r
+        "id": "b9e9be73.6c3be",\r
         "type": "set",\r
         "name": "set tmp.MMonlyHasROOT to TRUE",\r
         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
         "comments": "",\r
         "x": 3314.083251953125,\r
-        "y": 3462.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3465.400115966797,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a6af6c62.1a6b5",\r
+        "id": "d7647a1a.599238",\r
         "type": "set",\r
         "name": "set tmp.MMonlyHasROOT to FALSE",\r
         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
         "comments": "",\r
-        "x": 4727.9169921875,\r
-        "y": 3468.400115966797,\r
-        "z": "d1eceead.adafe",\r
+        "x": 5295.91748046875,\r
+        "y": 3467.400146484375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "811e3163.5710b",\r
+        "id": "1414f243.3459be",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4407.6669921875,\r
-        "y": 3984.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3987.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "aa9298d8.acde8",\r
-                "a5e5763f.58bb2"\r
+                "45f92202.e9d224",\r
+                "9274acbb.bb64f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa9298d8.acde8",\r
+        "id": "45f92202.e9d224",\r
         "type": "set",\r
         "name": "set tmp.uni.id",\r
         "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
         "comments": "",\r
         "x": 4580.5498046875,\r
-        "y": 3980.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3983.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a5e5763f.58bb2",\r
+        "id": "9274acbb.bb64f",\r
         "type": "save",\r
         "name": "get uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4583.5498046875,\r
-        "y": 4027.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4030.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4df6bcf4.a4f44c",\r
-                "89771ed8.977b78",\r
-                "d1de1d5b.be978"\r
+                "4b44a73a.87e16",\r
+                "13d9fc09.409024",\r
+                "52115c05.c8dcf4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4df6bcf4.a4f44c",\r
+        "id": "4b44a73a.87e16",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4755.5498046875,\r
-        "y": 4011.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4014.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f65d0563.51b9e"\r
+                "40f66b99.edebbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "89771ed8.977b78",\r
+        "id": "13d9fc09.409024",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4756.040771484375,\r
-        "y": 4056.850372314453,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4059.850372314453,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d1de1d5b.be978",\r
+        "id": "52115c05.c8dcf4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4756.5498046875,\r
-        "y": 4097.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4100.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f65d0563.51b9e",\r
+        "id": "40f66b99.edebbc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4916.5498046875,\r
-        "y": 4007.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4010.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "41e51ce8.c7bbd4",\r
-                "9fcba756.d0c298",\r
-                "99817ef0.1be558"\r
+                "de7bc652.3681b8",\r
+                "eebe95d8.077038",\r
+                "efb01679.580728"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d2f62a11.bbccd",\r
+        "id": "f38b6801.52bee8",\r
         "type": "comment",\r
         "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
         "info": "",\r
         "comments": "",\r
         "x": 5249.5498046875,\r
-        "y": 3938.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3941.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9fcba756.d0c298",\r
+        "id": "eebe95d8.077038",\r
         "type": "execute",\r
         "name": "execute split 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.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5184.5498046875,\r
-        "y": 3995.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3998.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ad91a307.53dc18",\r
-                "66b6c9a.ce41eb8"\r
+                "20f99809.a45e68",\r
+                "f98fd083.5f84c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66b6c9a.ce41eb8",\r
+        "id": "f98fd083.5f84c",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5407.5498046875,\r
-        "y": 3981.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3984.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f5696a58.3dcae"\r
+                "e9001fe4.5ec9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ad91a307.53dc18",\r
+        "id": "20f99809.a45e68",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5409.5498046875,\r
-        "y": 4014.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4017.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cd5f81cd.b325a8"\r
+                "c4ea9853.8f7b9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5696a58.3dcae",\r
+        "id": "e9001fe4.5ec9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 5555.5498046875,\r
-        "y": 3974.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3977.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "520c18e.4c672e8"\r
+                "efdb6ef0.5c83c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd5f81cd.b325a8",\r
+        "id": "c4ea9853.8f7b9",\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": 5552.5498046875,\r
-        "y": 4011.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4014.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "520c18e.4c672e8",\r
+        "id": "efdb6ef0.5c83c",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n                                                   $param-prefix-uni-pnfName[1] + '-' +\n                                                   $param-prefix-uni-pnfName[2] + '-' +\n                                                   $param-prefix-uni-pnfName[3] + '-' +\n                                                   $param-prefix-uni-pnfName[4] + '-' +\n                                                   $param-prefix-uni-pnfName[5] + '-' +\n                                                   $param-prefix-uni-pnfName[6] + '-' +\n                                                   $param-prefix-uni-pnfName[7] + '-' +\n                                                   $param-prefix-uni-pnfName[8]`\" />\n",\r
         "comments": "",\r
         "x": 5732.5498046875,\r
-        "y": 3974.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 3977.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "41e51ce8.c7bbd4",\r
+        "id": "de7bc652.3681b8",\r
         "type": "switchNode",\r
         "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
         "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5228.5498046875,\r
-        "y": 4129.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4132.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f5a5405e.ab64e8",\r
-                "39efe4c8.977e5c"\r
+                "7639ee60.41df3",\r
+                "7e06cc80.35387c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5a5405e.ab64e8",\r
+        "id": "7639ee60.41df3",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5509.5498046875,\r
-        "y": 4106.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4109.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "76dcdb2b.58523c"\r
+                "d6573f78.845c78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "39efe4c8.977e5c",\r
+        "id": "7e06cc80.35387c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5502.5498046875,\r
-        "y": 4165.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4168.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e34b9d00.f34da8"\r
+                "14bc3378.1253a5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76dcdb2b.58523c",\r
+        "id": "d6573f78.845c78",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5639.5498046875,\r
-        "y": 4110.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4113.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e34b9d00.f34da8",\r
+        "id": "14bc3378.1253a5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5644.5498046875,\r
-        "y": 4164.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4167.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d870e573.0525d",\r
-                "daec44c5.c4ca2"\r
+                "f0b195ca.19df6",\r
+                "fec7cdec.3f23"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d870e573.0525d",\r
+        "id": "f0b195ca.19df6",\r
         "type": "set",\r
         "name": "set no-pce-call",\r
         "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
         "comments": "",\r
         "x": 5836.5498046875,\r
-        "y": 4131.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4134.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "77e6d570.0136ec",\r
+        "id": "14cfe3f0.60188c",\r
         "type": "set",\r
         "name": "set middle-man-conn",\r
         "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
         "comments": "",\r
         "x": 5852.5498046875,\r
-        "y": 4183.276336669922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4186.276336669922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "daec44c5.c4ca2",\r
+        "id": "fec7cdec.3f23",\r
         "type": "set",\r
         "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
         "comments": "",\r
         "x": 5870.83349609375,\r
-        "y": 4252.866668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4255.866668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "99817ef0.1be558",\r
+        "id": "efb01679.580728",\r
         "type": "set",\r
         "name": "set tmp.stillHasUni to TRUE",\r
         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
         "comments": "",\r
         "x": 5147.533203125,\r
-        "y": 4078.766571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4081.766571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4a51985e.972e68",\r
+        "id": "16d898b2.82d4af",\r
         "type": "switchNode",\r
         "name": "switch tmp.stillHasUni?",\r
         "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 383.7339172363281,\r
-        "y": 5348.966278076172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5351.966278076172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "35e41a11.58bd1e",\r
-                "8fea1632.f2d7a"\r
+                "2ef37de6.fb696a",\r
+                "d4b46a3b.e544d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a89b0c9.686c5",\r
+        "id": "bb7a24ed.4756b",\r
         "type": "save",\r
         "name": "get root uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4288.516357421875,\r
-        "y": 5512.850067138672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5515.850067138672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "11eb64db.01f3fb",\r
-                "edc304ba.5ec56",\r
-                "e3707812.01b138"\r
+                "b93cd05c.18e338",\r
+                "28c478b5.8c3cf",\r
+                "ad4069fd.35ec2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8fd56902.a16fd8",\r
+        "id": "cd789bfb.94ca8",\r
         "type": "comment",\r
         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
         "info": "",\r
         "comments": "",\r
         "x": 4286.516845703125,\r
-        "y": 5464.850311279297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5467.850311279297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fe5a805b.6befb8",\r
+        "id": "f7d2d4f8.f1e648",\r
         "type": "save",\r
         "name": "update ROOT UNI in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4903.5166015625,\r
-        "y": 5582.850311279297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5585.850311279297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "edc304ba.5ec56",\r
+        "id": "28c478b5.8c3cf",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4506.007568359375,\r
-        "y": 5483.424285888672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5486.424285888672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d06cf255.10cad"\r
+                "4927866f.a84e1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3707812.01b138",\r
+        "id": "ad4069fd.35ec2",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4501.5166015625,\r
-        "y": 5527.850250244141,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5530.850250244141,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c2ada4d7.cf23a"\r
+                "c4a31719.674e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d06cf255.10cad",\r
+        "id": "4927866f.a84e1",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 4668.5791015625,\r
-        "y": 5482.709991455078,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5485.709991455078,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c2ada4d7.cf23a",\r
+        "id": "c4a31719.674e",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 4669.5166015625,\r
-        "y": 5527.850250244141,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5530.850250244141,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "487370c3.c16b7",\r
+        "id": "f08cda49.ab7188",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4666.5166015625,\r
-        "y": 5577.850311279297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5580.850311279297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6c262f9d.59d16",\r
-                "fe5a805b.6befb8"\r
+                "ed324322.59277",\r
+                "f7d2d4f8.f1e648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11eb64db.01f3fb",\r
+        "id": "b93cd05c.18e338",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4497.5166015625,\r
-        "y": 5577.850311279297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5580.850311279297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "487370c3.c16b7"\r
+                "f08cda49.ab7188"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c262f9d.59d16",\r
+        "id": "ed324322.59277",\r
         "type": "set",\r
         "name": "set new bw",\r
         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
         "comments": "",\r
         "x": 4859.517578125,\r
-        "y": 5502.850311279297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5505.850311279297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "472764ad.0e5da4",\r
+        "id": "61d36925.a62e",\r
         "type": "comment",\r
         "name": "Update connectivity status to modified",\r
         "info": "",\r
         "comments": "",\r
         "x": 5288.216796875,\r
-        "y": 5440.616912841797,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5443.616912841797,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a96c5a1a.d66bf",\r
+        "id": "31a9971.ad96268",\r
         "type": "save",\r
         "name": "update ROOT connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5314,\r
-        "y": 5482.817108154297,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5485.817108154297,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "35e41a11.58bd1e",\r
+        "id": "2ef37de6.fb696a",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 567.8836059570312,\r
-        "y": 5399.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5402.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "49ab1cdc.2b3dfc"\r
+                "97fb2b7.67063d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8fea1632.f2d7a",\r
+        "id": "d4b46a3b.e544d",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 550.883544921875,\r
-        "y": 5321.999969482422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5324.999969482422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "44e1ece4.47debc"\r
+                "d28cabbc.30ca5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "71bd2e28.fdc428",\r
+        "id": "4a0919d1.fbc9d8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 679.8833923339844,\r
-        "y": 4408.999694824219,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4411.999694824219,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ab47ddf.140532",\r
-                "d3485e4a.cbde48",\r
-                "964a9d6b.511ef",\r
-                "58993466.bcba34",\r
-                "b72e55ab.bc6bd8",\r
-                "8d45971b.519e08"\r
+                "551f2a9f.a9466c",\r
+                "6f7adb55.d0de94",\r
+                "7279f474.ca532c",\r
+                "c28774e0.0f37e8",\r
+                "fd804c17.d00668",\r
+                "6504876a.65a0e",\r
+                "d39caf18.6babe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab47ddf.140532",\r
+        "id": "551f2a9f.a9466c",\r
         "type": "set",\r
         "name": "set tmp.leafconn.",\r
         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
         "comments": "",\r
         "x": 931.5667419433594,\r
-        "y": 4387.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4390.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "83fd3013.a6f008",\r
+        "id": "1a5de4c8.98ba3b",\r
         "type": "comment",\r
         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
         "info": "",\r
         "comments": "",\r
         "x": 1033.1338806152344,\r
-        "y": 4335.132995605469,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4338.132995605469,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8b20d7ab.715e18",\r
+        "id": "35555086.07bd08",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
         "comments": "",\r
         "x": 1140.9837341308594,\r
-        "y": 4416.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4419.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d3485e4a.cbde48",\r
+        "id": "6f7adb55.d0de94",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 911.9837341308594,\r
-        "y": 4505.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4508.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8b20d7ab.715e18",\r
-                "3ddce0eb.9cdfd8"\r
+                "35555086.07bd08",\r
+                "f6475b04.522d68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3ddce0eb.9cdfd8",\r
+        "id": "f6475b04.522d68",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1147.9837341308594,\r
-        "y": 4498.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4501.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c4f933ed.6c6328",\r
-                "c8f61cf.a6fdde",\r
-                "31635596.d79712"\r
+                "d9d0b846.fc4eb",\r
+                "859bebef.e15268",\r
+                "82bf3fe2.ca776"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4f933ed.6c6328",\r
+        "id": "d9d0b846.fc4eb",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1343.4838562011719,\r
-        "y": 4450.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4453.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "40098ed2.4f4dd"\r
+                "54e66745.d0a218"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c8f61cf.a6fdde",\r
+        "id": "859bebef.e15268",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1335.4838562011719,\r
-        "y": 4505.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4508.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8f4995e7.00e5b8"\r
+                "6c2244a0.55dae4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40098ed2.4f4dd",\r
+        "id": "54e66745.d0a218",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1487.8661804199219,\r
-        "y": 4449.988861083984,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4452.988861083984,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4b557dbd.14d794"\r
+                "c5450793.0d4ff8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b557dbd.14d794",\r
+        "id": "c5450793.0d4ff8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1671.9837341308594,\r
-        "y": 4448.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4451.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a0958afe.9d1b"\r
+                "8c14dfae.797ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a0958afe.9d1b",\r
+        "id": "8c14dfae.797ac",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1866.9837341308594,\r
-        "y": 4448.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4451.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "31026a11.2a4bde"\r
+                "2cd4e727.640d2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31635596.d79712",\r
+        "id": "82bf3fe2.ca776",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1340.4838562011719,\r
-        "y": 4562.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4565.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c3c84b5.76fc5b8"\r
+                "1f28baf3.4c601d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3c84b5.76fc5b8",\r
+        "id": "1f28baf3.4c601d",\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": 1492.4838562011719,\r
-        "y": 4563.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4566.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8f4995e7.00e5b8",\r
+        "id": "6c2244a0.55dae4",\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": 1503.4838562011719,\r
-        "y": 4506.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4509.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ca7cc65e.e299b",\r
+        "id": "c7d8a4a1.11fab",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2248.9837341308594,\r
-        "y": 4452.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4455.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7e1000fc.f7ace",\r
-                "10f0f2b8.28ecdd",\r
-                "1cf608fc.280f8f"\r
+                "51d3a91c.c42e68",\r
+                "d0954d9b.2799a8",\r
+                "454e24ff.d6924c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31026a11.2a4bde",\r
+        "id": "2cd4e727.640d2",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2069.9837341308594,\r
-        "y": 4452.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4455.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ca7cc65e.e299b"\r
+                "c7d8a4a1.11fab"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "964a9d6b.511ef",\r
+        "id": "7279f474.ca532c",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1053.4839782714844,\r
-        "y": 4609.932800292969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4612.932800292969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a14b7306.f0f088",\r
-                "edc3d42b.21d3d"\r
+                "63493229.c5487c",\r
+                "9b59a379.ae234"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "edc3d42b.21d3d",\r
+        "id": "9b59a379.ae234",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1417.9837341308594,\r
-        "y": 4657.932800292969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4660.932800292969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7d2a7da9.46fdfc"\r
+                "7641260e.a4325"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a14b7306.f0f088",\r
+        "id": "63493229.c5487c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1413.9837341308594,\r
-        "y": 4617.932800292969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4620.932800292969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "db3e9725.884648"\r
+                "3e92540.7763d2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "db3e9725.884648",\r
+        "id": "3e92540.7763d2c",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 1571.9837341308594,\r
-        "y": 4617.932800292969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4620.932800292969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7d2a7da9.46fdfc",\r
+        "id": "7641260e.a4325",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1575.4837341308594,\r
-        "y": 4657.932800292969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4660.932800292969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "10f0f2b8.28ecdd",\r
+        "id": "d0954d9b.2799a8",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2454.9837341308594,\r
-        "y": 4465.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4468.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "25e5e61.acf541a",\r
-                "12a14aa1.cf2fb5",\r
-                "c1a2b3a0.8c75c"\r
+                "53623639.5d8eb",\r
+                "11f800c8.cf014f",\r
+                "e0ce2e99.74a758"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e1000fc.f7ace",\r
+        "id": "51d3a91c.c42e68",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
         "x": 2484.9837341308594,\r
-        "y": 4413.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4416.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "25e5e61.acf541a",\r
+        "id": "53623639.5d8eb",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2664.9837341308594,\r
-        "y": 4456.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4459.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5696d51e.dbfe64"\r
+                "73587898.c5bc6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12a14aa1.cf2fb5",\r
+        "id": "11f800c8.cf014f",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2656.9837341308594,\r
-        "y": 4511.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4514.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8d572a45.011df8"\r
+                "7759dd63.3c0bd4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c1a2b3a0.8c75c",\r
+        "id": "e0ce2e99.74a758",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2661.9837341308594,\r
-        "y": 4568.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4571.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "dddace6e.f9e9f"\r
+                "29744fd6.f0a3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dddace6e.f9e9f",\r
+        "id": "29744fd6.f0a3",\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": 2813.9837341308594,\r
-        "y": 4569.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4572.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8d572a45.011df8",\r
+        "id": "7759dd63.3c0bd4",\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": 2824.9837341308594,\r
-        "y": 4514.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4517.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5696d51e.dbfe64",\r
+        "id": "73587898.c5bc6",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2809.3660583496094,\r
-        "y": 4453.988861083984,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4456.988861083984,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e4cea83c.4d71a"\r
+                "2b6c0b59.4c3f54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e4cea83c.4d71a",\r
+        "id": "2b6c0b59.4c3f54",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
         "x": 3023.9837341308594,\r
-        "y": 4450.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4453.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1cf608fc.280f8f",\r
+        "id": "454e24ff.d6924c",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 2404.9837341308594,\r
-        "y": 4529.333190917969,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4532.333190917969,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "58993466.bcba34",\r
+        "id": "c28774e0.0f37e8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1082.5667419433594,\r
-        "y": 4830.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4833.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b72e55ab.bc6bd8",\r
+        "id": "fd804c17.d00668",\r
         "type": "switchNode",\r
         "name": "switch found-root-connectivity",\r
         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 897.5667419433594,\r
-        "y": 4897.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4900.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "191ee334.0f09fd",\r
-                "b8911820.2c8f68"\r
+                "c90d3790.0c31f",\r
+                "b432c8fe.988cb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "191ee334.0f09fd",\r
+        "id": "c90d3790.0c31f",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1162.5667419433594,\r
-        "y": 4882.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4885.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "328aa2d2.c36a96"\r
+                "b12f48c6.75129"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b8911820.2c8f68",\r
+        "id": "b432c8fe.988cb",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1158.5667419433594,\r
-        "y": 4930.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4933.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "88b54a6f.ba3898"\r
+                "7a2784c6.a60bf4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "328aa2d2.c36a96",\r
+        "id": "b12f48c6.75129",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1318.5667419433594,\r
-        "y": 4878.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4881.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4a7a1b00.5fe524"\r
+                "b537e67c.ce751"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "88b54a6f.ba3898",\r
+        "id": "7a2784c6.a60bf4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
         "comments": "",\r
         "x": 1306.5667419433594,\r
-        "y": 4925.049499511719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4928.049499511719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d5cdb27.e4e575",\r
+        "id": "5b301854.48435",\r
         "type": "comment",\r
         "name": "Update connectivity status to modified",\r
         "info": "",\r
         "comments": "",\r
         "x": 1587.4664001464844,\r
-        "y": 4828.749694824219,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4831.749694824219,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4a7a1b00.5fe524",\r
+        "id": "b537e67c.ce751",\r
         "type": "save",\r
         "name": "update ROOT connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1613.2496032714844,\r
-        "y": 4870.949890136719,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4873.949890136719,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1003b628.8cf272",\r
+        "id": "46575909.129948",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1026.8833923339844,\r
-        "y": 4144.316589355469,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4147.316589355469,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "44e1ece4.47debc",\r
+        "id": "d28cabbc.30ca5",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 632.8834228515625,\r
-        "y": 4148.999725341797,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4151.999725341797,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1003b628.8cf272",\r
-                "71bd2e28.fdc428"\r
+                "46575909.129948",\r
+                "4a0919d1.fbc9d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49ab1cdc.2b3dfc",\r
+        "id": "97fb2b7.67063d8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 716.3333740234375,\r
-        "y": 5401.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5404.516571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "723c2903.f58428",\r
-                "98b88954.793148",\r
-                "b393338f.3c0a5",\r
-                "119574e6.129413"\r
+                "8c98b36e.448bc8",\r
+                "4b4a8b6f.30cb4c",\r
+                "232ef942.027ea6",\r
+                "9956c6b0.e8f5b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "723c2903.f58428",\r
+        "id": "8c98b36e.448bc8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1067.7166748046875,\r
-        "y": 5332.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1077.7166748046875,\r
+        "y": 5167.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "98b88954.793148",\r
+        "id": "4b4a8b6f.30cb4c",\r
         "type": "save",\r
         "name": "delete LEAF connectivity resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 978.7166748046875,\r
-        "y": 5401.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 988.7166748046875,\r
+        "y": 5236.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b393338f.3c0a5",\r
+        "id": "232ef942.027ea6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 869.88330078125,\r
-        "y": 5636.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 879.88330078125,\r
+        "y": 5471.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "df7f814b.30dca",\r
-                "680a6c2d.c81304",\r
-                "f02d2a13.d0aa48"\r
+                "3ef7ef40.ec34",\r
+                "afe6825d.3e4ed8",\r
+                "56fc7b03.ef7a34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c8c4cb96.f9d8b",\r
+        "id": "8f4e88cb.a2731",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2585.882568359375,\r
-        "y": 5523.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2588.882568359375,\r
+        "y": 5396.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "43900724.7021a8",\r
-                "b5fd98a.36736e8",\r
-                "3c26b3f8.230acc"\r
+                "4a46c897.331cf",\r
+                "c619cf4e.8ea4f8",\r
+                "c904c4c1.6a362"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "de9e1e1d.dcbc3",\r
+        "id": "c656ce5c.18cf6",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 2535.882568359375,\r
-        "y": 5587.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2538.882568359375,\r
+        "y": 5460.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d2b1cccb.1f5468",\r
+        "id": "c0938886.470a7",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 2615.882568359375,\r
-        "y": 5471.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2618.882568359375,\r
+        "y": 5344.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "43900724.7021a8",\r
+        "id": "4a46c897.331cf",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2795.882568359375,\r
-        "y": 5514.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2906.8826904296875,\r
+        "y": 5327.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "dc7a8a3b.a925f8"\r
+                "a7e4d7d8.d8bee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5fd98a.36736e8",\r
+        "id": "c619cf4e.8ea4f8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2787.882568359375,\r
-        "y": 5569.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2898.8826904296875,\r
+        "y": 5382.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c1ab7307.8305a8"\r
+                "8289ee53.c79808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c26b3f8.230acc",\r
+        "id": "c904c4c1.6a362",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2792.882568359375,\r
-        "y": 5626.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2903.8826904296875,\r
+        "y": 5439.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f1d869f8.b644e"\r
+                "6baa18e0.e89e88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f1d869f8.b644e",\r
+        "id": "6baa18e0.e89e88",\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": 2944.882568359375,\r
-        "y": 5627.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3055.8826904296875,\r
+        "y": 5440.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c1ab7307.8305a8",\r
+        "id": "8289ee53.c79808",\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": 2955.882568359375,\r
-        "y": 5572.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3066.8826904296875,\r
+        "y": 5385.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dc7a8a3b.a925f8",\r
+        "id": "a7e4d7d8.d8bee",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2940.264892578125,\r
-        "y": 5512.1722412109375,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3051.2650146484375,\r
+        "y": 5325.172271728516,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "99f651cc.e3a158"\r
+                "ec15425b.c6de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99f651cc.e3a158",\r
+        "id": "ec15425b.c6de8",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 3154.882568359375,\r
-        "y": 5508.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 3265.8826904296875,\r
+        "y": 5321.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "df7f814b.30dca",\r
+        "id": "3ef7ef40.ec34",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.the-connectivity.access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 1151.88330078125,\r
-        "y": 5505.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1161.88330078125,\r
+        "y": 5340.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1d552db6.d6aaca",\r
+        "id": "a4339be5.b80c5",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1362.3834228515625,\r
-        "y": 5644.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1372.3834228515625,\r
+        "y": 5479.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2d69161c.7523aa"\r
+                "1127f42a.b3bf34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7946986.6d0968",\r
+        "id": "2e74a78.3df33d8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1365.3834228515625,\r
-        "y": 5532.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1375.3834228515625,\r
+        "y": 5367.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b24f95b.8630968"\r
+                "5612018f.6df8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ea8b87c.75f8b",\r
+        "id": "70a06659.f7e26",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1357.3834228515625,\r
-        "y": 5587.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1367.3834228515625,\r
+        "y": 5422.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d1cfde55.05efd"\r
+                "f549eabc.91dae8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b24f95b.8630968",\r
+        "id": "5612018f.6df8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1499.765625,\r
-        "y": 5527.172332763672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1509.765625,\r
+        "y": 5362.17236328125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "57f5a4ed.934544"\r
+                "e700427f.a90ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2d69161c.7523aa",\r
+        "id": "1127f42a.b3bf34",\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": 1514.3834228515625,\r
-        "y": 5645.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1524.3834228515625,\r
+        "y": 5480.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d1cfde55.05efd",\r
+        "id": "f549eabc.91dae8",\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": 1525.3834228515625,\r
-        "y": 5588.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1535.3834228515625,\r
+        "y": 5423.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57f5a4ed.934544",\r
+        "id": "e700427f.a90ed",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1686.8828125,\r
-        "y": 5528.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1696.8828125,\r
+        "y": 5363.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "489e94a0.cb0724"\r
+                "5799adae.feee0c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "489e94a0.cb0724",\r
+        "id": "5799adae.feee0c",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1914.8828125,\r
-        "y": 5521.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1924.8828125,\r
+        "y": 5356.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "70d2a39a.39c914"\r
+                "1e23480b.f981d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "680a6c2d.c81304",\r
+        "id": "afe6825d.3e4ed8",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1169.88330078125,\r
-        "y": 5580.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1179.88330078125,\r
+        "y": 5415.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1d552db6.d6aaca",\r
-                "d7946986.6d0968",\r
-                "9ea8b87c.75f8b"\r
+                "a4339be5.b80c5",\r
+                "2e74a78.3df33d8",\r
+                "70a06659.f7e26"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70d2a39a.39c914",\r
+        "id": "1e23480b.f981d8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2120.8828125,\r
-        "y": 5518.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2130.8828125,\r
+        "y": 5353.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "11f0110f.f1cbd7"\r
+                "82b93b0b.3752a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11f0110f.f1cbd7",\r
+        "id": "82b93b0b.3752a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2335.8822021484375,\r
-        "y": 5521.516571044922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2345.8822021484375,\r
+        "y": 5356.5166015625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d2b1cccb.1f5468",\r
-                "c8c4cb96.f9d8b",\r
-                "de9e1e1d.dcbc3"\r
+                "c0938886.470a7",\r
+                "8f4e88cb.a2731",\r
+                "c656ce5c.18cf6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f02d2a13.d0aa48",\r
+        "id": "56fc7b03.ef7a34",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1293.6500244140625,\r
-        "y": 5729.916473388672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1303.6500244140625,\r
+        "y": 5564.91650390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "73cc7454.46b21c",\r
-                "983cf462.7773e"\r
+                "5de191f6.0adf08",\r
+                "8645dbc5.336bd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73cc7454.46b21c",\r
+        "id": "5de191f6.0adf08",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1640.1500244140625,\r
-        "y": 5722.916473388672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1650.1500244140625,\r
+        "y": 5557.91650390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d64e37c.99aa9c8"\r
+                "1d2e7b8b.bb158c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "983cf462.7773e",\r
+        "id": "8645dbc5.336bd",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1644.1500244140625,\r
-        "y": 5762.916473388672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1654.1500244140625,\r
+        "y": 5597.91650390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "63d68d1b.26356c"\r
+                "7a1f5009.c19bf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d64e37c.99aa9c8",\r
+        "id": "1d2e7b8b.bb158c",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 1798.1500244140625,\r
-        "y": 5722.916473388672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1808.1500244140625,\r
+        "y": 5557.91650390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "63d68d1b.26356c",\r
+        "id": "7a1f5009.c19bf",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1801.6500244140625,\r
-        "y": 5762.916473388672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1811.6500244140625,\r
+        "y": 5597.91650390625,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "119574e6.129413",\r
+        "id": "9956c6b0.e8f5b",\r
         "type": "switchNode",\r
         "name": "switch tmp.MMstillHasUni?",\r
         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 913.183349609375,\r
-        "y": 5891.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5894.716766357422,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "20383b77.9d13bc",\r
-                "9b5788ce.9c9408"\r
+                "1b3dc283.1c72c5",\r
+                "6927d979.135438"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20383b77.9d13bc",\r
+        "id": "1b3dc283.1c72c5",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1105.183349609375,\r
-        "y": 5868.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1107.183349609375,\r
+        "y": 5721.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c8a5ff15.a0cc5"\r
+                "90688337.4fcde8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b5788ce.9c9408",\r
+        "id": "6927d979.135438",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1093.3500366210938,\r
-        "y": 6041.316864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6044.316864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "80ab1272.8cacd"\r
+                "66475002.0efde8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c8a5ff15.a0cc5",\r
+        "id": "90688337.4fcde8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1253.35009765625,\r
-        "y": 5868.316864013672,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1255.35009765625,\r
+        "y": 5721.31689453125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b646edcc.5849d8",\r
-                "7aaef741.32dd88"\r
+                "88d77fb7.cde5d8",\r
+                "89314dbf.8366b8",\r
+                "68e0d31a.2e51f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b646edcc.5849d8",\r
+        "id": "88d77fb7.cde5d8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1675.199951171875,\r
-        "y": 5839.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1677.199951171875,\r
+        "y": 5692.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7aaef741.32dd88",\r
+        "id": "89314dbf.8366b8",\r
         "type": "switchNode",\r
         "name": "switch found-root-connectivity",\r
         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1490.199951171875,\r
-        "y": 5906.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1492.199951171875,\r
+        "y": 5759.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f0373e80.9f5c1",\r
-                "17b9923a.e6ff36"\r
+                "4d863da6.047404",\r
+                "e3c67257.c0375"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f0373e80.9f5c1",\r
+        "id": "4d863da6.047404",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1755.199951171875,\r
-        "y": 5891.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1757.199951171875,\r
+        "y": 5744.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ea0794c3.5caad8"\r
+                "798adf3a.473ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17b9923a.e6ff36",\r
+        "id": "e3c67257.c0375",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1751.199951171875,\r
-        "y": 5939.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1756.199951171875,\r
+        "y": 5792.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f785b40a.2c0f08"\r
+                "88e52eb1.fc93f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ea0794c3.5caad8",\r
+        "id": "798adf3a.473ef",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1911.199951171875,\r
-        "y": 5887.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1913.199951171875,\r
+        "y": 5740.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c184cafd.df5108"\r
+                "733c34ed.517f9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f785b40a.2c0f08",\r
+        "id": "88e52eb1.fc93f",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
         "comments": "",\r
-        "x": 1899.199951171875,\r
-        "y": 5934.716766357422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 1904.199951171875,\r
+        "y": 5787.716796875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c184cafd.df5108",\r
+        "id": "733c34ed.517f9c",\r
         "type": "save",\r
         "name": "update ROOT connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2219.8826904296875,\r
-        "y": 5881.617156982422,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2221.8826904296875,\r
+        "y": 5734.6171875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c1da52d9.9cf468",\r
+        "id": "51bb42c1.6468fc",\r
         "type": "comment",\r
         "name": "Update connectivity status to modified",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2194.0994873046875,\r
-        "y": 5839.416961669922,\r
-        "z": "d1eceead.adafe",\r
+        "x": 2196.0994873046875,\r
+        "y": 5692.4169921875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "80ab1272.8cacd",\r
+        "id": "66475002.0efde8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1230.916748046875,\r
-        "y": 6040.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6043.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "49431e5b.e46588",\r
-                "1475339.a9ed04c"\r
+                "a0a718de.f23a",\r
+                "e9e38848.54da1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49431e5b.e46588",\r
+        "id": "a0a718de.f23a",\r
         "type": "for",\r
         "name": "for each relationship of middle-man-conn",\r
         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1544.23291015625,\r
-        "y": 6034.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6037.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f57bdc9.9ead4a"\r
+                "76936a5f.84bc84"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f57bdc9.9ead4a",\r
+        "id": "76936a5f.84bc84",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1844.566650390625,\r
-        "y": 6029.816802978516,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6032.816802978516,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ba35dccb.3b6bb8"\r
+                "44a7328f.e8be34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba35dccb.3b6bb8",\r
+        "id": "44a7328f.e8be34",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2024.2332763671875,\r
-        "y": 6029.81689453125,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6032.81689453125,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "86341ec4.ccb728"\r
+                "208791a0.d9f786"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "86341ec4.ccb728",\r
+        "id": "208791a0.d9f786",\r
         "type": "save",\r
         "name": "get connectivity from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2224.233154296875,\r
-        "y": 6029.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6032.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "73b15a95.c45e6c",\r
-                "577c89f1.70257",\r
-                "ebf7b15b.49862"\r
+                "574a6228.5b1754",\r
+                "eafb76a9.ded53",\r
+                "327d9363.1aef4c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73b15a95.c45e6c",\r
+        "id": "574a6228.5b1754",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2431.23291015625,\r
-        "y": 6079.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6082.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d5e5b35.6604c5"\r
+                "23760b0c.48685c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "925dd5ef.2fc678",\r
+        "id": "460767d0.d2c1b8",\r
         "type": "save",\r
         "name": "get vpn-binding from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2408.466552734375,\r
-        "y": 6264.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6267.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "42725353.b4a374",\r
-                "1745f7ad.eada2",\r
-                "ebfc9334.bdf468"\r
+                "88082c33.393",\r
+                "e1f0fae1.b8f4d8",\r
+                "822aec8b.abd888"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ac4c475.ce37cc",\r
+        "id": "6361e7ff.46b828",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1607.466552734375,\r
-        "y": 6179.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6182.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "df9efed7.82417"\r
+                "75dfc93.82d2038"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "df9efed7.82417",\r
+        "id": "75dfc93.82d2038",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1804.466552734375,\r
-        "y": 6193.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6196.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "376f554a.32ded2",\r
-                "e86a8d88.08809"\r
+                "a28db7b9.a381c8",\r
+                "9f04b050.7c6fe8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "376f554a.32ded2",\r
+        "id": "a28db7b9.a381c8",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1972.466552734375,\r
-        "y": 6186.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6189.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bc2d7c0c.7cc4a8"\r
+                "136ceea8.d9cdf9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc2d7c0c.7cc4a8",\r
+        "id": "136ceea8.d9cdf9",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2135.466552734375,\r
-        "y": 6186.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6189.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "925dd5ef.2fc678"\r
+                "460767d0.d2c1b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e86a8d88.08809",\r
+        "id": "9f04b050.7c6fe8",\r
         "type": "outcome",\r
         "name": "uni",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1988.466552734375,\r
-        "y": 6482.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6485.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "32fa6a7d.612076"\r
+                "5e0bc78d.ba716"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "32fa6a7d.612076",\r
+        "id": "5e0bc78d.ba716",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2151.466552734375,\r
-        "y": 6482.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6485.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6e62ca.5284a538"\r
+                "2848a471.d7d3ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e62ca.5284a538",\r
+        "id": "2848a471.d7d3ac",\r
         "type": "save",\r
         "name": "delete uni resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2394.466552734375,\r
-        "y": 6482.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6485.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "91368e45.2e3cd8",\r
+        "id": "14cdbd34.9d5433",\r
         "type": "save",\r
         "name": "delete connectivity resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1362.466552734375,\r
-        "y": 7248.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7251.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d5e5b35.6604c5",\r
+        "id": "23760b0c.48685c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1433.466552734375,\r
-        "y": 6177.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6180.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6ac4c475.ce37cc",\r
-                "91368e45.2e3cd8",\r
-                "5c661b6d.db566c"\r
+                "6361e7ff.46b828",\r
+                "14cdbd34.9d5433",\r
+                "468cb6c4.ffb168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42725353.b4a374",\r
+        "id": "88082c33.393",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2619.466552734375,\r
-        "y": 6266.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6269.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "aedd4240.642968"\r
+                "83017d89.d2d33"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1745f7ad.eada2",\r
+        "id": "e1f0fae1.b8f4d8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2619.95751953125,\r
-        "y": 6311.590606689453,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6314.590606689453,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "6425bc45.5cdfcc"\r
+                "ec259daf.cc4758"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebfc9334.bdf468",\r
+        "id": "822aec8b.abd888",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2617.466552734375,\r
-        "y": 6355.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6358.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "337169e1.665c2e"\r
+                "ba3c2552.11f0b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebf7b15b.49862",\r
+        "id": "327d9363.1aef4c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2455.282958984375,\r
-        "y": 5980.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5983.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "577c89f1.70257",\r
+        "id": "eafb76a9.ded53",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2452.7919921875,\r
-        "y": 6024.042633056641,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6027.042633056641,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1475339.a9ed04c",\r
+        "id": "e9e38848.54da1",\r
         "type": "save",\r
         "name": "delete middle-man-conn resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1531.400146484375,\r
-        "y": 6109.416473388672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6112.416473388672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "aedd4240.642968",\r
+        "id": "83017d89.d2d33",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2785.466552734375,\r
-        "y": 6256.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6259.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "20a20b24.b18d74",\r
-                "da0ac321.ebd92",\r
-                "450533a8.9c748c",\r
-                "dc80e7d7.692bf8",\r
-                "7b453ddd.4a4edc"\r
+                "c9d43f06.0d115",\r
+                "b37c19e0.f8f32",\r
+                "60da6725.d98bd8",\r
+                "be2af461.e005a",\r
+                "cbf01fd8.d058c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "337169e1.665c2e",\r
+        "id": "ba3c2552.11f0b",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
         "x": 2784.466552734375,\r
-        "y": 6354.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6357.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6425bc45.5cdfcc",\r
+        "id": "ec259daf.cc4758",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
         "x": 2782.5289306640625,\r
-        "y": 6311.8763427734375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6314.8763427734375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "20a20b24.b18d74",\r
+        "id": "c9d43f06.0d115",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
         "comments": "",\r
         "x": 3007.466552734375,\r
-        "y": 5974.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5977.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "da0ac321.ebd92",\r
+        "id": "b37c19e0.f8f32",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3033.466552734375,\r
-        "y": 6091.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6094.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ab328def.9c2568",\r
-                "1e0d49ce.54650e",\r
-                "83f96b0e.23503"\r
+                "410583dd.d8121c",\r
+                "88eb934e.2f5b08",\r
+                "a865a4a5.d4df78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "450533a8.9c748c",\r
+        "id": "60da6725.d98bd8",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\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": 3136.466552734375,\r
-        "y": 6358.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6361.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e189248a.5308d8",\r
-                "42e13b38.68927c"\r
+                "72b47bea.9a0f24",\r
+                "66f0d6b4.eb7008"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dc80e7d7.692bf8",\r
+        "id": "be2af461.e005a",\r
         "type": "switchNode",\r
         "name": "switch connectivity has ethernet service",\r
         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3074.466552734375,\r
-        "y": 6493.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6496.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "75c39310.64e10c",\r
-                "865b2c0.812e658"\r
+                "2f67e97f.141fd6",\r
+                "7b5fd505.3b0694"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b453ddd.4a4edc",\r
+        "id": "cbf01fd8.d058c",\r
         "type": "save",\r
         "name": "delete vpn-binding resource in AAI",\r
         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3055.466552734375,\r
-        "y": 6609.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6612.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ab328def.9c2568",\r
+        "id": "410583dd.d8121c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3228.9666748046875,\r
-        "y": 6043.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6046.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7b2173a0.a25f4c"\r
+                "4a83ae1e.07b578"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1e0d49ce.54650e",\r
+        "id": "88eb934e.2f5b08",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3220.9666748046875,\r
-        "y": 6098.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6101.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "3e21d08a.9cf2d8"\r
+                "282085b8.0d4512"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b2173a0.a25f4c",\r
+        "id": "4a83ae1e.07b578",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3363.348876953125,\r
-        "y": 6037.672332763672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6040.672332763672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "d783eb8.e8d4418"\r
+                "33baf8b0.f059c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83f96b0e.23503",\r
+        "id": "a865a4a5.d4df78",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3225.9666748046875,\r
-        "y": 6155.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6158.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "39d187f7.387c08"\r
+                "63323518.7bcbac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "39d187f7.387c08",\r
+        "id": "63323518.7bcbac",\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": 3377.9666748046875,\r
-        "y": 6156.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6159.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3e21d08a.9cf2d8",\r
+        "id": "282085b8.0d4512",\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": 3388.9666748046875,\r
-        "y": 6099.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6102.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "865b2c0.812e658",\r
+        "id": "7b5fd505.3b0694",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3327.466552734375,\r
-        "y": 6471.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6474.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "772ac851.ed388"\r
+                "948366f4.fec95"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75c39310.64e10c",\r
+        "id": "2f67e97f.141fd6",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3327.466552734375,\r
-        "y": 6527.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6530.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d783eb8.e8d4418",\r
+        "id": "33baf8b0.f059c8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3550.466064453125,\r
-        "y": 6039.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6042.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "22737809.d5a598"\r
+                "e2cf1880.b9d7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22737809.d5a598",\r
+        "id": "e2cf1880.b9d7c",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3791.466064453125,\r
-        "y": 6030.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6033.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8e816736.3f1518"\r
+                "bc484497.a79ff8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "772ac851.ed388",\r
+        "id": "948366f4.fec95",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3677.466064453125,\r
-        "y": 6461.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6464.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "7e278410.d4a45c",\r
-                "5323d43d.ae4a94"\r
+                "c37cd95d.368e7",\r
+                "92455633.bf0ee8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e189248a.5308d8",\r
+        "id": "72b47bea.9a0f24",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3443.966064453125,\r
-        "y": 6383.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6386.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a38fc7bd.ddbeb"\r
+                "f1048a1f.996e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42e13b38.68927c",\r
+        "id": "66f0d6b4.eb7008",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3444.966064453125,\r
-        "y": 6328.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6331.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "ca98e797.f9c13"\r
+                "314550b5.0a064"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a38fc7bd.ddbeb",\r
+        "id": "f1048a1f.996e4",\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 delete OTN tunnel rest api\" />\n",\r
         "comments": "",\r
         "x": 3615.966064453125,\r
-        "y": 6381.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6384.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ca98e797.f9c13",\r
+        "id": "314550b5.0a064",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3612.466064453125,\r
-        "y": 6330.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6333.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "63dcc10.1e934c",\r
+        "id": "926cd0b8.871b1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 4148.4658203125,\r
-        "y": 5979.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5982.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cb51edb2.a6957",\r
-                "7da0f639.3db538",\r
-                "dfe02514.308cd"\r
+                "e5e99dd1.35ed8",\r
+                "977d12a.f8bd9f",\r
+                "b449b2c0.535c38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e816736.3f1518",\r
+        "id": "bc484497.a79ff8",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3997.466064453125,\r
-        "y": 6027.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6030.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "63dcc10.1e934c"\r
+                "926cd0b8.871b1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e278410.d4a45c",\r
+        "id": "c37cd95d.368e7",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4009.966064453125,\r
-        "y": 6435.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6438.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "21b3d920.ac879e"\r
+                "b162e50d.7cae58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5323d43d.ae4a94",\r
+        "id": "92455633.bf0ee8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4013.966064453125,\r
-        "y": 6475.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6478.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "da782471.0e218"\r
+                "2199ad10.a55eda"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da782471.0e218",\r
+        "id": "2199ad10.a55eda",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4201.466064453125,\r
-        "y": 6479.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6482.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "21b3d920.ac879e",\r
+        "id": "b162e50d.7cae58",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 4197.966064453125,\r
-        "y": 6439.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6442.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7da0f639.3db538",\r
+        "id": "977d12a.f8bd9f",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4354.4658203125,\r
-        "y": 5992.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5995.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2a4fa91b.b928a6",\r
-                "3708f6c9.39ed2a",\r
-                "7ad7cb3f.866b74"\r
+                "7f661594.98b80c",\r
+                "b4244919.5b3fa8",\r
+                "fd8c4c61.cc25e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cb51edb2.a6957",\r
+        "id": "e5e99dd1.35ed8",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
         "x": 4384.4658203125,\r
-        "y": 5940.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5943.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2a4fa91b.b928a6",\r
+        "id": "7f661594.98b80c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4564.4658203125,\r
-        "y": 5983.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5986.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "bee63261.4dfe28"\r
+                "b64e3b3c.b2614"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3708f6c9.39ed2a",\r
+        "id": "b4244919.5b3fa8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4556.4658203125,\r
-        "y": 6038.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6041.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "9ceb2b97.8189"\r
+                "13dd75f8.aa1f6a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ad7cb3f.866b74",\r
+        "id": "fd8c4c61.cc25e8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4561.4658203125,\r
-        "y": 6095.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6098.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "84d1d52.6203b28"\r
+                "67c0a219.8d5f1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dfe02514.308cd",\r
+        "id": "b449b2c0.535c38",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 4304.4658203125,\r
-        "y": 6056.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6059.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "84d1d52.6203b28",\r
+        "id": "67c0a219.8d5f1c",\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": 4713.4658203125,\r
-        "y": 6096.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6099.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9ceb2b97.8189",\r
+        "id": "13dd75f8.aa1f6a",\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": 4724.4658203125,\r
-        "y": 6041.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6044.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bee63261.4dfe28",\r
+        "id": "b64e3b3c.b2614",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 4708.84814453125,\r
-        "y": 5980.6722412109375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5983.6722412109375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "595ecbb0.cd7dfc"\r
+                "a6322085.6bb328"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "595ecbb0.cd7dfc",\r
+        "id": "a6322085.6bb328",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
         "x": 4923.4658203125,\r
-        "y": 5977.016571044922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5980.016571044922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e8d2c16f.36acb",\r
+        "id": "90358f7a.3bc868",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
         "comments": "",\r
         "x": 1659.2332763671875,\r
-        "y": 6774.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6777.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "656fa541.af35f4",\r
+        "id": "a442da27.96a27",\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.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1685.2332763671875,\r
-        "y": 6891.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6894.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "35de354f.e14d62",\r
-                "aedf728e.4bd508",\r
-                "d65aa6c1.4a58e"\r
+                "5457374d.6393a8",\r
+                "c43cf1bd.3a9c48",\r
+                "aafe4c92.ab6148"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "35de354f.e14d62",\r
+        "id": "5457374d.6393a8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1880.7333984375,\r
-        "y": 6843.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6846.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5345535d.1f34d4"\r
+                "53717e38.4ed96"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aedf728e.4bd508",\r
+        "id": "c43cf1bd.3a9c48",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1872.7333984375,\r
-        "y": 6898.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6901.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "20bec1fa.80674e"\r
+                "f440d45f.e2c3b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5345535d.1f34d4",\r
+        "id": "53717e38.4ed96",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2015.1156005859375,\r
-        "y": 6838.272430419922,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6841.272430419922,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "eb473582.da829"\r
+                "237db843.e1a28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d65aa6c1.4a58e",\r
+        "id": "aafe4c92.ab6148",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1877.7333984375,\r
-        "y": 6955.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6958.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "15a64cb6.b20343"\r
+                "f21c5384.45f0a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15a64cb6.b20343",\r
+        "id": "f21c5384.45f0a8",\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": 2029.7333984375,\r
-        "y": 6956.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6959.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "20bec1fa.80674e",\r
+        "id": "f440d45f.e2c3b",\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": 2040.7333984375,\r
-        "y": 6899.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6902.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "eb473582.da829",\r
+        "id": "237db843.e1a28",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2202.2327880859375,\r
-        "y": 6839.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6842.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "b73dec8d.f89198"\r
+                "df53e846.0627d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b73dec8d.f89198",\r
+        "id": "df53e846.0627d8",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2443.2327880859375,\r
-        "y": 6830.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6833.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "1ceb2f26.68ec79"\r
+                "1dea4397.4ddefc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e7e1d35.45d4c8",\r
+        "id": "ddd8f461.6b9a28",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 2800.2325439453125,\r
-        "y": 6779.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6782.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a1ade3fe.d4148",\r
-                "2a08582e.e9a11",\r
-                "a2d9c162.524c1"\r
+                "da1d6ae3.19a4a",\r
+                "f17b263b.0b92b8",\r
+                "e6be1026.0fc218"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1ceb2f26.68ec79",\r
+        "id": "1dea4397.4ddefc",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2649.2327880859375,\r
-        "y": 6827.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6830.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "8e7e1d35.45d4c8"\r
+                "ddd8f461.6b9a28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a08582e.e9a11",\r
+        "id": "f17b263b.0b92b8",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3006.2325439453125,\r
-        "y": 6792.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6795.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "cc4e4323.ff0c8",\r
-                "37454266.958e06",\r
-                "fc54918e.b07f78"\r
+                "93d3ae4.c48255",\r
+                "a8b7b61a.880ff",\r
+                "1b334b23.690f3d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2d9c162.524c1",\r
+        "id": "e6be1026.0fc218",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
         "x": 2956.2325439453125,\r
-        "y": 6856.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6859.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a1ade3fe.d4148",\r
+        "id": "da1d6ae3.19a4a",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domain id",\r
         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
         "x": 3036.2325439453125,\r
-        "y": 6740.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6743.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cc4e4323.ff0c8",\r
+        "id": "93d3ae4.c48255",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3216.2325439453125,\r
-        "y": 6783.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6786.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e3f7ab37.cd3338"\r
+                "38012aaa.4db4be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37454266.958e06",\r
+        "id": "a8b7b61a.880ff",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3208.2325439453125,\r
-        "y": 6838.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6841.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "c423f303.cf0fc"\r
+                "3b0a565e.7b9b52"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fc54918e.b07f78",\r
+        "id": "1b334b23.690f3d",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3213.2325439453125,\r
-        "y": 6895.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6898.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "f7cc4fee.3d03d8"\r
+                "a42eaf3a.6fbc5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7cc4fee.3d03d8",\r
+        "id": "a42eaf3a.6fbc5",\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": 3365.2325439453125,\r
-        "y": 6896.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6899.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c423f303.cf0fc",\r
+        "id": "3b0a565e.7b9b52",\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": 3376.2325439453125,\r
-        "y": 6841.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6844.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e3f7ab37.cd3338",\r
+        "id": "38012aaa.4db4be",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 3360.6148681640625,\r
-        "y": 6781.2723388671875,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6784.2723388671875,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a32f770f.0bf93"\r
+                "2c7d526d.80fc76"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a32f770f.0bf93",\r
+        "id": "2c7d526d.80fc76",\r
         "type": "set",\r
         "name": "set controller domain data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
         "x": 3575.2325439453125,\r
-        "y": 6777.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6780.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5c661b6d.db566c",\r
+        "id": "468cb6c4.ffb168",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
         "x": 1451.2332763671875,\r
-        "y": 6902.616668701172,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6905.616668701172,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "e8d2c16f.36acb",\r
-                "656fa541.af35f4",\r
-                "f25051a6.fa4e28"\r
+                "90358f7a.3bc868",\r
+                "a442da27.96a27",\r
+                "12fc611d.1c5a0f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f25051a6.fa4e28",\r
+        "id": "12fc611d.1c5a0f",\r
         "type": "switchNode",\r
         "name": "switch connectivity has ethernet service",\r
         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1733.433349609375,\r
-        "y": 7043.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7046.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "81385ecf.138098",\r
-                "de989c54.09997"\r
+                "fd3fa457.558cb8",\r
+                "5e9ee12a.d5b628"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "de989c54.09997",\r
+        "id": "5e9ee12a.d5b628",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1986.433349609375,\r
-        "y": 7021.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7024.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "78a6b529.99c6a4"\r
+                "c43e864.6fdea78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "81385ecf.138098",\r
+        "id": "fd3fa457.558cb8",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1986.433349609375,\r
-        "y": 7077.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7080.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "78a6b529.99c6a4",\r
+        "id": "c43e864.6fdea78",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2336.432861328125,\r
-        "y": 7011.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7014.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a19873b6.a4d6e",\r
-                "94634cdd.23be6"\r
+                "d8cf4668.e6bf58",\r
+                "fc9a7200.07e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a19873b6.a4d6e",\r
+        "id": "d8cf4668.e6bf58",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2668.932861328125,\r
-        "y": 6985.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6988.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2dad16ef.224d22"\r
+                "fa6e7b78.6ccd98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "94634cdd.23be6",\r
+        "id": "fc9a7200.07e08",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2672.932861328125,\r
-        "y": 7025.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7028.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "4ffd9da0.18218c"\r
+                "f96cab06.f1bd18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ffd9da0.18218c",\r
+        "id": "f96cab06.f1bd18",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2860.432861328125,\r
-        "y": 7029.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 7032.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2dad16ef.224d22",\r
+        "id": "fa6e7b78.6ccd98",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 2856.932861328125,\r
-        "y": 6989.816864013672,\r
-        "z": "d1eceead.adafe",\r
+        "y": 6992.816864013672,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8d45971b.519e08",\r
+        "id": "6504876a.65a0e",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1089.25,\r
-        "y": 4729.39990234375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4732.39990234375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "5dcba2e4.9fe114",\r
-                "1fae83d7.8f54e4"\r
+                "2f2c7d69.04a202",\r
+                "749e3757.254fd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5dcba2e4.9fe114",\r
+        "id": "2f2c7d69.04a202",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1517.749755859375,\r
-        "y": 4717.39990234375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4720.39990234375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "504ce75b.b6442"\r
+                "e83630dc.e1ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1fae83d7.8f54e4",\r
+        "id": "749e3757.254fd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1521.749755859375,\r
-        "y": 4757.39990234375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4760.39990234375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2463a8bc.d76748"\r
+                "28010736.1a772"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "504ce75b.b6442",\r
+        "id": "e83630dc.e1ba",\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 delete ethernet service rest api\" />\n",\r
         "comments": "",\r
         "x": 1675.749755859375,\r
-        "y": 4717.39990234375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4720.39990234375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2463a8bc.d76748",\r
+        "id": "28010736.1a772",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1679.249755859375,\r
-        "y": 4757.39990234375,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4760.39990234375,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b2c9765c.25999",\r
+        "id": "2f2661a7.5dc1e6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5113,\r
-        "y": 5050,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5053,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "86e944dc.0c4178",\r
-                "5fccecfa.290f3c",\r
-                "76c53fa0.8ab25"\r
+                "ae15e960.f1e88",\r
+                "28b0c0f7.1a36d8",\r
+                "8a83aff9.8ddf38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76c53fa0.8ab25",\r
+        "id": "8a83aff9.8ddf38",\r
         "type": "set",\r
         "name": "set vpnNameToSearch",\r
         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
         "comments": "",\r
         "x": 5340,\r
-        "y": 4995,\r
-        "z": "d1eceead.adafe",\r
+        "y": 4998,\r
+        "z": "8bd89607.6248d8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "86e944dc.0c4178",\r
+        "id": "ae15e960.f1e88",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5494,\r
-        "y": 5047,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5050,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5fccecfa.290f3c",\r
+        "id": "28b0c0f7.1a36d8",\r
         "type": "switchNode",\r
         "name": "switch $foundVpnName",\r
         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5339,\r
-        "y": 5102,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5105,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "2a17f2a1.8a9c0e"\r
+                "48fdd2f1.2b095c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a17f2a1.8a9c0e",\r
+        "id": "48fdd2f1.2b095c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 5518,\r
-        "y": 5101,\r
-        "z": "d1eceead.adafe",\r
+        "y": 5104,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a26e073.3ca98f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3b4a4d3.b60598",\r
+        "type": "set",\r
+        "name": "unset secondary related variables",\r
+        "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 3380.249969482422,\r
+        "y": 459,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22dcd918.a9e88e",\r
+        "type": "set",\r
+        "name": "set network-route-three",\r
+        "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 3344.249969482422,\r
+        "y": 709,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1743864d.d3d2f2",\r
+        "type": "switchNode",\r
+        "name": "switch secondary empty?",\r
+        "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3347.666473388672,\r
+        "y": 751.2499694824219,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a9f40bfb.e2369",\r
+                "3b2a9389.6292cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9f40bfb.e2369",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3586.6663513183594,\r
+        "y": 587.25,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "143a1a38.4be736"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b2a9389.6292cc",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3595.6663513183594,\r
+        "y": 634.25,\r
+        "z": "8bd89607.6248d8",\r
         "wires": [\r
             [\r
-                "a5ecb13c.9c7548"\r
+                "90836078.d811b"\r
             ]\r
         ]\r
+    },\r
+    {\r
+        "id": "90836078.d811b",\r
+        "type": "set",\r
+        "name": "set hasSecondary true",\r
+        "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 3809.6663513183594,\r
+        "y": 628.25,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "143a1a38.4be736",\r
+        "type": "set",\r
+        "name": "set hasSecondary false",\r
+        "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 3813.6663513183594,\r
+        "y": 584.25,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c2039341.ed7fe",\r
+        "type": "outcome",\r
+        "name": "SECONDARY-ROOT",\r
+        "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4175.700408935547,\r
+        "y": 537.699951171875,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "8f42381e.256918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f42381e.256918",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4349.700408935547,\r
+        "y": 532.699951171875,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "2dfbe8eb.6df208",\r
+                "ae5efca5.b13ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dfbe8eb.6df208",\r
+        "type": "set",\r
+        "name": "set network-route-SECONDARY-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4593.700653076172,\r
+        "y": 524.699951171875,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae5efca5.b13ee",\r
+        "type": "set",\r
+        "name": "set network-route-C",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4539.700653076172,\r
+        "y": 564.699951171875,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "49cd1e6.2c21e6",\r
+        "type": "outcome",\r
+        "name": "SECONDARY-ROOT",\r
+        "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4144.700408935547,\r
+        "y": 767.0999755859375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "37d7c141.43238e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37d7c141.43238e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4302.700164794922,\r
+        "y": 810.0997924804688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "3e1881a7.808dae",\r
+                "e3ee5030.818c18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e1881a7.808dae",\r
+        "type": "set",\r
+        "name": "set network-route-SECONDARY-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4524.700164794922,\r
+        "y": 796.0999145507812,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e3ee5030.818c18",\r
+        "type": "set",\r
+        "name": "set network-route-C",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4470.700164794922,\r
+        "y": 836.0999145507812,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "898efbe9.b7aab8",\r
+        "type": "save",\r
+        "name": "get network-route-three from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3356.133270263672,\r
+        "y": 1003.333251953125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "648675ef.25d1f4",\r
+                "2e60c86e.fc1c08",\r
+                "80896ca0.c29cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "648675ef.25d1f4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3596.133270263672,\r
+        "y": 986.333251953125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e60c86e.fc1c08",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3591.642333984375,\r
+        "y": 1028.7593078613281,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "80896ca0.c29cc8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3595.642303466797,\r
+        "y": 1076.75927734375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "1a4bd447.a95bf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a4bd447.a95bf4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3751.133270263672,\r
+        "y": 1046.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "caee9e1d.8e2348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "caee9e1d.8e2348",\r
+        "type": "switchNode",\r
+        "name": "switch nr type",\r
+        "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3873.133270263672,\r
+        "y": 993.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "63dc4834.c55f2",\r
+                "861e97a1.4a94",\r
+                "50fdf697.5f0398"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63dc4834.c55f2",\r
+        "type": "outcome",\r
+        "name": "ROOT",\r
+        "xml": "<outcome value='ROOT'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4109.133270263672,\r
+        "y": 843.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "15fc5ae7.def135"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "861e97a1.4a94",\r
+        "type": "outcome",\r
+        "name": "LEAF",\r
+        "xml": "<outcome value='LEAF'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4105.133270263672,\r
+        "y": 899.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "de3f550a.e65dd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15fc5ae7.def135",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4235.133270263672,\r
+        "y": 851.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a2d4f205.05df18",\r
+                "97e552b.298d73"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de3f550a.e65dd8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4238.133270263672,\r
+        "y": 904.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "77158a83.3502bc",\r
+                "fb7ab28b.9d9ce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50fdf697.5f0398",\r
+        "type": "outcome",\r
+        "name": "SECONDARY-ROOT",\r
+        "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4098.133270263672,\r
+        "y": 977.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "4a03238e.72a4b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a03238e.72a4b4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4254.133270263672,\r
+        "y": 998.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "8f9b7ac9.e6c508",\r
+                "4399bcd6.51e06c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2d4f205.05df18",\r
+        "type": "set",\r
+        "name": "set network-route-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4482.133270263672,\r
+        "y": 881.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97e552b.298d73",\r
+        "type": "set",\r
+        "name": "set network-route-B",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4474.133270263672,\r
+        "y": 923.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "77158a83.3502bc",\r
+        "type": "set",\r
+        "name": "set network-route-LEAF",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4475.133270263672,\r
+        "y": 975.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fb7ab28b.9d9ce8",\r
+        "type": "set",\r
+        "name": "set network-route-A",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4462.133270263672,\r
+        "y": 1015.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4399bcd6.51e06c",\r
+        "type": "set",\r
+        "name": "set network-route-C",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4436.133270263672,\r
+        "y": 1109.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f9b7ac9.e6c508",\r
+        "type": "set",\r
+        "name": "set network-route-SECONDARY-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4498.133270263672,\r
+        "y": 1065.3331909179688,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ac53fadb.549658",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3700.13330078125,\r
+        "y": 2249,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a75c6a9f.cbf01",\r
+                "92c4a208.e0cb28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c76e7c83.8acf1",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3527.466796875,\r
+        "y": 2250,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "ac53fadb.549658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac317b44.b3b988",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3536.957763671875,\r
+        "y": 2292.5740356445312,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a866b4cc.e0caa",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3525.466796875,\r
+        "y": 2339,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a75c6a9f.cbf01",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3990.466796875,\r
+        "y": 2265,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "af57ae08.dd681",\r
+                "e5cbeb5f.6e9468"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5cbeb5f.6e9468",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4213.466796875,\r
+        "y": 2220,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "5a256296.5bc59c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af57ae08.dd681",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4215.466796875,\r
+        "y": 2284,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "c3ad5792.8dfac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7bdbced.e4e6e",\r
+        "type": "save",\r
+        "name": "get p-interface-dst from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3321.466796875,\r
+        "y": 2271,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "c76e7c83.8acf1",\r
+                "ac317b44.b3b988",\r
+                "a866b4cc.e0caa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d6bf9fc.2af3d8",\r
+        "type": "comment",\r
+        "name": "Question?",\r
+        "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+        "comments": "",\r
+        "x": 3260.466796875,\r
+        "y": 2229,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ddfa25a.4bc3f6",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3341.466796875,\r
+        "y": 2119,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "1f8f213c.23a987",\r
+                "723c86fe.b2129"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "723c86fe.b2129",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3564.466796875,\r
+        "y": 2105,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "2b76ade7.37f3aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f8f213c.23a987",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3566.466796875,\r
+        "y": 2138,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b76ade7.37f3aa",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3712.466796875,\r
+        "y": 2098,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a96a9fab.149bd",\r
+                "6bae074d.4cc69"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a96a9fab.149bd",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
+        "comments": "",\r
+        "x": 3904.4666748046875,\r
+        "y": 2035,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "92c4a208.e0cb28",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3971.466796875,\r
+        "y": 2396,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "fb667e00.cdee38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb667e00.cdee38",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4177.466796875,\r
+        "y": 2396,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "7f231a25.219aec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bae074d.4cc69",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3926.4666748046875,\r
+        "y": 2103,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "6f9fafbd.595338",\r
+                "5fece99f.57a078",\r
+                "53c7941c.fd6f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f9fafbd.595338",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4121.966796875,\r
+        "y": 2055,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "1ef2a52f.ce58c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fece99f.57a078",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4113.966796875,\r
+        "y": 2110,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "d353a27e.170a88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53c7941c.fd6f84",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4118.966796875,\r
+        "y": 2167,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "815f83cf.c9ecf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "815f83cf.c9ecf",\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": 4270.966796875,\r
+        "y": 2168,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ef2a52f.ce58c3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4266.34912109375,\r
+        "y": 2052.6556701660156,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "df579443.2dfaa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2f7d29a.c36bc8",\r
+        "type": "set",\r
+        "name": "set SECONDARY-ROOT stuff",\r
+        "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+        "comments": "",\r
+        "x": 3322.13330078125,\r
+        "y": 2364,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "29a75985.a4b2ae",\r
+        "type": "comment",\r
+        "name": "NOT NEEDED ANYMORE?",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4001.133270263672,\r
+        "y": 2339.9998474121094,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c3ad5792.8dfac",\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": 4374.466796875,\r
+        "y": 2303,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a256296.5bc59c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4378.466796875,\r
+        "y": 2217,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a0a57c60.9feaa",\r
+                "8f9217bc.ce51e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f231a25.219aec",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4394.75244140625,\r
+        "y": 2394.82177734375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "f1964530.52cb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d353a27e.170a88",\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": 4281.966796875,\r
+        "y": 2113,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a0a57c60.9feaa",\r
+        "type": "set",\r
+        "name": "set ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+        "comments": "",\r
+        "x": 4548.466796875,\r
+        "y": 2178,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f9217bc.ce51e",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+        "comments": "",\r
+        "x": 4549.466796875,\r
+        "y": 2283,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ea5e7d3.f23f9",\r
+        "type": "comment",\r
+        "name": "TODO: FIXME",\r
+        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+        "comments": "",\r
+        "x": 4544.466796875,\r
+        "y": 2232,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1964530.52cb1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4601.583984375,\r
+        "y": 2384.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "cbbeb825.19f92",\r
+                "b0c2600a.46c7c",\r
+                "511030eb.63bcc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbbeb825.19f92",\r
+        "type": "set",\r
+        "name": "set destination ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4816.583984375,\r
+        "y": 2346.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0c2600a.46c7c",\r
+        "type": "get-resource",\r
+        "name": "get-resource src TTP",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4813.583984375,\r
+        "y": 2385.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "ce425175.45de18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "511030eb.63bcc8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4769.083984375,\r
+        "y": 2427.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b757d82d.12f65",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4850.466796875,\r
+        "y": 2137.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "8ab896d8.87229"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df579443.2dfaa",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4450.4666748046875,\r
+        "y": 2067,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "51046da7.24d494"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51046da7.24d494",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4647.466796875,\r
+        "y": 2133.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "b757d82d.12f65",\r
+                "4ad69efc.b2bd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ad69efc.b2bd68",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4852.466796875,\r
+        "y": 2210.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a0ad2556.3951b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce425175.45de18",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4994.083984375,\r
+        "y": 2384.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "822b3c7.3a67ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "822b3c7.3a67ac",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5152.083984375,\r
+        "y": 2384.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "71be1479.f150cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71be1479.f150cc",\r
+        "type": "set",\r
+        "name": "set destination tunnel tp ip",\r
+        "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+        "comments": "",\r
+        "x": 5359.083984375,\r
+        "y": 2384.3404541015625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8ab896d8.87229",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5027.466796875,\r
+        "y": 2129.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "d7fa69fb.085438",\r
+                "ce745876.37fbb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce745876.37fbb",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5235.466796875,\r
+        "y": 2136.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "10a5091f.ce791f",\r
+                "70c5216d.20762",\r
+                "eee03948.c8ee08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0ad2556.3951b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5029.466796875,\r
+        "y": 2202.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "dba8eb8b.b7ea7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7fa69fb.085438",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domainC id",\r
+        "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5265.466796875,\r
+        "y": 2084.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dba8eb8b.b7ea7",\r
+        "type": "set",\r
+        "name": "set domainC ethernet layer network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5264.466796875,\r
+        "y": 2326.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "10a5091f.ce791f",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5445.466796875,\r
+        "y": 2127.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "d091f788.e8c778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70c5216d.20762",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5437.466796875,\r
+        "y": 2182.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "52797bd8.2181a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eee03948.c8ee08",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5442.466796875,\r
+        "y": 2239.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a5f87747.8903"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5f87747.8903",\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": 5594.466796875,\r
+        "y": 2240.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52797bd8.2181a4",\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": 5605.466796875,\r
+        "y": 2185.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d091f788.e8c778",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5589.84912109375,\r
+        "y": 2124.655792236328,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "4f5aa4ec.a9ba44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f5aa4ec.a9ba44",\r
+        "type": "set",\r
+        "name": "set controller domainC data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 5804.466796875,\r
+        "y": 2121.0001220703125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b98aea07.4499",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3836.13330078125,\r
+        "y": 2733,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "7d724c43.dd872c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d724c43.dd872c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4027.13330078125,\r
+        "y": 2737,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "c26943ed.871ed8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c26943ed.871ed8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4154.13330078125,\r
+        "y": 2736,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a43135d6.d32b28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a43135d6.d32b28",\r
+        "type": "save",\r
+        "name": "get secondary root uni from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4380.467041015625,\r
+        "y": 2729.3336181640625,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "a8ebbe95.3f6e4",\r
+                "38e80218.b5d4ce",\r
+                "b6cd2169.c74bc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8ebbe95.3f6e4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4747.466796875,\r
+        "y": 2623.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "e22da322.d0127"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38e80218.b5d4ce",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4742.975830078125,\r
+        "y": 2667.7594604492188,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "cc355488.cae9f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6cd2169.c74bc8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4738.975830078125,\r
+        "y": 2717.759521484375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "78c42cb1.03bbb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61178516.955b94",\r
+        "type": "save",\r
+        "name": "update SECONDARY-ROOT UNI in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5186.976318359375,\r
+        "y": 2712.7596435546875,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e22da322.d0127",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4910.038330078125,\r
+        "y": 2622.6192016601562,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc355488.cae9f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 4910.975830078125,\r
+        "y": 2667.7594604492188,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "78c42cb1.03bbb4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4907.975830078125,\r
+        "y": 2717.759521484375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "67900f7a.aee708",\r
+                "61178516.955b94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67900f7a.aee708",\r
+        "type": "set",\r
+        "name": "set new bw",\r
+        "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
+        "comments": "",\r
+        "x": 5089.9765625,\r
+        "y": 2659.759521484375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "28b93260.26eace",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
+        "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4624.467041015625,\r
+        "y": 3573.333251953125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "462ac15.49ec0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "462ac15.49ec0c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4914.467041015625,\r
+        "y": 3575.333251953125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "db4c40a7.875698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abf74f44.8bd74",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4277,\r
+        "y": 5803.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "b3e521a4.a97f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3e521a4.a97f4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4468,\r
+        "y": 5807.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "aa154017.d63388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa154017.d63388",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4595,\r
+        "y": 5806.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "ea396a9e.94917"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea396a9e.94917",\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": 4820.3330078125,\r
+        "y": 5808.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "4aa7a407.8eccb4",\r
+                "90951777.87e61"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aa7a407.8eccb4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5030.3330078125,\r
+        "y": 5785.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "6131b803.ead228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90951777.87e61",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5035.3330078125,\r
+        "y": 5834.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "9203f8f4.976da"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6131b803.ead228",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5156.3330078125,\r
+        "y": 5785.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9203f8f4.976da",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5153.3330078125,\r
+        "y": 5841.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "252aad6f.949002",\r
+                "2be015ab.396d82"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "252aad6f.949002",\r
+        "type": "save",\r
+        "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5467.3330078125,\r
+        "y": 5900.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1524ee99.1e1cd1",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5399.550048828125,\r
+        "y": 5852.13330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2be015ab.396d82",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5598,\r
+        "y": 5810.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d39caf18.6babe",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 868,\r
+        "y": 5000.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "bb5f541b.ab1a88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb5f541b.ab1a88",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1059,\r
+        "y": 5004.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "d475fb98.0c79f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d475fb98.0c79f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1186,\r
+        "y": 5003.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "4975d2d3.1f477c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4975d2d3.1f477c",\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": 1411.3330078125,\r
+        "y": 5005.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "78d676eb.347948",\r
+                "b9cebfbe.3a16d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78d676eb.347948",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1621.3330078125,\r
+        "y": 4982.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "be0beff9.053b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9cebfbe.3a16d8",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1626.3330078125,\r
+        "y": 5031.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "1ec18968.883e37"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be0beff9.053b6",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1747.3330078125,\r
+        "y": 4982.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ec18968.883e37",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1744.3330078125,\r
+        "y": 5038.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "3f1c1ffb.4cacd8",\r
+                "643240ac.3a15a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "643240ac.3a15a",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2189,\r
+        "y": 5007.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "16675ac.2ba7ba5",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1990.550048828125,\r
+        "y": 5049.1328125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3f1c1ffb.4cacd8",\r
+        "type": "save",\r
+        "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2058.3330078125,\r
+        "y": 5097.3330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "68e0d31a.2e51f4",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470.3333740234375,\r
+        "y": 5841.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "2c8509f2.c5786e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c8509f2.c5786e",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1661.3333740234375,\r
+        "y": 5845.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "30f6f14a.076056"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30f6f14a.076056",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1788.3333740234375,\r
+        "y": 5844.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "b9a2493.fce2438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9a2493.fce2438",\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": 2013.6663818359375,\r
+        "y": 5846.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "7c5427a0.bfcb2",\r
+                "2b71ce9a.05df6a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c5427a0.bfcb2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2223.6663818359375,\r
+        "y": 5823.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "7c8ca33d.b99804"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b71ce9a.05df6a",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2228.6663818359375,\r
+        "y": 5872.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "af2e72.47de599"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c8ca33d.b99804",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2349.6663818359375,\r
+        "y": 5823.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "af2e72.47de599",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2346.6663818359375,\r
+        "y": 5879.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            [\r
+                "2f308234.b92f6e",\r
+                "e716a684.8ec94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e716a684.8ec94",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2791.3333740234375,\r
+        "y": 5848.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f18634c.d886cd",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2592.8834228515625,\r
+        "y": 5890.13330078125,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2f308234.b92f6e",\r
+        "type": "save",\r
+        "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2660.6663818359375,\r
+        "y": 5938.33349609375,\r
+        "z": "8bd89607.6248d8",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
 ]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.json
new file mode 100644 (file)
index 0000000..83a5bf9
--- /dev/null
@@ -0,0 +1,611 @@
+[\r
+  {\r
+    "id": "2e93c168.6c7176",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 131,\r
+    "y": 94,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f3472611.3b3a7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3472611.3b3a7",\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": 415.2856903076172,\r
+    "y": 155.23810863494873,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f934f601.250c68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f934f601.250c68",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 370.4285888671875,\r
+    "y": 247.00003051757812,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f86b55e.289eca8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f86b55e.289eca8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 731.238037109375,\r
+    "y": 231.66668701171875,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "1711ba16.b9e5fe",\r
+        "86a57251.1116d",\r
+        "23642fea.37bce8",\r
+        "6091a27b.6e2de4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1711ba16.b9e5fe",\r
+    "type": "save",\r
+    "name": "get all-connectivities from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivities\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.helper-secondary-root-all-connectivities\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 216,\r
+    "y": 417,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "38d70593.a6db12",\r
+        "96ef9eda.72033",\r
+        "5388015d.ff79f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "38d70593.a6db12",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 460,\r
+    "y": 377,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "2b93fa95.52b74e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "96ef9eda.72033",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 457.490966796875,\r
+    "y": 426.57403564453125,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5388015d.ff79f",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 455,\r
+    "y": 469,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2b93fa95.52b74e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 608,\r
+    "y": 378,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "79392e3f.01ffc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "79392e3f.01ffc",\r
+    "type": "for",\r
+    "name": "for helprconnidx in all-connectivities",\r
+    "xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-secondary-root-all-connectivities.connectivity_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 855,\r
+    "y": 373,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "c9f7846e.c314e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9f7846e.c314e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1102,\r
+    "y": 379,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "4ef11ae0.e6fc9c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6c5df52b.60f0f4",\r
+    "type": "switchNode",\r
+    "name": "switch color-aware is SECONDARY-ROOT?",\r
+    "xml": "\n<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1726,\r
+    "y": 685,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "5664c742.62a48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5664c742.62a48",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1977,\r
+    "y": 687,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "7c57a413.5a20b4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c57a413.5a20b4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2134,\r
+    "y": 687,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "12b65787.e94718",\r
+        "74308533.8a66a4",\r
+        "4a39e664.0fb158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86a57251.1116d",\r
+    "type": "set",\r
+    "name": "unset found-secondary-root-connectivity",\r
+    "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"false\" />\n",\r
+    "comments": "",\r
+    "x": 974,\r
+    "y": 146,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "12b65787.e94718",\r
+    "type": "set",\r
+    "name": "set found-secondary-root-connectivity=true",\r
+    "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"true\" />\n",\r
+    "comments": "",\r
+    "x": 2395,\r
+    "y": 635,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74308533.8a66a4",\r
+    "type": "set",\r
+    "name": "set tmp.aai.SECONDARY-ROOT.connectivity.",\r
+    "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 2459,\r
+    "y": 685,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "23642fea.37bce8",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.SECONDARY-ROOT.connectivity.",\r
+    "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 1058,\r
+    "y": 190,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4a39e664.0fb158",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 2326,\r
+    "y": 751,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "31354cfe.c6bf2c",\r
+    "type": "switchNode",\r
+    "name": "switch conn type",\r
+    "xml": "<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1723.8832397460938,\r
+    "y": 602.88330078125,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f6ed55e.b6125a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6ed55e.b6125a8",\r
+    "type": "outcome",\r
+    "name": "secondary-root",\r
+    "xml": "<outcome value='secondary-root'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1916.8832397460938,\r
+    "y": 602.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "5d637914.22c3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d637914.22c3c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2059.8832397460938,\r
+    "y": 604.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "6c5df52b.60f0f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6091a27b.6e2de4",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.helper-secondary-root-all-connectivities",\r
+    "xml": "<set>\n<parameter name='tmp.aai.helper-secondary-root-all-connectivities.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 1072.11669921875,\r
+    "y": 244,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ef11ae0.e6fc9c",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 651.88330078125,\r
+    "y": 555.88330078125,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "eded3518.cefe88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eded3518.cefe88",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 842.88330078125,\r
+    "y": 559.88330078125,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "ee6bd36d.011e28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ee6bd36d.011e28",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 969.88330078125,\r
+    "y": 558.88330078125,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "8e3e5eb2.dcd14"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8e3e5eb2.dcd14",\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": 1187.7666015625,\r
+    "y": 506.7666015625,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f91553d6.d6433",\r
+        "d22eed3.8b3e19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f91553d6.d6433",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1376.7666015625,\r
+    "y": 587.7666320800781,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "cf947753.3b5d88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cf947753.3b5d88",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1502.7666015625,\r
+    "y": 587.7666320800781,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "31354cfe.c6bf2c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d22eed3.8b3e19",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1386.3499145507812,\r
+    "y": 371.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "2839a240.d257fe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a6c87432.2611f",\r
+    "type": "switchNode",\r
+    "name": "switch color-aware is ROOT?",\r
+    "xml": "\n<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1711.699951171875,\r
+    "y": 467.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "f240aaa7.5333e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f240aaa7.5333e8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1962.699951171875,\r
+    "y": 469.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "54dee507.06db64"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "54dee507.06db64",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2119.699951171875,\r
+    "y": 469.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "1a15c16c.3b05bf",\r
+        "3fecc353.b5f16c",\r
+        "f36e5149.b9b35"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1a15c16c.3b05bf",\r
+    "type": "set",\r
+    "name": "set found-secondary-root-connectivity=true",\r
+    "xml": "<set>\n<parameter name='found-secondary-root-connectivity' value=\"true\" />\n",\r
+    "comments": "",\r
+    "x": 2380.699951171875,\r
+    "y": 417.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3fecc353.b5f16c",\r
+    "type": "set",\r
+    "name": "set tmp.aai.SECONDARY-ROOT.connectivity.",\r
+    "xml": "<set>\n<parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 2444.699951171875,\r
+    "y": 467.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f36e5149.b9b35",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 2311.699951171875,\r
+    "y": 533.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5e104fd0.57bd6",\r
+    "type": "switchNode",\r
+    "name": "switch conn type",\r
+    "xml": "<switch test=\"`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1736.583251953125,\r
+    "y": 375.7666015625,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "3d2ab0e2.6993c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d2ab0e2.6993c",\r
+    "type": "outcome",\r
+    "name": "root",\r
+    "xml": "<outcome value='root'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1929.583251953125,\r
+    "y": 375.7666320800781,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "fa1da4c2.b6ad4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa1da4c2.b6ad4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2072.583251953125,\r
+    "y": 377.7666320800781,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "a6c87432.2611f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2839a240.d257fe",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1538.699951171875,\r
+    "y": 371.8833312988281,\r
+    "z": "e702f568.a82608",\r
+    "wires": [\r
+      [\r
+        "5e104fd0.57bd6"\r
+      ]\r
+    ]\r
+  }\r
+]
\ No newline at end of file
index 2e4b6b6..19a9e99 100644 (file)
@@ -1,20 +1,20 @@
 [\r
   {\r
-    "id": "781e35fa.f2e1d4",\r
+    "id": "2f28023e.39f0ce",\r
     "type": "dgstart",\r
     "name": "DGSTART",\r
     "outputs": 1,\r
-    "x": 173.88333129882812,\r
-    "y": 149.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 96.5,\r
+    "y": 107,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9e11530a.17bcb"\r
+        "73cc7959.44f0a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9e11530a.17bcb",\r
+    "id": "73cc7959.44f0a",\r
     "type": "service-logic",\r
     "name": "GENERIC-RESOURCE-API ${project.version}",\r
     "module": "GENERIC-RESOURCE-API",\r
     "comments": "",\r
     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
     "outputs": 1,\r
-    "x": 458.1690216064453,\r
-    "y": 211.12143993377686,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 380.7856903076172,\r
+    "y": 168.23810863494873,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2b94c108.46c67e"\r
+        "22ecaa15.62efee"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2b94c108.46c67e",\r
+    "id": "22ecaa15.62efee",\r
     "type": "method",\r
     "name": "method cll-vnf-topology-operation-cll-modify",\r
     "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 464.3119354248047,\r
-    "y": 295.88336181640625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 386.92860412597656,\r
+    "y": 253.00003051757812,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "fc45d9d.aa25928"\r
+        "c060beae.bc9e28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fc45d9d.aa25928",\r
+    "id": "c060beae.bc9e28",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 813.8833312988281,\r
-    "y": 354.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 736.5,\r
+    "y": 312,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5f20119b.1c25f",\r
-        "440015de.6e018c",\r
-        "7415bdce.bb1424"\r
+        "915751c1.614528",\r
+        "36f6973a.34e678",\r
+        "493b4ec5.6de3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5f20119b.1c25f",\r
+    "id": "915751c1.614528",\r
     "type": "returnSuccess",\r
     "name": "return success",\r
     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
     "comments": "",\r
-    "x": 1115.2168273925781,\r
-    "y": 625.8136291503906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1037.83349609375,\r
+    "y": 582.9302978515625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "440015de.6e018c",\r
+    "id": "36f6973a.34e678",\r
     "type": "save",\r
     "name": "get service-instance from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1136.6452941894531,\r
-    "y": 328.2166442871094,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1059.261962890625,\r
+    "y": 285.33331298828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "12c8110b.ec9bd7",\r
-        "bbd39d34.8832e",\r
-        "23fc32e8.f22086"\r
+        "488c3b3e.f19244",\r
+        "775f6bb9.6a72cc",\r
+        "cd7c45c1.b6f318"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "12c8110b.ec9bd7",\r
+    "id": "488c3b3e.f19244",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1361.6452941894531,\r
-    "y": 186.21664428710938,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1284.261962890625,\r
+    "y": 143.33331298828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "61f16e51.c24158"\r
+        "86fe6a1f.5037f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bbd39d34.8832e",\r
+    "id": "775f6bb9.6a72cc",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1357.1362609863281,\r
-    "y": 255.79067993164062,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1279.7529296875,\r
+    "y": 212.9073486328125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "47248fa2.17d9d"\r
+        "de07150f.9aa728"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "23fc32e8.f22086",\r
+    "id": "cd7c45c1.b6f318",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1345.6452941894531,\r
-    "y": 302.2166442871094,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1268.261962890625,\r
+    "y": 259.33331298828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cdbbe291.f3553"\r
+        "45b0306e.39dc08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "493ce64.5d5d418",\r
+    "id": "354c5c1b.22efdc",\r
     "type": "comment",\r
     "name": "new for TransportSlicing",\r
     "info": "",\r
     "comments": "",\r
-    "x": 1115.6452941894531,\r
-    "y": 216.21664428710938,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1038.261962890625,\r
+    "y": 173.33331298828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7415bdce.bb1424",\r
+    "id": "493b4ec5.6de3",\r
     "type": "execute",\r
     "name": "execute properties",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1103.6452941894531,\r
-    "y": 268.2166442871094,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1026.261962890625,\r
+    "y": 225.33331298828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "61f16e51.c24158",\r
+    "id": "86fe6a1f.5037f8",\r
     "type": "switchNode",\r
     "name": "switch allotted-resources_length != 0",\r
     "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1601.8833312988281,\r
-    "y": 182.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1524.5,\r
+    "y": 140,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "58e97c67.87accc",\r
-        "d2e64d43.49ac68"\r
+        "ee0543f9.1cf788",\r
+        "5497352b.e1aeec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "47248fa2.17d9d",\r
+    "id": "de07150f.9aa728",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 1511.9457092285156,\r
-    "y": 258.74310302734375,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1434.5623779296875,\r
+    "y": 215.85977172851562,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cdbbe291.f3553",\r
+    "id": "45b0306e.39dc08",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 1515.8833312988281,\r
-    "y": 302.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1438.5,\r
+    "y": 260,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "58e97c67.87accc",\r
+    "id": "ee0543f9.1cf788",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1806.8833312988281,\r
-    "y": 219.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1729.5,\r
+    "y": 177,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c54a8c68.c345e"\r
+        "6345f4d0.12f85c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d2e64d43.49ac68",\r
+    "id": "5497352b.e1aeec",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1816.8833312988281,\r
-    "y": 146.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1739.5,\r
+    "y": 104,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c54a8c68.c345e",\r
+    "id": "6345f4d0.12f85c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1799.8833312988281,\r
-    "y": 294.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1722.5,\r
+    "y": 252,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "27adf24c.af1566",\r
-        "31a766ce.e0455a",\r
-        "7436fd76.690054",\r
-        "2b9d3039.23a428",\r
-        "2f2ed9c0.e0663e"\r
+        "c2cf8029.375a4",\r
+        "3a106a22.349b86",\r
+        "f24d529e.b55f9",\r
+        "26407648.4cfd4a",\r
+        "5e06fc8.b063184"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d2a449e8.f07b58",\r
+    "id": "34fb97ab.b3686",\r
     "type": "save",\r
     "name": "get allotted-resource from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2285.883331298828,\r
-    "y": 345.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2208.5,\r
+    "y": 303,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "41c867c6.b55cd8",\r
-        "84c1b468.c04558",\r
-        "621effb3.a9e918"\r
+        "4a2e58a2.751648",\r
+        "c91e93c5.362468",\r
+        "ad2e905e.658598"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "41c867c6.b55cd8",\r
+    "id": "4a2e58a2.751648",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2501.883331298828,\r
-    "y": 412.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2424.5,\r
+    "y": 370,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "821dc5ef.6d3aa8"\r
+        "2d931b81.0000fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "84c1b468.c04558",\r
+    "id": "c91e93c5.362468",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2502.374298095703,\r
-    "y": 312.4573059082031,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2424.990966796875,\r
+    "y": 269.573974609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4a81091b.110a38"\r
+        "2c737e52.6b21f2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "621effb3.a9e918",\r
+    "id": "ad2e905e.658598",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2497.883331298828,\r
-    "y": 361.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2420.5,\r
+    "y": 319,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6269ae05.e67ee8"\r
+        "81005112.39dbe"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "27adf24c.af1566",\r
+    "id": "c2cf8029.375a4",\r
     "type": "for",\r
     "name": "for each allotted-resource",\r
     "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2002.8833312988281,\r
-    "y": 326.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1925.5,\r
+    "y": 284,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2c28c5a4.c9fc4a",\r
-        "d2a449e8.f07b58",\r
-        "42097510.f58b64",\r
-        "7a55e6a1.70e4b"\r
+        "9843a.b676f3c68",\r
+        "34fb97ab.b3686",\r
+        "cf6d7172.69b4b8",\r
+        "326038f4.f291a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2c28c5a4.c9fc4a",\r
+    "id": "9843a.b676f3c68",\r
     "type": "set",\r
     "name": "set the current allotted-resource-id",\r
     "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2282.883331298828,\r
-    "y": 264.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2205.5,\r
+    "y": 222,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2b9d3039.23a428",\r
+    "id": "26407648.4cfd4a",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
     "comments": "",\r
-    "x": 1976.8833312988281,\r
-    "y": 276.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1899.5,\r
+    "y": 234,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "31a766ce.e0455a",\r
+    "id": "3a106a22.349b86",\r
     "type": "get-resource",\r
     "name": "get-resource pnfs-list",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2019.8833312988281,\r
-    "y": 135.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1942.5,\r
+    "y": 93,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7436fd76.690054",\r
+    "id": "f24d529e.b55f9",\r
     "type": "get-resource",\r
     "name": "get-resource logical-links",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2031.8833312988281,\r
-    "y": 176.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1954.5,\r
+    "y": 134,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e57021b1.8566f8",\r
+    "id": "a7bf0e61.b8215",\r
     "type": "comment",\r
     "name": "The following two nodes are for PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2056.883331298828,\r
-    "y": 88.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1979.5,\r
+    "y": 46,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f75cee20.f52e5",\r
+    "id": "68130b3.2f48af4",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
     "comments": "",\r
-    "x": 1976.8833312988281,\r
-    "y": 222.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 1899.5,\r
+    "y": 180,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4a81091b.110a38",\r
+    "id": "2c737e52.6b21f2",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 2680.883331298828,\r
-    "y": 314.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2603.5,\r
+    "y": 272,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6269ae05.e67ee8",\r
+    "id": "81005112.39dbe",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 2680.820831298828,\r
-    "y": 364.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2603.4375,\r
+    "y": 321.1402587890625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "821dc5ef.6d3aa8",\r
+    "id": "2d931b81.0000fc",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2682.820831298828,\r
-    "y": 415.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2605.4375,\r
+    "y": 372.1402587890625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2337e3a2.faa61c"\r
+        "4511b10b.b4e2e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2337e3a2.faa61c",\r
+    "id": "4511b10b.b4e2e8",\r
     "type": "save",\r
     "name": "get allotted-resource relationship from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2975.820831298828,\r
-    "y": 362.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2940.4375,\r
+    "y": 141.14027404785156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cccd155c.90e07",\r
-        "b9a7ac6e.7fea5",\r
-        "73057b22.08e1dc"\r
+        "9fb16699.1235d",\r
+        "da567395.79b6d8",\r
+        "8ed0fbe8.03e31"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b9a7ac6e.7fea5",\r
+    "id": "da567395.79b6d8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3249.311798095703,\r
-    "y": 254.59756469726562,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3213.928466796875,\r
+    "y": 33.71424865722656,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e5cee345.1eaae"\r
+        "1dbb6caf.82e0eb"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e5cee345.1eaae",\r
+    "id": "1dbb6caf.82e0eb",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3426.883331298828,\r
-    "y": 254.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3391.5,\r
+    "y": 34.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "73057b22.08e1dc",\r
+    "id": "8ed0fbe8.03e31",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3244.820831298828,\r
-    "y": 304.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3209.4375,\r
+    "y": 83.14027404785156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f16a75f9.e23598"\r
+        "1a97687b.99c02"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f16a75f9.e23598",\r
+    "id": "1a97687b.99c02",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3426.820831298828,\r
-    "y": 304.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3391.4375,\r
+    "y": 83.14027404785156,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cccd155c.90e07",\r
+    "id": "9fb16699.1235d",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3248.820831298828,\r
-    "y": 355.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3213.4375,\r
+    "y": 134.14027404785156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e05a51c3.eb7208"\r
+        "470c276f.ad2f08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e05a51c3.eb7208",\r
+    "id": "470c276f.ad2f08",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3428.820831298828,\r
-    "y": 355.0235900878906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3393.4375,\r
+    "y": 134.14027404785156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a185fcaa.c01b7"\r
+        "ece8c0f8.d3abf8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a185fcaa.c01b7",\r
+    "id": "ece8c0f8.d3abf8",\r
     "type": "switchNode",\r
     "name": "switch allotted-resource.relationship-list not empty",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2994.883331298828,\r
-    "y": 489.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2959.5,\r
+    "y": 269.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "64dc3552.29da24",\r
-        "1cf4e379.2b6355"\r
+        "dba346c3.39c8a8",\r
+        "4ccdd4a0.9c665c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1cf4e379.2b6355",\r
+    "id": "4ccdd4a0.9c665c",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3304.883331298828,\r
-    "y": 496.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3269.5,\r
+    "y": 276.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "64dc3552.29da24",\r
+    "id": "dba346c3.39c8a8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3303.883331298828,\r
-    "y": 550.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3268.5,\r
+    "y": 330.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "49cf9d82.f3816c"\r
+        "e2cad6e.ad95028"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "61811a9.92ccce4",\r
+    "id": "fde9905b.0e0dc",\r
     "type": "outcome",\r
     "name": "network-policy",\r
     "xml": "<outcome value='network-policy'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4048.883331298828,\r
-    "y": 504.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4013.5,\r
+    "y": 284.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5422df0.13119a"\r
+        "be0ed66c.68b118"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5422df0.13119a",\r
+    "id": "be0ed66c.68b118",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4225.883209228516,\r
-    "y": 497.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4190.4998779296875,\r
+    "y": 276.99989318847656,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cc385253.b8fbd",\r
-        "2cd49ffd.326448"\r
+        "1aebcc98.e81703",\r
+        "a36c8474.3e9148"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "49cf9d82.f3816c",\r
+    "id": "e2cad6e.ad95028",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3467.883331298828,\r
-    "y": 476.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3432.5,\r
+    "y": 256.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f69edc6a.996158",\r
-        "7412251.16d085c"\r
+        "f52b5162.d3155",\r
+        "28c7d65.67fb0aa"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f69edc6a.996158",\r
+    "id": "f52b5162.d3155",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3748.883331298828,\r
-    "y": 432.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3713.5,\r
+    "y": 212.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ed2a485c.4e373"\r
+        "40678a93.0b11fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ed2a485c.4e373",\r
+    "id": "40678a93.0b11fc",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4010.883331298828,\r
-    "y": 432.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3975.5,\r
+    "y": 212.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "61811a9.92ccce4"\r
+        "fde9905b.0e0dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cc385253.b8fbd",\r
+    "id": "1aebcc98.e81703",\r
     "type": "set",\r
     "name": "set the 1st network-policy-id",\r
     "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4468.883209228516,\r
-    "y": 454.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4433.4998779296875,\r
+    "y": 233.99989318847656,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2cd49ffd.326448",\r
+    "id": "a36c8474.3e9148",\r
     "type": "save",\r
     "name": "get network-policy from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4457.883209228516,\r
-    "y": 509.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4422.4998779296875,\r
+    "y": 288.99989318847656,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9972e623.c70578",\r
-        "34812087.cb8a98",\r
-        "1b373493.bb5393"\r
+        "f4703396.8f997",\r
+        "c4863aea.39d3c",\r
+        "3f105248.ebf0a6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1b373493.bb5393",\r
+    "id": "3f105248.ebf0a6",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4710.883331298828,\r
-    "y": 395.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4753.5,\r
+    "y": 197,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f7f40cf5.3f9508"\r
+        "f39e3f38.4d2868"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f7f40cf5.3f9508",\r
+    "id": "f39e3f38.4d2868",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4859.454864501953,\r
-    "y": 396.1690979003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4902.071533203125,\r
+    "y": 197.2857666015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a22797f6.37b0d8",\r
+    "id": "9b475b7a.781198",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4858.392364501953,\r
-    "y": 440.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4901.009033203125,\r
+    "y": 241.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "34812087.cb8a98",\r
+    "id": "c4863aea.39d3c",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4699.392364501953,\r
-    "y": 440.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4742.009033203125,\r
+    "y": 241.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a22797f6.37b0d8"\r
+        "9b475b7a.781198"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9972e623.c70578",\r
+    "id": "f4703396.8f997",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4706.392364501953,\r
-    "y": 519.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4749.009033203125,\r
+    "y": 320.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2ecc1ca4.45238c"\r
+        "a4728a38.a45e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2ecc1ca4.45238c",\r
+    "id": "a4728a38.a45e8",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4845.392364501953,\r
-    "y": 519.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4888.009033203125,\r
+    "y": 320.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4189f313.1a9cd4",\r
-        "b78697ee.5ce55"\r
+        "6805f17a.2a0698",\r
+        "a9ae4e95.32ef88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4189f313.1a9cd4",\r
+    "id": "6805f17a.2a0698",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5050.883331298828,\r
-    "y": 516.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5093.5,\r
+    "y": 318,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b78697ee.5ce55",\r
+    "id": "a9ae4e95.32ef88",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5049.883331298828,\r
-    "y": 562.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5092.5,\r
+    "y": 364,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7412251.16d085c",\r
+    "id": "28c7d65.67fb0aa",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3565.883331298828,\r
-    "y": 548.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3530.5,\r
+    "y": 328.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6604e9c7.0c6c6"\r
+        "ebdf975.aa03968"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6604e9c7.0c6c6",\r
+    "id": "ebdf975.aa03968",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3845.883331298828,\r
-    "y": 548.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3810.5,\r
+    "y": 328.00001525878906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "85f44348.40e85"\r
+        "3f67ae4e.a2076a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "85f44348.40e85",\r
+    "id": "3f67ae4e.a2076a",\r
     "type": "outcome",\r
     "name": "logical-link",\r
     "xml": "<outcome value='logical-link'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2258.8834533691406,\r
-    "y": 801.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2181.5001220703125,\r
+    "y": 759.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4b9c1fcb.91dc9"\r
+        "f83af2f7.dfb288"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4b9c1fcb.91dc9",\r
+    "id": "f83af2f7.dfb288",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2435.883331298828,\r
-    "y": 794.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2358.5,\r
+    "y": 752,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "27f44efc.6f6d32",\r
-        "c7edfd64.b3753"\r
+        "a0742463.c2c6f8",\r
+        "25034b30.dd6634"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "27f44efc.6f6d32",\r
+    "id": "a0742463.c2c6f8",\r
     "type": "set",\r
     "name": "set the current logical-link-name",\r
     "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2678.883331298828,\r
-    "y": 751.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2601.5,\r
+    "y": 709,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c7edfd64.b3753",\r
+    "id": "25034b30.dd6634",\r
     "type": "save",\r
     "name": "get logical-link from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2667.883331298828,\r
-    "y": 806.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2590.5,\r
+    "y": 764,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "24ace19f.75b966",\r
-        "ac0fada7.2237a",\r
-        "7d46d2c9.4b5f9c"\r
+        "b3267bc2.0ab17",\r
+        "e3342c37.4e1e3",\r
+        "349e46c.d16cb3a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "24ace19f.75b966",\r
+    "id": "b3267bc2.0ab17",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2959.374298095703,\r
-    "y": 785.4573059082031,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2881.990966796875,\r
+    "y": 742.573974609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d7ebe78c.3ec37"\r
+        "504883f4.bc132c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ac0fada7.2237a",\r
+    "id": "e3342c37.4e1e3",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2947.883331298828,\r
-    "y": 829.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2870.5,\r
+    "y": 787,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "77d529f.fb28458"\r
+        "6ff791fd.bff34"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d7ebe78c.3ec37",\r
+    "id": "504883f4.bc132c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3107.945831298828,\r
-    "y": 785.7430725097656,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3030.5625,\r
+    "y": 742.8597412109375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "77d529f.fb28458",\r
+    "id": "6ff791fd.bff34",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3106.883331298828,\r
-    "y": 829.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3029.5,\r
+    "y": 787,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7d46d2c9.4b5f9c",\r
+    "id": "349e46c.d16cb3a",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2954.883331298828,\r
-    "y": 908.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2877.5,\r
+    "y": 866,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "265410a7.36ec88"\r
+        "947e25fa.d00b28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "265410a7.36ec88",\r
+    "id": "947e25fa.d00b28",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3093.883331298828,\r
-    "y": 908.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3016.5,\r
+    "y": 866,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "98c1de20.9fd92",\r
-        "22cf748c.dba294",\r
-        "6d145189.478b8",\r
-        "8cce98e.0c8f3e8",\r
-        "d4009f69.0bc89",\r
-        "9190bf27.d61b08",\r
-        "1fa44b37.7a7c65",\r
-        "1ebd0160.929687",\r
-        "f7e98987.293918",\r
-        "6b01ec04.e8e8dc",\r
-        "ce90c6ec.193398",\r
-        "323cec2c.88d45c",\r
-        "fba2883c.72d2",\r
-        "abd6e7f0.9745e8"\r
+        "b5aabe11.88e5f",\r
+        "8b8aaeb1.46c568",\r
+        "32905edb.461e7a",\r
+        "2f0ef70c.178628",\r
+        "6eaf37e0.1fb3a8",\r
+        "1abb3e71.7e1362",\r
+        "29e42279.9aaa7e",\r
+        "363ba934.edbd4e",\r
+        "ec67f0f.b56539",\r
+        "631e76e1.71afc",\r
+        "b17f4ff2.75d93",\r
+        "8048035e.723ef",\r
+        "d590aba5.94aa48",\r
+        "44b9c5d0.dda044",\r
+        "46e10049.e35348",\r
+        "f55201f.0be188",\r
+        "6834572.668ee28",\r
+        "fa7f428c.6d6b2",\r
+        "8c5d257.6a579d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ec511c6.7493e6",\r
+    "id": "479d6fca.4b7c8",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3407.883331298828,\r
-    "y": 714.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3328.5,\r
+    "y": 416,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "98c1de20.9fd92",\r
+    "id": "b5aabe11.88e5f",\r
     "type": "execute",\r
     "name": "execute UUID generator for otn-tunnel-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3388.883331298828,\r
-    "y": 764.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3315.4998779296875,\r
+    "y": 508,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "abd6e7f0.9745e8",\r
+    "id": "44b9c5d0.dda044",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3345.883331298828,\r
-    "y": 809.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3272.4998779296875,\r
+    "y": 553,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "22cf748c.dba294",\r
+    "id": "8b8aaeb1.46c568",\r
     "type": "set",\r
     "name": "set network-route-one",\r
     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3320.883331298828,\r
-    "y": 872.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3247.4998779296875,\r
+    "y": 616,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6d145189.478b8",\r
+    "id": "32905edb.461e7a",\r
     "type": "set",\r
     "name": "set network-route-two",\r
     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3321.883331298828,\r
-    "y": 927.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3248.4998779296875,\r
+    "y": 671,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8cce98e.0c8f3e8",\r
+    "id": "2f0ef70c.178628",\r
     "type": "save",\r
     "name": "get network-route-one from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3337.883331298828,\r
-    "y": 975.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3264.4998779296875,\r
+    "y": 719,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "909d17c4.8ebc6",\r
-        "f19af18e.9ab1b8",\r
-        "7d20c22a.cc52a4"\r
+        "99eab0f2.3508c",\r
+        "1b8f4bea.ec5e94",\r
+        "fc9653f8.4449d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d4009f69.0bc89",\r
+    "id": "6eaf37e0.1fb3a8",\r
     "type": "save",\r
     "name": "get network-route-two from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3326.883331298828,\r
-    "y": 1062.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3259.5,\r
+    "y": 785.9998779296875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9444273f.3b6308",\r
-        "2c5b38f8.57c148",\r
-        "b9db8112.11ed58"\r
+        "e805b604.ab84e",\r
+        "a86f3b5b.e29e1",\r
+        "cbb70d3d.0ef6a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "909d17c4.8ebc6",\r
+    "id": "99eab0f2.3508c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3538.883331298828,\r
-    "y": 859.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3505.5,\r
+    "y": 547,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c14b1c12.22174"\r
+        "d6e995cd.85fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f19af18e.9ab1b8",\r
+    "id": "1b8f4bea.ec5e94",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3534.392364501953,\r
-    "y": 909.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3501.009033203125,\r
+    "y": 596.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2b40f083.4de84"\r
+        "e5161935.335138"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7d20c22a.cc52a4",\r
+    "id": "fc9653f8.4449d",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3538.392364501953,\r
-    "y": 962.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3505.009033203125,\r
+    "y": 649.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "aaa35683.7d2c38"\r
+        "867b315e.a11f4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c14b1c12.22174",\r
+    "id": "d6e995cd.85fc",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3687.454864501953,\r
-    "y": 859.1690979003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3654.071533203125,\r
+    "y": 546.2857666015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2b40f083.4de84",\r
+    "id": "e5161935.335138",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3677.392364501953,\r
-    "y": 909.3093566894531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3644.009033203125,\r
+    "y": 596.426025390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9444273f.3b6308",\r
+    "id": "e805b604.ab84e",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3549.883331298828,\r
-    "y": 1032.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3509.5,\r
+    "y": 702.9998779296875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "106ff1ef.63ffd6"\r
+        "f25db7d5.d2a2a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2c5b38f8.57c148",\r
+    "id": "a86f3b5b.e29e1",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3545.392364501953,\r
-    "y": 1082.3092346191406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3505.009033203125,\r
+    "y": 752.4259033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ce83157c.4b6778"\r
+        "86e45032.893578"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b9db8112.11ed58",\r
+    "id": "cbb70d3d.0ef6a",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3546.392364501953,\r
-    "y": 1135.3092346191406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3488.009033203125,\r
+    "y": 800.4259033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a56ebadb.ee398"\r
+        "20619d71.889cda"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "106ff1ef.63ffd6",\r
+    "id": "f25db7d5.d2a2a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3698.454864501953,\r
-    "y": 1032.1689758300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3658.071533203125,\r
+    "y": 702.28564453125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ce83157c.4b6778",\r
+    "id": "86e45032.893578",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3688.392364501953,\r
-    "y": 1082.3092346191406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3648.009033203125,\r
+    "y": 752.4259033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "aaa35683.7d2c38",\r
+    "id": "867b315e.a11f4",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3699.883331298828,\r
-    "y": 961.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3666.5,\r
+    "y": 649,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "bc98fef2.b2548"\r
+        "2bd95045.b71158"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a56ebadb.ee398",\r
+    "id": "20619d71.889cda",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3699.883331298828,\r
-    "y": 1134.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3641.5,\r
+    "y": 799.9998779296875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "80324f63.fa516"\r
+        "41de01b2.960a08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bc98fef2.b2548",\r
+    "id": "2bd95045.b71158",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3871.883331298828,\r
-    "y": 961.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3838.5,\r
+    "y": 649,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "49900721.03dea8",\r
-        "7a97b419.9c3254"\r
+        "6f8555c6.ec1a0c",\r
+        "994a0acf.d3aed8",\r
+        "26a90c3.2a56674"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "80324f63.fa516",\r
+    "id": "41de01b2.960a08",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3872.883331298828,\r
-    "y": 1134.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3833.5,\r
+    "y": 734,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9dd66c65.827358",\r
-        "1559fb7e.bddfc5"\r
+        "4b5b1a17.b9df6c",\r
+        "d7a475f3.ea12c",\r
+        "16154f9d.14a3b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "49900721.03dea8",\r
+    "id": "6f8555c6.ec1a0c",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4047.883331298828,\r
-    "y": 940.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3999.49951171875,\r
+    "y": 385,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9c76efc2.c7f458"\r
+        "62760f41.c93a2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7a97b419.9c3254",\r
+    "id": "994a0acf.d3aed8",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4049.883331298828,\r
-    "y": 994.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4001.49951171875,\r
+    "y": 439,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "36b200ce.3626f"\r
+        "273e3fee.2bc13"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9dd66c65.827358",\r
+    "id": "4b5b1a17.b9df6c",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4048.883331298828,\r
-    "y": 1104.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4014.499267578125,\r
+    "y": 607,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f7a8d104.b779c8"\r
+        "244a1c4c.c64574"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1559fb7e.bddfc5",\r
+    "id": "d7a475f3.ea12c",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4050.883331298828,\r
-    "y": 1158.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4016.499267578125,\r
+    "y": 661,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2781339a.2c9d8c"\r
+        "f48105e4.f03428"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a64deb38.79c21",\r
+    "id": "92f3b868.34ce6",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4357.883331298828,\r
-    "y": 892.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4309.49951171875,\r
+    "y": 337,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d00069b9.08211",\r
+    "id": "b6002239.68b828",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4350.883331298828,\r
-    "y": 990.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4302.49951171875,\r
+    "y": 435,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e2a3248.b77d4d8",\r
+    "id": "55137534.cd97cc",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4350.883331298828,\r
-    "y": 1077.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4378.499267578125,\r
+    "y": 634,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "69fc971e.d1c948",\r
+    "id": "ba173e3c.d3cf48",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4354.883331298828,\r
-    "y": 1170.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4382.499267578125,\r
+    "y": 727,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "79a28b11.e62b74",\r
+    "id": "4d8d5caa.cdd3ac",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3581.883331298828,\r
-    "y": 1579.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3460.5,\r
+    "y": 1150,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4a634c2c.1a75ec"\r
+        "6c40f2a8.47da04"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "940be839.4c9f2",\r
+    "id": "f63967f8.5c1d2",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3591.374298095703,\r
-    "y": 1622.4573669433594,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3469.990966796875,\r
+    "y": 1192.5740356445312,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "87a8481c.69d658"\r
+        "cba887b8.3ba25"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a420af0c.05d778",\r
+    "id": "f4c1be52.25da4",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3579.883331298828,\r
-    "y": 1668.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3458.5,\r
+    "y": 1239,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2583b063.d99b38"\r
+        "43b1688f.a5b798"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2f08f142.24c856",\r
+    "id": "f87008d1.14dd28",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3281.883331298828,\r
-    "y": 1541.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3160.5,\r
+    "y": 1112,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1fa44b37.7a7c65",\r
+    "id": "29e42279.9aaa7e",\r
     "type": "save",\r
     "name": "get p-interface-src from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3324.883331298828,\r
-    "y": 1606.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3203.5,\r
+    "y": 1177,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "79a28b11.e62b74",\r
-        "940be839.4c9f2",\r
-        "a420af0c.05d778"\r
+        "4d8d5caa.cdd3ac",\r
+        "f63967f8.5c1d2",\r
+        "f4c1be52.25da4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9190bf27.d61b08",\r
+    "id": "1abb3e71.7e1362",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3325.883331298828,\r
-    "y": 1276.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3192.5,\r
+    "y": 1027,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d3643022.187b08",\r
-        "f8e2bf22.0eeef"\r
+        "252648ef.3d7f4",\r
+        "296ca11d.a31fd6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f8e2bf22.0eeef",\r
+    "id": "296ca11d.a31fd6",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3548.883331298828,\r
-    "y": 1262.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3415.5,\r
+    "y": 1013,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "624eaece.91144"\r
+        "2479711d.5bdd66"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d3643022.187b08",\r
+    "id": "252648ef.3d7f4",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3550.883331298828,\r
-    "y": 1295.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3417.5,\r
+    "y": 1046,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c2708361.dc58a8"\r
+        "90f53fd9.1cbe8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4a634c2c.1a75ec",\r
+    "id": "6c40f2a8.47da04",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3754.549835205078,\r
-    "y": 1578.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3633.16650390625,\r
+    "y": 1149,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a3465897.dfb6c",\r
-        "6701a8e7.d232d8"\r
+        "1415c282.916e3d",\r
+        "2cb5ed40.b34f42"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "87a8481c.69d658",\r
+    "id": "cba887b8.3ba25",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3744.9457092285156,\r
-    "y": 1625.7431030273438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3623.5623779296875,\r
+    "y": 1195.8597717285156,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2583b063.d99b38",\r
+    "id": "43b1688f.a5b798",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3748.883331298828,\r
-    "y": 1669.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3627.5,\r
+    "y": 1240,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a3465897.dfb6c",\r
+    "id": "1415c282.916e3d",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4018.883331298828,\r
-    "y": 1562.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3897.5,\r
+    "y": 1200,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "345ba8bf.bbff3",\r
-        "cd05726a.f82838"\r
+        "3e280d70.843922",\r
+        "95fc8503.11868"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cd05726a.f82838",\r
+    "id": "95fc8503.11868",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4241.883331298828,\r
-    "y": 1517.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4073.5,\r
+    "y": 1250,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2d1297aa.955328"\r
+        "dc902b38.0c7748"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "345ba8bf.bbff3",\r
+    "id": "3e280d70.843922",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4243.883331298828,\r
-    "y": 1581.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4075.5,\r
+    "y": 1314,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c1965743.4c3d48"\r
+        "23310562.1afb82"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c1965743.4c3d48",\r
+    "id": "23310562.1afb82",\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": 4405.883331298828,\r
-    "y": 1577.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4237.5,\r
+    "y": 1310,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2d1297aa.955328",\r
+    "id": "dc902b38.0c7748",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4406.883331298828,\r
-    "y": 1514.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4238.5,\r
+    "y": 1247,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2cdfacb5.3a35a4",\r
-        "3e9d9121.36c9d6"\r
+        "cee16453.63cf3",\r
+        "84ccdaef.588b08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8deb3478.19bbc8",\r
-    "type": "save",\r
-    "name": "save connectivity resource in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4020.883331298828,\r
-    "y": 1721.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "97704f04.65be9",\r
-    "type": "execute",\r
-    "name": "execute UUID generator for connectivity domainA",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4065.883331298828,\r
-    "y": 1631.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "d3e16022.86087",\r
-    "type": "save",\r
-    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4148.883331298828,\r
-    "y": 1769.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "c2708361.dc58a8",\r
+    "id": "90f53fd9.1cbe8",\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": 3693.883331298828,\r
-    "y": 1292.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3560.5,\r
+    "y": 1043,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "624eaece.91144",\r
+    "id": "2479711d.5bdd66",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3696.883331298828,\r
-    "y": 1255.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3563.5,\r
+    "y": 1006,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "72c971d0.4048b8",\r
-        "afa94a20.a982b"\r
+        "e0731aec.1d3d18",\r
+        "ff49f858.b54118"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "72c971d0.4048b8",\r
+    "id": "e0731aec.1d3d18",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3870.883331298828,\r
-    "y": 1211.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3737.5,\r
+    "y": 962,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6701a8e7.d232d8",\r
+    "id": "2cb5ed40.b34f42",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3972.883331298828,\r
-    "y": 1846.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3609.5,\r
+    "y": 1331,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "db5b6ad5.7610d"\r
+        "f5d98ba7.1e5cb8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db5b6ad5.7610d",\r
+    "id": "f5d98ba7.1e5cb8",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4178.883331298828,\r
-    "y": 1846.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3890.5,\r
+    "y": 1326,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "91f60d7.c7d4bf"\r
+        "287b5bf8.99c79c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "91f60d7.c7d4bf",\r
+    "id": "287b5bf8.99c79c",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4394.168975830078,\r
-    "y": 1846.7051086425781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4201.78564453125,\r
+    "y": 1400.82177734375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f6e4c256.99ed68"\r
+        "70c360c1.95da08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "afa94a20.a982b",\r
+    "id": "ff49f858.b54118",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3885.883331298828,\r
-    "y": 1322.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3752.5,\r
+    "y": 1073,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1979ced2.4d0299",\r
-        "9890a5f2.a73b18",\r
-        "d6c935ad.2c18"\r
+        "dadb26c7.629ca8",\r
+        "f63867c7.23e9a8",\r
+        "b7f169a7.e4cea8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1979ced2.4d0299",\r
+    "id": "dadb26c7.629ca8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4081.3834533691406,\r
-    "y": 1274.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3948.0001220703125,\r
+    "y": 1025,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d4f7d32a.177f28"\r
+        "56281278.4a732c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9890a5f2.a73b18",\r
+    "id": "f63867c7.23e9a8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4073.3834533691406,\r
-    "y": 1329.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3940.0001220703125,\r
+    "y": 1080,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4c3f3b2.6283544"\r
+        "d5d18730.ffaa"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d6c935ad.2c18",\r
+    "id": "b7f169a7.e4cea8",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4078.3834533691406,\r
-    "y": 1386.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3945.0001220703125,\r
+    "y": 1137,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "13564645.a1e6da"\r
+        "5b7993c9.ffe6c4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "13564645.a1e6da",\r
+    "id": "5b7993c9.ffe6c4",\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": 4230.383453369141,\r
-    "y": 1387.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4097.0001220703125,\r
+    "y": 1138,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4c3f3b2.6283544",\r
+    "id": "d5d18730.ffaa",\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": 4241.383453369141,\r
-    "y": 1332.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4108.0001220703125,\r
+    "y": 1083,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d4f7d32a.177f28",\r
+    "id": "56281278.4a732c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4225.765777587891,\r
-    "y": 1272.5390014648438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4092.3824462890625,\r
+    "y": 1022.6556701660156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "755f8d33.dd06bc"\r
+        "98511029.380fd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "755f8d33.dd06bc",\r
+    "id": "98511029.380fd",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4409.883331298828,\r
-    "y": 1286.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4315.500244140625,\r
+    "y": 1161,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "910fe315.8317e8"\r
+        "1e482e0.3b3ba52"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3e9d9121.36c9d6",\r
+    "id": "84ccdaef.588b08",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4576.883331298828,\r
-    "y": 1472.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4408.5,\r
+    "y": 1205,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2cdfacb5.3a35a4",\r
+    "id": "cee16453.63cf3",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4577.883331298828,\r
-    "y": 1580.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4409.5,\r
+    "y": 1313,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "80df0a60.dec0f8",\r
+    "id": "d2b67ee9.016d4",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4578.883331298828,\r
-    "y": 1529.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4410.5,\r
+    "y": 1262,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f6e4c256.99ed68",\r
+    "id": "70c360c1.95da08",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4601.000518798828,\r
-    "y": 1847.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4408.6171875,\r
+    "y": 1401.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a4a05745.968c7",\r
-        "d1e00a0e.d2e56",\r
-        "d1a2356d.4786a8"\r
+        "8b810a1.45408f8",\r
+        "389752e1.54c2be",\r
+        "e0be029e.19d278"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a4a05745.968c7",\r
+    "id": "8b810a1.45408f8",\r
     "type": "set",\r
     "name": "set source ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4816.000518798828,\r
-    "y": 1809.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4623.6171875,\r
+    "y": 1363.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d1e00a0e.d2e56",\r
+    "id": "389752e1.54c2be",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4813.000518798828,\r
-    "y": 1848.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4620.6171875,\r
+    "y": 1402.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "17a4f2c1.f6b375"\r
+        "38942ae1.d34c76"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d1a2356d.4786a8",\r
+    "id": "e0be029e.19d278",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4768.500518798828,\r
-    "y": 1890.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4576.1171875,\r
+    "y": 1444.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "17a4f2c1.f6b375",\r
+    "id": "38942ae1.d34c76",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4993.500518798828,\r
-    "y": 1847.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4801.1171875,\r
+    "y": 1401.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ba138e8e.753b68"\r
+        "418b10aa.3bf41"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8d6faffb.891c08",\r
+    "id": "28737ab1.66c06e",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4807.883331298828,\r
-    "y": 1290.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4713.500244140625,\r
+    "y": 1165,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "17552ef5.2956f9"\r
+        "813fb276.a89d38"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "17552ef5.2956f9",\r
+    "id": "813fb276.a89d38",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4984.883331298828,\r
-    "y": 1282.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4890.500244140625,\r
+    "y": 1157,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "55d02530.edc7ec",\r
-        "14cede7e.dd48aa"\r
+        "5ba45898.1ae6d8",\r
+        "82500988.df7418"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "910fe315.8317e8",\r
+    "id": "1e482e0.3b3ba52",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4604.883331298828,\r
-    "y": 1286.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4510.500244140625,\r
+    "y": 1161,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "8d6faffb.891c08",\r
-        "fe294daa.41d368"\r
+        "28737ab1.66c06e",\r
+        "431c2963.374ce8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fe294daa.41d368",\r
+    "id": "431c2963.374ce8",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4810.883331298828,\r
-    "y": 1364.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4579.500244140625,\r
+    "y": 1235,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d9a2dd9b.e37c68"\r
+        "d3fb7afe.dba838"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d9a2dd9b.e37c68",\r
+    "id": "d3fb7afe.dba838",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4987.883331298828,\r
-    "y": 1356.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4775.500244140625,\r
+    "y": 1235,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "7ccc9bf1.00634c"\r
+        "40663368.ea789c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ba138e8e.753b68",\r
+    "id": "418b10aa.3bf41",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5151.500518798828,\r
-    "y": 1847.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4959.1171875,\r
+    "y": 1401.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "949f2da8.99048"\r
+        "ec468881.ecbf18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "949f2da8.99048",\r
+    "id": "ec468881.ecbf18",\r
     "type": "set",\r
     "name": "set source tunnel tp ip",\r
     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5358.500518798828,\r
-    "y": 1847.2236633300781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5166.1171875,\r
+    "y": 1401.34033203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "14cede7e.dd48aa",\r
+    "id": "82500988.df7418",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5192.883331298828,\r
-    "y": 1289.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5115.500244140625,\r
+    "y": 1153,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b2a3145.b7edbe8",\r
-        "e74729d.3422f58",\r
-        "409c0b0b.c89e64"\r
+        "9dd65188.ffecf",\r
+        "e0664fc.7b8393",\r
+        "b7a2fd6c.7b7688"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "55d02530.edc7ec",\r
+    "id": "5ba45898.1ae6d8",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainA id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5222.883331298828,\r
-    "y": 1237.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5145.500244140625,\r
+    "y": 1101,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b2a3145.b7edbe8",\r
+    "id": "9dd65188.ffecf",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5402.883331298828,\r
-    "y": 1280.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5325.500244140625,\r
+    "y": 1144,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4b8f6adb.6d0404"\r
+        "2d529b4.18963e4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e74729d.3422f58",\r
+    "id": "e0664fc.7b8393",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5394.883331298828,\r
-    "y": 1335.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5317.500244140625,\r
+    "y": 1199,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "19136c8e.dcdfbb"\r
+        "3aa5c8f4.350c08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "409c0b0b.c89e64",\r
+    "id": "b7a2fd6c.7b7688",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5399.883331298828,\r
-    "y": 1392.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5322.500244140625,\r
+    "y": 1256,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e2070656.8dd03"\r
+        "2908da09.77d2fe"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e2070656.8dd03",\r
+    "id": "2908da09.77d2fe",\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": 5551.883331298828,\r
-    "y": 1393.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5474.500244140625,\r
+    "y": 1257,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "19136c8e.dcdfbb",\r
+    "id": "3aa5c8f4.350c08",\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": 5562.883331298828,\r
-    "y": 1338.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5485.500244140625,\r
+    "y": 1202,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b8f6adb.6d0404",\r
+    "id": "2d529b4.18963e4",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5547.265655517578,\r
-    "y": 1278.5390014648438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5469.882568359375,\r
+    "y": 1141.6556701660156,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c2a5af15.443d8"\r
+        "e508aa99.ed11b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7ccc9bf1.00634c",\r
+    "id": "40663368.ea789c",\r
     "type": "set",\r
     "name": "set domainA ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5222.883331298828,\r
-    "y": 1480.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5038.500244140625,\r
+    "y": 1238,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c2a5af15.443d8",\r
+    "id": "e508aa99.ed11b8",\r
     "type": "set",\r
     "name": "set controller domainA data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5761.883331298828,\r
-    "y": 1274.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5656.500244140625,\r
+    "y": 1138,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4eba14c8.80a994",\r
+    "id": "e66147a6.9621b",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4345.883331298828,\r
-    "y": 928.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4297.49951171875,\r
+    "y": 373,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "620253a.9c2552c",\r
+    "id": "7411318a.e1b958",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4336.883331298828,\r
-    "y": 1026.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4288.49951171875,\r
+    "y": 471,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9c76efc2.c7f458",\r
+    "id": "62760f41.c93a2",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4170.883331298828,\r
-    "y": 934.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4122.49951171875,\r
+    "y": 379,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a64deb38.79c21",\r
-        "4eba14c8.80a994"\r
+        "92f3b868.34ce6",\r
+        "e66147a6.9621b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "36b200ce.3626f",\r
+    "id": "273e3fee.2bc13",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4176.883331298828,\r
-    "y": 998.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4128.49951171875,\r
+    "y": 443,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d00069b9.08211",\r
-        "620253a.9c2552c"\r
+        "b6002239.68b828",\r
+        "7411318a.e1b958"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f7a8d104.b779c8",\r
+    "id": "244a1c4c.c64574",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4176.883331298828,\r
-    "y": 1104.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4142.499267578125,\r
+    "y": 607,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e2a3248.b77d4d8",\r
-        "bcbbe769.3c0e1"\r
+        "55137534.cd97cc",\r
+        "94e7efd7.f5ec88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2781339a.2c9d8c",\r
+    "id": "f48105e4.f03428",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4179.883331298828,\r
-    "y": 1157.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4145.499267578125,\r
+    "y": 660,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "69fc971e.d1c948",\r
-        "6070cd17.b28d74"\r
+        "ba173e3c.d3cf48",\r
+        "9c20a9f9.7c2ff"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bcbbe769.3c0e1",\r
+    "id": "94e7efd7.f5ec88",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4336.883331298828,\r
-    "y": 1117.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4364.499267578125,\r
+    "y": 674,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6070cd17.b28d74",\r
+    "id": "9c20a9f9.7c2ff",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4339.883331298828,\r
-    "y": 1208.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4367.499267578125,\r
+    "y": 765,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ef6aaa0a.46635",\r
+    "id": "124feda4.be759a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3711.883331298828,\r
-    "y": 2418.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3523.5,\r
+    "y": 1711,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a10bbf1c.524bd",\r
-        "27427337.3be9a4"\r
+        "e1f69d4c.5b8868",\r
+        "d4ae5d82.aab8b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a6501243.d121f",\r
+    "id": "7a356795.78dec",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3539.216827392578,\r
-    "y": 2419.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3350.83349609375,\r
+    "y": 1712,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ef6aaa0a.46635"\r
+        "124feda4.be759a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aaec6d99.4c304",\r
+    "id": "c62c11ee.d3432",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3548.707794189453,\r
-    "y": 2462.4573669433594,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3360.324462890625,\r
+    "y": 1754.5740356445312,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "47f8697d.df9998"\r
+        "4d29ec31.00d144"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e6e0568a.7d4f68",\r
+    "id": "fa667208.2a7ec",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3537.216827392578,\r
-    "y": 2508.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3348.83349609375,\r
+    "y": 1801,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2963b336.e3bc8c"\r
+        "577a09e9.8378d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "47f8697d.df9998",\r
+    "id": "4d29ec31.00d144",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3702.2792053222656,\r
-    "y": 2465.7431030273438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3513.8958740234375,\r
+    "y": 1757.8597717285156,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2963b336.e3bc8c",\r
+    "id": "577a09e9.8378d8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3706.216827392578,\r
-    "y": 2509.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3517.83349609375,\r
+    "y": 1802,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a10bbf1c.524bd",\r
+    "id": "e1f69d4c.5b8868",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3998.216827392578,\r
-    "y": 2422.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3809.83349609375,\r
+    "y": 1715.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b2433bfc.a285b",\r
-        "e32efd70.259f3"\r
+        "67e03e9f.e657f8",\r
+        "8f6dd9a8.907078"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e32efd70.259f3",\r
+    "id": "8f6dd9a8.907078",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4221.216827392578,\r
-    "y": 2377.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4032.83349609375,\r
+    "y": 1670.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e33d7c06.1215a"\r
+        "9d5c402b.afbc18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b2433bfc.a285b",\r
+    "id": "67e03e9f.e657f8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4223.216827392578,\r
-    "y": 2441.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4034.83349609375,\r
+    "y": 1734.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "96c9f851.720ff"\r
+        "b1dc0c2e.2db02"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "96c9f851.720ff",\r
+    "id": "b1dc0c2e.2db02",\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": 4382.216827392578,\r
-    "y": 2460.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4193.83349609375,\r
+    "y": 1753.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e33d7c06.1215a",\r
+    "id": "9d5c402b.afbc18",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4386.216827392578,\r
-    "y": 2374.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4197.83349609375,\r
+    "y": 1667.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "64140131.87f6a",\r
-        "d9669ac1.5a2d68"\r
+        "eb823b6e.5b1b68",\r
+        "d1229eee.7607f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e5d24864.c4d21",\r
-    "type": "save",\r
-    "name": "save connectivity resource in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4000.216827392578,\r
-    "y": 2581.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "f6b5343f.392d9",\r
-    "type": "execute",\r
-    "name": "execute UUID generator for connectivity domainB",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4045.216827392578,\r
-    "y": 2491.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "cfe86ca7.011b18",\r
-    "type": "save",\r
-    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 4127.216827392578,\r
-    "y": 2646.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "f7e98987.293918",\r
+    "id": "ec67f0f.b56539",\r
     "type": "save",\r
     "name": "get p-interface-dst from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3311.216827392578,\r
-    "y": 2454.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3122.83349609375,\r
+    "y": 1747,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a6501243.d121f",\r
-        "aaec6d99.4c304",\r
-        "e6e0568a.7d4f68"\r
+        "7a356795.78dec",\r
+        "c62c11ee.d3432",\r
+        "fa667208.2a7ec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d0c5015f.630ad",\r
+    "id": "ef79491a.ef1ed",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3272.216827392578,\r
-    "y": 2398.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3083.83349609375,\r
+    "y": 1691,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1ebd0160.929687",\r
+    "id": "363ba934.edbd4e",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3329.216827392578,\r
-    "y": 2117.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3135.83349609375,\r
+    "y": 1493,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "28ff08ce.889b38",\r
-        "1b36a02a.8e3468"\r
+        "fab0a5fc.8009e8",\r
+        "1a41312c.3b3677"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1b36a02a.8e3468",\r
+    "id": "1a41312c.3b3677",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3552.216827392578,\r
-    "y": 2103.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3358.83349609375,\r
+    "y": 1479,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "314f424e.949456"\r
+        "41d39e09.02c3d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "28ff08ce.889b38",\r
+    "id": "fab0a5fc.8009e8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3554.216827392578,\r
-    "y": 2136.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3360.83349609375,\r
+    "y": 1512,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c351a018.b67f98"\r
+        "31a06a0b.93432e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c351a018.b67f98",\r
+    "id": "31a06a0b.93432e",\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": 3697.216827392578,\r
-    "y": 2133.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3503.83349609375,\r
+    "y": 1509,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "314f424e.949456",\r
+    "id": "41d39e09.02c3d8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3700.216827392578,\r
-    "y": 2096.8832092285156,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3506.83349609375,\r
+    "y": 1472,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "8065ca34.19e0e",\r
-        "27c4c436.c4a394"\r
+        "12fe71d9.7bf9be",\r
+        "c47ac813.f199b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8065ca34.19e0e",\r
+    "id": "12fe71d9.7bf9be",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3894.216827392578,\r
-    "y": 2099.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3700.83349609375,\r
+    "y": 1475.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "27427337.3be9a4",\r
+    "id": "d4ae5d82.aab8b",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3957.216827392578,\r
-    "y": 2731.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3753.83349609375,\r
+    "y": 1834,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b95f783a.80c45"\r
+        "7b8dd371.aa4964"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b95f783a.80c45",\r
+    "id": "7b8dd371.aa4964",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4163.216827392578,\r
-    "y": 2731.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3959.83349609375,\r
+    "y": 1834,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "fdd7c5c3.71bfe8"\r
+        "e78bd2af.32742"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fdd7c5c3.71bfe8",\r
+    "id": "e78bd2af.32742",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4380.502471923828,\r
-    "y": 2730.705108642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4177.119140625,\r
+    "y": 1832.82177734375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "240f5a27.c1a7a6"\r
+        "231ad36e.3e7974"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "27c4c436.c4a394",\r
+    "id": "c47ac813.f199b8",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3916.216827392578,\r
-    "y": 2167.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3722.83349609375,\r
+    "y": 1543.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "47b31581.268b0c",\r
-        "43867bdb.1b0d54",\r
-        "bbdefe01.0e663"\r
+        "14953bcb.0f686c",\r
+        "5a2f3f75.0fbf6",\r
+        "61553bc7.07748c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "47b31581.268b0c",\r
+    "id": "14953bcb.0f686c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4111.716949462891,\r
-    "y": 2119.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3918.3336181640625,\r
+    "y": 1495.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "bdcfd968.805c18"\r
+        "e9311021.d720e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "43867bdb.1b0d54",\r
+    "id": "5a2f3f75.0fbf6",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4103.716949462891,\r
-    "y": 2174.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3910.3336181640625,\r
+    "y": 1550.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a95a4d5b.d3114"\r
+        "4fbd5f1f.bd6168"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bbdefe01.0e663",\r
+    "id": "61553bc7.07748c",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4108.716949462891,\r
-    "y": 2231.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3915.3336181640625,\r
+    "y": 1607.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "64398d6f.e5c684"\r
+        "ccee2aed.1d2c48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "64398d6f.e5c684",\r
+    "id": "ccee2aed.1d2c48",\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": 4260.716949462891,\r
-    "y": 2232.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4067.3336181640625,\r
+    "y": 1608.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a95a4d5b.d3114",\r
+    "id": "4fbd5f1f.bd6168",\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": 4271.716949462891,\r
-    "y": 2177.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4078.3336181640625,\r
+    "y": 1553.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bdcfd968.805c18",\r
+    "id": "e9311021.d720e8",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4256.099273681641,\r
-    "y": 2117.5390014648438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4062.7159423828125,\r
+    "y": 1492.6557922363281,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6d52f6e9.bcbf28"\r
+        "12595c91.b718eb"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "64140131.87f6a",\r
+    "id": "eb823b6e.5b1b68",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4556.216827392578,\r
-    "y": 2335.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4367.83349609375,\r
+    "y": 1628.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d9669ac1.5a2d68",\r
+    "id": "d1229eee.7607f",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4557.216827392578,\r
-    "y": 2440.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4368.83349609375,\r
+    "y": 1733.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9ddf3bf9.57ff3",\r
+    "id": "8d0a9501.e59f28",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4552.216827392578,\r
-    "y": 2389.8834533691406,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4363.83349609375,\r
+    "y": 1682.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "240f5a27.c1a7a6",\r
+    "id": "231ad36e.3e7974",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4587.334014892578,\r
-    "y": 2720.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4383.95068359375,\r
+    "y": 1822.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "801a071e.c98f98",\r
-        "45d249d1.4a712",\r
-        "37813776.11957"\r
+        "16f2e433.3291b4",\r
+        "80f33246.16c218",\r
+        "51170c35.40a6bc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "801a071e.c98f98",\r
+    "id": "16f2e433.3291b4",\r
     "type": "set",\r
     "name": "set destination ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4802.334014892578,\r
-    "y": 2682.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4598.95068359375,\r
+    "y": 1784.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "45d249d1.4a712",\r
+    "id": "80f33246.16c218",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4799.334014892578,\r
-    "y": 2721.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4595.95068359375,\r
+    "y": 1823.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d7c43050.0743b"\r
+        "ec1220f2.c0002"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "37813776.11957",\r
+    "id": "51170c35.40a6bc",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4754.834014892578,\r
-    "y": 2763.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4551.45068359375,\r
+    "y": 1865.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d7c43050.0743b",\r
+    "id": "ec1220f2.c0002",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4979.834014892578,\r
-    "y": 2720.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4776.45068359375,\r
+    "y": 1822.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "161c6e5f.bccb42"\r
+        "757e93f0.7ee45c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "161c6e5f.bccb42",\r
+    "id": "757e93f0.7ee45c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5137.834014892578,\r
-    "y": 2720.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4934.45068359375,\r
+    "y": 1822.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "268de5ce.943522"\r
+        "c7244ae.af2a238"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "268de5ce.943522",\r
+    "id": "c7244ae.af2a238",\r
     "type": "set",\r
     "name": "set destination tunnel tp ip",\r
     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5344.834014892578,\r
-    "y": 2720.2237854003906,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5141.45068359375,\r
+    "y": 1822.3404541015625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5dd066fb.8bb21",\r
+    "id": "7e549eab.8dbb18",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4838.216827392578,\r
-    "y": 2135.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4644.83349609375,\r
+    "y": 1511.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4dd18012.7f83e"\r
+        "1d3b129c.b2a675"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4dd18012.7f83e",\r
+    "id": "1d3b129c.b2a675",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5015.216827392578,\r
-    "y": 2127.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4821.83349609375,\r
+    "y": 1503.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cb357072.40504",\r
-        "41f4620d.06ac64"\r
+        "b6b58a8c.8e7ea8",\r
+        "dc3d97ac.463e28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6d52f6e9.bcbf28",\r
+    "id": "12595c91.b718eb",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4440.216827392578,\r
-    "y": 2131.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4246.83349609375,\r
+    "y": 1507.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1558a590.3c3faa"\r
+        "a772c4a4.38145"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1558a590.3c3faa",\r
+    "id": "a772c4a4.38145",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4635.216827392578,\r
-    "y": 2131.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4441.83349609375,\r
+    "y": 1507.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5dd066fb.8bb21",\r
-        "a026e3da.a47c68"\r
+        "7e549eab.8dbb18",\r
+        "aea7a178.f6fc4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "41f4620d.06ac64",\r
+    "id": "dc3d97ac.463e28",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5223.216827392578,\r
-    "y": 2134.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5029.83349609375,\r
+    "y": 1510.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "304be603.33560a",\r
-        "7b7d3ebe.8d439",\r
-        "4d809924.5591a8"\r
+        "3bf3e082.eea5e8",\r
+        "58cb7d25.d2da94",\r
+        "d2f7fa01.93a528"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e13819fd.c513e8",\r
+    "id": "a307fd53.34615",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5017.216827392578,\r
-    "y": 2200.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4823.83349609375,\r
+    "y": 1576.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b46e83ff.b91008"\r
+        "ca73ba2d.29c1c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a026e3da.a47c68",\r
+    "id": "aea7a178.f6fc4",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4840.216827392578,\r
-    "y": 2208.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4646.83349609375,\r
+    "y": 1584.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e13819fd.c513e8"\r
+        "a307fd53.34615"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cb357072.40504",\r
+    "id": "b6b58a8c.8e7ea8",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainB id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5253.216827392578,\r
-    "y": 2082.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5059.83349609375,\r
+    "y": 1458.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b46e83ff.b91008",\r
+    "id": "ca73ba2d.29c1c8",\r
     "type": "set",\r
     "name": "set domainB ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5252.216827392578,\r
-    "y": 2324.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5005.83349609375,\r
+    "y": 1640.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "304be603.33560a",\r
+    "id": "3bf3e082.eea5e8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5433.216827392578,\r
-    "y": 2125.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5239.83349609375,\r
+    "y": 1501.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d9386700.ef3558"\r
+        "36f4f947.29aeae"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7b7d3ebe.8d439",\r
+    "id": "58cb7d25.d2da94",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5425.216827392578,\r
-    "y": 2180.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5231.83349609375,\r
+    "y": 1556.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b1a122b9.2b3df"\r
+        "b7803a75.d7ec1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4d809924.5591a8",\r
+    "id": "d2f7fa01.93a528",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5430.216827392578,\r
-    "y": 2237.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5236.83349609375,\r
+    "y": 1613.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "7206a51a.368f14"\r
+        "8d6cbae8.86128"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7206a51a.368f14",\r
+    "id": "8d6cbae8.86128",\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": 5582.216827392578,\r
-    "y": 2238.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5388.83349609375,\r
+    "y": 1614.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b1a122b9.2b3df",\r
+    "id": "b7803a75.d7ec1",\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": 5593.216827392578,\r
-    "y": 2183.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5399.83349609375,\r
+    "y": 1559.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d9386700.ef3558",\r
+    "id": "36f4f947.29aeae",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5577.599151611328,\r
-    "y": 2123.5390014648438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5384.2158203125,\r
+    "y": 1498.6557922363281,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c475367c.4940f8"\r
+        "b6324aba.def4e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c475367c.4940f8",\r
+    "id": "b6324aba.def4e",\r
     "type": "set",\r
     "name": "set controller domainB data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5792.216827392578,\r
-    "y": 2119.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5598.83349609375,\r
+    "y": 1495.0001220703125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6b01ec04.e8e8dc",\r
+    "id": "631e76e1.71afc",\r
     "type": "set",\r
     "name": "set LEAF stuff",\r
     "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3290.883331298828,\r
-    "y": 1729.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3187.5,\r
+    "y": 1317,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6404a595.2767cc",\r
+    "id": "d1d7f338.2c48e",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4512.883331298828,\r
-    "y": 1012.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4464.49951171875,\r
+    "y": 457,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fdf288f5.399238",\r
+    "id": "df68ae5a.c6abe",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4504.883331298828,\r
-    "y": 1102.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4532.499267578125,\r
+    "y": 659,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ce90c6ec.193398",\r
+    "id": "b17f4ff2.75d93",\r
     "type": "set",\r
     "name": "set ROOT stuff",\r
     "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3271.883331298828,\r
-    "y": 2585.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3083.5,\r
+    "y": 1878,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "323cec2c.88d45c",\r
+    "id": "8048035e.723ef",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3422.883331298828,\r
-    "y": 2833.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3345.5,\r
+    "y": 2791,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "fba2883c.72d2",\r
+    "id": "d590aba5.94aa48",\r
     "type": "switchNode",\r
     "name": "switch found-middle-man?",\r
     "xml": "<switch test='`$found-middle-man`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3299.883331298828,\r
-    "y": 2943.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3222.5,\r
+    "y": 2901,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b06a53c9.6a23c",\r
-        "52a66ca0.57e87c"\r
+        "507ab41.362cbcc",\r
+        "63f9a6e5.2f9178"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b06a53c9.6a23c",\r
+    "id": "507ab41.362cbcc",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3483.883331298828,\r
-    "y": 2922.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3406.5,\r
+    "y": 2880,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d4c9f2dc.11912"\r
+        "28f5fd24.d628ea"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "52a66ca0.57e87c",\r
+    "id": "63f9a6e5.2f9178",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3019.883331298828,\r
-    "y": 4508.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2942.5,\r
+    "y": 4466,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "7ebd19ad.940af8"\r
+        "db2110db.2b1778"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d74b6b50.22dd88",\r
+    "id": "9f11b3.a8080e5",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3530.883331298828,\r
-    "y": 5093.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3453.5,\r
+    "y": 5051,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b3935092.c652b8",\r
-        "28b03e50.9f7992",\r
-        "980b4828.96504",\r
-        "17af28da.ceda4f",\r
-        "2c43e5ee.399d8a"\r
+        "40ac4d15.a539ec",\r
+        "577ac65e.4cd8e8",\r
+        "c33c721b.c24a68",\r
+        "e8ff43f0.c9213",\r
+        "c23415ae.23176",\r
+        "b27458da.77b73"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d4c9f2dc.11912",\r
+    "id": "28f5fd24.d628ea",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6602.883331298828,\r
-    "y": 2952.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6119.5,\r
+    "y": 1700,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1d7e1faa.548828",\r
-        "85f258da.5f0598",\r
-        "4b074654.080e5",\r
-        "5d8ffada.d10fc4",\r
-        "ea403b0c.aaf7e",\r
-        "1235d80a.544f18",\r
-        "af33968a.8315c",\r
-        "9cfe0ae9.258d58",\r
-        "65dbbd5b.a49b4c",\r
-        "1d15547d.10576c",\r
-        "89a6c1ea.eb5688",\r
-        "2f9ad2ef.1013a6",\r
-        "a5dc8f9.8a79df",\r
-        "e38bf422.7c8768",\r
-        "43d0f5c9.60220c",\r
-        "2b09e0eb.8326d",\r
-        "1698c025.c5ee78",\r
-        "1d008796.234d18",\r
-        "76e889a9.7e8db8"\r
+        "4783da3c.fb84a4",\r
+        "bb88421.9f996c",\r
+        "55b1d688.471dd",\r
+        "31123019.0abe4",\r
+        "1759beb1.f3c1d1",\r
+        "98f705b0.6bc73",\r
+        "b6e856a5.c69918",\r
+        "277a36b1.830aba",\r
+        "f9e2137d.7a2d78",\r
+        "3298314.8dc664e",\r
+        "cfdca91b.21bde",\r
+        "a46de057.2f2f3",\r
+        "2c505364.e529bc",\r
+        "5713069a.52e6e",\r
+        "736cdf51.8421c8",\r
+        "a19bdc2c.350be8",\r
+        "829d6c73.aa7da8",\r
+        "57d8804.ea8d28",\r
+        "39b6682a.960bc",\r
+        "858f96c1.79cbc",\r
+        "1b0442b9.4b628d",\r
+        "c1546bd.e66d418"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "65dbbd5b.a49b4c",\r
+    "id": "f9e2137d.7a2d78",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainB",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6913.883331298828,\r
-    "y": 3307.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6490.5,\r
+    "y": 1623,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1d7e1faa.548828",\r
+    "id": "4783da3c.fb84a4",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6867.883331298828,\r
-    "y": 3405.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6444.5,\r
+    "y": 1721,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "85f258da.5f0598",\r
+    "id": "bb88421.9f996c",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7003.883331298828,\r
-    "y": 3452.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6580.5,\r
+    "y": 1768,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7c12d148.f08d78",\r
+    "id": "a3afcd58.883878",\r
     "type": "comment",\r
     "name": "Create ROOT connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6834.883331298828,\r
-    "y": 3256.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6411.5,\r
+    "y": 1572,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8342cd90.5a2f6",\r
+    "id": "47893e3d.7abf68",\r
     "type": "comment",\r
     "name": "create middle man connectivity and ...",\r
     "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
     "comments": "",\r
-    "x": 7360.883331298828,\r
-    "y": 3747.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6907.5,\r
+    "y": 2308,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b074654.080e5",\r
+    "id": "55b1d688.471dd",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity middle-man",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6924.883331298828,\r
-    "y": 3786.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6471.5,\r
+    "y": 2347,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5d8ffada.d10fc4",\r
+    "id": "31123019.0abe4",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6872.883331298828,\r
-    "y": 3837.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6419.5,\r
+    "y": 2398,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ea403b0c.aaf7e",\r
+    "id": "1759beb1.f3c1d1",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7008.883331298828,\r
-    "y": 3884.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6555.5,\r
+    "y": 2445,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "18aaa2dc.b37a3d",\r
+    "id": "71216be9.ff79f4",\r
     "type": "comment",\r
     "name": "Create MIDDLE-MAN connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6865.883331298828,\r
-    "y": 3746.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6412.5,\r
+    "y": 2307,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b8a58f62.fd6f68",\r
+    "id": "3446875.4213df8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7295.883331298828,\r
-    "y": 3943.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6842.5,\r
+    "y": 2504,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1235d80a.544f18",\r
+    "id": "98f705b0.6bc73",\r
     "type": "save",\r
     "name": "get middle-man connectivity from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6886.883331298828,\r
-    "y": 3990.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6433.5,\r
+    "y": 2551,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "caaa8d0a.a400c",\r
-        "ba918a95.063018",\r
-        "73076382.d5d394"\r
+        "4cd47e4a.423aa8",\r
+        "dbf8ee5e.1c40a8",\r
+        "e7f2720f.fd9208"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "caaa8d0a.a400c",\r
+    "id": "4cd47e4a.423aa8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7133.883331298828,\r
-    "y": 3944.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6680.5,\r
+    "y": 2505,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b8a58f62.fd6f68"\r
+        "3446875.4213df8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ba918a95.063018",\r
+    "id": "dbf8ee5e.1c40a8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7134.374298095703,\r
-    "y": 3990.4573669433594,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6680.990966796875,\r
+    "y": 2550.5740356445312,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "70335d13.df0d4c"\r
+        "5c2d61a6.b888d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "73076382.d5d394",\r
+    "id": "e7f2720f.fd9208",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7131.883331298828,\r
-    "y": 4033.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6678.5,\r
+    "y": 2594,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3d4cb88b.ddae8"\r
+        "7deb6a39.1c780c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "70335d13.df0d4c",\r
+    "id": "5c2d61a6.b888d8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 7296.945709228516,\r
-    "y": 3990.7431030273438,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6843.5623779296875,\r
+    "y": 2550.8597717285156,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3d4cb88b.ddae8",\r
+    "id": "7deb6a39.1c780c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 7300.883331298828,\r
-    "y": 4034.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6847.5,\r
+    "y": 2595,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "43d0f5c9.60220c",\r
+    "id": "736cdf51.8421c8",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6943.883331298828,\r
-    "y": 4269.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6487.5,\r
+    "y": 2867,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2b09e0eb.8326d",\r
+    "id": "a19bdc2c.350be8",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6946.883331298828,\r
-    "y": 4314.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6490.5,\r
+    "y": 2912,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1d008796.234d18",\r
+    "id": "57d8804.ea8d28",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6935.883331298828,\r
-    "y": 4105.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6482.5,\r
+    "y": 2666,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "76e889a9.7e8db8",\r
+    "id": "39b6682a.960bc",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6937.883331298828,\r
-    "y": 4152.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6484.5,\r
+    "y": 2713,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2304ec84.74d9f4",\r
+    "id": "35de923d.3dc786",\r
     "type": "comment",\r
     "name": "The following two will be done in F1",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6859.883331298828,\r
-    "y": 4222.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6403.5,\r
+    "y": 2820,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "175b5cd1.9f40e3",\r
+    "id": "64b6242c.0fc1a4",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4489.883087158203,\r
-    "y": 5373.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4403.500244140625,\r
+    "y": 5213,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b3935092.c652b8",\r
+    "id": "40ac4d15.a539ec",\r
     "type": "switchNode",\r
     "name": "switch no-pce-call",\r
     "xml": "<switch test='`$no-pce-call`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3745.883331298828,\r
-    "y": 5074.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3668.5,\r
+    "y": 5032,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b8e9bffb.cdc88",\r
-        "256198d1.5f7cf8"\r
+        "243fddd4.c99fc2",\r
+        "ed2a1041.39364"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "256198d1.5f7cf8",\r
+    "id": "ed2a1041.39364",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3917.883331298828,\r
-    "y": 5071.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3840.5,\r
+    "y": 5029,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "30a42efe.828c8a"\r
+        "f749d2c9.24f0b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b8e9bffb.cdc88",\r
+    "id": "243fddd4.c99fc2",\r
     "type": "outcomeFalse",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3869.883331298828,\r
-    "y": 5918.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3792.5,\r
+    "y": 5876,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2ed5b6b9.722642"\r
+        "a2f25d49.46cd88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9dc6e8a7.9c1158",\r
+    "id": "54d55fbb.9ecd9",\r
     "type": "comment",\r
     "name": "1 --> PCE is needed",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3930.883331298828,\r
-    "y": 5041.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3853.5,\r
+    "y": 4999,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e1ff48b3.343b9",\r
+    "id": "2bf8aac8.9b318e",\r
     "type": "comment",\r
     "name": "2 --> no need to call PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3940.883331298828,\r
-    "y": 5876.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3863.5,\r
+    "y": 5834,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "af33968a.8315c",\r
+    "id": "b6e856a5.c69918",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6943.883331298828,\r
-    "y": 4378.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6489.5,\r
+    "y": 3046,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "30a42efe.828c8a",\r
+    "id": "f749d2c9.24f0b",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4093.883331298828,\r
-    "y": 5073.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4016.5,\r
+    "y": 5031,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2892dc09.31fadc",\r
-        "afa31c79.54acd8",\r
-        "e8807ba5.c313d8",\r
-        "f07ffbda.6acb28",\r
-        "78d94074.f38b7",\r
-        "95bef4a8.5a7ff8",\r
-        "175b5cd1.9f40e3"\r
+        "b146a69c.13b518",\r
+        "436ccdfb.1e8f5c",\r
+        "124f51e3.777566",\r
+        "91ebdf82.9979e",\r
+        "3da01b2d.c332ec",\r
+        "59b34ffd.7f824",\r
+        "64b6242c.0fc1a4",\r
+        "cb7342b9.a9c168",\r
+        "7a7c44d8.30aa44"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d52f0d8d.4208d8",\r
+    "id": "f96e508.5132a3",\r
     "type": "comment",\r
     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5537.883087158203,\r
-    "y": 4998.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5460.499755859375,\r
+    "y": 4956,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2892dc09.31fadc",\r
+    "id": "b146a69c.13b518",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4484.883087158203,\r
-    "y": 5676.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4262.500244140625,\r
+    "y": 5712,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "9cfe0ae9.258d58",\r
+    "id": "277a36b1.830aba",\r
     "type": "save",\r
     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6919.883331298828,\r
-    "y": 3646.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "753d3ee1.bef8a",\r
-    "type": "save",\r
-    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3403.883331298828,\r
-    "y": 1835.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "564c1334.4c1554",\r
-    "type": "save",\r
-    "name": "save LEAF UNI in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3310.883331298828,\r
-    "y": 1782.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6496.5,\r
+    "y": 1962,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "514b6193.3ff5b",\r
+    "id": "467249d9.2faa78",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
     "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
     "comments": "",\r
-    "x": 6969.883331298828,\r
-    "y": 3349.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6546.5,\r
+    "y": 1665,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1d15547d.10576c",\r
+    "id": "3298314.8dc664e",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6916.883331298828,\r
-    "y": 2937.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6493.5,\r
+    "y": 1253,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "89a6c1ea.eb5688",\r
+    "id": "cfdca91b.21bde",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6864.883331298828,\r
-    "y": 2985.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6441.5,\r
+    "y": 1301,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2f9ad2ef.1013a6",\r
+    "id": "a46de057.2f2f3",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6992.883331298828,\r
-    "y": 3032.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6569.5,\r
+    "y": 1348,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "baf2c2db.c807d8",\r
+    "id": "f85b4c38.36c218",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6829.883331298828,\r
-    "y": 2895.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6406.5,\r
+    "y": 1211,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a5dc8f9.8a79df",\r
+    "id": "2c505364.e529bc",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6826.883331298828,\r
-    "y": 3123.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6403.5,\r
+    "y": 1439,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e38bf422.7c8768",\r
+    "id": "5713069a.52e6e",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6919.883331298828,\r
-    "y": 3176.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6496.5,\r
+    "y": 1492,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5474c24a.9f6dac",\r
+    "id": "9a759e0c.1860c8",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6810.883331298828,\r
-    "y": 3079.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6387.5,\r
+    "y": 1395,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "63adea28.503954",\r
+    "id": "147d7127.d8042f",\r
     "type": "comment",\r
     "name": "Create ROOT UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6816.883331298828,\r
-    "y": 3529.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6393.5,\r
+    "y": 1845,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f07ffbda.6acb28",\r
+    "id": "91ebdf82.9979e",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4406.883087158203,\r
-    "y": 5006.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4329.499755859375,\r
+    "y": 4964,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5623ebdb.1a4534",\r
+    "id": "148c6264.137e86",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4390.883087158203,\r
-    "y": 4962.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4313.499755859375,\r
+    "y": 4920,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b470452.112d8c",\r
+    "id": "c1a606a9.56c798",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5137.883087158203,\r
-    "y": 4993.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5060.499755859375,\r
+    "y": 4951,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "effc1efd.4a1d3",\r
+    "id": "fd2b62b6.10b14",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5224.883087158203,\r
-    "y": 5035.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5147.499755859375,\r
+    "y": 4993,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5c8eea0c.68cc14",\r
+    "id": "f21eb35f.395438",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5172.883087158203,\r
-    "y": 5083.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5095.499755859375,\r
+    "y": 5041,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e7adda57.489d68",\r
+    "id": "59f69d26.ab3de4",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5300.883087158203,\r
-    "y": 5130.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5223.499755859375,\r
+    "y": 5088,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "95bef4a8.5a7ff8",\r
+    "id": "59b34ffd.7f824",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4477.883087158203,\r
-    "y": 5415.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4391.500244140625,\r
+    "y": 5255,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "63c65355.a8cec4",\r
+    "id": "9d4ad6d0.458de8",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4460.883087158203,\r
-    "y": 5477.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4374.500244140625,\r
+    "y": 5317,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "afa31c79.54acd8",\r
+    "id": "436ccdfb.1e8f5c",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4571.883087158203,\r
-    "y": 5519.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4485.500244140625,\r
+    "y": 5359,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "be0ea96a.8229",\r
+    "id": "3e23ff77.47e2b",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5019.883087158203,\r
-    "y": 5572.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4942.499755859375,\r
+    "y": 5530,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4ebf5b73.f18c34",\r
+    "id": "ff11fb03.980398",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4329.883087158203,\r
-    "y": 6270.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4252.499755859375,\r
+    "y": 6228,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "58b6c88a.c0b81",\r
+    "id": "4e6fe55.c2f201c",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4262.883087158203,\r
-    "y": 6224.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4185.499755859375,\r
+    "y": 6182,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "cd721269.4316d8",\r
+    "id": "79eda8bd.206ac",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4211.883087158203,\r
-    "y": 6175.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4134.499755859375,\r
+    "y": 6133,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "be012245.15127",\r
+    "id": "2a4071b4.a3adee",\r
     "type": "save",\r
     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4994.883331298828,\r
-    "y": 6381.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4917.5,\r
+    "y": 6339,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e8807ba5.c313d8",\r
+    "id": "124f51e3.777566",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4398.883087158203,\r
-    "y": 5576.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4312.500244140625,\r
+    "y": 5416,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "572d7988.ef657",\r
-        "f53c00f0.cf63b8"\r
+        "ce39c047.e7ad38",\r
+        "bd96b648.334cf8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "572d7988.ef657",\r
+    "id": "ce39c047.e7ad38",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4609.883087158203,\r
-    "y": 5576.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4523.500244140625,\r
+    "y": 5416,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a96de56.d3d4f18"\r
+        "acd66ccf.e95b3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a96de56.d3d4f18",\r
+    "id": "acd66ccf.e95b3",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4765.883087158203,\r
-    "y": 5572.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4679.500244140625,\r
+    "y": 5412,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "be0ea96a.8229",\r
-        "d676c28d.645a28",\r
-        "bc2e1526.9ae628"\r
+        "3e23ff77.47e2b",\r
+        "1f30d01.395cc3",\r
+        "58a0b8d5.3916c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f53c00f0.cf63b8",\r
+    "id": "bd96b648.334cf8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4605.883087158203,\r
-    "y": 5624.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4519.500244140625,\r
+    "y": 5464,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d258f77c.8cc748"\r
+        "2c5c5163.2ee716"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d258f77c.8cc748",\r
+    "id": "2c5c5163.2ee716",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 4753.883087158203,\r
-    "y": 5619.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4667.500244140625,\r
+    "y": 5459,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5438b6e6.1482f8",\r
+    "id": "8af1d85e.882ed",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5261.883087158203,\r
-    "y": 5201.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5184.499755859375,\r
+    "y": 5159,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "42097510.f58b64",\r
+    "id": "cf6d7172.69b4b8",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2428.883331298828,\r
-    "y": 160.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2351.5,\r
+    "y": 118,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7a55e6a1.70e4b",\r
+    "id": "326038f4.f291a",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2362.883331298828,\r
-    "y": 196.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2285.5,\r
+    "y": 154,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bf79a82b.b4ff98",\r
+    "id": "2bce3640.48de4a",\r
     "type": "comment",\r
     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2547.883331298828,\r
-    "y": 123.88333129882812,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2470.5,\r
+    "y": 81,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7675dfe3.26b5f8",\r
+    "id": "7170f2f2.71fadc",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 4296.883087158203,\r
-    "y": 6336.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4219.499755859375,\r
+    "y": 6294,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ce5c7ab5.bd83c8",\r
+    "id": "2402858c.2e7c4a",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4429.883087158203,\r
-    "y": 6384.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4352.499755859375,\r
+    "y": 6342,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "60efc6f5.6c666",\r
+    "id": "2fcf2035.98d3c",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4248.883087158203,\r
-    "y": 6442.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4171.499755859375,\r
+    "y": 6400,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f080a66c.4f7ec8",\r
-        "652b319b.ab8708"\r
+        "c3761e40.b25338",\r
+        "ce543bbd.a7b0f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f080a66c.4f7ec8",\r
+    "id": "c3761e40.b25338",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4441.883087158203,\r
-    "y": 6443.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4364.499755859375,\r
+    "y": 6401,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "10a44adb.d38a25"\r
+        "70442e7d.0be548"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "10a44adb.d38a25",\r
+    "id": "70442e7d.0be548",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
     "comments": "",\r
-    "x": 4597.883087158203,\r
-    "y": 6440.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4520.499755859375,\r
+    "y": 6398,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "652b319b.ab8708",\r
+    "id": "ce543bbd.a7b0f8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4445.883087158203,\r
-    "y": 6487.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4368.499755859375,\r
+    "y": 6445,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a7138657.394d98"\r
+        "47cf8ce2.24939c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a7138657.394d98",\r
+    "id": "47cf8ce2.24939c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4584.883087158203,\r
-    "y": 6482.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4507.499755859375,\r
+    "y": 6440,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "be012245.15127",\r
-        "cc830633.a13cc",\r
-        "cd9f0573.3ee2f8",\r
-        "a5be208e.ddaeb8",\r
-        "eaad5657.8cd72",\r
-        "eb39c4f9.289008",\r
-        "f25bfca7.d75338",\r
-        "ea968dfa.497e7",\r
-        "11d506a.c6a64f9",\r
-        "d968015c.39cda8",\r
-        "54a65e87.65172",\r
-        "11c77751.f259a1",\r
-        "9efae615.dd5ab"\r
+        "2a4071b4.a3adee",\r
+        "ca3ef968.6dda08",\r
+        "9655804c.a8367",\r
+        "94748373.e9e958",\r
+        "a0da2cb6.f8de08",\r
+        "5744849a.cc54ac",\r
+        "4e084c4a.411b3c",\r
+        "9bb50a9.812c6f8",\r
+        "5a3abbf9.5bd584",\r
+        "860af8d0.fc96e8",\r
+        "f942597e.1aa18",\r
+        "fc4aa587.17d69",\r
+        "afa717d0.25e7a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f25bfca7.d75338",\r
+    "id": "4e084c4a.411b3c",\r
     "type": "save",\r
     "name": "get all-vpn-bindings from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4781.883087158203,\r
-    "y": 7161.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4704.499755859375,\r
+    "y": 7119,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3dba1ed8.091bf2",\r
-        "7f8f7997.fe796",\r
-        "d8010c15.3a2778"\r
+        "b531f7cf.459858",\r
+        "14585404.95eb44",\r
+        "91bd86e2.073e5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3dba1ed8.091bf2",\r
+    "id": "b531f7cf.459858",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4976.88330078125,\r
-    "y": 7137.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4899.499969482422,\r
+    "y": 7094.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1b65a6f4.4e2729"\r
+        "7a861e6f.3259d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7f8f7997.fe796",\r
+    "id": "14585404.95eb44",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4969.374267578125,\r
-    "y": 7174.457336425781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4891.990936279297,\r
+    "y": 7131.574005126953,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "403902c8.70c854"\r
+        "7b4d1550.4d39b4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d8010c15.3a2778",\r
+    "id": "91bd86e2.073e5",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4966.88330078125,\r
-    "y": 7217.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4889.499969482422,\r
+    "y": 7174.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ab2fcd35.01c098"\r
+        "c9793222.0d19b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1b65a6f4.4e2729",\r
+    "id": "7a861e6f.3259d",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5148.88330078125,\r
-    "y": 7135.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5071.499969482422,\r
+    "y": 7092.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c7100026.09f848"\r
+        "96392b44.e759e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "403902c8.70c854",\r
+    "id": "7b4d1550.4d39b4",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5131.9456787109375,\r
-    "y": 7174.743072509766,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5054.562347412109,\r
+    "y": 7131.8597412109375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ab2fcd35.01c098",\r
+    "id": "c9793222.0d19b8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5133.88330078125,\r
-    "y": 7216.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5056.499969482422,\r
+    "y": 7173.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c7100026.09f848",\r
+    "id": "96392b44.e759e",\r
     "type": "for",\r
     "name": "for vpnidx in all-vpn-bindings",\r
     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5389.883087158203,\r
-    "y": 7169.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5312.499755859375,\r
+    "y": 7127,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "746d723d.92756c"\r
+        "dcbe395c.2f719"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "746d723d.92756c",\r
+    "id": "dcbe395c.2f719",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5626.883087158203,\r
-    "y": 7165.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5549.499755859375,\r
+    "y": 7123,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c84e8944.ab748"\r
+        "d5739a70.ba04c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9e3ec759.f9e0d",\r
+    "id": "6bd2c51b.a65de4",\r
     "type": "switchNode",\r
     "name": "switch vpnuuid is for this slice",\r
     "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5893.883087158203,\r
-    "y": 7131.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5816.499755859375,\r
+    "y": 7089,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4fee4c24.360bcc",\r
-        "4314046.5a68afc"\r
+        "c0446363.1c2dd",\r
+        "c5d80881.fdd1f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4fee4c24.360bcc",\r
+    "id": "c0446363.1c2dd",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6074.883087158203,\r
-    "y": 7157.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5997.499755859375,\r
+    "y": 7115,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c84e8944.ab748"\r
+        "d5739a70.ba04c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4314046.5a68afc",\r
+    "id": "c5d80881.fdd1f",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6073.883087158203,\r
-    "y": 7110.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5996.499755859375,\r
+    "y": 7068,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c84e8944.ab748",\r
+    "id": "d5739a70.ba04c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4590.88330078125,\r
-    "y": 7305.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4513.499969482422,\r
+    "y": 7262.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cbf296b5.4a44d"\r
+        "edcf20b8.e61748"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1eeaf51a.0f85d3",\r
+    "id": "4fecf72f.04fbc",\r
     "type": "set",\r
     "name": "set tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
     "comments": "",\r
-    "x": 5666.883087158203,\r
-    "y": 7337.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5589.499755859375,\r
+    "y": 7295,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "75dd5c17.2526e4",\r
+    "id": "c1969b50.1f4a7",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4879.88330078125,\r
-    "y": 7073.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4802.499969482422,\r
+    "y": 7030.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "eb39c4f9.289008",\r
+    "id": "5744849a.cc54ac",\r
     "type": "set",\r
     "name": "set srcTtp OTN layer",\r
     "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4763.883087158203,\r
-    "y": 6957.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4686.499755859375,\r
+    "y": 6915,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5dce4a96.7e6e5c",\r
+    "id": "3d6f4e35.1dbdf2",\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": 5108.883087158203,\r
-    "y": 6788.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5031.499755859375,\r
+    "y": 6746,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f4b6cbdd.4872c"\r
+        "1b824e77.058e42"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f4b6cbdd.4872c",\r
+    "id": "1b824e77.058e42",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5328.883087158203,\r
-    "y": 6794.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5251.499755859375,\r
+    "y": 6752,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "49771dd5.9b717c"\r
+        "2ab4f0b.650811"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "49771dd5.9b717c",\r
+    "id": "2ab4f0b.650811",\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": 5513.883087158203,\r
-    "y": 6793.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5436.499755859375,\r
+    "y": 6751,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "444eff53.bd878"\r
+        "a23d4d14.87325"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "444eff53.bd878",\r
+    "id": "a23d4d14.87325",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5705.883087158203,\r
-    "y": 6796.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5628.499755859375,\r
+    "y": 6754,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "149f57f1.fd7a"\r
+        "2907eab4.583386"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "149f57f1.fd7a",\r
+    "id": "2907eab4.583386",\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": 5914.883087158203,\r
-    "y": 6794.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5837.499755859375,\r
+    "y": 6752,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ea968dfa.497e7",\r
+    "id": "9bb50a9.812c6f8",\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": 4815.883087158203,\r
-    "y": 6782.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4738.499755859375,\r
+    "y": 6740,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5dce4a96.7e6e5c"\r
+        "3d6f4e35.1dbdf2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cd9f0573.3ee2f8",\r
+    "id": "9655804c.a8367",\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/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4823.883087158203,\r
-    "y": 6675.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4746.499755859375,\r
+    "y": 6633,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e6c84893.53204",\r
-        "5e294103.3f0c78",\r
-        "8261318b.eb457"\r
+        "e3853ecb.86ffa8",\r
+        "e9c51b36.8628d",\r
+        "65b57cea.285c3c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e6c84893.53204",\r
+    "id": "e3853ecb.86ffa8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5059.883087158203,\r
-    "y": 6658.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4982.499755859375,\r
+    "y": 6616,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5e294103.3f0c78",\r
+    "id": "e9c51b36.8628d",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5056.883087158203,\r
-    "y": 6699.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4979.499755859375,\r
+    "y": 6657,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "8261318b.eb457",\r
+    "id": "65b57cea.285c3c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5070.883087158203,\r
-    "y": 6739.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4993.499755859375,\r
+    "y": 6697,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a5be208e.ddaeb8",\r
+    "id": "94748373.e9e958",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
     "comments": "",\r
-    "x": 4759.883087158203,\r
-    "y": 6834.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4682.499755859375,\r
+    "y": 6792,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "eaad5657.8cd72",\r
+    "id": "a0da2cb6.f8de08",\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": 4767.883087158203,\r
-    "y": 6892.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4690.499755859375,\r
+    "y": 6850,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cc830633.a13cc",\r
+    "id": "ca3ef968.6dda08",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
     "comments": "",\r
-    "x": 4772.883087158203,\r
-    "y": 6632.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4695.499755859375,\r
+    "y": 6590,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "904e1ae5.bbd558",\r
+    "id": "85cec0fe.92a4b",\r
     "type": "comment",\r
     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
     "comments": "",\r
-    "x": 4887.883087158203,\r
-    "y": 6584.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4810.499755859375,\r
+    "y": 6542,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cbf296b5.4a44d",\r
+    "id": "edcf20b8.e61748",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4880.88330078125,\r
-    "y": 7300.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4803.499969482422,\r
+    "y": 7257.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a993ecb7.4e75a",\r
-        "50a501d.eb089"\r
+        "e8e7019e.0ce4e8",\r
+        "cf2cb292.2ab218"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a993ecb7.4e75a",\r
+    "id": "e8e7019e.0ce4e8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5136.88330078125,\r
-    "y": 7272.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5059.499969482422,\r
+    "y": 7229.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2f3de295.447b1e"\r
+        "2fafeba7.6be734"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "50a501d.eb089",\r
+    "id": "cf2cb292.2ab218",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5136.88330078125,\r
-    "y": 7321.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5059.499969482422,\r
+    "y": 7278.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ed22a86b.d791b8",\r
+    "id": "997dfd42.35e9c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5402.88330078125,\r
-    "y": 7313.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5325.499969482422,\r
+    "y": 7270.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5c9c1b49.b9b35c",\r
-        "1eeaf51a.0f85d3",\r
-        "e4035d6c.e05158"\r
+        "fd323ea3.0ba61",\r
+        "4fecf72f.04fbc",\r
+        "8645a39d.96b86"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f63796a1.344c48",\r
+    "id": "81edaff5.fe8de8",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 5794.883087158203,\r
-    "y": 7391.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5717.499755859375,\r
+    "y": 7349,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e4035d6c.e05158",\r
+    "id": "8645a39d.96b86",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5764.883087158203,\r
-    "y": 7451.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5687.499755859375,\r
+    "y": 7409,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5c9c1b49.b9b35c",\r
+    "id": "fd323ea3.0ba61",\r
     "type": "set",\r
     "name": "unset tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
     "comments": "",\r
-    "x": 5671.883087158203,\r
-    "y": 7279.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5594.499755859375,\r
+    "y": 7237,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2ed5b6b9.722642",\r
+    "id": "a2f25d49.46cd88",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4021.883331298828,\r
-    "y": 5917.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3944.5,\r
+    "y": 5875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "58b6c88a.c0b81",\r
-        "7675dfe3.26b5f8",\r
-        "ce5c7ab5.bd83c8",\r
-        "60efc6f5.6c666",\r
-        "4ebf5b73.f18c34"\r
+        "4e6fe55.c2f201c",\r
+        "7170f2f2.71fadc",\r
+        "2402858c.2e7c4a",\r
+        "2fcf2035.98d3c",\r
+        "ff11fb03.980398"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8e0e6c35.35f418",\r
+    "id": "d7183096.a014a",\r
     "type": "set",\r
     "name": "unset otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
     "comments": "",\r
-    "x": 4764.883087158203,\r
-    "y": 6732.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4687.499755859375,\r
+    "y": 6690,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "11d506a.c6a64f9",\r
+    "id": "5a3abbf9.5bd584",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4887.883331298828,\r
-    "y": 6462.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4810.5,\r
+    "y": 6420,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "4d39072e.34b5f8",\r
+    "id": "48e1585a.35691",\r
     "type": "comment",\r
     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "comments": "",\r
-    "x": 5024.883331298828,\r
-    "y": 6412.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4947.5,\r
+    "y": 6370,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1698c025.c5ee78",\r
+    "id": "829d6c73.aa7da8",\r
     "type": "save",\r
     "name": "save ROOT UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6832.883331298828,\r
-    "y": 3588.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6409.5,\r
+    "y": 1904,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "63d6aa7c.b5a514",\r
+    "id": "261b01ae.fe9b36",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4038.883331298828,\r
-    "y": 1813.8833312988281,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3675.5,\r
+    "y": 1298,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3aa74194.8661ee",\r
+    "id": "f92c744c.f5b4a8",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4016.883331298828,\r
-    "y": 2683.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3813.5,\r
+    "y": 1786,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b098a36d.e0c3e",\r
+    "id": "a9675d4a.27492",\r
     "type": "comment",\r
     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6823.883331298828,\r
-    "y": 4055.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6370.5,\r
+    "y": 2616,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2f2ed9c0.e0663e",\r
-    "type": "call",\r
-    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 3528.883331298828,\r
-    "y": 6057.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "28b03e50.9f7992",\r
+    "id": "577ac65e.4cd8e8",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 3739.883331298828,\r
-    "y": 4934.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3662.5,\r
+    "y": 4892,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "980b4828.96504",\r
+    "id": "c33c721b.c24a68",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3872.883331298828,\r
-    "y": 4982.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3795.5,\r
+    "y": 4940,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "78d94074.f38b7",\r
+    "id": "3da01b2d.c332ec",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4417.883087158203,\r
-    "y": 5062.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4340.499755859375,\r
+    "y": 5020,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "bc43fa2d.411608",\r
-        "7dd6f63d.8487f"\r
+        "67f3fde2.d1c4bc",\r
+        "830cc023.8d75b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bc43fa2d.411608",\r
+    "id": "67f3fde2.d1c4bc",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4610.883087158203,\r
-    "y": 5063.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4533.499755859375,\r
+    "y": 5021,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c471dfd.f92dba"\r
+        "97ecf17d.e53ae8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7dd6f63d.8487f",\r
+    "id": "830cc023.8d75b8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4614.883087158203,\r
-    "y": 5107.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4537.499755859375,\r
+    "y": 5065,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a8ff6a7c.81ae98"\r
+        "e6486dc.92da59"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a8ff6a7c.81ae98",\r
+    "id": "e6486dc.92da59",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4753.883087158203,\r
-    "y": 5102.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4676.499755859375,\r
+    "y": 5060,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a2ef082b.b2f048",\r
-        "fa92cb40.708c7",\r
-        "c4bba10e.ae5948"\r
+        "f9d2f7c1.e8a63",\r
+        "2f9c4db0.869cca",\r
+        "cfcbce5e.a3353"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c471dfd.f92dba",\r
+    "id": "97ecf17d.e53ae8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4753.883087158203,\r
-    "y": 5059.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4676.499755859375,\r
+    "y": 5017,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "effc1efd.4a1d3",\r
-        "5c8eea0c.68cc14",\r
-        "e7adda57.489d68",\r
-        "5438b6e6.1482f8"\r
+        "fd2b62b6.10b14",\r
+        "f21eb35f.395438",\r
+        "59f69d26.ab3de4",\r
+        "8af1d85e.882ed"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a2ef082b.b2f048",\r
+    "id": "f9d2f7c1.e8a63",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainA-uuid",\r
     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5147.883087158203,\r
-    "y": 5353.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5070.499755859375,\r
+    "y": 5311,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "963dc7de.4f275",\r
+    "id": "a14dbd8f.fd09c8",\r
     "type": "comment",\r
     "name": "populate connectivity-A variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5154.883087158203,\r
-    "y": 5307.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5077.499755859375,\r
+    "y": 5265,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d968015c.39cda8",\r
+    "id": "860af8d0.fc96e8",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4944.88330078125,\r
-    "y": 7022.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4867.499969482422,\r
+    "y": 6979.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "fa92cb40.708c7",\r
+    "id": "2f9c4db0.869cca",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5266.883087158203,\r
-    "y": 5406.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5189.499755859375,\r
+    "y": 5364,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d676c28d.645a28",\r
+    "id": "1f30d01.395cc3",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5148.883087158203,\r
-    "y": 5624.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5071.499755859375,\r
+    "y": 5582,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3d7bbeb8.4fb6ea",\r
+    "id": "f7b3410e.fff05",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3703.883331298828,\r
-    "y": 4532.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3617.5,\r
+    "y": 4341,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b16bd91d.551568",\r
+    "id": "7607e020.fe77f",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4037.883331298828,\r
-    "y": 4715.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3951.5,\r
+    "y": 4524,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "17af28da.ceda4f",\r
+    "id": "e8ff43f0.c9213",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3649.883331298828,\r
-    "y": 4582.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3563.5,\r
+    "y": 4391,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1c28f8e9.5cfb07",\r
-        "7bdf0726.9bbbb8",\r
-        "d03c4576.8b0b7"\r
+        "3f20a2e3.9197ce",\r
+        "836b51a4.29ff7",\r
+        "a19206dd.24a2b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7bdf0726.9bbbb8",\r
+    "id": "836b51a4.29ff7",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3877.374298095703,\r
-    "y": 4555.457305908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3790.990966796875,\r
+    "y": 4363.573974609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6a9d8f.c783f27"\r
+        "cc477903.35a1a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d03c4576.8b0b7",\r
+    "id": "a19206dd.24a2b8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3872.883331298828,\r
-    "y": 4599.883270263672,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3786.5,\r
+    "y": 4407.999938964844,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "732d0fc7.ef1e4"\r
+        "9ac9aba4.1e8ac"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6a9d8f.c783f27",\r
+    "id": "cc477903.35a1a8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4039.945831298828,\r
-    "y": 4554.743011474609,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3953.5625,\r
+    "y": 4362.859680175781,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "732d0fc7.ef1e4",\r
+    "id": "9ac9aba4.1e8ac",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4040.883331298828,\r
-    "y": 4599.883270263672,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3954.5,\r
+    "y": 4407.999938964844,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2b632ac5.849276",\r
+    "id": "44a45bc4.fd8d24",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3825.883331298828,\r
-    "y": 4672.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3739.5,\r
+    "y": 4481,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d3a7ff82.f011",\r
-        "b16bd91d.551568"\r
+        "8f06a9d6.e85d2",\r
+        "7607e020.fe77f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1c28f8e9.5cfb07",\r
+    "id": "3f20a2e3.9197ce",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3656.883331298828,\r
-    "y": 4672.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3570.5,\r
+    "y": 4481,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2b632ac5.849276"\r
+        "44a45bc4.fd8d24"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d3a7ff82.f011",\r
+    "id": "8f06a9d6.e85d2",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
     "comments": "",\r
-    "x": 4014.883331298828,\r
-    "y": 4664.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3928.5,\r
+    "y": 4473,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2c43e5ee.399d8a",\r
+    "id": "c23415ae.23176",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3847.883331298828,\r
-    "y": 4810.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3770.5,\r
+    "y": 4768,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "97722063.27aea",\r
+    "id": "cb253b17.73576",\r
     "type": "comment",\r
     "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3630.883331298828,\r
-    "y": 2893.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3553.5,\r
+    "y": 2851,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "65778a7a.89ed44",\r
+    "id": "9d7a29e5.a75ec",\r
     "type": "comment",\r
     "name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3485.883331298828,\r
-    "y": 4460.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 2758.5,\r
+    "y": 4413,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a2d538df.980d68",\r
+    "id": "8b862d24.0bbe68",\r
     "type": "exists",\r
     "name": "exists LEAF UNI",\r
     "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3258.883331298828,\r
-    "y": 4728.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3181.5,\r
+    "y": 4686,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "43a12633.7a37a8",\r
-        "6d14b300.778b24"\r
+        "b605d8db.884f2",\r
+        "fdd54f31.8fbee"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7ebd19ad.940af8",\r
+    "id": "db2110db.2b1778",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3090.883331298828,\r
-    "y": 4731.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3013.5,\r
+    "y": 4689,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a2d538df.980d68"\r
+        "8b862d24.0bbe68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6d14b300.778b24",\r
+    "id": "fdd54f31.8fbee",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3421.883331298828,\r
-    "y": 4747.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3344.5,\r
+    "y": 4705,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d74b6b50.22dd88"\r
+        "9f11b3.a8080e5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "43a12633.7a37a8",\r
+    "id": "b605d8db.884f2",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3457.883331298828,\r
-    "y": 3354.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3380.5,\r
+    "y": 3312,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "fd9ecd52.f0eec"\r
+        "947600ba.b5e73"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "58f27ca9.e6694c",\r
+    "id": "4f6ce4fa.367e24",\r
     "type": "switchNode",\r
     "name": "switch leafuni.data-source == gfp",\r
     "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3773.883331298828,\r
-    "y": 3406.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3729.5,\r
+    "y": 3154,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f8970eb9.db20d",\r
-        "767d527f.e764f4"\r
+        "cc96bd45.2e2b6",\r
+        "f9a0faf9.5c3dc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f8970eb9.db20d",\r
+    "id": "cc96bd45.2e2b6",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3978.883331298828,\r
-    "y": 3402.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3934.5,\r
+    "y": 3150,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "767d527f.e764f4",\r
+    "id": "f9a0faf9.5c3dc8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3980.883331298828,\r
-    "y": 3452.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3936.5,\r
+    "y": 3200,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e0571d8f.b0d5c"\r
+        "7a40f51a.96d7fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e0571d8f.b0d5c",\r
+    "id": "7a40f51a.96d7fc",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4136.883331298828,\r
-    "y": 3458.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4092.5,\r
+    "y": 3206,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "29bbf41c.92a224",\r
-        "892518e7.2c6e68",\r
-        "36c28209.5e5a0e",\r
-        "b822f518.1b138"\r
+        "2c2d832.1ec14fc",\r
+        "16e3f1c0.bf6bbe",\r
+        "3515662b.208b2a",\r
+        "271e520.e6acbae"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "29bbf41c.92a224",\r
+    "id": "2c2d832.1ec14fc",\r
     "type": "set",\r
     "name": "set bwModified",\r
     "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4362.883575439453,\r
-    "y": 3199.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4318.500244140625,\r
+    "y": 2947,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f218f6e.d910588",\r
+    "id": "f6d89aab.47f778",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4894.883056640625,\r
-    "y": 4286.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4817.499725341797,\r
+    "y": 4243.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a5aad4b.a7f08a8",\r
-        "7594985d.bdad18"\r
+        "f49c2dcf.bc27d8",\r
+        "cc8917f6.431d58"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7594985d.bdad18",\r
+    "id": "cc8917f6.431d58",\r
     "type": "set",\r
     "name": "unset tmp.aai.vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
     "comments": "",\r
-    "x": 5096.8828125,\r
-    "y": 4253.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5019.499481201172,\r
+    "y": 4210.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a04d2a4d.17b14",\r
+    "id": "a80257aa.4070f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4780.88330078125,\r
-    "y": 4463.883056640625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4703.499969482422,\r
+    "y": 4420.999725341797,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3892fdc5.2518b2",\r
+    "id": "d0212ac6.85c08",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4777.9454345703125,\r
-    "y": 4412.743072509766,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4700.562103271484,\r
+    "y": 4369.8597412109375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "809a6f2e.e2cff",\r
+    "id": "efad35a4.dd1e7",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4360.883056640625,\r
-    "y": 4286.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4283.499725341797,\r
+    "y": 4243.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "663c1b4b.a64fcc"\r
+        "bbd4adaa.78aa88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "663c1b4b.a64fcc",\r
+    "id": "bbd4adaa.78aa88",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4565.883056640625,\r
-    "y": 4286.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4488.499725341797,\r
+    "y": 4243.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4c765f5a.bea65"\r
+        "7d1062e5.6c959c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4c765f5a.bea65",\r
+    "id": "7d1062e5.6c959c",\r
     "type": "outcome",\r
     "name": "vpn-binding",\r
     "xml": "<outcome value='vpn-binding'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4731.883056640625,\r
-    "y": 4286.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4654.499725341797,\r
+    "y": 4243.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f218f6e.d910588"\r
+        "f6d89aab.47f778"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a5aad4b.a7f08a8",\r
+    "id": "f49c2dcf.bc27d8",\r
     "type": "save",\r
     "name": "get vpn-binding from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4403.883056640625,\r
-    "y": 4364.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4326.499725341797,\r
+    "y": 4321.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6b0b4a54.7d0dd4",\r
-        "c44b1722.eadf8",\r
-        "30cd81de.fee396"\r
+        "2b073b5b.643194",\r
+        "ffd59a4c.14fa7",\r
+        "2abdbd7a.263a72"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6b0b4a54.7d0dd4",\r
+    "id": "2b073b5b.643194",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4614.883056640625,\r
-    "y": 4366.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4537.499725341797,\r
+    "y": 4323.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d1d7ad20.29b52"\r
+        "b25769d8.6df3c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c44b1722.eadf8",\r
+    "id": "ffd59a4c.14fa7",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4615.3740234375,\r
-    "y": 4412.457336425781,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4537.990692138672,\r
+    "y": 4369.574005126953,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3892fdc5.2518b2"\r
+        "d0212ac6.85c08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "30cd81de.fee396",\r
+    "id": "2abdbd7a.263a72",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4612.883056640625,\r
-    "y": 4455.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4535.499725341797,\r
+    "y": 4412.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a04d2a4d.17b14"\r
+        "a80257aa.4070f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fd9ecd52.f0eec",\r
+    "id": "947600ba.b5e73",\r
     "type": "save",\r
     "name": "get LEAF uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3647.883331298828,\r
-    "y": 3249.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3603.5,\r
+    "y": 2997,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3062cdfd.42c69a",\r
-        "db9f52e5.d7dfa8",\r
-        "aae84cfb.f1edc"\r
+        "6a786745.af48",\r
+        "a633d7c2.0708",\r
+        "f368276f.48f958"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db9f52e5.d7dfa8",\r
+    "id": "a633d7c2.0708",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3875.374298095703,\r
-    "y": 3222.457305908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3830.990966796875,\r
+    "y": 2969.573974609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "557116c4.068f88"\r
+        "30a6f1cd.e89f6e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aae84cfb.f1edc",\r
+    "id": "f368276f.48f958",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3870.883331298828,\r
-    "y": 3266.883270263672,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3826.5,\r
+    "y": 3013.9999389648438,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "270e15a6.70575a"\r
+        "868e3def.777d88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "557116c4.068f88",\r
+    "id": "30a6f1cd.e89f6e",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4037.945831298828,\r
-    "y": 3221.7430114746094,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3993.5625,\r
+    "y": 2968.8596801757812,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "270e15a6.70575a",\r
+    "id": "868e3def.777d88",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4038.883331298828,\r
-    "y": 3266.883270263672,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3994.5,\r
+    "y": 3013.9999389648438,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3062cdfd.42c69a",\r
+    "id": "6a786745.af48",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3882.883331298828,\r
-    "y": 3316.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3838.5,\r
+    "y": 3064,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "58f27ca9.e6694c"\r
+        "4f6ce4fa.367e24"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d823dcb2.3ea1b",\r
+    "id": "e1ab631b.742fc",\r
     "type": "comment",\r
     "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3772.7666625976562,\r
-    "y": 3507.7666625976562,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3728.383331298828,\r
+    "y": 3254.883331298828,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a7eccb2d.bd2018",\r
+    "id": "9ac35f29.2f46a8",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 3787.483428955078,\r
-    "y": 3859.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3710.10009765625,\r
+    "y": 3816.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a53a5ddb.dd60f",\r
+    "id": "3dda5d6b.eae642",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3925.483428955078,\r
-    "y": 3917.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3848.10009765625,\r
+    "y": 3874.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "892518e7.2c6e68",\r
+    "id": "16e3f1c0.bf6bbe",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3503.483428955078,\r
-    "y": 3598.966583251953,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3426.10009765625,\r
+    "y": 3556.083251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b4ed3622.c08",\r
-        "c0c356fb.babc",\r
-        "67daf127.7e6a38"\r
+        "616a588c.b788e8",\r
+        "23b69bc.0871b64",\r
+        "92806e4e.351398"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fce3ea32.0915b",\r
+    "id": "14abd55c.d773d3",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3744.483428955078,\r
-    "y": 4027.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3667.10009765625,\r
+    "y": 3984.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "fda5acc2.f20fe",\r
-        "e480dda8.f10d98"\r
+        "5c65738b.87fde4",\r
+        "f1d641f8.d259a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fda5acc2.f20fe",\r
+    "id": "5c65738b.87fde4",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3937.483428955078,\r
-    "y": 4028.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3860.10009765625,\r
+    "y": 3985.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "90393c50.c5c688"\r
+        "65a9280d.a9da1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e480dda8.f10d98",\r
+    "id": "f1d641f8.d259a8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3941.483428955078,\r
-    "y": 4072.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3864.10009765625,\r
+    "y": 4029.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c7e0a8ee.d6f32"\r
+        "5b392e39.74c58"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c7e0a8ee.d6f32",\r
+    "id": "5b392e39.74c58",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4080.483428955078,\r
-    "y": 4067.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4003.10009765625,\r
+    "y": 4024.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "809a6f2e.e2cff"\r
+        "efad35a4.dd1e7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "90393c50.c5c688",\r
+    "id": "65a9280d.a9da1",\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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
     "comments": "",\r
-    "x": 4081.483428955078,\r
-    "y": 4024.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4004.10009765625,\r
+    "y": 3981.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "36c28209.5e5a0e",\r
+    "id": "3515662b.208b2a",\r
     "type": "switchNode",\r
     "name": "switch leafuni.data-source > gfp",\r
     "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4396.600372314453,\r
-    "y": 3456.166778564453,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4352.217041015625,\r
+    "y": 3203.283447265625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "beb5c16.4204b4",\r
-        "cf431e74.d4d548"\r
+        "d3894fc3.10eb48",\r
+        "b517f9eb.6c257"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "beb5c16.4204b4",\r
+    "id": "d3894fc3.10eb48",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4595.767364501953,\r
-    "y": 3522.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4551.384033203125,\r
+    "y": 3269.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "105d466c.be1d02"\r
+        "d481f8d7.46db"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cf431e74.d4d548",\r
+    "id": "b517f9eb.6c257",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4617.767364501953,\r
-    "y": 3367.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4573.384033203125,\r
+    "y": 3114.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "8c32ddc1.dc0d4"\r
+        "543771c5.3e82b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b822f518.1b138",\r
+    "id": "271e520.e6acbae",\r
     "type": "save",\r
     "name": "update LEAF UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4395.600372314453,\r
-    "y": 3311.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4351.217041015625,\r
+    "y": 3058.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3f7a0e0a.9d9b82",\r
+    "id": "5841cd16.599de4",\r
     "type": "comment",\r
     "name": "update LEAF UNI with the new bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4411.767364501953,\r
-    "y": 3264.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4367.384033203125,\r
+    "y": 3011.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fd150e87.231aa",\r
+    "id": "c6724a1e.a746a",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5080.533966064453,\r
-    "y": 3241.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4922.14990234375,\r
+    "y": 2466.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c5a29e92.7207c",\r
+    "id": "f5319096.b377c8",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5682.533966064453,\r
-    "y": 3346.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5524.14990234375,\r
+    "y": 2571.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "be41e2f.9cfd32",\r
+    "id": "1d10f282.65ef3d",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5072.533721923828,\r
-    "y": 3287.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4914.149658203125,\r
+    "y": 2512.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2e2379b.d7f7006",\r
-        "db5acda.eac92b",\r
-        "bc7f8b0.aa27df8"\r
+        "e6ffa5af.877ac",\r
+        "53ba0501.50937c",\r
+        "f8ebf6c0.ef2f7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db5acda.eac92b",\r
+    "id": "53ba0501.50937c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5300.024688720703,\r
-    "y": 3260.340606689453,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5141.640625,\r
+    "y": 2485.457275390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ac17b57a.282248"\r
+        "25bf7485.4207ec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bc7f8b0.aa27df8",\r
+    "id": "f8ebf6c0.ef2f7",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5295.533721923828,\r
-    "y": 3304.766571044922,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5137.149658203125,\r
+    "y": 2529.8832397460938,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "57de8cb.81497f4"\r
+        "8cc56294.07b6a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ac17b57a.282248",\r
+    "id": "25bf7485.4207ec",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5462.596221923828,\r
-    "y": 3259.6263122558594,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5304.212158203125,\r
+    "y": 2484.7429809570312,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "57de8cb.81497f4",\r
+    "id": "8cc56294.07b6a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5463.533721923828,\r
-    "y": 3304.766571044922,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5305.149658203125,\r
+    "y": 2529.8832397460938,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9014714c.903978",\r
+    "id": "29839d19.ca2152",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5460.533721923828,\r
-    "y": 3354.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5302.149658203125,\r
+    "y": 2579.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cb023eec.a5c808",\r
-        "c5a29e92.7207c"\r
+        "4a49d064.4801a8",\r
+        "f5319096.b377c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2e2379b.d7f7006",\r
+    "id": "e6ffa5af.877ac",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5291.533721923828,\r
-    "y": 3354.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5133.149658203125,\r
+    "y": 2579.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9014714c.903978"\r
+        "29839d19.ca2152"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cb023eec.a5c808",\r
+    "id": "4a49d064.4801a8",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
     "comments": "",\r
-    "x": 5642.534454345703,\r
-    "y": 3296.766632080078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5484.150390625,\r
+    "y": 2521.88330078125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6d766032.1486b8",\r
+    "id": "fc1d58de.266bc8",\r
     "type": "comment",\r
     "name": "bw+ has increased ",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4609.766662597656,\r
-    "y": 3329.7666625976562,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4565.383331298828,\r
+    "y": 3076.883331298828,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "56336637.740a88",\r
+    "id": "81aa1dbe.56ac78",\r
     "type": "comment",\r
     "name": "bw- has decreased",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4608.600372314453,\r
-    "y": 3486.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4564.217041015625,\r
+    "y": 3233.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e142830c.8ce718",\r
+    "id": "175559ed.ae176e",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5057.600372314453,\r
-    "y": 3444.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5013.21630859375,\r
+    "y": 2806.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "253cc252.2e7476",\r
+    "id": "b4d05ea3.ef437",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5659.600372314453,\r
-    "y": 3549.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5615.21630859375,\r
+    "y": 2911.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e936a38f.06f2b",\r
+    "id": "909ddf1c.4247f",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5049.600128173828,\r
-    "y": 3490.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5005.216064453125,\r
+    "y": 2852.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6f1b7a54.b4f3a4",\r
-        "7ba2b9f4.ea954",\r
-        "c55de303.d0cb4"\r
+        "6ec56bfe.bf9374",\r
+        "ac80268f.768e5",\r
+        "a8e739ac.bd4b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7ba2b9f4.ea954",\r
+    "id": "ac80268f.768e5",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5277.091094970703,\r
-    "y": 3463.140655517578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5232.70703125,\r
+    "y": 2825.25732421875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "426bf991.15b6a8"\r
+        "c8c7d986.838778"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c55de303.d0cb4",\r
+    "id": "a8e739ac.bd4b",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5272.600128173828,\r
-    "y": 3507.566619873047,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5228.216064453125,\r
+    "y": 2869.6832885742188,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "fe0c112c.8fb4f"\r
+        "3dcb1fdf.a3fec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "426bf991.15b6a8",\r
+    "id": "c8c7d986.838778",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5439.662628173828,\r
-    "y": 3462.4263610839844,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5395.278564453125,\r
+    "y": 2824.5430297851562,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fe0c112c.8fb4f",\r
+    "id": "3dcb1fdf.a3fec",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5440.600128173828,\r
-    "y": 3507.566619873047,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5396.216064453125,\r
+    "y": 2869.6832885742188,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4702676.988cf18",\r
+    "id": "9b0bdc3d.6e83d8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5437.600128173828,\r
-    "y": 3557.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5393.216064453125,\r
+    "y": 2919.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2f82a117.e4a2be",\r
-        "253cc252.2e7476"\r
+        "e12fb18d.e25528",\r
+        "b4d05ea3.ef437"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6f1b7a54.b4f3a4",\r
+    "id": "6ec56bfe.bf9374",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5268.600128173828,\r
-    "y": 3557.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5224.216064453125,\r
+    "y": 2919.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4702676.988cf18"\r
+        "9b0bdc3d.6e83d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2f82a117.e4a2be",\r
+    "id": "e12fb18d.e25528",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
     "comments": "",\r
-    "x": 5619.600860595703,\r
-    "y": 3499.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5575.216796875,\r
+    "y": 2861.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f5580ce3.db6eb8",\r
+    "id": "77cc19f0.65a298",\r
     "type": "set",\r
     "name": "set delta",\r
     "xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",\r
     "comments": "",\r
-    "x": 4974.600128173828,\r
-    "y": 3403.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4930.216064453125,\r
+    "y": 2765.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "105d466c.be1d02",\r
+    "id": "d481f8d7.46db",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4767.766662597656,\r
-    "y": 3511.7666625976562,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4723.383331298828,\r
+    "y": 3258.883331298828,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f5580ce3.db6eb8",\r
-        "e936a38f.06f2b"\r
+        "77cc19f0.65a298",\r
+        "909ddf1c.4247f",\r
+        "d39256ff.c99e4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8c32ddc1.dc0d4",\r
+    "id": "543771c5.3e82b",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4788.500030517578,\r
-    "y": 3338.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4744.11669921875,\r
+    "y": 3085.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b0b6c683.a43628",\r
-        "be41e2f.9cfd32"\r
+        "9e50adf.3f804d",\r
+        "1d10f282.65ef3d",\r
+        "3c12d321.f6ab2c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b0b6c683.a43628",\r
+    "id": "9e50adf.3f804d",\r
     "type": "set",\r
     "name": "set delta",\r
     "xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",\r
     "comments": "",\r
-    "x": 4987.333526611328,\r
-    "y": 3156.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4878.949462890625,\r
+    "y": 2391.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c2cf98a5.f5859",\r
+    "id": "d7fa5270.13e728",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4382.649932861328,\r
-    "y": 3411.566680908203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4338.2666015625,\r
+    "y": 3158.683349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "53815df2.f3fe8c",\r
+    "id": "fea06caf.d7087",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3884.9833984375,\r
-    "y": 4190.3671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3807.600067138672,\r
+    "y": 4147.483856201172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1f65c294.737a2d",\r
+    "id": "5c1ea12c.02fb18",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3719.9833984375,\r
-    "y": 4262.567138671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3642.600067138672,\r
+    "y": 4219.683807373047,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d304f78f.a9e16",\r
-        "fe02c5f8.83fd58"\r
+        "b82e9023.76f9f8",\r
+        "f2f0e3e2.cfb0a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d304f78f.a9e16",\r
+    "id": "b82e9023.76f9f8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3930.9833984375,\r
-    "y": 4262.567138671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3853.600067138672,\r
+    "y": 4219.683807373047,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "632bbee5.d51fe8"\r
+        "4d4a5650.900498"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fe02c5f8.83fd58",\r
+    "id": "f2f0e3e2.cfb0a8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3926.9833984375,\r
-    "y": 4310.567138671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3849.600067138672,\r
+    "y": 4267.683807373047,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "670f8deb.e1038c"\r
+        "87662134.188498"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "632bbee5.d51fe8",\r
+    "id": "4d4a5650.900498",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4086.9833984375,\r
-    "y": 4258.567138671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4009.600067138672,\r
+    "y": 4215.683807373047,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e27123aa.cc28d"\r
+        "cdbc2fd5.f72b4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "670f8deb.e1038c",\r
+    "id": "87662134.188498",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found but it should have been!' />\n",\r
     "comments": "",\r
-    "x": 4074.9833984375,\r
-    "y": 4305.567138671875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3997.600067138672,\r
+    "y": 4262.683807373047,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "88c84935.d74a7",\r
+    "id": "2111dda1.fcbdb2",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4927.949493408203,\r
-    "y": 4572.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4850.566162109375,\r
+    "y": 4529.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c788c95c.77178",\r
-        "1fda418f.a21f6e"\r
+        "4fae975f.53fc68",\r
+        "c1f934d5.cc0aa8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1fda418f.a21f6e",\r
+    "id": "c1f934d5.cc0aa8",\r
     "type": "set",\r
     "name": "unset tmp.aai.vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
     "comments": "",\r
-    "x": 5170.949737548828,\r
-    "y": 4541.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5093.56640625,\r
+    "y": 4498.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bffc0dc9.a62e08",\r
+    "id": "cf80b7cc.7e2e9",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4787.949493408203,\r
-    "y": 4682.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4710.566162109375,\r
+    "y": 4639.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "1b45b5a2.80df72"\r
+        "94dec63b.8ae1e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5a207984.9538",\r
+    "id": "840bbd02.3035a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4775.949737548828,\r
-    "y": 4775.766143798828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4698.56640625,\r
+    "y": 4732.8828125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ff47d1c6.a1d1",\r
+    "id": "cdbcda75.ac4888",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4778.011871337891,\r
-    "y": 4730.625671386719,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4700.6285400390625,\r
+    "y": 4687.742340087891,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e27123aa.cc28d",\r
+    "id": "cdbc2fd5.f72b4",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4393.949493408203,\r
-    "y": 4572.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4316.566162109375,\r
+    "y": 4529.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "bdd7e518.23e34"\r
+        "bc868ed9.895db8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bdd7e518.23e34",\r
+    "id": "bc868ed9.895db8",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4598.949493408203,\r
-    "y": 4572.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4521.566162109375,\r
+    "y": 4529.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e5bca59.0771c58"\r
+        "7ae6a8de.c87848"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e5bca59.0771c58",\r
+    "id": "7ae6a8de.c87848",\r
     "type": "outcome",\r
     "name": "vpn-binding",\r
     "xml": "<outcome value='vpn-binding'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4764.949493408203,\r
-    "y": 4572.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4687.566162109375,\r
+    "y": 4529.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "88c84935.d74a7"\r
+        "2111dda1.fcbdb2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c788c95c.77178",\r
+    "id": "4fae975f.53fc68",\r
     "type": "save",\r
     "name": "get vpn-binding from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4403.949493408203,\r
-    "y": 4682.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4326.566162109375,\r
+    "y": 4639.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9cbfda8d.34d6e8",\r
-        "7093291a.080b6",\r
-        "8f2c4a9c.eaf89"\r
+        "c295dc4d.214d28",\r
+        "c45fd018.eeb138",\r
+        "e9db7616.b3ebb8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9cbfda8d.34d6e8",\r
+    "id": "c295dc4d.214d28",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4614.949493408203,\r
-    "y": 4684.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4537.566162109375,\r
+    "y": 4641.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "bffc0dc9.a62e08"\r
+        "cf80b7cc.7e2e9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7093291a.080b6",\r
+    "id": "c45fd018.eeb138",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4615.440460205078,\r
-    "y": 4730.339935302734,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4538.05712890625,\r
+    "y": 4687.456604003906,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ff47d1c6.a1d1"\r
+        "cdbcda75.ac4888"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8f2c4a9c.eaf89",\r
+    "id": "e9db7616.b3ebb8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4612.949493408203,\r
-    "y": 4773.765899658203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4535.566162109375,\r
+    "y": 4730.882568359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5a207984.9538"\r
+        "840bbd02.3035a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "31c1ab24.2782c4",\r
+    "id": "297b4ae7.8b9706",\r
     "type": "comment",\r
     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6023.766387939453,\r
-    "y": 7071.966827392578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5946.383056640625,\r
+    "y": 7029.08349609375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3272cf3c.df27d8",\r
+    "id": "457d3858.29d0e",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5292.2333984375,\r
-    "y": 4303.16650390625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5214.850067138672,\r
+    "y": 4260.283172607422,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d1d7ad20.29b52",\r
+    "id": "b25769d8.6df3c8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4794.233642578125,\r
-    "y": 4369.16650390625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4716.850311279297,\r
+    "y": 4326.283172607422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3f823260.f76936",\r
+    "id": "201cbbc6.38c61c",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5325.2333984375,\r
-    "y": 4371.16650390625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5247.850067138672,\r
+    "y": 4328.283172607422,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "de937f43.9aff7",\r
-        "af59f95b.0de0c8"\r
+        "823be1e9.77a818",\r
+        "82dbf116.45c298"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "de937f43.9aff7",\r
+    "id": "823be1e9.77a818",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5450.2333984375,\r
-    "y": 4269.166259765625,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5372.850067138672,\r
+    "y": 4226.282928466797,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "31c7669e.9273ea"\r
+        "ea4b8bb2.02c728"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "af59f95b.0de0c8",\r
+    "id": "82dbf116.45c298",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5569.233428955078,\r
-    "y": 4343.166290283203,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5491.85009765625,\r
+    "y": 4300.282958984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "361b2cba.676744",\r
+    "id": "12318d1c.9b97cb",\r
     "type": "set",\r
     "name": "set srcTtp OTN layer",\r
     "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4537.916534423828,\r
-    "y": 3914.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4460.533203125,\r
+    "y": 3872,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "37ee69b4.cc11f6",\r
+    "id": "1c49d26a.15504e",\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": 4882.916534423828,\r
-    "y": 3776.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4805.533203125,\r
+    "y": 3734,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "35c1fec6.57172a"\r
+        "ee8d9735.9d0e18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a8388031.3aed68",\r
+    "id": "75d5369a.76387",\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": 4589.916534423828,\r
-    "y": 3770.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4512.533203125,\r
+    "y": 3728,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "37ee69b4.cc11f6"\r
+        "1c49d26a.15504e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a8458e1d.db654",\r
+    "id": "2e9ad10b.18ccd6",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4844.916534423828,\r
-    "y": 3727.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4767.533203125,\r
+    "y": 3685,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "f592965f.32c0e8",\r
+    "id": "8bf9488.63f0cb8",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
     "comments": "",\r
-    "x": 4533.916534423828,\r
-    "y": 3822.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4456.533203125,\r
+    "y": 3780,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5ddf33c1.65a594",\r
+    "id": "4168ca78.86bd8c",\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": 4541.916534423828,\r
-    "y": 3867.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4464.533203125,\r
+    "y": 3825,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "76b17a13.8ea0bc",\r
+    "id": "6e2860cf.ccae3",\r
     "type": "set",\r
     "name": "unset otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
     "comments": "",\r
-    "x": 4538.916534423828,\r
-    "y": 3720.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4461.533203125,\r
+    "y": 3678,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "35c1fec6.57172a",\r
+    "id": "ee8d9735.9d0e18",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4791.916534423828,\r
-    "y": 3844.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4714.533203125,\r
+    "y": 3802,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a725ab73.c73ac"\r
+        "16183a46.3a0a2e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a725ab73.c73ac",\r
+    "id": "16183a46.3a0a2e",\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": 4976.916534423828,\r
-    "y": 3843.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4899.533203125,\r
+    "y": 3801,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "d15b8b2d.be0c58"\r
+        "9cdceec0.5d3c1"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d15b8b2d.be0c58",\r
+    "id": "9cdceec0.5d3c1",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5168.916534423828,\r
-    "y": 3846.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5091.533203125,\r
+    "y": 3804,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "8eebb571.fd6c9"\r
+        "a8a5fc36.2f7d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8eebb571.fd6c9",\r
+    "id": "a8a5fc36.2f7d",\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": 5340.916534423828,\r
-    "y": 3842.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5263.533203125,\r
+    "y": 3800,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b7e80ea.96d268",\r
+    "id": "eb8710b8.36ef48",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4716.916534423828,\r
-    "y": 3957.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4639.533203125,\r
+    "y": 3915,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b4ed3622.c08",\r
+    "id": "616a588c.b788e8",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4233.916534423828,\r
-    "y": 3742.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4156.533203125,\r
+    "y": 3700,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "26ef8b2b.34003c",\r
-        "269ffcd4.c70e7c",\r
-        "f592965f.32c0e8",\r
-        "5ddf33c1.65a594",\r
-        "361b2cba.676744",\r
-        "a8388031.3aed68",\r
-        "4b7e80ea.96d268"\r
+        "711898b1.a3a988",\r
+        "c5e1be90.cd78d",\r
+        "8bf9488.63f0cb8",\r
+        "4168ca78.86bd8c",\r
+        "12318d1c.9b97cb",\r
+        "75d5369a.76387",\r
+        "eb8710b8.36ef48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ce279396.ecc818",\r
+    "id": "d9429d2a.b15568",\r
     "type": "comment",\r
     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
     "comments": "",\r
-    "x": 4218.916534423828,\r
-    "y": 3676.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4141.533203125,\r
+    "y": 3634,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "269ffcd4.c70e7c",\r
+    "id": "c5e1be90.cd78d",\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/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4597.916534423828,\r
-    "y": 3663.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4520.533203125,\r
+    "y": 3621,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2b1251d3.218d36",\r
-        "69b1ddc7.bc8184",\r
-        "a8458e1d.db654"\r
+        "d0e253fc.83209",\r
+        "415d3771.16041",\r
+        "2e9ad10b.18ccd6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2b1251d3.218d36",\r
+    "id": "d0e253fc.83209",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4833.916534423828,\r
-    "y": 3646.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4756.533203125,\r
+    "y": 3604,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "69b1ddc7.bc8184",\r
+    "id": "415d3771.16041",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4830.916534423828,\r
-    "y": 3687.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4753.533203125,\r
+    "y": 3645,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "26ef8b2b.34003c",\r
+    "id": "711898b1.a3a988",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
     "comments": "",\r
-    "x": 4546.916534423828,\r
-    "y": 3620.883331298828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4469.533203125,\r
+    "y": 3578,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a7d12ef0.b4e948",\r
+    "id": "6bda79b8.645a68",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5276.316436767578,\r
-    "y": 4670.283233642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5198.93310546875,\r
+    "y": 4627.39990234375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1b45b5a2.80df72",\r
+    "id": "94dec63b.8ae1e",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5065.316436767578,\r
-    "y": 4732.283233642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4987.93310546875,\r
+    "y": 4689.39990234375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ed1b64d5.33faa"\r
+        "5b09d63.4152d28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ed1b64d5.33faa",\r
+    "id": "5b09d63.4152d28",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5309.316436767578,\r
-    "y": 4738.283233642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5231.93310546875,\r
+    "y": 4695.39990234375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "230e8d7f.cf5b82",\r
-        "8c0eb7af.7df34"\r
+        "4ce07cc6.c3d424",\r
+        "f554a368.1a08c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "230e8d7f.cf5b82",\r
+    "id": "4ce07cc6.c3d424",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5540.316436767578,\r
-    "y": 4716.283233642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5462.93310546875,\r
+    "y": 4673.39990234375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "626950bd.12ae3"\r
+        "e736f8f3.ed2808"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8c0eb7af.7df34",\r
+    "id": "f554a368.1a08c8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5545.316436767578,\r
-    "y": 4783.283233642578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5467.93310546875,\r
+    "y": 4740.39990234375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a8be8ed1.6d85c",\r
+    "id": "4a82e0bf.f144f",\r
     "type": "switchNode",\r
     "name": "switch tmp.isBwIncreased",\r
     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5794.2001953125,\r
-    "y": 4280.965576171875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5716.816864013672,\r
+    "y": 4238.082244873047,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "5f515b8.97d0aa4",\r
-        "e3c5fe18.dd7758"\r
+        "8b36e42.8d18318",\r
+        "9e33af49.9f241"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5f515b8.97d0aa4",\r
+    "id": "8b36e42.8d18318",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5949.200225830078,\r
-    "y": 4208.965850830078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5871.81689453125,\r
+    "y": 4166.08251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b9ddbbac.4ceb18"\r
+        "b40b55f7.23af98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e3c5fe18.dd7758",\r
+    "id": "9e33af49.9f241",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5950.200225830078,\r
-    "y": 4341.965850830078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5872.81689453125,\r
+    "y": 4299.08251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "7f4f722.c77710c"\r
+        "b38dd55a.418b38"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b9ddbbac.4ceb18",\r
+    "id": "b40b55f7.23af98",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6094.200225830078,\r
-    "y": 4208.966094970703,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6016.81689453125,\r
+    "y": 4166.082763671875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c99d2def.311358",\r
-        "6bec6ba7.e1cedc"\r
+        "3913dc06.a223d4",\r
+        "839acfd7.2291a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c99d2def.311358",\r
+    "id": "3913dc06.a223d4",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6387.200225830078,\r
-    "y": 4186.965850830078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6309.81689453125,\r
+    "y": 4144.08251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "6bec6ba7.e1cedc",\r
+    "id": "839acfd7.2291a",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6338.850128173828,\r
-    "y": 4234.282745361328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6261.466796875,\r
+    "y": 4191.3994140625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "9711fbcd.9495e8",\r
+    "id": "4d10eebf.474a88",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6412.2001953125,\r
-    "y": 4135.965576171875,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6334.816864013672,\r
+    "y": 4093.082244873047,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7f4f722.c77710c",\r
+    "id": "b38dd55a.418b38",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6106.200225830078,\r
-    "y": 4340.966094970703,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6028.81689453125,\r
+    "y": 4298.082763671875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "59431729.1fb158",\r
-        "1fc311b.d897f6e"\r
+        "8675cc13.463188",\r
+        "35c1f8d2.a502"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "59431729.1fb158",\r
+    "id": "8675cc13.463188",\r
     "type": "save",\r
     "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6399.200225830078,\r
-    "y": 4318.965850830078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6321.81689453125,\r
+    "y": 4276.08251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1fc311b.d897f6e",\r
+    "id": "35c1f8d2.a502",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6350.850128173828,\r
-    "y": 4366.282745361328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6273.466796875,\r
+    "y": 4323.3994140625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1617355e.191edb",\r
+    "id": "b5ed36f4.c5e02",\r
     "type": "comment",\r
     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6423.200225830078,\r
-    "y": 4279.965850830078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6345.81689453125,\r
+    "y": 4237.08251953125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "626950bd.12ae3",\r
+    "id": "e736f8f3.ed2808",\r
     "type": "switchNode",\r
     "name": "switch tmp.isBwIncreased",\r
     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5745.433135986328,\r
-    "y": 4723.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5668.0498046875,\r
+    "y": 4680.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a17c6b6f.2c879",\r
-        "a4050844.87c708"\r
+        "c39fa1bf.775f28",\r
+        "760b6a69.a4fd14"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a17c6b6f.2c879",\r
+    "id": "c39fa1bf.775f28",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5940.433135986328,\r
-    "y": 4651.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5863.0498046875,\r
+    "y": 4608.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "cccf95aa.d66d78"\r
+        "903811e2.41d4e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a4050844.87c708",\r
+    "id": "760b6a69.a4fd14",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5941.433135986328,\r
-    "y": 4784.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5864.0498046875,\r
+    "y": 4741.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "90ce4884.5c53c8"\r
+        "8a352d04.a7b5f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cccf95aa.d66d78",\r
+    "id": "903811e2.41d4e8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6085.433135986328,\r
-    "y": 4651.166778564453,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6008.0498046875,\r
+    "y": 4608.283447265625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c37b260.db0c1d8",\r
-        "742aa3a0.c04704"\r
+        "dd052918.eeeec8",\r
+        "5b6d1623.4afde8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c37b260.db0c1d8",\r
+    "id": "dd052918.eeeec8",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6378.433135986328,\r
-    "y": 4629.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6301.0498046875,\r
+    "y": 4586.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "742aa3a0.c04704",\r
+    "id": "5b6d1623.4afde8",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6330.083038330078,\r
-    "y": 4676.483428955078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6252.69970703125,\r
+    "y": 4633.60009765625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5708f1c2.de612",\r
+    "id": "f8433708.1cf278",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6402.433135986328,\r
-    "y": 4590.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6325.0498046875,\r
+    "y": 4547.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "90ce4884.5c53c8",\r
+    "id": "8a352d04.a7b5f",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6097.433135986328,\r
-    "y": 4783.166778564453,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6020.0498046875,\r
+    "y": 4740.283447265625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9bebcf2c.a35908",\r
-        "bf7ecccc.77e158"\r
+        "1797ce6f.bf55da",\r
+        "f850925d.eaddb8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9bebcf2c.a35908",\r
+    "id": "1797ce6f.bf55da",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6390.433135986328,\r
-    "y": 4761.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6313.0498046875,\r
+    "y": 4718.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "bf7ecccc.77e158",\r
+    "id": "f850925d.eaddb8",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6342.083038330078,\r
-    "y": 4808.483428955078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6264.69970703125,\r
+    "y": 4765.60009765625,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "898aa8ca.144488",\r
+    "id": "98f83ad6.f376c",\r
     "type": "comment",\r
     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6414.433135986328,\r
-    "y": 4722.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6337.0498046875,\r
+    "y": 4679.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3302d733.17cb08",\r
+    "id": "f3a92d2f.d14e78",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5153.283233642578,\r
-    "y": 5463.366729736328,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5075.89990234375,\r
+    "y": 5420.4833984375,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c4bba10e.ae5948",\r
+    "id": "cfcbce5e.a3353",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5151.066436767578,\r
-    "y": 5503.566925048828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5073.68310546875,\r
+    "y": 5460.68359375,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "fba1ca00.18c228",\r
+    "id": "35bf741d.0589dc",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5026.316680908203,\r
-    "y": 5688.049835205078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4948.933349609375,\r
+    "y": 5645.16650390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "bc2e1526.9ae628",\r
+    "id": "58a0b8d5.3916c8",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5024.099884033203,\r
-    "y": 5728.250030517578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4946.716552734375,\r
+    "y": 5685.36669921875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c14b3eb1.3ce2b",\r
+    "id": "141a3bed.ea5a94",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5128.433135986328,\r
-    "y": 6171.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5046.0498046875,\r
+    "y": 5969.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "78d24bb0.4c8ea4",\r
+    "id": "8127bfc.2c0cdc",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4955.433135986328,\r
-    "y": 6228.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4873.0498046875,\r
+    "y": 6026.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "8d0d07ba.6f81c8",\r
-        "4ae3fa7f.c7968c"\r
+        "eb3bc0b8.920088",\r
+        "e32169bb.0af1a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8d0d07ba.6f81c8",\r
+    "id": "eb3bc0b8.920088",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5166.433135986328,\r
-    "y": 6228.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5084.0498046875,\r
+    "y": 6026.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "7c55c647.3c8228"\r
+        "2548cb5a.7d91a4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4ae3fa7f.c7968c",\r
+    "id": "e32169bb.0af1a8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5162.433135986328,\r
-    "y": 6276.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5080.0498046875,\r
+    "y": 6074.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2e757361.f3de2c"\r
+        "6b0e17ed.7e019"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7c55c647.3c8228",\r
+    "id": "2548cb5a.7d91a4",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5322.433135986328,\r
-    "y": 6224.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5240.0498046875,\r
+    "y": 6022.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2cbacdde.26f332",\r
-        "94ab2e80.b69ba8",\r
-        "d5533498.f6f7f"\r
+        "4736668b.da34e8",\r
+        "d60814f1.44b368",\r
+        "3b369b46.f16d74"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2e757361.f3de2c",\r
+    "id": "6b0e17ed.7e019",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 5310.433135986328,\r
-    "y": 6271.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5228.0498046875,\r
+    "y": 6069.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "510063da.63ac6c",\r
+    "id": "b390ff23.8e635",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5588.316925048828,\r
-    "y": 6324.049835205078,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5505.93359375,\r
+    "y": 6122.16650390625,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d5533498.f6f7f",\r
+    "id": "3b369b46.f16d74",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5586.100128173828,\r
-    "y": 6364.250030517578,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5503.716796875,\r
+    "y": 6162.36669921875,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "94ab2e80.b69ba8",\r
+    "id": "d60814f1.44b368",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5705.433135986328,\r
-    "y": 6276.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5623.0498046875,\r
+    "y": 6074.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2cbacdde.26f332",\r
+    "id": "4736668b.da34e8",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5576.433135986328,\r
-    "y": 6224.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5494.0498046875,\r
+    "y": 6022.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d8a0b134.770b1",\r
+    "id": "85c984f2.33f7c8",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5017.433135986328,\r
-    "y": 6129.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4935.0498046875,\r
+    "y": 5927.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "54a65e87.65172",\r
+    "id": "f942597e.1aa18",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4724.766143798828,\r
-    "y": 6211.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4582.3828125,\r
+    "y": 6014.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "c14b3eb1.3ce2b",\r
-        "78d24bb0.4c8ea4"\r
+        "141a3bed.ea5a94",\r
+        "8127bfc.2c0cdc",\r
+        "8afd899a.01e88",\r
+        "8c1f115c.700108"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "11c77751.f259a1",\r
+    "id": "fc4aa587.17d69",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5003.516632080078,\r
-    "y": 6526.166534423828,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4926.13330078125,\r
+    "y": 6483.283203125,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7eabc766.dd7c8",\r
+    "id": "41ec9458.f731e4",\r
     "type": "comment",\r
     "name": "TODO: BUG -- DONE",\r
     "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
     "comments": "",\r
-    "x": 3708.8837890625,\r
-    "y": 3802.88330078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 3631.500457763672,\r
+    "y": 3759.999969482422,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c0c356fb.babc",\r
+    "id": "23b69bc.0871b64",\r
     "type": "save",\r
     "name": "get all-vpn-bindings from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4461.4169921875,\r
-    "y": 4077,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4384.033660888672,\r
+    "y": 4034.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b8196ee9.4b3808",\r
-        "80c1418b.2150d8",\r
-        "56405931.8c65f8"\r
+        "75525335.c9aa54",\r
+        "d5340ebc.32553",\r
+        "f8167756.f35bd8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "eb18f7d.31abf88",\r
+    "id": "977709e8.5868c",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4569.417236328125,\r
-    "y": 4033,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4492.033905029297,\r
+    "y": 3990.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b8196ee9.4b3808",\r
+    "id": "75525335.c9aa54",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4666.4169921875,\r
-    "y": 4074,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4589.033660888672,\r
+    "y": 4031.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "9aacf189.24898"\r
+        "b5414319.96d9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "80c1418b.2150d8",\r
+    "id": "d5340ebc.32553",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4649.907958984375,\r
-    "y": 4135.574035644531,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4572.524627685547,\r
+    "y": 4092.690704345703,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "de469de6.448a8"\r
+        "a327dd9c.9d096"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "56405931.8c65f8",\r
+    "id": "f8167756.f35bd8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4647.4169921875,\r
-    "y": 4179,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4570.033660888672,\r
+    "y": 4136.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "6c1db7b.a15c7c8"\r
+        "784d31ab.abb97"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9aacf189.24898",\r
+    "id": "b5414319.96d9",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4834.417236328125,\r
-    "y": 4069,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4757.033905029297,\r
+    "y": 4026.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3b0478b5.ff78"\r
+        "98142959.81fca"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "de469de6.448a8",\r
+    "id": "a327dd9c.9d096",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4812.4793701171875,\r
-    "y": 4135.859771728516,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4735.096038818359,\r
+    "y": 4092.9764404296875,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6c1db7b.a15c7c8",\r
+    "id": "784d31ab.abb97",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4814.4169921875,\r
-    "y": 4178,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4737.033660888672,\r
+    "y": 4135.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3b0478b5.ff78",\r
+    "id": "98142959.81fca",\r
     "type": "for",\r
     "name": "for vpnidx in all-vpn-bindings",\r
     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5072.417236328125,\r
-    "y": 4074,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4995.033905029297,\r
+    "y": 4031.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "b59112.09635ef"\r
+        "6df0b8a0.a7c62"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b59112.09635ef",\r
+    "id": "6df0b8a0.a7c62",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5306.4169921875,\r
-    "y": 4081,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5229.033660888672,\r
+    "y": 4038.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "3f823260.f76936"\r
+        "201cbbc6.38c61c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "67daf127.7e6a38",\r
+    "id": "92806e4e.351398",\r
     "type": "set",\r
     "name": "unset tmp.aai.all-vpn-bindings",\r
     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
     "comments": "",\r
-    "x": 4440.11669921875,\r
-    "y": 4003,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4362.733367919922,\r
+    "y": 3960.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "11444ec1.8e4d01",\r
+    "id": "f43de449.20024",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5723.2666015625,\r
-    "y": 4091.5830078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5645.883270263672,\r
+    "y": 4048.699676513672,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "f98d1d31.14c4f8"\r
+        "7a53ecb2.cec2c4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f98d1d31.14c4f8",\r
+    "id": "7a53ecb2.cec2c4",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5915.2666015625,\r
-    "y": 4080.583251953125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5837.883270263672,\r
+    "y": 4037.699920654297,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "894c5e31.55f348"\r
+        "700641c0.5a055"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "894c5e31.55f348",\r
+    "id": "700641c0.5a055",\r
     "type": "outcome",\r
     "name": "connectivity",\r
     "xml": "<outcome value='connectivity'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6097.2666015625,\r
-    "y": 4059.583251953125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6019.883270263672,\r
+    "y": 4016.699920654297,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "2837af93.7fedb8"\r
+        "9920129e.a09"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2837af93.7fedb8",\r
+    "id": "9920129e.a09",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 6259.2666015625,\r
-    "y": 4048.583251953125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6181.883270263672,\r
+    "y": 4005.699920654297,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "75575304.c30724",\r
-        "fb102e8c.f8d02"\r
+        "7f7dfee.7fba8",\r
+        "c8f259e.2871ba8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "75575304.c30724",\r
+    "id": "7f7dfee.7fba8",\r
     "type": "set",\r
     "name": "unset tmp.the-connectivity",\r
     "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
     "comments": "",\r
-    "x": 6456.2666015625,\r
-    "y": 3977.583251953125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6378.883270263672,\r
+    "y": 3934.699920654297,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "812bc4de.8330d",\r
+    "id": "335b26db.86f24a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5630.216796875,\r
-    "y": 4206.5830078125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5552.833465576172,\r
+    "y": 4163.699676513672,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "a8be8ed1.6d85c",\r
-        "11444ec1.8e4d01",\r
-        "7f9cffe2.08c768",\r
-        "8c2c4043.586498"\r
+        "4a82e0bf.f144f",\r
+        "f43de449.20024",\r
+        "1e79d0a7.c66727",\r
+        "7f90edcc.1e82b4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7f9cffe2.08c768",\r
+    "id": "1e79d0a7.c66727",\r
     "type": "set",\r
     "name": "unset tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
     "comments": "",\r
-    "x": 5761.783203125,\r
-    "y": 3981.800048828125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5684.399871826172,\r
+    "y": 3938.916717529297,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8c2c4043.586498",\r
+    "id": "7f90edcc.1e82b4",\r
     "type": "set",\r
     "name": "set tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
     "comments": "",\r
-    "x": 5753.783203125,\r
-    "y": 4030.800048828125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5676.399871826172,\r
+    "y": 3987.916717529297,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fb102e8c.f8d02",\r
+    "id": "c8f259e.2871ba8",\r
     "type": "set",\r
     "name": "set tmp.the-connectivity.connectivity-id",\r
     "xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
     "comments": "",\r
-    "x": 6461.7333984375,\r
-    "y": 4086.800048828125,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 6384.350067138672,\r
+    "y": 4043.916717529297,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a9133f1b.8373c8",\r
+    "id": "a412e157.cf47d8",\r
     "type": "set",\r
     "name": "set vpnNameToSearch",\r
     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
     "comments": "",\r
-    "x": 5755,\r
-    "y": 3805,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5677.616668701172,\r
+    "y": 3762.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b95d87b.bccc58",\r
+    "id": "6887559d.aa01b4",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5909,\r
-    "y": 3857,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5831.616668701172,\r
+    "y": 3814.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "31c7669e.9273ea",\r
+    "id": "ea4b8bb2.02c728",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5500,\r
-    "y": 3924,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5422.616668701172,\r
+    "y": 3881.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "4b95d87b.bccc58",\r
-        "26b17ecc.f40902",\r
-        "a9133f1b.8373c8"\r
+        "6887559d.aa01b4",\r
+        "d154a2e6.a2bcc",\r
+        "a412e157.cf47d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "26b17ecc.f40902",\r
+    "id": "d154a2e6.a2bcc",\r
     "type": "switchNode",\r
     "name": "switch $foundVpnName",\r
     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5754,\r
-    "y": 3912,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5676.616668701172,\r
+    "y": 3869.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "245d39b1.fcc7b6"\r
+        "89918c5f.33a478"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "245d39b1.fcc7b6",\r
+    "id": "89918c5f.33a478",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5933,\r
-    "y": 3911,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 5855.616668701172,\r
+    "y": 3868.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "812bc4de.8330d"\r
+        "335b26db.86f24a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2f3de295.447b1e",\r
+    "id": "2fafeba7.6be734",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4631,\r
-    "y": 7429,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4553.616668701172,\r
+    "y": 7386.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "48382561.04ccdc",\r
-        "a0fe64b2.d649a",\r
-        "3a51bb36.70835c"\r
+        "18db3335.23915d",\r
+        "d2fe4c45.697938",\r
+        "175608de.c2a5b7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3a51bb36.70835c",\r
+    "id": "175608de.c2a5b7",\r
     "type": "set",\r
     "name": "set vpnNameToSearch",\r
     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
     "comments": "",\r
-    "x": 4854,\r
-    "y": 7373,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4776.616668701172,\r
+    "y": 7330.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
   },\r
   {\r
-    "id": "48382561.04ccdc",\r
+    "id": "18db3335.23915d",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5033,\r
-    "y": 7416,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4955.616668701172,\r
+    "y": 7373.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a0fe64b2.d649a",\r
+    "id": "d2fe4c45.697938",\r
     "type": "switchNode",\r
     "name": "switch $foundVpnName",\r
     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4878,\r
-    "y": 7471,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4800.616668701172,\r
+    "y": 7428.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "e761a2b0.d43cc"\r
+        "5916bddb.120d64"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e761a2b0.d43cc",\r
+    "id": "5916bddb.120d64",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5057,\r
-    "y": 7470,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4979.616668701172,\r
+    "y": 7427.116668701172,\r
+    "z": "4138d8f7.da252",\r
     "wires": [\r
       [\r
-        "ed22a86b.d791b8"\r
+        "997dfd42.35e9c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9efae615.dd5ab",\r
+    "id": "afa717d0.25e7a8",\r
     "type": "set",\r
     "name": "unset tmp.aai.all-vpn-bindings",\r
     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
     "comments": "",\r
-    "x": 4788,\r
-    "y": 7109,\r
-    "z": "1854297c.6f0f4f",\r
+    "x": 4710.616668701172,\r
+    "y": 7066.116668701172,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "46e10049.e35348",\r
+    "type": "set",\r
+    "name": "unset secondary related variables",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 3276.2332763671875,\r
+    "y": 460.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "26a90c3.2a56674",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4051.332763671875,\r
+    "y": 521.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "949451da.c153b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "949451da.c153b8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4220.332763671875,\r
+    "y": 518.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "33bf54d9.6913cc",\r
+        "9e64bdfc.fb79a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "33bf54d9.6913cc",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4444.332763671875,\r
+    "y": 551.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9e64bdfc.fb79a8",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4390.332763671875,\r
+    "y": 591.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "16154f9d.14a3b",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4016.333251953125,\r
+    "y": 720.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "85975abf.6c518"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "85975abf.6c518",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4181.33251953125,\r
+    "y": 725.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "adebbb96.d8f2f",\r
+        "88877892.df83d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "adebbb96.d8f2f",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4428.332763671875,\r
+    "y": 807.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88877892.df83d8",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4374.332763671875,\r
+    "y": 847.7666625976562,\r
+    "z": "4138d8f7.da252",\r
     "wires": []\r
+  },\r
+  {\r
+    "id": "f55201f.0be188",\r
+    "type": "save",\r
+    "name": "get network-route-three from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3259.333251953125,\r
+    "y": 859.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e0b52eb6.aea228",\r
+        "c2961466.a099a8",\r
+        "6a533bc.97a86c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0b52eb6.aea228",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3501.333251953125,\r
+    "y": 852.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2961466.a099a8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3496.842315673828,\r
+    "y": 895.1927185058594,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a533bc.97a86c4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3500.84228515625,\r
+    "y": 943.1926879882812,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "83cc008.07d49"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "83cc008.07d49",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3662.333251953125,\r
+    "y": 883.7666625976562,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "2318951c.d8223a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2318951c.d8223a",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3833.333251953125,\r
+    "y": 883.766845703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "1ecaee8d.2e04b1",\r
+        "6f57dead.f93a98",\r
+        "743eca24.c93994"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ecaee8d.2e04b1",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4000.3330078125,\r
+    "y": 793.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "ced307c.4c3f7f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f57dead.f93a98",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4002.3330078125,\r
+    "y": 847.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e2f995cd.e955"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ced307c.4c3f7f8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4128.3330078125,\r
+    "y": 793.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "36a6204d.62e268",\r
+        "94b8b644.43f75"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2f995cd.e955",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4131.3330078125,\r
+    "y": 846.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "7b0ab608.42ea9",\r
+        "a90ad8f1.fdc558"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94b8b644.43f75",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4374.332763671875,\r
+    "y": 932.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7b0ab608.42ea9",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4391.332763671875,\r
+    "y": 974.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a90ad8f1.fdc558",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4376.332763671875,\r
+    "y": 1012.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "36a6204d.62e268",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4388.332763671875,\r
+    "y": 892.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "467d675.a17d518",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4553.332763671875,\r
+    "y": 908.7667846679688,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "743eca24.c93994",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3941.333251953125,\r
+    "y": 938.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "32cfa81c.1fdfe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "32cfa81c.1fdfe",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4115.333251953125,\r
+    "y": 933.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "7ba10fb0.49acb8",\r
+        "c1eb138a.5c454"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c1eb138a.5c454",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4348.332763671875,\r
+    "y": 1102.7665405273438,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7ba10fb0.49acb8",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4402.332763671875,\r
+    "y": 1062.7665405273438,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f3ed1968.f2e4c",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4516.332763671875,\r
+    "y": 1087.7665405273438,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9301f497.efdba",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3517,\r
+    "y": 2168,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "7448f46b.34e6cc",\r
+        "5277238e.78ec8c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "48753b32.6fce64",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3344.33349609375,\r
+    "y": 2169,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "9301f497.efdba"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7b2bdccd.4a3854",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3353.824462890625,\r
+    "y": 2211.5740356445312,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a4a0275.086048",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3342.33349609375,\r
+    "y": 2258,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7448f46b.34e6cc",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3803.33349609375,\r
+    "y": 2172.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "645217a3.91825",\r
+        "af1d3f52.b0745"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af1d3f52.b0745",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4026.33349609375,\r
+    "y": 2127.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "731452c3.85af84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "645217a3.91825",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4028.33349609375,\r
+    "y": 2191.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "6089c716.00dec8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa7f428c.6d6b2",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3116.33349609375,\r
+    "y": 2204,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "48753b32.6fce64",\r
+        "7b2bdccd.4a3854",\r
+        "9a4a0275.086048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c73afdde.7fd758",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3077.33349609375,\r
+    "y": 2148,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6834572.668ee28",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3136.33349609375,\r
+    "y": 1944,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "2bef51bc.6ca236",\r
+        "6cf1c76e.88753"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6cf1c76e.88753",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3359.33349609375,\r
+    "y": 1930,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f6f8952c.2953"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2bef51bc.6ca236",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3361.33349609375,\r
+    "y": 1963,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6f8952c.2953",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3507.33349609375,\r
+    "y": 1923,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f448bb3c.4541c8",\r
+        "dafe2b52.c4e9d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f448bb3c.4541c8",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3701.33349609375,\r
+    "y": 1926.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5277238e.78ec8c",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3754.333465576172,\r
+    "y": 2294.999969482422,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "eb06fc3b.085ab"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb06fc3b.085ab",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3960.333465576172,\r
+    "y": 2294.999969482422,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "a014a0c0.bb63d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dafe2b52.c4e9d",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3723.33349609375,\r
+    "y": 1994.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "a21fb44.41309c8",\r
+        "5685afe4.0b1f1",\r
+        "ea909548.33d5a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a21fb44.41309c8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3918.8336181640625,\r
+    "y": 1946.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "9cea62e1.55972"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5685afe4.0b1f1",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3910.8336181640625,\r
+    "y": 2001.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "89031999.da34c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea909548.33d5a",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3915.8336181640625,\r
+    "y": 2058.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "c3bf7f9d.8f5d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3bf7f9d.8f5d8",\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": 4067.8336181640625,\r
+    "y": 2059.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9cea62e1.55972",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4063.2159423828125,\r
+    "y": 1943.6557922363281,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e8d406ab.082b08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c5d257.6a579d8",\r
+    "type": "set",\r
+    "name": "set SECONDARY-ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' 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                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3139,\r
+    "y": 2283,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5e59531e.4360fc",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3813.999969482422,\r
+    "y": 2246.999969482422,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6089c716.00dec8",\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": 4187.33349609375,\r
+    "y": 2210.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "731452c3.85af84",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4191.33349609375,\r
+    "y": 2124.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "8743a739.8d80e8",\r
+        "538193e1.eab6f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a014a0c0.bb63d8",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4177.619110107422,\r
+    "y": 2293.821746826172,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "62c06921.59013"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "89031999.da34c",\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": 4078.8336181640625,\r
+    "y": 2004.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8743a739.8d80e8",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4361.33349609375,\r
+    "y": 2085.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "538193e1.eab6f4",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4362.33349609375,\r
+    "y": 2190.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a7a60345.c4fe3",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4357.33349609375,\r
+    "y": 2139.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "62c06921.59013",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4384.450653076172,\r
+    "y": 2283.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "61f01ac9.4769c4",\r
+        "6f3f4bab.137934",\r
+        "b1be6cb6.4fb618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61f01ac9.4769c4",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4599.450653076172,\r
+    "y": 2245.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6f3f4bab.137934",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4596.450653076172,\r
+    "y": 2284.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "2692e306.96b09c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b1be6cb6.4fb618",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4551.950653076172,\r
+    "y": 2326.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "50016039.86678",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4645.33349609375,\r
+    "y": 1962.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "19550590.021992"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8d406ab.082b08",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4247.33349609375,\r
+    "y": 1958.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "6de4be31.1810b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6de4be31.1810b",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4442.33349609375,\r
+    "y": 1958.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "50016039.86678",\r
+        "cba34b2.471f9b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cba34b2.471f9b8",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4647.33349609375,\r
+    "y": 2035.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "af92238d.b3b23"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2692e306.96b09c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4776.950653076172,\r
+    "y": 2283.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "b1246264.28f0f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b1246264.28f0f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4934.950653076172,\r
+    "y": 2283.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "fd4ac373.f8f388"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fd4ac373.f8f388",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5141.950653076172,\r
+    "y": 2283.3404235839844,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "19550590.021992",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4822.33349609375,\r
+    "y": 1954.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f2beac88.eedd2",\r
+        "e37f582f.5a4c9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e37f582f.5a4c9",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5030.33349609375,\r
+    "y": 1961.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "6a3803eb.9852cc",\r
+        "9a9acadd.82809",\r
+        "a1039497.bae268"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af92238d.b3b23",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4824.33349609375,\r
+    "y": 2027.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "99f85b9c.2a8238"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2beac88.eedd2",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainC id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5060.33349609375,\r
+    "y": 1909.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "99f85b9c.2a8238",\r
+    "type": "set",\r
+    "name": "set domainC ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5059.33349609375,\r
+    "y": 2151.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a3803eb.9852cc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5240.33349609375,\r
+    "y": 1952.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f25a9292.d1fb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a9acadd.82809",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5232.33349609375,\r
+    "y": 2007.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "7db8b6f1.adecb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a1039497.bae268",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5237.33349609375,\r
+    "y": 2064.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e3bf692a.f4e238"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e3bf692a.f4e238",\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": 5389.33349609375,\r
+    "y": 2065.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7db8b6f1.adecb8",\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": 5400.33349609375,\r
+    "y": 2010.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f25a9292.d1fb4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5384.7158203125,\r
+    "y": 1949.6557922363281,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "fbf54d7c.8184a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fbf54d7c.8184a",\r
+    "type": "set",\r
+    "name": "set controller domainC data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5599.33349609375,\r
+    "y": 1946.0001220703125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c067ce8c.82bd2",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5628.83349609375,\r
+    "y": 2068.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "858f96c1.79cbc",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5600.9501953125,\r
+    "y": 2117.88330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "8c0e0f7f.469198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c0e0f7f.469198",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5791.9501953125,\r
+    "y": 2121.88330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "a3faa53c.d04c58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3faa53c.d04c58",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5918.9501953125,\r
+    "y": 2120.88330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "53f62ca7.7b47cc",\r
+        "582e0a2f.97b604"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "582e0a2f.97b604",\r
+    "type": "save",\r
+    "name": "save SECONDARY-ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6140.9501953125,\r
+    "y": 2009.88330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "53f62ca7.7b47cc",\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": 6136.83349609375,\r
+    "y": 2068.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "142e04ee.e3d34b",\r
+        "257ca4bf.8f052c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "142e04ee.e3d34b",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6346.83349609375,\r
+    "y": 2045.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "9407e67d.da2418"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9407e67d.da2418",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6472.83349609375,\r
+    "y": 2045.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "cd746c7.fc5cf1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f87ebbbb.7e40d",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6477.83349609375,\r
+    "y": 2094.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "88ec87d6.84288",\r
+        "29cb92cc.e394be",\r
+        "74fc1523.42a1e4",\r
+        "f8b2efa2.8dbc38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "257ca4bf.8f052c",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6351.83349609375,\r
+    "y": 2094.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f87ebbbb.7e40d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd746c7.fc5cf1",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6800.83349609375,\r
+    "y": 2042.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "88ec87d6.84288",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainC",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6753.83349609375,\r
+    "y": 2133.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "29cb92cc.e394be",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6701.83349609375,\r
+    "y": 2175.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "74fc1523.42a1e4",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6830.83349609375,\r
+    "y": 2217.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdca37c0.7ca06",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6716.83349609375,\r
+    "y": 2090.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f8b2efa2.8dbc38",\r
+    "type": "save",\r
+    "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6808.83349609375,\r
+    "y": 2265.7666015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b0442b9.4b628d",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6372.83349609375,\r
+    "y": 2762.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "12529b57.e28025"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "12529b57.e28025",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6564.83349609375,\r
+    "y": 2757.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "78bbff94.82c65"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "78bbff94.82c65",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6693.83349609375,\r
+    "y": 2757.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "c9dee4ca.bc2dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9dee4ca.bc2dc",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7025.83349609375,\r
+    "y": 2755.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c1546bd.e66d418",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5957.83349609375,\r
+    "y": 2974.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "13b9a3fa.0e3ae4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "13b9a3fa.0e3ae4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6137.83349609375,\r
+    "y": 2973.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e57b12b2.74ef18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e57b12b2.74ef18",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6266.83349609375,\r
+    "y": 2973.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "c79e7977.2b3cc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c79e7977.2b3cc8",\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": 6484.716796875,\r
+    "y": 2972.449951171875,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "76ccfb33.2c6e3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "76ccfb33.2c6e3c",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6699.716796875,\r
+    "y": 2972.449951171875,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f287a7b9.c4a8b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f287a7b9.c4a8b",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6831.716796875,\r
+    "y": 2972.449951171875,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "3f3acb0.03380b6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f3acb0.03380b6",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7195.83349609375,\r
+    "y": 2971.566650390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c12d321.f6ab2c",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4928.33251953125,\r
+    "y": 2622.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "700dbefa.a5007"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "700dbefa.a5007",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5108.33251953125,\r
+    "y": 2621.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "c3579242.e478c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3579242.e478c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5237.33251953125,\r
+    "y": 2621.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "69f846d5.9ccd18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cdd1f45b.46fb58",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4973.33251953125,\r
+    "y": 2680.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "69f846d5.9ccd18",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5003.33251953125,\r
+    "y": 2713.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "622ffdb0.75cb54",\r
+        "c593ae10.f47a3",\r
+        "24e47d1.d702d82"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c593ae10.f47a3",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5184.823486328125,\r
+    "y": 2690.70751953125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "439fba81.48a81c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24e47d1.d702d82",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5173.33251953125,\r
+    "y": 2730.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e58b129f.993b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "439fba81.48a81c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5344.39501953125,\r
+    "y": 2688.9931640625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e58b129f.993b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5334.33251953125,\r
+    "y": 2731.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "622ffdb0.75cb54",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5178.33251953125,\r
+    "y": 2767.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "ea27280d.d02bf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea27280d.d02bf8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5336.33251953125,\r
+    "y": 2775.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "5d2e8885.4f468",\r
+        "6cb98496.dc88f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d2e8885.4f468",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 5497.33251953125,\r
+    "y": 2707.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6cb98496.dc88f4",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5539.33251953125,\r
+    "y": 2779.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d39256ff.c99e4",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5015.33251953125,\r
+    "y": 2980.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "9b669929.a8064"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b669929.a8064",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5195.33251953125,\r
+    "y": 2979.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "479be729.dc0248"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "479be729.dc0248",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5324.33251953125,\r
+    "y": 2979.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "96ab8e09.feb69"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "89e60282.d93268",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5060.33251953125,\r
+    "y": 3038.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "96ab8e09.feb69",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5090.33251953125,\r
+    "y": 3071.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "d8822576.b3585",\r
+        "75b8d325.77424c",\r
+        "c70dc607.d25bf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75b8d325.77424c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5271.823486328125,\r
+    "y": 3048.70751953125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "1c3be14a.a5638f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c70dc607.d25bf8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5260.33251953125,\r
+    "y": 3088.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "57a20811.9713c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1c3be14a.a5638f",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5431.39501953125,\r
+    "y": 3046.9931640625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "57a20811.9713c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5421.33251953125,\r
+    "y": 3089.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8822576.b3585",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5265.33251953125,\r
+    "y": 3125.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "89319d00.a640d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "89319d00.a640d8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5423.33251953125,\r
+    "y": 3133.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "f52ef279.5e2fa8",\r
+        "ebb57be1.fff538"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f52ef279.5e2fa8",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 5584.33251953125,\r
+    "y": 3065.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ebb57be1.fff538",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5626.33251953125,\r
+    "y": 3137.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b27458da.77b73",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3497,\r
+    "y": 4562.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "b7009e9a.816708"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7009e9a.816708",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3677,\r
+    "y": 4561.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "75b6f667.ff2f48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75b6f667.ff2f48",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3806,\r
+    "y": 4561.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e0e9d687.026568"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "93bf9820.efc6f",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3542,\r
+    "y": 4620.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e0e9d687.026568",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3572,\r
+    "y": 4653.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "6dcb758c.68fb4c",\r
+        "79d68d78.6f5a44",\r
+        "5d2b0296.8c0914"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "79d68d78.6f5a44",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3753.490966796875,\r
+    "y": 4630.70751953125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "283870b5.b39d78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d2b0296.8c0914",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3742,\r
+    "y": 4670.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "307bdbbc.e5590c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "283870b5.b39d78",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3913.0625,\r
+    "y": 4628.9931640625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "307bdbbc.e5590c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3903,\r
+    "y": 4671.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6dcb758c.68fb4c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3747,\r
+    "y": 4707.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "22012b3c.a0e674"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "22012b3c.a0e674",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3905,\r
+    "y": 4715.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "7783af35.773e7",\r
+        "e7eec98c.ca59"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7783af35.773e7",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 4066,\r
+    "y": 4647.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e7eec98c.ca59",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4108,\r
+    "y": 4719.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e87132f3.ee29c",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4188.6669921875,\r
+    "y": 5517.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cb7342b9.a9c168",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4343.6669921875,\r
+    "y": 5558.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a7c44d8.30aa44",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4159.6669921875,\r
+    "y": 5616.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "8bec5884.15258",\r
+        "bb24a1ac.622598"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8bec5884.15258",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4395.6669921875,\r
+    "y": 5600.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "6d098a3a.3afd8c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb24a1ac.622598",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4394.6669921875,\r
+    "y": 5648.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d098a3a.3afd8c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4539.6669921875,\r
+    "y": 5602.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "de9129b3.62ee98",\r
+        "95ed5b5c.afa778",\r
+        "140ab45c.08ae54"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "de9129b3.62ee98",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4951.667236328125,\r
+    "y": 5737.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "95ed5b5c.afa778",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5072.667236328125,\r
+    "y": 5784.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc8a01e6.d0596",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4955.551025390625,\r
+    "y": 5828.0166015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "140ab45c.08ae54",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4954.334228515625,\r
+    "y": 5869.216796875,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4e2e6b5c.090cf4",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4815,\r
+    "y": 6123.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8afd899a.01e88",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4981,\r
+    "y": 6162.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c1f115c.700108",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4820,\r
+    "y": 6212.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "53961644.a48598",\r
+        "58a624c5.6a1504"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "53961644.a48598",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5053,\r
+    "y": 6206.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "1edcc228.5234b6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "58a624c5.6a1504",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5054,\r
+    "y": 6256.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1edcc228.5234b6",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5200,\r
+    "y": 6214.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "a2cd952f.42f1c8",\r
+        "75bd12d0.4fb564",\r
+        "ddd98790.fa90d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a2cd952f.42f1c8",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5447,\r
+    "y": 6202.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "75bd12d0.4fb564",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5568,\r
+    "y": 6249.13330078125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6c605ae5.2dde2c",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5450.8837890625,\r
+    "y": 6293.0166015625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ddd98790.fa90d",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5449.6669921875,\r
+    "y": 6334.216796875,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e4c8e98f.2e48b8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3577,\r
+    "y": 6107.56689453125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5e06fc8.b063184",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2914.25,\r
+    "y": 6105.81689453125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "5aaa3311.116ad4",\r
+        "5f201884.9bf1b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5aaa3311.116ad4",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3105.25,\r
+    "y": 6109.81689453125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "42b72649.a2611"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "42b72649.a2611",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3232.25,\r
+    "y": 6108.81689453125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "e4c8e98f.2e48b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f201884.9bf1b",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3101.25,\r
+    "y": 6179.81689453125,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "1e510c07.00530c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "382dddaf.06eaa2",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3650.75,\r
+    "y": 6178.900390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e510c07.00530c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3234.75,\r
+    "y": 6181.900390625,\r
+    "z": "4138d8f7.da252",\r
+    "wires": [\r
+      [\r
+        "382dddaf.06eaa2"\r
+      ]\r
+    ]\r
   }\r
 ]
\ No newline at end of file
index 6ccf7ae..efad788 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "4bc4e8ab.1cf33",\r
+        "id": "58e34c1c.fa2ef4",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 93,\r
-        "y": 85,\r
-        "z": "6311a927.78727",\r
+        "x": 169,\r
+        "y": 87,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "7e764ef5.0f0ce8"\r
+                "7debdd32.eca72c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e764ef5.0f0ce8",\r
+        "id": "7debdd32.eca72c",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 240,\r
-        "y": 660.0000152587891,\r
-        "z": "6311a927.78727",\r
+        "x": 316,\r
+        "y": 662.0000152587891,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "dba1761d.84c318"\r
+                "17937dc9.2355da"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dba1761d.84c318",\r
+        "id": "17937dc9.2355da",\r
         "type": "method",\r
         "name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
         "xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 304.0001220703125,\r
-        "y": 753,\r
-        "z": "6311a927.78727",\r
+        "x": 380.0001220703125,\r
+        "y": 755,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "45853653.2d7d8"\r
+                "3e6ce739.eeb648"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29b9ed96.3b1cca",\r
+        "id": "d05eda9f.63c82",\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": 349.9730682373047,\r
-        "y": 271.996000289917,\r
-        "z": "6311a927.78727",\r
+        "x": 425.9730682373047,\r
+        "y": 273.996000289917,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5ed3456b.75dffc",\r
-                "d4b7459.be16038"\r
+                "d4681312.af0c78",\r
+                "83728f7.d5447f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5ed3456b.75dffc",\r
+        "id": "d4681312.af0c78",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 589.9732093811035,\r
-        "y": 295.99596977233887,\r
-        "z": "6311a927.78727",\r
+        "x": 665.9732093811035,\r
+        "y": 297.99596977233887,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "c8e36f8b.a2bbd8"\r
+                "b7d4d2f2.ad66"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e29f4917.f911e8",\r
+        "id": "54760f3b.4160e8",\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": 759.9731292724609,\r
-        "y": 235.99606132507324,\r
-        "z": "6311a927.78727",\r
+        "x": 835.9731292724609,\r
+        "y": 237.99606132507324,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d4b7459.be16038",\r
+        "id": "83728f7.d5447f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 588.9729957580566,\r
-        "y": 244.99606037139893,\r
-        "z": "6311a927.78727",\r
+        "x": 664.9729957580566,\r
+        "y": 246.99606037139893,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "e29f4917.f911e8"\r
+                "54760f3b.4160e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a76b8924.9422c",\r
+        "id": "2a1c3926.ccf68e",\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": 321.47686767578125,\r
-        "y": 228,\r
-        "z": "6311a927.78727",\r
+        "x": 397.47686767578125,\r
+        "y": 230,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "485028.3d8fcfd8",\r
+        "id": "b642d1e9.ee8bf8",\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": 777.972900390625,\r
-        "y": 721.2457275390625,\r
-        "z": "6311a927.78727",\r
+        "x": 853.972900390625,\r
+        "y": 723.2457275390625,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "b7d2be7c.5e3ac8"\r
+                "782120ce.0449f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4646d25.9ab0f",\r
+        "id": "1e8a6121.3ebf8f",\r
         "type": "comment",\r
         "name": "Loop through OTN links",\r
         "info": "",\r
         "comments": "",\r
-        "x": 861.4732055664062,\r
-        "y": 800.74609375,\r
-        "z": "6311a927.78727",\r
+        "x": 937.4732055664062,\r
+        "y": 802.74609375,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b7d2be7c.5e3ac8",\r
+        "id": "782120ce.0449f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 882.5001220703125,\r
-        "y": 912.2864990234375,\r
-        "z": "6311a927.78727",\r
+        "x": 958.5001220703125,\r
+        "y": 914.2864990234375,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6750495a.41286",\r
-                "abe518b.cefde68",\r
-                "165db6ae.de2bb9",\r
-                "fda3acff.66dac8",\r
-                "188880e9.f084a7"\r
+                "c89cb66b.dc0d2",\r
+                "154e7688.b29339",\r
+                "4f1a8be1.b37344",\r
+                "2cdce288.c30c46",\r
+                "287cbb25.9abd94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6750495a.41286",\r
+        "id": "c89cb66b.dc0d2",\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": 1129.0001220703125,\r
-        "y": 805.2864990234375,\r
-        "z": "6311a927.78727",\r
+        "x": 1205.0001220703125,\r
+        "y": 807.2864990234375,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c8e36f8b.a2bbd8",\r
+        "id": "b7d4d2f2.ad66",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 735.0002555847168,\r
-        "y": 293.741455078125,\r
-        "z": "6311a927.78727",\r
+        "x": 811.0002555847168,\r
+        "y": 295.741455078125,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "45853653.2d7d8",\r
+        "id": "3e6ce739.eeb648",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 544.9688835144043,\r
-        "y": 679.7416372299194,\r
-        "z": "6311a927.78727",\r
+        "x": 620.9688835144043,\r
+        "y": 681.7416372299194,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "485028.3d8fcfd8",\r
-                "7882cf69.81bba",\r
-                "f346bebe.50149"\r
+                "b642d1e9.ee8bf8",\r
+                "d800f8fa.097b28",\r
+                "3eb232d2.31d3ce",\r
+                "7d4b4351.930cbc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9f64f3d6.06a948",\r
+        "id": "b9e5ba4.2ed1f48",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 2296.4998779296875,\r
-        "y": 1238,\r
-        "z": "6311a927.78727",\r
+        "x": 2372.4998779296875,\r
+        "y": 1240,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "188880e9.f084a7",\r
+        "id": "287cbb25.9abd94",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1095.5001220703125,\r
-        "y": 994,\r
-        "z": "6311a927.78727",\r
+        "x": 1171.5001220703125,\r
+        "y": 996,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "d9b8b0f0.11df08",\r
-                "16b2f778.e973e1"\r
+                "55e25897.4f1fe8",\r
+                "1809a4d6.ba2673"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6f8fa296.cf0b14",\r
+        "id": "ed734d7c.04c2f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2620.9998779296875,\r
-        "y": 729,\r
-        "z": "6311a927.78727",\r
+        "x": 2696.9998779296875,\r
+        "y": 731,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "53738595.29239c"\r
+                "d4861d1.90a2f6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dfb73ef2.d6e5",\r
+        "id": "551be9a2.28b98",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2654,\r
-        "y": 787,\r
-        "z": "6311a927.78727",\r
+        "x": 2730,\r
+        "y": 789,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "3b0779f0.32a56e"\r
+                "bc9d63b9.95524"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2313ee1.1bd3f8",\r
+        "id": "22092f51.833d9",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2657,\r
-        "y": 839,\r
-        "z": "6311a927.78727",\r
+        "x": 2733,\r
+        "y": 841,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "28c1fd94.c84d7a"\r
+                "757b2f22.e7f98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b0779f0.32a56e",\r
+        "id": "bc9d63b9.95524",\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": 2839,\r
-        "y": 791,\r
-        "z": "6311a927.78727",\r
+        "x": 2915,\r
+        "y": 793,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "28c1fd94.c84d7a",\r
+        "id": "757b2f22.e7f98",\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": 2827,\r
-        "y": 842,\r
-        "z": "6311a927.78727",\r
+        "x": 2903,\r
+        "y": 844,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e56a35d6.459af8",\r
+        "id": "1391535e.6e46bd",\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": 3957.4998779296875,\r
-        "y": 644,\r
-        "z": "6311a927.78727",\r
+        "x": 4033.4998779296875,\r
+        "y": 646,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a811b593.25ff8",\r
+        "id": "2d1abf42.aacfc8",\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": 3965.4998779296875,\r
-        "y": 696,\r
-        "z": "6311a927.78727",\r
+        "x": 4041.4998779296875,\r
+        "y": 698,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "d6328bc3.e91228"\r
+                "492ab725.abc14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d6328bc3.e91228",\r
+        "id": "492ab725.abc14",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4171.9998779296875,\r
-        "y": 674,\r
-        "z": "6311a927.78727",\r
+        "x": 4247.9998779296875,\r
+        "y": 676,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "fcc7de43.1b588"\r
+                "ca00a5f6.d5b71"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5150efc.cab85",\r
+        "id": "fe7961d1.c0f4e",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3509.6683349609375,\r
-        "y": 722.4815063476562,\r
-        "z": "6311a927.78727",\r
+        "x": 3585.6683349609375,\r
+        "y": 724.4815063476562,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "912955c2.11e7a"\r
+                "59e37319.f4bec4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd862c08.f8b4a",\r
+        "id": "20453efe.bca822",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2972.3826904296875,\r
-        "y": 724.6597290039062,\r
-        "z": "6311a927.78727",\r
+        "x": 3048.3826904296875,\r
+        "y": 726.6597290039062,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "8c595bd0.378e98"\r
+                "f844ac94.89e1e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c595bd0.378e98",\r
+        "id": "f844ac94.89e1e",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3224.3826904296875,\r
-        "y": 721.6597290039062,\r
-        "z": "6311a927.78727",\r
+        "x": 3300.3826904296875,\r
+        "y": 723.6597290039062,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "f5150efc.cab85"\r
+                "fe7961d1.c0f4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "912955c2.11e7a",\r
+        "id": "59e37319.f4bec4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3736.4998779296875,\r
-        "y": 711,\r
-        "z": "6311a927.78727",\r
+        "x": 3812.4998779296875,\r
+        "y": 713,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "e56a35d6.459af8",\r
-                "a811b593.25ff8",\r
-                "2abf934.785ecec",\r
-                "bc51fa32.9144b",\r
-                "4ad035fb.c384cc"\r
+                "1391535e.6e46bd",\r
+                "2d1abf42.aacfc8",\r
+                "d4f97b75.15b158",\r
+                "12165a81.403f85",\r
+                "103b5c34.d77a7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d9b8b0f0.11df08",\r
+        "id": "55e25897.4f1fe8",\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": 2377.5,\r
-        "y": 1134,\r
-        "z": "6311a927.78727",\r
+        "x": 2453.5,\r
+        "y": 1136,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "2a761980.732196",\r
-                "d9fef4c9.0420c",\r
-                "6bc11e9d.31baa8"\r
+                "49c1a7b6.6f99c",\r
+                "2b24743b.25895c",\r
+                "c683e8fa.16a0b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a761980.732196",\r
+        "id": "49c1a7b6.6f99c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2599.9998779296875,\r
-        "y": 1276,\r
-        "z": "6311a927.78727",\r
+        "x": 2675.9998779296875,\r
+        "y": 1278,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6a724ed4.0c2ee"\r
+                "ed45880a.b1c94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d9fef4c9.0420c",\r
+        "id": "2b24743b.25895c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2583.9998779296875,\r
-        "y": 1327,\r
-        "z": "6311a927.78727",\r
+        "x": 2659.9998779296875,\r
+        "y": 1329,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5b682716.7565c"\r
+                "37c7eeb2.67c862"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6bc11e9d.31baa8",\r
+        "id": "c683e8fa.16a0b",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2586.9998779296875,\r
-        "y": 1379,\r
-        "z": "6311a927.78727",\r
+        "x": 2662.9998779296875,\r
+        "y": 1381,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "f53f8dec.b8eab8"\r
+                "78affe58.b6f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f53f8dec.b8eab8",\r
+        "id": "78affe58.b6f08",\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": 2756.9998779296875,\r
-        "y": 1382,\r
-        "z": "6311a927.78727",\r
+        "x": 2832.9998779296875,\r
+        "y": 1384,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b682716.7565c",\r
+        "id": "37c7eeb2.67c862",\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": 2768.9998779296875,\r
-        "y": 1331,\r
-        "z": "6311a927.78727",\r
+        "x": 2844.9998779296875,\r
+        "y": 1333,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6b5c01f3.fe6da8",\r
+        "id": "141988e8.b25ef7",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2956.3826904296875,\r
-        "y": 1286.6597290039062,\r
-        "z": "6311a927.78727",\r
+        "x": 3032.3826904296875,\r
+        "y": 1288.6597290039062,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "1a571bfc.aeed5c"\r
+                "a370922d.726108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a571bfc.aeed5c",\r
+        "id": "a370922d.726108",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3199.3826904296875,\r
-        "y": 1285.6597290039062,\r
-        "z": "6311a927.78727",\r
+        "x": 3275.3826904296875,\r
+        "y": 1287.6597290039062,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "90623cd4.fe0a58"\r
+                "e6beb03b.67e37"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa0b1701.8dfea",\r
+        "id": "61d27ccc.5b8de4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4965.4998779296875,\r
-        "y": 1087,\r
-        "z": "6311a927.78727",\r
+        "x": 5041.4998779296875,\r
+        "y": 1089,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "550b57d7.8fa528",\r
-                "74f2c02.a79f64",\r
-                "f2bb305d.4422b8"\r
+                "6cde7588.a972a4",\r
+                "46f2ef05.7f74e8",\r
+                "36e1e931.d36586"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "90623cd4.fe0a58",\r
+        "id": "e6beb03b.67e37",\r
         "type": "outcome",\r
         "name": "tunnel-termination-point",\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3455.6683349609375,\r
-        "y": 1285.4815063476562,\r
-        "z": "6311a927.78727",\r
+        "x": 3531.6683349609375,\r
+        "y": 1287.4815063476562,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "2cff3582.3d605a"\r
+                "412a94c.16241ec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66c4a517.3f3fd4",\r
+        "id": "df39947.2e32868",\r
         "type": "outcome",\r
         "name": "network-resource",\r
         "xml": "<outcome value='network-resource'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4752.4998779296875,\r
-        "y": 1086,\r
-        "z": "6311a927.78727",\r
+        "x": 4828.4998779296875,\r
+        "y": 1088,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "aa0b1701.8dfea"\r
+                "61d27ccc.5b8de4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2cff3582.3d605a",\r
+        "id": "412a94c.16241ec",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3755.4998779296875,\r
-        "y": 1283,\r
-        "z": "6311a927.78727",\r
+        "x": 3831.4998779296875,\r
+        "y": 1285,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "34a1c052.ba37a8",\r
-                "ce64c552.7245c",\r
-                "3a5f117c.72df06",\r
-                "668e003.0972e8",\r
-                "888129ab.9ea2a8"\r
+                "58c1eb2d.4365dc",\r
+                "eafee68f.21777",\r
+                "3baf326d.94389e",\r
+                "7894f836.65f328",\r
+                "9b949993.6af3e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34a1c052.ba37a8",\r
+        "id": "58c1eb2d.4365dc",\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": 3997.4998779296875,\r
-        "y": 1237,\r
-        "z": "6311a927.78727",\r
+        "x": 4073.4998779296875,\r
+        "y": 1239,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ce64c552.7245c",\r
+        "id": "eafee68f.21777",\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": 3987.4998779296875,\r
-        "y": 1288,\r
-        "z": "6311a927.78727",\r
+        "x": 4063.4998779296875,\r
+        "y": 1290,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "c6558909.ba61"\r
+                "135e1de8.ac41a2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6558909.ba61",\r
+        "id": "135e1de8.ac41a2",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4174.9998779296875,\r
-        "y": 1286,\r
-        "z": "6311a927.78727",\r
+        "x": 4250.9998779296875,\r
+        "y": 1288,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "b166ec42.f7a328"\r
+                "e5e86a3d.a35168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "550b57d7.8fa528",\r
+        "id": "6cde7588.a972a4",\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": 5235.4998779296875,\r
-        "y": 1063,\r
-        "z": "6311a927.78727",\r
+        "x": 5311.4998779296875,\r
+        "y": 1065,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "74f2c02.a79f64",\r
+        "id": "46f2ef05.7f74e8",\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": 5245.4998779296875,\r
-        "y": 1109,\r
-        "z": "6311a927.78727",\r
+        "x": 5321.4998779296875,\r
+        "y": 1111,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "e85530cd.ad8bf8"\r
+                "95269d9e.8f1978"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e85530cd.ad8bf8",\r
+        "id": "95269d9e.8f1978",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5460.9998779296875,\r
-        "y": 1100,\r
-        "z": "6311a927.78727",\r
+        "x": 5536.9998779296875,\r
+        "y": 1102,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "e3266a0a.5cb158"\r
+                "d0d56062.e96878"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3266a0a.5cb158",\r
+        "id": "d0d56062.e96878",\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": 5715.4998779296875,\r
-        "y": 1106,\r
-        "z": "6311a927.78727",\r
+        "x": 5791.4998779296875,\r
+        "y": 1108,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "53738595.29239c",\r
+        "id": "d4861d1.90a2f6",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2754.9998779296875,\r
-        "y": 725,\r
-        "z": "6311a927.78727",\r
+        "x": 2830.9998779296875,\r
+        "y": 727,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "fd862c08.f8b4a"\r
+                "20453efe.bca822"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a724ed4.0c2ee",\r
+        "id": "ed45880a.b1c94",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2745.9998779296875,\r
-        "y": 1267,\r
-        "z": "6311a927.78727",\r
+        "x": 2821.9998779296875,\r
+        "y": 1269,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6b5c01f3.fe6da8"\r
+                "141988e8.b25ef7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fcc7de43.1b588",\r
+        "id": "ca00a5f6.d5b71",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4346.9998779296875,\r
-        "y": 670,\r
-        "z": "6311a927.78727",\r
+        "x": 4422.9998779296875,\r
+        "y": 672,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "a813a414.4bba4"\r
+                "4c98d169.bddc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b166ec42.f7a328",\r
+        "id": "e5e86a3d.a35168",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4363.9998779296875,\r
-        "y": 1275,\r
-        "z": "6311a927.78727",\r
+        "x": 4439.9998779296875,\r
+        "y": 1277,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6ce614ed.7484ac"\r
+                "b92cc089.036dc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "16b2f778.e973e1",\r
+        "id": "1809a4d6.ba2673",\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": 2423.5,\r
-        "y": 768,\r
-        "z": "6311a927.78727",\r
+        "x": 2499.5,\r
+        "y": 770,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6f8fa296.cf0b14",\r
-                "dfb73ef2.d6e5",\r
-                "a2313ee1.1bd3f8"\r
+                "ed734d7c.04c2f8",\r
+                "551be9a2.28b98",\r
+                "22092f51.833d9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2abf934.785ecec",\r
+        "id": "d4f97b75.15b158",\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": 3826.9998779296875,\r
-        "y": 514,\r
-        "z": "6311a927.78727",\r
+        "x": 3902.9998779296875,\r
+        "y": 516,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "2718cbe0.743744",\r
-                "c770af9d.e00ad8",\r
-                "4dc6603f.cfce08"\r
+                "27b2efea.3f735",\r
+                "abdc030.e780f",\r
+                "d67670c0.149af8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2718cbe0.743744",\r
+        "id": "27b2efea.3f735",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4022.5,\r
-        "y": 466,\r
-        "z": "6311a927.78727",\r
+        "x": 4098.5,\r
+        "y": 468,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "d9208e7d.606"\r
+                "67bcf691.cce0a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c770af9d.e00ad8",\r
+        "id": "abdc030.e780f",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4014.5,\r
-        "y": 521,\r
-        "z": "6311a927.78727",\r
+        "x": 4090.5,\r
+        "y": 523,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6bb9b9b7.b2076"\r
+                "f2e24f2.12fadb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4dc6603f.cfce08",\r
+        "id": "d67670c0.149af8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4019.5,\r
-        "y": 578,\r
-        "z": "6311a927.78727",\r
+        "x": 4095.5,\r
+        "y": 580,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "59153395.1608bc"\r
+                "c3d2abbd.c8f708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59153395.1608bc",\r
+        "id": "c3d2abbd.c8f708",\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": 4171.5,\r
-        "y": 579,\r
-        "z": "6311a927.78727",\r
+        "x": 4247.5,\r
+        "y": 581,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6bb9b9b7.b2076",\r
+        "id": "f2e24f2.12fadb",\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": 4182.5,\r
-        "y": 524,\r
-        "z": "6311a927.78727",\r
+        "x": 4258.5,\r
+        "y": 526,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d9208e7d.606",\r
+        "id": "67bcf691.cce0a8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4166.88232421875,\r
-        "y": 463.6556701660156,\r
-        "z": "6311a927.78727",\r
+        "x": 4242.88232421875,\r
+        "y": 465.6556701660156,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "55254083.c38b58",\r
-                "8aa824b7.0c6278"\r
+                "304592d5.537a8e",\r
+                "2af9eb5e.d3c17c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "55254083.c38b58",\r
+        "id": "304592d5.537a8e",\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": 4391.9998779296875,\r
-        "y": 419,\r
-        "z": "6311a927.78727",\r
+        "x": 4467.9998779296875,\r
+        "y": 421,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bc51fa32.9144b",\r
+        "id": "12165a81.403f85",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 3913.9998779296875,\r
-        "y": 761,\r
-        "z": "6311a927.78727",\r
+        "x": 3989.9998779296875,\r
+        "y": 763,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a813a414.4bba4",\r
+        "id": "4c98d169.bddc",\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": 4607.9998779296875,\r
-        "y": 667,\r
-        "z": "6311a927.78727",\r
+        "x": 4683.9998779296875,\r
+        "y": 669,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "668e003.0972e8",\r
+        "id": "7894f836.65f328",\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": 3823.9998779296875,\r
-        "y": 1117,\r
-        "z": "6311a927.78727",\r
+        "x": 3899.9998779296875,\r
+        "y": 1119,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "ba64936b.6e28a",\r
-                "60671a93.606c04",\r
-                "68c36f77.2ea158"\r
+                "54998b27.2003cc",\r
+                "d1cd027c.1f10b8",\r
+                "75ff3dee.3bf8bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "68c36f77.2ea158",\r
+        "id": "75ff3dee.3bf8bc",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4019.5,\r
-        "y": 1069,\r
-        "z": "6311a927.78727",\r
+        "x": 4095.5,\r
+        "y": 1071,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "90c8108b.3d46b8"\r
+                "c056b35b.56583"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60671a93.606c04",\r
+        "id": "d1cd027c.1f10b8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4011.5,\r
-        "y": 1124,\r
-        "z": "6311a927.78727",\r
+        "x": 4087.5,\r
+        "y": 1126,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "694c4d07.5571c4"\r
+                "560adcd5.77c02c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba64936b.6e28a",\r
+        "id": "54998b27.2003cc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4016.5,\r
-        "y": 1181,\r
-        "z": "6311a927.78727",\r
+        "x": 4092.5,\r
+        "y": 1183,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "8a4ef9a5.3b77b8"\r
+                "3b1e11f8.04c5b6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "90c8108b.3d46b8",\r
+        "id": "c056b35b.56583",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4163.88232421875,\r
-        "y": 1066.6556701660156,\r
-        "z": "6311a927.78727",\r
+        "x": 4239.88232421875,\r
+        "y": 1068.6556701660156,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "925c2765.45f7c",\r
-                "a7906754.f0e008"\r
+                "7ca2f810.f9ca5",\r
+                "5d0e55ed.7c2c54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "694c4d07.5571c4",\r
+        "id": "560adcd5.77c02c",\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": 4179.5,\r
-        "y": 1127,\r
-        "z": "6311a927.78727",\r
+        "x": 4255.5,\r
+        "y": 1129,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8a4ef9a5.3b77b8",\r
+        "id": "3b1e11f8.04c5b6",\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": 4168.5,\r
-        "y": 1182,\r
-        "z": "6311a927.78727",\r
+        "x": 4244.5,\r
+        "y": 1184,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "925c2765.45f7c",\r
+        "id": "7ca2f810.f9ca5",\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": 4372.9998779296875,\r
-        "y": 1034,\r
-        "z": "6311a927.78727",\r
+        "x": 4448.9998779296875,\r
+        "y": 1036,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3a5f117c.72df06",\r
+        "id": "3baf326d.94389e",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 3942.9998779296875,\r
-        "y": 1329,\r
-        "z": "6311a927.78727",\r
+        "x": 4018.9998779296875,\r
+        "y": 1331,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6ce614ed.7484ac",\r
+        "id": "b92cc089.036dc8",\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": 4596.9998779296875,\r
-        "y": 1274,\r
-        "z": "6311a927.78727",\r
+        "x": 4672.9998779296875,\r
+        "y": 1276,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "73216d1e.d409d4",\r
+        "id": "c8548322.1dce7",\r
         "type": "outcome",\r
         "name": "network-resource",\r
         "xml": "<outcome value='network-resource'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4748.9998779296875,\r
-        "y": 482,\r
-        "z": "6311a927.78727",\r
+        "x": 4824.9998779296875,\r
+        "y": 484,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "8e56eb89.dcf8d"\r
+                "49aa1e98.21619"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e56eb89.dcf8d",\r
+        "id": "49aa1e98.21619",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4925.9998779296875,\r
-        "y": 474,\r
-        "z": "6311a927.78727",\r
+        "x": 5001.9998779296875,\r
+        "y": 476,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "8a97b17a.8e6468",\r
-                "4190236a.ccd374",\r
-                "2d2f03c2.a9effc"\r
+                "13542cdd.43dda3",\r
+                "909a99fa.787ae8",\r
+                "44fc9502.8d863c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8a97b17a.8e6468",\r
+        "id": "13542cdd.43dda3",\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": 5140.9998779296875,\r
-        "y": 455,\r
-        "z": "6311a927.78727",\r
+        "x": 5216.9998779296875,\r
+        "y": 457,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4190236a.ccd374",\r
+        "id": "909a99fa.787ae8",\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": 5157.9998779296875,\r
-        "y": 519,\r
-        "z": "6311a927.78727",\r
+        "x": 5233.9998779296875,\r
+        "y": 521,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "84a43718.34957"\r
+                "30bbae6f.18af4a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84a43718.34957",\r
+        "id": "30bbae6f.18af4a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5381.4998779296875,\r
-        "y": 520,\r
-        "z": "6311a927.78727",\r
+        "x": 5457.4998779296875,\r
+        "y": 522,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "95ce66c5.711c6"\r
+                "a367788a.bb68e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "95ce66c5.711c6",\r
+        "id": "a367788a.bb68e",\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": 5645.9998779296875,\r
-        "y": 509,\r
-        "z": "6311a927.78727",\r
+        "x": 5721.9998779296875,\r
+        "y": 511,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8aa824b7.0c6278",\r
+        "id": "2af9eb5e.d3c17c",\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": 4350.9998779296875,\r
-        "y": 478,\r
-        "z": "6311a927.78727",\r
+        "x": 4426.9998779296875,\r
+        "y": 480,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5a4b07ac.8d3028"\r
+                "df80ec0f.2a1388"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a4b07ac.8d3028",\r
+        "id": "df80ec0f.2a1388",\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": 4545.9998779296875,\r
-        "y": 478,\r
-        "z": "6311a927.78727",\r
+        "x": 4621.9998779296875,\r
+        "y": 480,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "73216d1e.d409d4"\r
+                "c8548322.1dce7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2d2f03c2.a9effc",\r
+        "id": "44fc9502.8d863c",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 5084.9998779296875,\r
-        "y": 572,\r
-        "z": "6311a927.78727",\r
+        "x": 5160.9998779296875,\r
+        "y": 574,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a7906754.f0e008",\r
+        "id": "5d0e55ed.7c2c54",\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": 4351.9998779296875,\r
-        "y": 1085,\r
-        "z": "6311a927.78727",\r
+        "x": 4427.9998779296875,\r
+        "y": 1087,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "6641c07e.096d18"\r
+                "97742823.a37f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6641c07e.096d18",\r
+        "id": "97742823.a37f08",\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": 4546.9998779296875,\r
-        "y": 1085,\r
-        "z": "6311a927.78727",\r
+        "x": 4622.9998779296875,\r
+        "y": 1087,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "66c4a517.3f3fd4"\r
+                "df39947.2e32868"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2bb305d.4422b8",\r
+        "id": "36e1e931.d36586",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 5170.9998779296875,\r
-        "y": 1165,\r
-        "z": "6311a927.78727",\r
+        "x": 5246.9998779296875,\r
+        "y": 1167,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4ad035fb.c384cc",\r
+        "id": "103b5c34.d77a7c",\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": 3854.9998779296875,\r
-        "y": 308,\r
-        "z": "6311a927.78727",\r
+        "x": 3930.9998779296875,\r
+        "y": 310,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5bd2f425.157014",\r
-                "a6025f31.cc3d4"\r
+                "b3bf59d4.5b493",\r
+                "21c8620c.a1786e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6025f31.cc3d4",\r
+        "id": "21c8620c.a1786e",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4075.9998779296875,\r
-        "y": 276,\r
-        "z": "6311a927.78727",\r
+        "x": 4151.9998779296875,\r
+        "y": 278,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "61178ee6.46287"\r
+                "ac6a8696.ec08c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5bd2f425.157014",\r
+        "id": "b3bf59d4.5b493",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4075.9998779296875,\r
-        "y": 323,\r
-        "z": "6311a927.78727",\r
+        "x": 4151.9998779296875,\r
+        "y": 325,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "3bd5270a.9b3388"\r
+                "53c1b9f8.feb02"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "61178ee6.46287",\r
+        "id": "ac6a8696.ec08c8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4240.9998779296875,\r
-        "y": 273,\r
-        "z": "6311a927.78727",\r
+        "x": 4316.9998779296875,\r
+        "y": 275,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "30bc001a.081c6"\r
+                "c3a92ffe.308538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "30bc001a.081c6",\r
+        "id": "c3a92ffe.308538",\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": 4422.9998779296875,\r
-        "y": 277,\r
-        "z": "6311a927.78727",\r
+        "x": 4498.9998779296875,\r
+        "y": 279,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3bd5270a.9b3388",\r
+        "id": "53c1b9f8.feb02",\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": 4242.9998779296875,\r
-        "y": 323,\r
-        "z": "6311a927.78727",\r
+        "x": 4318.9998779296875,\r
+        "y": 325,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "888129ab.9ea2a8",\r
+        "id": "9b949993.6af3e",\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`'/>\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": 3862.9998779296875,\r
-        "y": 932,\r
-        "z": "6311a927.78727",\r
+        "x": 3938.9998779296875,\r
+        "y": 934,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "f5b036b5.9d3fe",\r
-                "c8627fdc.4ca238"\r
+                "63b15b9d.d0246c",\r
+                "438781d9.fa013"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c8627fdc.4ca238",\r
+        "id": "438781d9.fa013",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4083.9998779296875,\r
-        "y": 900,\r
-        "z": "6311a927.78727",\r
+        "x": 4159.9998779296875,\r
+        "y": 902,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5d59aabb.f55db4"\r
+                "7c480aff.2bda14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5b036b5.9d3fe",\r
+        "id": "63b15b9d.d0246c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4083.9998779296875,\r
-        "y": 947,\r
-        "z": "6311a927.78727",\r
+        "x": 4159.9998779296875,\r
+        "y": 949,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "8fc5e8a.5216b18"\r
+                "6669851b.858ebc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5d59aabb.f55db4",\r
+        "id": "7c480aff.2bda14",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4248.9998779296875,\r
-        "y": 897,\r
-        "z": "6311a927.78727",\r
+        "x": 4324.9998779296875,\r
+        "y": 899,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "c8487895.7a94"\r
+                "6535be11.5e3bd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c8487895.7a94",\r
+        "id": "6535be11.5e3bd",\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": 4444.9998779296875,\r
-        "y": 894,\r
-        "z": "6311a927.78727",\r
+        "x": 4520.9998779296875,\r
+        "y": 896,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8fc5e8a.5216b18",\r
+        "id": "6669851b.858ebc",\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": 4250.9998779296875,\r
-        "y": 947,\r
-        "z": "6311a927.78727",\r
+        "x": 4326.9998779296875,\r
+        "y": 949,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "abe518b.cefde68",\r
+        "id": "154e7688.b29339",\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": 1120,\r
-        "y": 734,\r
-        "z": "6311a927.78727",\r
+        "x": 1196,\r
+        "y": 736,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cf555e48.aeaaa8",\r
+        "id": "5f2860ab.d20368",\r
         "type": "comment",\r
         "name": "Not useful anymore",\r
         "info": "this domain-A.ltpId is not used anymore",\r
         "comments": "",\r
-        "x": 4465.9998779296875,\r
-        "y": 253,\r
-        "z": "6311a927.78727",\r
+        "x": 4541.9998779296875,\r
+        "y": 255,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "29edf5a1.e0b48a",\r
+        "id": "839b6b92.78af58",\r
         "type": "comment",\r
         "name": "Not useful anymore",\r
         "info": "this domain-B.ltpId is not used anymore",\r
         "comments": "",\r
-        "x": 4487.9998779296875,\r
-        "y": 866,\r
-        "z": "6311a927.78727",\r
+        "x": 4563.9998779296875,\r
+        "y": 868,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7882cf69.81bba",\r
+        "id": "d800f8fa.097b28",\r
         "type": "set",\r
         "name": "unset parameters",\r
-        "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",\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": 761,\r
-        "y": 662,\r
-        "z": "6311a927.78727",\r
+        "x": 837,\r
+        "y": 664,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1e669820.d1af2",\r
+        "id": "9d59de38.f2a96",\r
         "type": "comment",\r
         "name": "May not be necessary",\r
         "info": "",\r
         "comments": "",\r
-        "x": 772,\r
-        "y": 615,\r
-        "z": "6311a927.78727",\r
+        "x": 848,\r
+        "y": 617,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f346bebe.50149",\r
+        "id": "3eb232d2.31d3ce",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 752,\r
-        "y": 412,\r
-        "z": "6311a927.78727",\r
+        "x": 828,\r
+        "y": 414,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "bf6f0512.491f98",\r
-                "50fbaa58.2b30a4",\r
-                "9c16d091.cb39f8",\r
-                "67b4d462.48c1b4",\r
-                "47a588a1.c73f2",\r
-                "7663f303.03da94",\r
-                "9122c7e9.cadbc8",\r
-                "45b9551b.0a437c",\r
-                "3cc2e9be.dc0176",\r
-                "5092ace7.ae1144",\r
-                "652147e8.77864"\r
+                "ef757a3b.136af8",\r
+                "170891d6.65d54e",\r
+                "69ba386e.9da968",\r
+                "2e082ac1.a1ccfe",\r
+                "a74fb526.bc5db",\r
+                "4af9732c.943804",\r
+                "45b96535.5a3dac",\r
+                "1033844e.1fe0b4",\r
+                "644a4209.4c190c",\r
+                "752e7b91.ad42a4",\r
+                "7d6aaca7.ab1b4c",\r
+                "441d97dd.ea8d",\r
+                "75c12230.00ef3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf6f0512.491f98",\r
+        "id": "874f6992.1d0f",\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",\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": 1026,\r
-        "y": 632,\r
-        "z": "6311a927.78727",\r
+        "x": 1650,\r
+        "y": 661,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "278e4eda.dd1afa",\r
-                "95a448d5.61bae",\r
-                "396c6fcc.348ef"\r
+                "9cd26432.6ca2e",\r
+                "d020471b.87351",\r
+                "d9ad3259.cc415"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50fbaa58.2b30a4",\r
+        "id": "ef757a3b.136af8",\r
         "type": "record",\r
-        "name": "record tmp.pce-src and dst node",\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",\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": 1003,\r
-        "y": 449,\r
-        "z": "6311a927.78727",\r
+        "x": 1124,\r
+        "y": 447,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "278e4eda.dd1afa",\r
+        "id": "9cd26432.6ca2e",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1271,\r
-        "y": 664,\r
-        "z": "6311a927.78727",\r
+        "x": 1895,\r
+        "y": 693,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "95a448d5.61bae",\r
+        "id": "d020471b.87351",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1278,\r
-        "y": 706,\r
-        "z": "6311a927.78727",\r
+        "x": 1902,\r
+        "y": 735,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "396c6fcc.348ef",\r
+        "id": "d9ad3259.cc415",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1273,\r
-        "y": 627,\r
-        "z": "6311a927.78727",\r
+        "x": 1897,\r
+        "y": 656,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c16d091.cb39f8",\r
+        "id": "170891d6.65d54e",\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": 971,\r
-        "y": 357,\r
-        "z": "6311a927.78727",\r
+        "x": 1045,\r
+        "y": 319,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "67b4d462.48c1b4",\r
+        "id": "69ba386e.9da968",\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": 971,\r
-        "y": 403,\r
-        "z": "6311a927.78727",\r
+        "x": 1045,\r
+        "y": 359,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "165db6ae.de2bb9",\r
+        "id": "4f1a8be1.b37344",\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": 1102,\r
-        "y": 865,\r
-        "z": "6311a927.78727",\r
+        "x": 1178,\r
+        "y": 867,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fda3acff.66dac8",\r
+        "id": "2cdce288.c30c46",\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": 1103,\r
-        "y": 915,\r
-        "z": "6311a927.78727",\r
+        "x": 1179,\r
+        "y": 917,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47a588a1.c73f2",\r
+        "id": "2e082ac1.a1ccfe",\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": 1023,\r
-        "y": 102,\r
-        "z": "6311a927.78727",\r
+        "x": 1102,\r
+        "y": 43,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "a6aa209b.6892d",\r
-                "487dbe5b.696ae8",\r
-                "81fa26f.09db858"\r
+                "8367b97c.7cba2",\r
+                "c705fa11.095f6",\r
+                "3e5ba73a.cfbd2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "487dbe5b.696ae8",\r
+        "id": "c705fa11.095f6",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1256,\r
-        "y": 126,\r
-        "z": "6311a927.78727",\r
+        "x": 1335,\r
+        "y": 67,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "81fa26f.09db858",\r
+        "id": "3e5ba73a.cfbd2",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1270,\r
-        "y": 166,\r
-        "z": "6311a927.78727",\r
+        "x": 1349,\r
+        "y": 107,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a6aa209b.6892d",\r
+        "id": "8367b97c.7cba2",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1259,\r
-        "y": 85,\r
-        "z": "6311a927.78727",\r
+        "x": 1338,\r
+        "y": 26,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7663f303.03da94",\r
+        "id": "a74fb526.bc5db",\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": 1015,\r
-        "y": 148,\r
-        "z": "6311a927.78727",\r
+        "x": 1094,\r
+        "y": 89,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "27c5b08b.38fb5"\r
+                "e64f1c2c.75e2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27c5b08b.38fb5",\r
+        "id": "e64f1c2c.75e2a8",\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": 1336,\r
-        "y": 224,\r
-        "z": "6311a927.78727",\r
+        "x": 1415,\r
+        "y": 165,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "22cbcd57.e91ce2",\r
-                "119bae13.8994fa"\r
+                "6f7c355b.5a1c94",\r
+                "49d801ae.f158f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22cbcd57.e91ce2",\r
+        "id": "6f7c355b.5a1c94",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1563,\r
-        "y": 225,\r
-        "z": "6311a927.78727",\r
+        "x": 1639,\r
+        "y": 227,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "1f8d2ed3.4f6c09"\r
+                "14708434.e61bac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f8d2ed3.4f6c09",\r
+        "id": "14708434.e61bac",\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": 1776,\r
-        "y": 225,\r
-        "z": "6311a927.78727",\r
+        "x": 1852,\r
+        "y": 227,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "cfa8e423.6dd988"\r
+                "4944f354.0e26f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cfa8e423.6dd988",\r
+        "id": "4944f354.0e26f4",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1941,\r
-        "y": 225,\r
-        "z": "6311a927.78727",\r
+        "x": 2017,\r
+        "y": 227,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "3bd110a6.a8ba8"\r
+                "3ffd16fe.ae9d82"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bd110a6.a8ba8",\r
+        "id": "3ffd16fe.ae9d82",\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": 2110,\r
-        "y": 225,\r
-        "z": "6311a927.78727",\r
+        "x": 2186,\r
+        "y": 227,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "119bae13.8994fa",\r
+        "id": "49d801ae.f158f",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1563,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 1639,\r
+        "y": 280,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "4e665bce.dd8f3c"\r
+                "88e310ce.d70d1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e665bce.dd8f3c",\r
+        "id": "88e310ce.d70d1",\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": 1751,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 1827,\r
+        "y": 280,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "5471d1aa.c2b568"\r
+                "58122a1d.8684e4",\r
+                "3cb3eb19.e7f8b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5471d1aa.c2b568",\r
+        "id": "58122a1d.8684e4",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1941,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 2017,\r
+        "y": 280,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "aa5bb707.4bb48"\r
+                "5772e567.b80a34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa5bb707.4bb48",\r
+        "id": "5772e567.b80a34",\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": 2109,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 2185,\r
+        "y": 280,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "3a63aeee.a8bb3a"\r
+                "2fb8eaf6.956b36"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3a63aeee.a8bb3a",\r
+        "id": "2fb8eaf6.956b36",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2265,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 2341,\r
+        "y": 280,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             [\r
-                "1438c95.a2947b7"\r
+                "821af63c.9d499"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1438c95.a2947b7",\r
+        "id": "3d7e803.580f08",\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": 2424,\r
-        "y": 278,\r
-        "z": "6311a927.78727",\r
+        "x": 3036,\r
+        "y": 184,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9122c7e9.cadbc8",\r
+        "id": "4af9732c.943804",\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": 964,\r
-        "y": 304,\r
-        "z": "6311a927.78727",\r
+        "x": 1039,\r
+        "y": 260,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "45b9551b.0a437c",\r
+        "id": "45b96535.5a3dac",\r
         "type": "set",\r
         "name": "unset parameters",\r
         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
         "comments": "",\r
-        "x": 968,\r
-        "y": 219,\r
-        "z": "6311a927.78727",\r
+        "x": 1048,\r
+        "y": 142,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3cc2e9be.dc0176",\r
+        "id": "1033844e.1fe0b4",\r
         "type": "set",\r
         "name": "unset parameters",\r
         "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",\r
         "comments": "",\r
-        "x": 966,\r
-        "y": 261,\r
-        "z": "6311a927.78727",\r
+        "x": 1046,\r
+        "y": 184,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5092ace7.ae1144",\r
+        "id": "644a4209.4c190c",\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": 959,\r
-        "y": 493,\r
-        "z": "6311a927.78727",\r
+        "x": 1035,\r
+        "y": 495,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ab172df4.a758b",\r
+        "id": "d9004337.b1e7",\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": 978,\r
-        "y": 575,\r
-        "z": "6311a927.78727",\r
+        "x": 1057,\r
+        "y": 568,\r
+        "z": "740154b1.db9c44",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "652147e8.77864",\r
+        "id": "752e7b91.ad42a4",\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`\" />",\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": 1031,\r
+        "y": 531,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3cb3eb19.e7f8b4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2007,\r
+        "y": 344,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "b16334e2.e8d148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b16334e2.e8d148",\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": 2208,\r
+        "y": 345,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7d3fd43.e41d5ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d3fd43.e41d5ac",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2418,\r
+        "y": 345,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "dccf569f.2f16c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e56fd0ad.9e01a8",\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": 3126,\r
+        "y": 435.0000305175781,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7d6aaca7.ab1b4c",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1044,\r
+        "y": 222,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "441d97dd.ea8d",\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": 1076,\r
+        "y": 400,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "75c12230.00ef3c",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1080,\r
+        "y": 647,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "bdfc5f0.5322ba",\r
+                "89aa82c1.c2aec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bdfc5f0.5322ba",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1271,\r
+        "y": 651,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "ae417966.2eaf28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae417966.2eaf28",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1398,\r
+        "y": 650,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "874f6992.1d0f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89aa82c1.c2aec8",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1273,\r
+        "y": 604,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "50eccb47.89161c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50eccb47.89161c",\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
-        "x": 955,\r
+        "outputs": 1,\r
+        "x": 1647,\r
+        "y": 534,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "e3a2c563.0a869",\r
+                "2d6f2f7c.332048",\r
+                "b9b4d723.6c8fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3a2c563.0a869",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1892,\r
+        "y": 566,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d6f2f7c.332048",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1899,\r
+        "y": 608,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9b4d723.6c8fd",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1894,\r
         "y": 529,\r
-        "z": "6311a927.78727",\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1473f30.10032",\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": 845,\r
+        "y": 2065,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c89ad3b7.0e216"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c89ad3b7.0e216",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 949.5272216796875,\r
+        "y": 2256.040771484375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "80fa0c9d.1054f",\r
+                "9a5ac465.6157d8",\r
+                "8065227b.cd4a2",\r
+                "b1aba60b.7f9e6",\r
+                "deccca97.268a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80fa0c9d.1054f",\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": 1196.0272216796875,\r
+        "y": 2149.040771484375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "deccca97.268a9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1162.5272216796875,\r
+        "y": 2337.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "e3c2dcef.aae8f8",\r
+                "55fb0c7e.571584"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a5ac465.6157d8",\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": 1187.027099609375,\r
+        "y": 2077.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8065227b.cd4a2",\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": 1169.027099609375,\r
+        "y": 2208.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b1aba60b.7f9e6",\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": 1170.027099609375,\r
+        "y": 2258.7542724609375,\r
+        "z": "740154b1.db9c44",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "6e12f41a.3aad64",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2688.0269775390625,\r
+        "y": 2072.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "5b6bf151.2d756"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5b16aa9.5e894",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2721.027099609375,\r
+        "y": 2130.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "a9d16a27.d5676"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a01d696.8c8118",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2724.027099609375,\r
+        "y": 2182.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c1a7727e.a603d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9d16a27.d5676",\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": 2906.027099609375,\r
+        "y": 2134.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c1a7727e.a603d8",\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": 2894.027099609375,\r
+        "y": 2185.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40a1b2c.bbb3c4c",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3039.4097900390625,\r
+        "y": 2068.4140014648438,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "64ce1fe.fe36ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64ce1fe.fe36ee",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3291.4097900390625,\r
+        "y": 2065.4140014648438,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7222973f.63de28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b6bf151.2d756",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2822.0269775390625,\r
+        "y": 2068.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "40a1b2c.bbb3c4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55fb0c7e.571584",\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": 2490.527099609375,\r
+        "y": 2111.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "6e12f41a.3aad64",\r
+                "b5b16aa9.5e894",\r
+                "4a01d696.8c8118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "961bb541.fa238",\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": 4024.5269775390625,\r
+        "y": 1987.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c9ed8f.1f298a7",\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": 4032.5269775390625,\r
+        "y": 2039.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c8884a5e.cff248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8884a5e.cff248",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4239.0269775390625,\r
+        "y": 2017.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "ca161250.2600b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7222973f.63de28",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3576.6954345703125,\r
+        "y": 2066.2357788085938,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "9a193d4a.e0dcc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a193d4a.e0dcc8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3803.5269775390625,\r
+        "y": 2054.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "961bb541.fa238",\r
+                "1c9ed8f.1f298a7",\r
+                "8d06a9c9.1b85a",\r
+                "63176143.c85c48",\r
+                "cef3ca9d.2c104"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca161250.2600b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4414.0269775390625,\r
+        "y": 2013.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "258887d0.26df98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d06a9c9.1b85a",\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": 3894.0269775390625,\r
+        "y": 1857.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "9a5fd1c3.7d763",\r
+                "e3871f94.a28688",\r
+                "67939630.c5f78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a5fd1c3.7d763",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4089.527099609375,\r
+        "y": 1809.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7fb21e6a.21f63"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3871f94.a28688",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4081.527099609375,\r
+        "y": 1864.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "3c75373d.b0767"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67939630.c5f78",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4086.527099609375,\r
+        "y": 1921.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "8ad73c5e.3d1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ad73c5e.3d1f",\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": 4238.527099609375,\r
+        "y": 1922.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c75373d.b0767",\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": 4249.527099609375,\r
+        "y": 1867.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7fb21e6a.21f63",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4233.909423828125,\r
+        "y": 1807.4099426269531,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "a55467d3.0aaea8",\r
+                "87797c29.69366"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a55467d3.0aaea8",\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": 4459.0269775390625,\r
+        "y": 1762.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63176143.c85c48",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3981.0269775390625,\r
+        "y": 2104.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "87797c29.69366",\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": 4418.0269775390625,\r
+        "y": 1821.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "58b11002.4131b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cef3ca9d.2c104",\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": 3922.0269775390625,\r
+        "y": 1651.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "51326991.7f2898",\r
+                "d61d1517.27825"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d61d1517.27825",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4143.0269775390625,\r
+        "y": 1619.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "8ed0c03d.565928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51326991.7f2898",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4143.0269775390625,\r
+        "y": 1666.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "a6e04e00.ffd96"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ed0c03d.565928",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4308.0269775390625,\r
+        "y": 1616.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "14cffe9c.903701"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14cffe9c.903701",\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": 4490.0269775390625,\r
+        "y": 1620.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a6e04e00.ffd96",\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": 4310.0269775390625,\r
+        "y": 1666.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc685b27.bd32f",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-A.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4533.0269775390625,\r
+        "y": 1596.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "258887d0.26df98",\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": 4675.0269775390625,\r
+        "y": 2010.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7878d7b8.ad7df",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4816.0269775390625,\r
+        "y": 1825.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "346dd4d8.896974"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58b11002.4131b",\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": 4613.0269775390625,\r
+        "y": 1821.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7878d7b8.ad7df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "346dd4d8.896974",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4993.0269775390625,\r
+        "y": 1817.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "dd0e1ad2.389f1",\r
+                "34802cc8.f036dc",\r
+                "83c1d591.e453a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd0e1ad2.389f1",\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": 5208.0269775390625,\r
+        "y": 1798.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "34802cc8.f036dc",\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": 5225.0269775390625,\r
+        "y": 1862.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c18da62b.d46198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c18da62b.d46198",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5448.5269775390625,\r
+        "y": 1863.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "2a6e1402.9f26d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a6e1402.9f26d4",\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": 5713.0269775390625,\r
+        "y": 1852.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "83c1d591.e453a",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5152.0269775390625,\r
+        "y": 1915.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57f7d786.5549e8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2363.5269775390625,\r
+        "y": 2581.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e3c2dcef.aae8f8",\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": 2444.527099609375,\r
+        "y": 2477.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "8b9fb321.70992",\r
+                "205abd09.598d9a",\r
+                "79e9c51.a089fbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b9fb321.70992",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2667.0269775390625,\r
+        "y": 2619.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "6279b5de.cc4ff4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "205abd09.598d9a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2651.0269775390625,\r
+        "y": 2670.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "46e04c65.2008ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79e9c51.a089fbc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2654.0269775390625,\r
+        "y": 2722.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "76686faa.840d7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76686faa.840d7",\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": 2824.0269775390625,\r
+        "y": 2725.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "46e04c65.2008ac",\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": 2836.0269775390625,\r
+        "y": 2674.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8589fea6.82485",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3023.4097900390625,\r
+        "y": 2630.4140014648438,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "12c89e29.9e0a4a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12c89e29.9e0a4a",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3266.4097900390625,\r
+        "y": 2629.4140014648438,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "441cee99.bfaf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6279b5de.cc4ff4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2813.0269775390625,\r
+        "y": 2610.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "8589fea6.82485"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "441cee99.bfaf",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3522.6954345703125,\r
+        "y": 2629.2357788085938,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "ee93bb7d.d7a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee93bb7d.d7a6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3822.5269775390625,\r
+        "y": 2626.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7f181100.6e913",\r
+                "d5405c3b.2180e",\r
+                "a9d72cbf.011738",\r
+                "aba88a5.2928878",\r
+                "ce4f5014.a0532"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f181100.6e913",\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": 4064.5269775390625,\r
+        "y": 2580.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5405c3b.2180e",\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": 4054.5269775390625,\r
+        "y": 2631.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "d43d5001.cef3c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d43d5001.cef3c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4242.0269775390625,\r
+        "y": 2629.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "e0b1256e.3d7278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0b1256e.3d7278",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4431.0269775390625,\r
+        "y": 2618.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "2dbd68c.e7c9e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aba88a5.2928878",\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": 3891.0269775390625,\r
+        "y": 2460.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "dc3d15fa.81276",\r
+                "84f6f122.84593",\r
+                "df513d92.eaab28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df513d92.eaab28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4086.527099609375,\r
+        "y": 2412.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "992d2ff.35fffd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84f6f122.84593",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4078.527099609375,\r
+        "y": 2467.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "326a3ad9.081e7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc3d15fa.81276",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4083.527099609375,\r
+        "y": 2524.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "a9233954.28abb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "992d2ff.35fffd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4230.909423828125,\r
+        "y": 2410.409942626953,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "faa22dd5.212148",\r
+                "9949d4ef.001688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "326a3ad9.081e7e",\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": 4246.527099609375,\r
+        "y": 2470.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a9233954.28abb8",\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": 4235.527099609375,\r
+        "y": 2525.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "faa22dd5.212148",\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": 4440.0269775390625,\r
+        "y": 2377.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a9d72cbf.011738",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4010.0269775390625,\r
+        "y": 2672.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9949d4ef.001688",\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": 4419.0269775390625,\r
+        "y": 2428.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "b61d11ba.55b168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce4f5014.a0532",\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`'/>\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": 3930.0269775390625,\r
+        "y": 2275.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "3a973be3.1f749c",\r
+                "bccf88ee.38b55"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bccf88ee.38b55",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4151.0269775390625,\r
+        "y": 2243.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "f5e2899d.2e99e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a973be3.1f749c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4151.0269775390625,\r
+        "y": 2290.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c9477994.8451e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5e2899d.2e99e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4316.0269775390625,\r
+        "y": 2240.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "aecbcfe0.6e5048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aecbcfe0.6e5048",\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": 4512.0269775390625,\r
+        "y": 2237.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c9477994.8451e8",\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": 4318.0269775390625,\r
+        "y": 2290.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "abda304.2cd6cd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5032.5269775390625,\r
+        "y": 2430.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "5c6e614a.9cad28",\r
+                "37c15682.dfe52a",\r
+                "ea1db027.01377"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a710596.36ea6",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4819.5269775390625,\r
+        "y": 2429.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "abda304.2cd6cd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dbd68c.e7c9e98",\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": 4664.0269775390625,\r
+        "y": 2617.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b61d11ba.55b168",\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": 4614.0269775390625,\r
+        "y": 2428.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "8a710596.36ea6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea1db027.01377",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5238.0269775390625,\r
+        "y": 2508.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "12cd95a6.c3a7d2",\r
+        "type": "comment",\r
+        "name": "Not useful anymore",\r
+        "info": "this domain-B.ltpId is not used anymore",\r
+        "comments": "",\r
+        "x": 4555.0269775390625,\r
+        "y": 2209.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c6e614a.9cad28",\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": 5302.5269775390625,\r
+        "y": 2406.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37c15682.dfe52a",\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": 5312.5269775390625,\r
+        "y": 2452.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "826de71a.33a62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "826de71a.33a62",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5528.0269775390625,\r
+        "y": 2443.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "2f251a3.863a066"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f251a3.863a066",\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": 5782.5269775390625,\r
+        "y": 2449.7542724609375,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "825fbafd.18c12",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2689.199951171875,\r
+        "y": 268.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "88dc17ca.c3603",\r
+                "d63ef024.cfef08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88dc17ca.c3603",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2880.199951171875,\r
+        "y": 272.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "85988dae.be2118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85988dae.be2118",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3007.199951171875,\r
+        "y": 271.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "1486884a.a84de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1486884a.a84de",\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": 3230.083251953125,\r
+        "y": 265.9666442871094,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "baa46e2a.1397b",\r
+                "5009aa1a.49b42c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "baa46e2a.1397b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3437.083251953125,\r
+        "y": 202.96664428710938,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "9723b3.a56f645"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5009aa1a.49b42c",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3367.083251953125,\r
+        "y": 393.9666748046875,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "9e442fe7.197ca8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9723b3.a56f645",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3579.083251953125,\r
+        "y": 192.96664428710938,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "74ae9ae0.0891cc",\r
+                "a08d8202.0e48d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e442fe7.197ca8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3493.083251953125,\r
+        "y": 393.9666748046875,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "7af5d9ce.fbbb7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "821af63c.9d499",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2489.966796875,\r
+        "y": 271.0833435058594,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "825fbafd.18c12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d63ef024.cfef08",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2884.933349609375,\r
+        "y": 224.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "3d7e803.580f08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74ae9ae0.0891cc",\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": 3737.666748046875,\r
+        "y": 172.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a08d8202.0e48d8",\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": 3759.666748046875,\r
+        "y": 220.0833282470703,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7af5d9ce.fbbb7",\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": 3663.666748046875,\r
+        "y": 394.0833435058594,\r
+        "z": "740154b1.db9c44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dccf569f.2f16c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2558.683349609375,\r
+        "y": 345.8833312988281,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "bb64af5d.7bf708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb64af5d.7bf708",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2757.91650390625,\r
+        "y": 342.88331604003906,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "c6cf934.ca6387"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6cf934.ca6387",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2948.91650390625,\r
+        "y": 346.88331604003906,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "84398364.2e39d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84398364.2e39d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3075.91650390625,\r
+        "y": 345.88331604003906,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdc2b636.8886c8",\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": 1419.566650390625,\r
+        "y": 1649.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "930ebbc8.d33d1",\r
+                "e9824426.b9b25"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "930ebbc8.d33d1",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1645.4666748046875,\r
+        "y": 1621.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "82cb40cb.6ece7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9824426.b9b25",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1643.4666748046875,\r
+        "y": 1671.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "82cb40cb.6ece7",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1787.566650390625,\r
+        "y": 1621.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d4b4351.930cbc",\r
+        "type": "switchNode",\r
+        "name": "switch $hasSecondary",\r
+        "xml": "<switch test='`$hasSecondary`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 798.4666748046875,\r
+        "y": 1838.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "9310b044.9b3228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9310b044.9b3228",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 984.4666748046875,\r
+        "y": 1839.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "40a7bba6.ae5b54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40a7bba6.ae5b54",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1114.4666748046875,\r
+        "y": 1839.566650390625,\r
+        "z": "740154b1.db9c44",\r
+        "wires": [\r
+            [\r
+                "e1473f30.10032"\r
+            ]\r
+        ]\r
     }\r
 ]
\ No newline at end of file
index 5c897a5..fec2db1 100755 (executable)
@@ -292,9 +292,11 @@ GENERIC-RESOURCE-API performance-data-collector ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-create-clean ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-F1 ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-F1-Activate ${project.version} sync
+GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-F1-Activate-w-Protection ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-logic ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-connectivity ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-ROOT-conn ${project.version} sync
+GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-find-maximum-used-tpn ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-delete ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-modify ${project.version} sync
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate-w-Protection.xml
new file mode 100644 (file)
index 0000000..97b7246
--- /dev/null
@@ -0,0 +1,834 @@
+<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}'>
+    <method rpc='cll-vnf-topology-operation-cll-F1-Activate-w-Protection' mode='sync'>
+        <block atomic="true">
+            <set>
+                <parameter name='`leaf-tunnels-list.`' value='' />
+                <parameter name='`leaf-tunnels-list_length`' value='0' />
+                <parameter name='`leaftunsidx`' value='0' />
+            </set>
+            <set>
+                <parameter name='tmp.aai.all-vpn-bindings.' value="" />
+            </set>
+            <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+                <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+                <parameter name='contextPrefix' value='prop' />
+            </execute>
+            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                          resource="vpn-bindings"
+                          key="selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings"
+                          local-only="false"
+                          pfx="tmp.aai.all-vpn-bindings" >
+                <outcome value='success'>
+                    <block atomic="true">
+                        <for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >
+                            <block atomic='true'>
+                                <block atomic='true'>
+                                    <set>
+                                        <parameter name='tmp.aai.vpn-binding.' value="" />
+                                    </set>
+                                    <set>
+                                        <parameter name='tmp.aai.vpn-binding.' value="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`" />
+                                    </set>
+                                    <switch test="`$tmp.aai.vpn-binding.operational-status != 'Activated' `">
+                                        <outcome value='true'>
+                                            <block atomic="true">
+                                                <set>
+                                                    <parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />
+                                                </set>
+                                                <switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>
+                                                    <outcome value='Other'>
+                                                        <switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>
+                                                            <outcome value=''>
+                                                                <block atomic="true">
+                                                                    <set>
+                                                                        <parameter name='tmp.aai.vpn-bindingA.' value="`$tmp.aai.vpn-binding.`" />
+                                                                        <parameter name='tmp.aai.connectivityA.' value="`$tmp.aai.connectivity.`" />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />
+                                                                        <parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />
+                                                                        <!--<parameter name='dst-tpn-id' value='1' />-->
+                                                                        <parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />
+                                                                        <parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />
+                                                                        <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+                                                                        <parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />
+                                                                        <parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />
+                                                                        <parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />
+                                                                        <parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='tmp.src.domainA.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.vpn-bindingA.src-access-node-id`" />
+                                                                    </set>
+                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                  resource="pnf"
+                                                                                  key="pnf.pnf-name = $tmp.src.domainA.pnf-name"
+                                                                                  pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                        <!--AND depth = '0'"-->
+                                                                        <outcome value='success'>
+                                                                            <block>
+                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                    <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                        <outcome value='esr-thirdparty-sdnc'>
+                                                                                            <block atomic="true">
+                                                                                                <set>
+                                                                                                    <parameter name='tmp.domainA.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                </set>
+                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                              resource="esr-thirdparty-sdnc"
+                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                              pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                    <outcome value='success'>
+                                                                                                        <block>
+                                                                                                            <set>
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                <!--<parameter name="format" value="json"/>-->
+                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                            </set>
+                                                                                                        </block>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='not-found'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='Other'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                </get-resource>
+                                                                                            </block>
+                                                                                        </outcome>
+                                                                                    </switch>
+                                                                                </for>
+                                                                            </block>
+                                                                        </outcome>
+                                                                        <outcome value='not-found'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='Other'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                    </get-resource>
+                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-src-domain-creation.templatefile`" />
+                                                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`" />
+                                                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.user`" />
+                                                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.password`" />
+                                                                        <parameter name="format" value="json"/>
+                                                                        <parameter name="httpMethod" value="patch"/>
+                                                                        <parameter name="responsePrefix" value="otn-oof"/>
+                                                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                        <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                        <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                        <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+                                                                        <outcome value='failure'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="Error executing Create OTN tunnel rest api" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='success'>
+                                                                            <block atomic="true"></block>
+                                                                        </outcome>
+                                                                    </execute>
+                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                            key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >
+                                                                        <parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />
+                                                                        <parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />
+                                                                        <parameter name='operational-status' value='Activated' />
+                                                                    </update>
+                                                                    <set>
+                                                                        <parameter name='`leaf-tunnels-list[$leaftunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
+                                                                        <parameter name='`leaf-tunnels-list[$leaftunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
+                                                                        <parameter name='`leaf-tunnels-list_length`' value='`$leaftunsidx + 1`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='`leaftunsidx`' value='`$leaftunsidx + 1`' />
+                                                                    </set>
+                                                                </block>
+                                                            </outcome>
+                                                            <outcome value='Other'>
+                                                                <block atomic="true">
+                                                                    <set>
+                                                                        <parameter name='tmp.aai.vpn-bindingG.' value="`$tmp.aai.vpn-binding.`" />
+                                                                        <parameter name='tmp.aai.connectivityG.' value="`$tmp.aai.connectivity.`" />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />
+                                                                        <parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />
+                                                                        <!--<parameter name='dst-tpn-id' value='1' />-->
+                                                                        <parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />
+                                                                        <parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />
+                                                                        <parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />
+                                                                        <parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />
+                                                                        <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+                                                                        <parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />
+                                                                        <parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />
+                                                                        <parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />
+                                                                        <parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='tmp.domainG.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.vpn-bindingG.src-access-node-id`" />
+                                                                    </set>
+                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                  resource="pnf"
+                                                                                  key="pnf.pnf-name = $tmp.domainG.pnf-name"
+                                                                                  pfx='tmp.aai.domainG-pnf' local-only='false' >
+                                                                        <!--AND depth = '0'"-->
+                                                                        <outcome value='success'>
+                                                                            <block>
+                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >
+                                                                                    <switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                        <outcome value='esr-thirdparty-sdnc'>
+                                                                                            <block atomic="true">
+                                                                                                <set>
+                                                                                                    <parameter name='tmp.domainG.esr-thirdparty-id' value="`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                </set>
+                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                              resource="esr-thirdparty-sdnc"
+                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                              pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                    <outcome value='success'>
+                                                                                                        <block>
+                                                                                                            <set>
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                <!--<parameter name="format" value="json"/>-->
+                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                            </set>
+                                                                                                        </block>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='not-found'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='Other'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                </get-resource>
+                                                                                            </block>
+                                                                                        </outcome>
+                                                                                    </switch>
+                                                                                </for>
+                                                                            </block>
+                                                                        </outcome>
+                                                                        <outcome value='not-found'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='Other'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                    </get-resource>
+                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-domainG-creation.templatefile`" />
+                                                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`" />
+                                                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainG.user`" />
+                                                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainG.password`" />
+                                                                        <parameter name="format" value="json"/>
+                                                                        <parameter name="httpMethod" value="patch"/>
+                                                                        <parameter name="responsePrefix" value="otn-oof"/>
+                                                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                        <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                        <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                        <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+                                                                        <outcome value='failure'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="Error executing Create OTN tunnel rest api" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='success'>
+                                                                            <block atomic="true"></block>
+                                                                        </outcome>
+                                                                    </execute>
+                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                            key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >
+                                                                        <parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />
+                                                                        <parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />
+                                                                        <parameter name='operational-status' value='Activated' />
+                                                                    </update>
+                                                                </block>
+                                                            </outcome>
+                                                        </switch>
+                                                    </outcome>
+                                                    <outcome value=''>
+                                                        <switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>
+                                                            <outcome value='Other'>
+                                                                <block atomic="true">
+                                                                    <set>
+                                                                        <parameter name='tmp.aai.vpn-bindingB.' value="`$tmp.aai.vpn-binding.`" />
+                                                                        <parameter name='tmp.aai.connectivityB.' value="`$tmp.aai.connectivity.`" />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />
+                                                                        <parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />
+                                                                        <!--<parameter name='src-tpn-id' value='1' />-->
+                                                                        <parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />
+                                                                        <parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />
+                                                                        <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+                                                                        <parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />
+                                                                        <parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />
+                                                                        <parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />
+                                                                        <parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='tmp.dst.domainB.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.vpn-bindingB.dst-access-node-id`" />
+                                                                    </set>
+                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                  resource="pnf"
+                                                                                  key="pnf.pnf-name = $tmp.dst.domainB.pnf-name"
+                                                                                  pfx='tmp.aai.destination-pnf' local-only='false' >
+                                                                        <!--AND depth = '0'"-->
+                                                                        <outcome value='success'>
+                                                                            <block>
+                                                                                <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >
+                                                                                    <switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>
+                                                                                        <outcome value='esr-thirdparty-sdnc'>
+                                                                                            <block atomic="true">
+                                                                                                <set>
+                                                                                                    <parameter name='tmp.domainB.esr-thirdparty-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                </set>
+                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                              resource="esr-thirdparty-sdnc"
+                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                              pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                    <outcome value='success'>
+                                                                                                        <block>
+                                                                                                            <set>
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                <!--<parameter name="format" value="json"/>-->
+                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                            </set>
+                                                                                                        </block>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='not-found'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='Other'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                </get-resource>
+                                                                                            </block>
+                                                                                        </outcome>
+                                                                                    </switch>
+                                                                                </for>
+                                                                            </block>
+                                                                        </outcome>
+                                                                        <outcome value='not-found'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='Other'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                    </get-resource>
+                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-dst-domain-creation.templatefile`" />
+                                                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`" />
+                                                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.user`" />
+                                                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.password`" />
+                                                                        <parameter name="format" value="json"/>
+                                                                        <parameter name="httpMethod" value="patch"/>
+                                                                        <parameter name="responsePrefix" value="otn-oof"/>
+                                                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                        <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                        <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                        <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+                                                                        <outcome value='failure'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="Error executing Create OTN tunnel rest api" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='success'>
+                                                                            <block atomic="true"></block>
+                                                                        </outcome>
+                                                                    </execute>
+                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                            key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >
+                                                                        <parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />
+                                                                        <parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />
+                                                                        <parameter name='operational-status' value='Activated' />
+                                                                    </update>
+                                                                    <set>
+                                                                        <parameter name='`root-tunnels-list[$roottunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
+                                                                        <parameter name='`root-tunnels-list[$roottunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
+                                                                        <parameter name='`root-tunnels-list_length`' value='`$roottunsidx + 1`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='`roottunsidx`' value='`$roottunsidx + 1`' />
+                                                                    </set>
+                                                                </block>
+                                                            </outcome>
+                                                            <outcome value=''>
+                                                                <return status='failure'>
+                                                                    <parameter name='error-code' value='' />
+                                                                    <parameter name='error-message' value='' />
+                                                                </return>
+                                                            </outcome>
+                                                        </switch>
+                                                    </outcome>
+                                                </switch>
+                                            </block>
+                                        </outcome>
+                                        <outcome value='false'>
+                                            <block></block>
+                                        </outcome>
+                                    </switch>
+                                </block>
+                            </block>
+                        </for>
+                    </block>
+                </outcome>
+                <outcome value='not-found'></outcome>
+                <outcome value='failure'>
+                    <return status='failure'>
+                        <parameter name='error-code' value='' />
+                        <parameter name='error-message' value='' />
+                    </return>
+                </outcome>
+            </get-resource>
+            <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+            <!--       resource="service-instance"-->
+            <!--       key='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->
+            <!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->
+            <!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->
+            <!--       local-only="false"-->
+            <!--       force="true" pfx="tmp.aai.service-instance">-->
+            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                          resource="service-instance"
+                          key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+                          local-only="false"
+                          force="true" pfx="tmp.aai.service-instance">
+                <!--$vnf-topology-operation-input.service-information.service-instance-id-->
+                <outcome value='success'>
+                    <for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >
+                        <switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>
+                            <outcome value='connectivity'>
+                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                              resource="connectivity"
+                                              key="connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"
+                                              local-only="false"
+                                              pfx="tmp.aai.connectivity" >
+                                    <outcome value='success'>
+                                        <switch test="`$tmp.aai.connectivity.operational-status != 'Activated' `">
+                                            <outcome value='false'>
+                                                <block></block>
+                                            </outcome>
+                                            <outcome value='true'>
+                                                <block atomic="true">
+                                                    <switch test="`$tmp.aai.connectivity.vpn-type != 'mdsc' `">
+                                                        <outcome value='true'>
+                                                            <block>
+                                                                <set>
+                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
+                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
+                                                                    <parameter name='`epidx`' value='0' />
+                                                                </set>
+                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                        <outcome value='uni'>
+                                                                            <block atomic="true">
+                                                                                <set>
+                                                                                    <parameter name='tmp.aai.uni.' value='' />
+                                                                                </set>
+                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                              resource="uni"
+                                                                                              key="uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+                                                                                              local-only="false"
+                                                                                              pfx="tmp.aai.uni" >
+                                                                                    <outcome value='not-found'>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                            <parameter name="error-code" value="500" />
+                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                        </return>
+                                                                                    </outcome>
+                                                                                    <outcome value='failure'>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='error-code' value='' />
+                                                                                            <parameter name='error-message' value='' />
+                                                                                        </return>
+                                                                                    </outcome>
+                                                                                    <outcome value='success'>
+                                                                                        <block atomic="true"></block>
+                                                                                    </outcome>
+                                                                                </get-resource>
+                                                                                <switch test="`$tmp.aai.uni.type`">
+                                                                                    <outcome value='leaf'>
+                                                                                        <block>
+                                                                                            <set>
+                                                                                                <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />
+                                                                                            </set>
+                                                                                        </block>
+                                                                                    </outcome>
+                                                                                    <outcome value='root'>
+                                                                                        <block>
+                                                                                            <set>
+                                                                                                <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />
+                                                                                            </set>
+                                                                                        </block>
+                                                                                    </outcome>
+                                                                                    <outcome value='secondary-root'>
+                                                                                        <block>
+                                                                                            <set>
+                                                                                                <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-backup' />
+                                                                                            </set>
+                                                                                        </block>
+                                                                                    </outcome>
+                                                                                    <outcome value='Other'>
+                                                                                        <block></block>
+                                                                                    </outcome>
+                                                                                </switch>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                    <parameter name="original_string" value='`$tmp.aai.uni.id`'/>
+                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                    <parameter name="regex" value="[-]+"/>
+                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-uni"/>
+                                                                                    <outcome value='success'>
+                                                                                        <block atomic="true">
+                                                                                            <set>
+                                                                                                <parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />
+                                                                                            </set>
+                                                                                        </block>
+                                                                                    </outcome>
+                                                                                    <outcome value='failure'>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='error-code' value='' />
+                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                        </return>
+                                                                                    </outcome>
+                                                                                </execute>
+                                                                                <set>
+                                                                                    <!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />
+                                                                                </set>
+                                                                                <set>
+                                                                                    <parameter name='`epidx`' value='`$epidx + 1`' />
+                                                                                </set>
+                                                                            </block>
+                                                                        </outcome>
+                                                                    </switch>
+                                                                </for>
+                                                                <set>
+                                                                    <parameter name='filenameclleths' value="`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`" />
+                                                                </set>
+                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                                    <parameter name="filename" value="`$filenameclleths`" />
+                                                                </execute>
+                                                                <set>
+                                                                    <parameter name='`otn-tunnels-name-list.`' value='' />
+                                                                    <parameter name='`otn-tunnels-name-list_length`' value='0' />
+                                                                    <parameter name='`otntunsidx`' value='0' />
+                                                                </set>
+                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                        <outcome value='vpn-binding'>
+                                                                            <block atomic="true">
+                                                                                <set>
+                                                                                    <parameter name='tmp.aai.vpn-binding.' value='' />
+                                                                                </set>
+                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                              resource="vpn-binding"
+                                                                                              key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+                                                                                              local-only="false"
+                                                                                              pfx="tmp.aai.vpn-binding" >
+                                                                                    <outcome value='not-found'>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                            <parameter name="error-code" value="500" />
+                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                        </return>
+                                                                                    </outcome>
+                                                                                    <outcome value='failure'>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='error-code' value='' />
+                                                                                            <parameter name='error-message' value='' />
+                                                                                        </return>
+                                                                                    </outcome>
+                                                                                    <outcome value='success'>
+                                                                                        <block atomic="true">
+                                                                                            <set>
+                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
+                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
+                                                                                                <parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />
+                                                                                            </set>
+                                                                                            <set>
+                                                                                                <parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />
+                                                                                            </set>
+                                                                                        </block>
+                                                                                    </outcome>
+                                                                                </get-resource>
+                                                                            </block>
+                                                                        </outcome>
+                                                                    </switch>
+                                                                </for>
+                                                                <set>
+                                                                    <parameter name='filenamecllotns' value="`leafrootOTNtunnelnames`" />
+                                                                </set>
+                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                                    <parameter name="filename" value="`$filenamecllotns`" />
+                                                                </execute>
+                                                                <block atomic="true">
+                                                                    <set>
+                                                                        <parameter name='tmp.pnf-name-forUrl' value="`'networkId-providerId-' +
+                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.connectivity.access-node-id`" />
+                                                                    </set>
+                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                  resource="pnf"
+                                                                                  key="pnf.pnf-name = $tmp.pnf-name-forUrl"
+                                                                                  pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                        <!--AND depth = '0'"-->
+                                                                        <outcome value='success'>
+                                                                            <block>
+                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                    <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                        <outcome value='esr-thirdparty-sdnc'>
+                                                                                            <block atomic="true">
+                                                                                                <set>
+                                                                                                    <parameter name='tmp.domainConn.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                </set>
+                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                              resource="esr-thirdparty-sdnc"
+                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                              pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                    <outcome value='success'>
+                                                                                                        <block>
+                                                                                                            <set>
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                <!--<parameter name="format" value="json"/>-->
+                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                            </set>
+                                                                                                        </block>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='not-found'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                    <outcome value='Other'>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                        </return>
+                                                                                                    </outcome>
+                                                                                                </get-resource>
+                                                                                            </block>
+                                                                                        </outcome>
+                                                                                    </switch>
+                                                                                </for>
+                                                                            </block>
+                                                                        </outcome>
+                                                                        <outcome value='not-found'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                        <outcome value='Other'>
+                                                                            <return status='failure'>
+                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                <parameter name="error-code" value="500" />
+                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                            </return>
+                                                                        </outcome>
+                                                                    </get-resource>
+                                                                </block>
+                                                                <set>
+                                                                    <!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
+                                                                    <parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />
+                                                                    <parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />
+                                                                    <parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />
+                                                                    <parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />
+                                                                    <parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />
+                                                                    <!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->
+                                                                    <!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
+                                                                    <!--<parameter name='index-number' value='0' />-->
+                                                                    <!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->
+                                                                    <!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->
+                                                                    <!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
+                                                                    <!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
+                                                                    <!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->
+                                                                </set>
+                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop-protection.templatefile`" />
+                                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`" />
+                                                                    <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" />
+                                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" />
+                                                                    <parameter name="format" value="json"/>
+                                                                    <parameter name="httpMethod" value="patch"/>
+                                                                    <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                                    <parameter name="responsePrefix" value="vpn-result"/>
+                                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                    <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                    <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                    <outcome value='failure'></outcome>
+                                                                    <outcome value='success'>
+                                                                        <block atomic="true">
+                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                    key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>
+                                                                                <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
+                                                                                <parameter name='operational-status' value='Activated' />
+                                                                            </update>
+                                                                        </block>
+                                                                    </outcome>
+                                                                </execute>
+                                                            </block>
+                                                        </outcome>
+                                                    </switch>
+                                                </block>
+                                            </outcome>
+                                        </switch>
+                                    </outcome>
+                                    <outcome value='not-found'></outcome>
+                                    <outcome value='failure'>
+                                        <return status='failure'>
+                                            <parameter name='error-code' value='' />
+                                            <parameter name='error-message' value='' />
+                                        </return>
+                                    </outcome>
+                                </get-resource>
+                            </outcome>
+                        </switch>
+                    </for>
+                </outcome>
+                <outcome value='not-found'></outcome>
+                <outcome value='failure'>
+                    <return status='failure'>
+                        <parameter name='error-code' value='' />
+                        <parameter name='error-message' value='' />
+                    </return>
+                </outcome>
+            </get-resource>
+        </block>
+    </method>
+</service-logic>
\ No newline at end of file
index b205786..662c46a 100644 (file)
                                             </outcome>
                                             <outcome value='true'>
                                                 <block atomic="true">
-                                                    <switch test="`$tmp.aai.connectivity.vpn-type`">
-                                                        <outcome value='leaf'>
-                                                            <block>
-                                                                <set>
-                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
-                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
-                                                                    <parameter name='`epidx`' value='0' />
-                                                                </set>
-                                                                <set>
-                                                                    <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />
-                                                                </set>
-                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
-                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                        <outcome value='uni'>
-                                                                            <block atomic="true">
+                                                    <block>
+                                                        <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+                                                            <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                <outcome value='uni'>
+                                                                    <block atomic="true">
+                                                                        <set>
+                                                                            <parameter name='tmp.aai.uni.' value='' />
+                                                                        </set>
+                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                      resource="uni"
+                                                                                      key="uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+                                                                                      local-only="false"
+                                                                                      pfx="tmp.aai.uni" >
+                                                                            <outcome value='not-found'>
+                                                                                <return status='failure'>
+                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                    <parameter name="error-code" value="500" />
+                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                </return>
+                                                                            </outcome>
+                                                                            <outcome value='failure'>
+                                                                                <return status='failure'>
+                                                                                    <parameter name='error-code' value='' />
+                                                                                    <parameter name='error-message' value='' />
+                                                                                </return>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block atomic="true"></block>
+                                                                            </outcome>
+                                                                        </get-resource>
+                                                                        <switch test="`$tmp.aai.uni.type`">
+                                                                            <outcome value='leaf'>
                                                                                 <set>
-                                                                                    <parameter name='tmp.aai.uni.' value='' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
+                                                                                    <parameter name='`epidx`' value='0' />
                                                                                 </set>
-                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                              resource="uni"
-                                                                                              key="uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                              local-only="false"
-                                                                                              pfx="tmp.aai.uni" >
-                                                                                    <outcome value='not-found'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value='' />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true"></block>
-                                                                                    </outcome>
-                                                                                </get-resource>
-                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
-                                                                                    <parameter name="original_string" value='`$tmp.aai.uni.id`'/>
-                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
-                                                                                    <parameter name="regex" value="[-]+"/>
-                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-uni"/>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true">
-                                                                                            <set>
-                                                                                                <parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />
-                                                                                            </set>
-                                                                                        </block>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                </execute>
                                                                                 <set>
-                                                                                    <!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />
+                                                                                    <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />
                                                                                 </set>
+                                                                            </outcome>
+                                                                            <outcome value='root'>
                                                                                 <set>
-                                                                                    <parameter name='`epidx`' value='`$epidx + 1`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
+                                                                                    <parameter name='`epidx`' value='0' />
                                                                                 </set>
-                                                                            </block>
-                                                                        </outcome>
-                                                                    </switch>
-                                                                </for>
-                                                                <set>
-                                                                    <parameter name='filenameclleths' value="`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`" />
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
-                                                                    <parameter name="filename" value="`$filenameclleths`" />
-                                                                </execute>
-                                                                <set>
-                                                                    <parameter name='`otn-tunnels-name-list.`' value='' />
-                                                                    <parameter name='`otn-tunnels-name-list_length`' value='0' />
-                                                                    <parameter name='`otntunsidx`' value='0' />
-                                                                </set>
-                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
-                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                        <outcome value='vpn-binding'>
-                                                                            <block atomic="true">
-                                                                                <set>
-                                                                                    <parameter name='tmp.aai.vpn-binding.' value='' />
-                                                                                </set>
-                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                              resource="vpn-binding"
-                                                                                              key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                              local-only="false"
-                                                                                              pfx="tmp.aai.vpn-binding" >
-                                                                                    <outcome value='not-found'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value='' />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true">
-                                                                                            <set>
-                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                <parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />
-                                                                                            </set>
-                                                                                            <set>
-                                                                                                <parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />
-                                                                                            </set>
-                                                                                        </block>
-                                                                                    </outcome>
-                                                                                </get-resource>
-                                                                            </block>
-                                                                        </outcome>
-                                                                    </switch>
-                                                                </for>
-                                                                <set>
-                                                                    <parameter name='filenamecllotns' value="`leafrootOTNtunnelnames`" />
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
-                                                                    <parameter name="filename" value="`$filenamecllotns`" />
-                                                                </execute>
-                                                                <block atomic="true">
-                                                                    <set>
-                                                                        <parameter name='tmp.pnf-name-forUrl' value="`'networkId-providerId-' +
-                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +
-                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +
-                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +
-                                                   $tmp.aai.connectivity.access-node-id`" />
-                                                                    </set>
-                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                  resource="pnf"
-                                                                                  key="pnf.pnf-name = $tmp.pnf-name-forUrl"
-                                                                                  pfx='tmp.aai.source-pnf' local-only='false' >
-                                                                        <!--AND depth = '0'"-->
-                                                                        <outcome value='success'>
-                                                                            <block>
-                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
-                                                                                    <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
-                                                                                        <outcome value='esr-thirdparty-sdnc'>
-                                                                                            <block atomic="true">
-                                                                                                <set>
-                                                                                                    <parameter name='tmp.domainConn.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
-                                                                                                </set>
-                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                                              resource="esr-thirdparty-sdnc"
-                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND
-                    depth = '1'"
-                                                                                                              pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >
-                                                                                                    <outcome value='success'>
-                                                                                                        <block>
-                                                                                                            <set>
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
-                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
-                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
-                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
-                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
-                                                                                                                <!--<parameter name="format" value="json"/>-->
-                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
-                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
-                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
-                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
-                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
-                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
-                                                                                                            </set>
-                                                                                                        </block>
-                                                                                                    </outcome>
-                                                                                                    <outcome value='not-found'>
-                                                                                                        <return status='failure'>
-                                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                                            <parameter name="error-code" value="500" />
-                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                        </return>
-                                                                                                    </outcome>
-                                                                                                    <outcome value='Other'>
-                                                                                                        <return status='failure'>
-                                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                                            <parameter name="error-code" value="500" />
-                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                        </return>
-                                                                                                    </outcome>
-                                                                                                </get-resource>
-                                                                                            </block>
-                                                                                        </outcome>
-                                                                                    </switch>
-                                                                                </for>
-                                                                            </block>
-                                                                        </outcome>
-                                                                        <outcome value='not-found'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='ack-final' value='Y'/>
-                                                                                <parameter name="error-code" value="500" />
-                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                            </return>
-                                                                        </outcome>
-                                                                        <outcome value='Other'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='ack-final' value='Y'/>
-                                                                                <parameter name="error-code" value="500" />
-                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                            </return>
-                                                                        </outcome>
-                                                                    </get-resource>
-                                                                </block>
-                                                                <set>
-                                                                    <!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
-                                                                    <parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />
-                                                                    <parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />
-                                                                    <parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />
-                                                                    <parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />
-                                                                    <parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />
-                                                                    <!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->
-                                                                    <!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
-                                                                    <!--<parameter name='index-number' value='0' />-->
-                                                                    <!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->
-                                                                    <!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->
-                                                                    <!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
-                                                                    <!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
-                                                                    <!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop.templatefile`" />
-                                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`" />
-                                                                    <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
-                                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" />
-                                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" />
-                                                                    <parameter name="format" value="json"/>
-                                                                    <parameter name="httpMethod" value="patch"/>
-                                                                    <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
-                                                                    <parameter name="responsePrefix" value="vpn-result"/>
-                                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                                    <parameter name="trustStorePassword" value="adminadmin"/>
-                                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                                    <parameter name="keyStorePassword" value="adminadmin"/>
-                                                                    <outcome value='failure'></outcome>
-                                                                    <outcome value='success'>
-                                                                        <block atomic="true">
-                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                    key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>
-                                                                                <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
-                                                                                <parameter name='operational-status' value='Activated' />
-                                                                            </update>
-                                                                        </block>
-                                                                    </outcome>
-                                                                </execute>
-                                                            </block>
-                                                        </outcome>
-                                                        <outcome value='root'>
-                                                            <block>
-                                                                <set>
-                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
-                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
-                                                                    <parameter name='`epidx`' value='0' />
-                                                                </set>
-                                                                <set>
-                                                                    <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />
-                                                                </set>
-                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
-                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                        <outcome value='uni'>
-                                                                            <block atomic="true">
-                                                                                <set>
-                                                                                    <parameter name='tmp.aai.uni.' value='' />
-                                                                                </set>
-                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                              resource="uni"
-                                                                                              key="uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                              local-only="false"
-                                                                                              pfx="tmp.aai.uni" >
-                                                                                    <outcome value='not-found'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value='' />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true"></block>
-                                                                                    </outcome>
-                                                                                </get-resource>
-                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
-                                                                                    <parameter name="original_string" value='`$tmp.aai.uni.id`'/>
-                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
-                                                                                    <parameter name="regex" value="[-]+"/>
-                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-uni"/>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true">
-                                                                                            <set>
-                                                                                                <parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />
-                                                                                            </set>
-                                                                                        </block>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                </execute>
                                                                                 <set>
-                                                                                    <!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
-                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />
+                                                                                    <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />
                                                                                 </set>
+                                                                            </outcome>
+                                                                            <outcome value='root-secondary'>
                                                                                 <set>
-                                                                                    <parameter name='`epidx`' value='`$epidx + 1`' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list.`' value='' />
+                                                                                    <parameter name='`ethernet-srv-end-points-list_length`' value='0' />
+                                                                                    <parameter name='`epidx`' value='0' />
                                                                                 </set>
-                                                                            </block>
-                                                                        </outcome>
-                                                                    </switch>
-                                                                </for>
-                                                                <set>
-                                                                    <parameter name='filenameclleths' value="`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`" />
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
-                                                                    <parameter name="filename" value="`$filenameclleths`" />
-                                                                </execute>
-                                                                <set>
-                                                                    <parameter name='`otn-tunnels-name-list.`' value='' />
-                                                                    <parameter name='`otn-tunnels-name-list_length`' value='0' />
-                                                                    <parameter name='`otntunsidx`' value='0' />
-                                                                </set>
-                                                                <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
-                                                                    <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                        <outcome value='vpn-binding'>
-                                                                            <block atomic="true">
                                                                                 <set>
-                                                                                    <parameter name='tmp.aai.vpn-binding.' value='' />
+                                                                                    <parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-secondary' />
                                                                                 </set>
-                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                              resource="vpn-binding"
-                                                                                              key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                              local-only="false"
-                                                                                              pfx="tmp.aai.vpn-binding" >
-                                                                                    <outcome value='not-found'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='error-code' value='' />
-                                                                                            <parameter name='error-message' value='' />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true">
-                                                                                            <set>
-                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                <parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                <parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />
-                                                                                            </set>
-                                                                                            <set>
-                                                                                                <parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />
-                                                                                            </set>
-                                                                                        </block>
-                                                                                    </outcome>
-                                                                                </get-resource>
-                                                                            </block>
-                                                                        </outcome>
-                                                                    </switch>
-                                                                </for>
-                                                                <set>
-                                                                    <parameter name='filenamecllotns' value="`leafrootOTNtunnelnames`" />
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
-                                                                    <parameter name="filename" value="`$filenamecllotns`" />
-                                                                </execute>
-                                                                <block atomic="true">
-                                                                    <set>
-                                                                        <parameter name='tmp.pnf-name-forUrl' value="`'networkId-providerId-' +
+                                                                            </outcome>
+                                                                            <outcome value='Other'>
+                                                                                <block></block>
+                                                                            </outcome>
+                                                                        </switch>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                            <parameter name="original_string" value='`$tmp.aai.uni.id`'/>
+                                                                            <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                            <parameter name="regex" value="[-]+"/>
+                                                                            <parameter name="ctx_memory_result_key" value="param-prefix-uni"/>
+                                                                            <outcome value='success'>
+                                                                                <block atomic="true">
+                                                                                    <set>
+                                                                                        <parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -4]`' />
+                                                                                    </set>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='failure'>
+                                                                                <return status='failure'>
+                                                                                    <parameter name='error-code' value='' />
+                                                                                    <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                </return>
+                                                                            </outcome>
+                                                                        </execute>
+                                                                        <set>
+                                                                            <!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />
+                                                                            <parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='`epidx`' value='`$epidx + 1`' />
+                                                                        </set>
+                                                                    </block>
+                                                                </outcome>
+                                                            </switch>
+                                                        </for>
+                                                        <set>
+                                                            <parameter name='filenameclleths' value="`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`" />
+                                                        </set>
+                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                            <parameter name="filename" value="`$filenameclleths`" />
+                                                        </execute>
+                                                        <set>
+                                                            <parameter name='`otn-tunnels-name-list.`' value='' />
+                                                            <parameter name='`otn-tunnels-name-list_length`' value='0' />
+                                                            <parameter name='`otntunsidx`' value='0' />
+                                                        </set>
+                                                        <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+                                                            <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                <outcome value='vpn-binding'>
+                                                                    <block atomic="true">
+                                                                        <set>
+                                                                            <parameter name='tmp.aai.vpn-binding.' value='' />
+                                                                        </set>
+                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                      resource="vpn-binding"
+                                                                                      key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+                                                                                      local-only="false"
+                                                                                      pfx="tmp.aai.vpn-binding" >
+                                                                            <outcome value='not-found'>
+                                                                                <return status='failure'>
+                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                    <parameter name="error-code" value="500" />
+                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                </return>
+                                                                            </outcome>
+                                                                            <outcome value='failure'>
+                                                                                <return status='failure'>
+                                                                                    <parameter name='error-code' value='' />
+                                                                                    <parameter name='error-message' value='' />
+                                                                                </return>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block atomic="true">
+                                                                                    <set>
+                                                                                        <parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />
+                                                                                        <parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />
+                                                                                        <parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />
+                                                                                    </set>
+                                                                                    <set>
+                                                                                        <parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />
+                                                                                    </set>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </get-resource>
+                                                                    </block>
+                                                                </outcome>
+                                                            </switch>
+                                                        </for>
+                                                        <set>
+                                                            <parameter name='filenamecllotns' value="`leafrootOTNtunnelnames`" />
+                                                        </set>
+                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                            <parameter name="filename" value="`$filenamecllotns`" />
+                                                        </execute>
+                                                        <block atomic="true">
+                                                            <set>
+                                                                <parameter name='tmp.pnf-name-forUrl' value="`'networkId-providerId-' +
                                                    $tmp.aai.connectivity.access-provider-id + '-clientId-' +
                                                    $tmp.aai.connectivity.access-client-id + '-topologyId-' +
                                                    $tmp.aai.connectivity.access-topology-id + '-nodeId-' +
                                                    $tmp.aai.connectivity.access-node-id`" />
-                                                                    </set>
-                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                  resource="pnf"
-                                                                                  key="pnf.pnf-name = $tmp.pnf-name-forUrl"
-                                                                                  pfx='tmp.aai.source-pnf' local-only='false' >
-                                                                        <!--AND depth = '0'"-->
-                                                                        <outcome value='success'>
-                                                                            <block>
-                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
-                                                                                    <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
-                                                                                        <outcome value='esr-thirdparty-sdnc'>
-                                                                                            <block atomic="true">
-                                                                                                <set>
-                                                                                                    <parameter name='tmp.domainConn.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
-                                                                                                </set>
-                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                                              resource="esr-thirdparty-sdnc"
-                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND
+                                                            </set>
+                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                          resource="pnf"
+                                                                          key="pnf.pnf-name = $tmp.pnf-name-forUrl"
+                                                                          pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                <!--AND depth = '0'"-->
+                                                                <outcome value='success'>
+                                                                    <block>
+                                                                        <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                            <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                <outcome value='esr-thirdparty-sdnc'>
+                                                                                    <block atomic="true">
+                                                                                        <set>
+                                                                                            <parameter name='tmp.domainConn.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                        </set>
+                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                      resource="esr-thirdparty-sdnc"
+                                                                                                      key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND
                     depth = '1'"
-                                                                                                              pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >
-                                                                                                    <outcome value='success'>
-                                                                                                        <block>
-                                                                                                            <set>
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
-                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
-                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
-                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
-                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
-                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
-                                                                                                                <!--<parameter name="format" value="json"/>-->
-                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
-                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
-                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
-                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
-                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
-                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
-                                                                                                            </set>
-                                                                                                        </block>
-                                                                                                    </outcome>
-                                                                                                    <outcome value='not-found'>
-                                                                                                        <return status='failure'>
-                                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                                            <parameter name="error-code" value="500" />
-                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                        </return>
-                                                                                                    </outcome>
-                                                                                                    <outcome value='Other'>
-                                                                                                        <return status='failure'>
-                                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                                            <parameter name="error-code" value="500" />
-                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                        </return>
-                                                                                                    </outcome>
-                                                                                                </get-resource>
-                                                                                            </block>
-                                                                                        </outcome>
-                                                                                    </switch>
-                                                                                </for>
-                                                                            </block>
-                                                                        </outcome>
-                                                                        <outcome value='not-found'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='ack-final' value='Y'/>
-                                                                                <parameter name="error-code" value="500" />
-                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                            </return>
-                                                                        </outcome>
-                                                                        <outcome value='Other'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='ack-final' value='Y'/>
-                                                                                <parameter name="error-code" value="500" />
-                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                            </return>
-                                                                        </outcome>
-                                                                    </get-resource>
+                                                                                                      pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >
+                                                                                            <outcome value='success'>
+                                                                                                <block>
+                                                                                                    <set>
+                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value="`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                        <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                        <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                        <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                        <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                        <!--<parameter name="format" value="json"/>-->
+                                                                                                        <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                        <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                        <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                        <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                        <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                        <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                    </set>
+                                                                                                </block>
+                                                                                            </outcome>
+                                                                                            <outcome value='not-found'>
+                                                                                                <return status='failure'>
+                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                </return>
+                                                                                            </outcome>
+                                                                                            <outcome value='Other'>
+                                                                                                <return status='failure'>
+                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                    <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                </return>
+                                                                                            </outcome>
+                                                                                        </get-resource>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </switch>
+                                                                        </for>
+                                                                    </block>
+                                                                </outcome>
+                                                                <outcome value='not-found'>
+                                                                    <return status='failure'>
+                                                                        <parameter name='ack-final' value='Y'/>
+                                                                        <parameter name="error-code" value="500" />
+                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                    </return>
+                                                                </outcome>
+                                                                <outcome value='Other'>
+                                                                    <return status='failure'>
+                                                                        <parameter name='ack-final' value='Y'/>
+                                                                        <parameter name="error-code" value="500" />
+                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                    </return>
+                                                                </outcome>
+                                                            </get-resource>
+                                                        </block>
+                                                        <set>
+                                                            <!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
+                                                            <parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />
+                                                            <parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />
+                                                            <parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />
+                                                            <parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />
+                                                            <parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />
+                                                            <!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->
+                                                            <!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
+                                                            <!--<parameter name='index-number' value='0' />-->
+                                                            <!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->
+                                                            <!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->
+                                                            <!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
+                                                            <!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
+                                                            <!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->
+                                                        </set>
+                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop.templatefile`" />
+                                                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`" />
+                                                            <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" />
+                                                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" />
+                                                            <parameter name="format" value="json"/>
+                                                            <parameter name="httpMethod" value="patch"/>
+                                                            <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                            <parameter name="responsePrefix" value="vpn-result"/>
+                                                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                            <parameter name="trustStorePassword" value="adminadmin"/>
+                                                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                            <parameter name="keyStorePassword" value="adminadmin"/>
+                                                            <outcome value='failure'></outcome>
+                                                            <outcome value='success'>
+                                                                <block atomic="true">
+                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                            key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>
+                                                                        <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
+                                                                        <parameter name='operational-status' value='Activated' />
+                                                                    </update>
                                                                 </block>
-                                                                <set>
-                                                                    <!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
-                                                                    <parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />
-                                                                    <parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />
-                                                                    <parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />
-                                                                    <parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />
-                                                                    <parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />
-                                                                    <!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->
-                                                                    <!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->
-                                                                    <!--<parameter name='index-number' value='0' />-->
-                                                                    <!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->
-                                                                    <!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->
-                                                                    <!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
-                                                                    <!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->
-                                                                    <!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->
-                                                                </set>
-                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop.templatefile`" />
-                                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`" />
-                                                                    <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
-                                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" />
-                                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" />
-                                                                    <parameter name="format" value="json"/>
-                                                                    <parameter name="httpMethod" value="patch"/>
-                                                                    <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
-                                                                    <parameter name="responsePrefix" value="vpn-result"/>
-                                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                                    <parameter name="trustStorePassword" value="adminadmin"/>
-                                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                                    <parameter name="keyStorePassword" value="adminadmin"/>
-                                                                    <outcome value='failure'></outcome>
-                                                                    <outcome value='success'>
-                                                                        <block atomic="true">
-                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                    key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>
-                                                                                <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
-                                                                                <parameter name='operational-status' value='Activated' />
-                                                                            </update>
-                                                                        </block>
-                                                                    </outcome>
-                                                                </execute>
-                                                            </block>
-                                                        </outcome>
-                                                        <outcome value='Other'>
-                                                            <block></block>
-                                                        </outcome>
-                                                    </switch>
+                                                            </outcome>
+                                                        </execute>
+                                                    </block>
                                                 </block>
                                             </outcome>
                                         </switch>
index c098114..a874168 100644 (file)
                                     <parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />
                                     <!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->
                                     <parameter name='operational-status' value='Created' />
+                                    <parameter name='access-provider-id' value='`$tmp.access-provider-id`' />
                                     <!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->
                                     <!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->
                                     <!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->
                     </switch>
                 </block>
             </for>
+            <switch test="`$tmp.otninfoProtect_length > 0`">
+                <outcome value='true'>
+                    <block atomic='true'>
+                        <set>
+                            <parameter name='tmp.srcdstpnf-name' value='' />
+                            <parameter name='prop.vpn-binding-otnidx-uuid' value='' />
+                            <parameter name='tmp.access-provider-id' value='' />
+                            <parameter name='tmp.access-client-id' value='' />
+                            <parameter name='tmp.access-topology-id' value='' />
+                            <parameter name='tmp.srcdstpnf-id' value='' />
+                            <parameter name='tmp.aai.srcdst-pnf.' value='' />
+                            <parameter name='tmp.domainG.esr-thirdparty-id' value='' />
+                            <parameter name='tmp.aai.domainG.esr-thirdparty-sdnc.' value='' />
+                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value='' />
+                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value='' />
+                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value='' />
+                            <parameter name='tmp.srcTtpdstTtpPair' value='' />
+                        </set>
+                        <for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >
+                            <block atomic='true'>
+                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
+                                    <parameter name="ctx-destination" value="prop.vpn-binding-otnidx-uuid"/>
+                                </execute>
+                                <switch test="`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`">
+                                    <outcome value='true'>
+                                        <set>
+                                            <parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-provider-id`' />
+                                            <parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-client-id`' />
+                                            <parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-topology-id`' />
+                                            <parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />
+                                        </set>
+                                    </outcome>
+                                    <outcome value='false'>
+                                        <set>
+                                            <parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id`' />
+                                            <parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-client-id`' />
+                                            <parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-topology-id`' />
+                                            <parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />
+                                        </set>
+                                    </outcome>
+                                </switch>
+                                <set>
+                                    <parameter name='tmp.srcdstpnf-name' value="`'networkId-providerId-' +
+                                             $tmp.access-provider-id + '-clientId-' +
+                                             $tmp.access-client-id + '-topologyId-' +
+                                             $tmp.access-topology-id + '-nodeId-' +
+                                             $tmp.srcdstpnf-id`" />
+                                </set>
+                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                              resource="pnf"
+                                              key="pnf.pnf-name = $tmp.srcdstpnf-name"
+                                              pfx='tmp.aai.srcdst-pnf' local-only='false' >
+                                    <!--AND depth = '0'"-->
+                                    <outcome value='success'>
+                                        <block>
+                                            <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >
+                                                <switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                        <block atomic="true">
+                                                            <set>
+                                                                <parameter name='tmp.domainG.esr-thirdparty-id' value="`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                            </set>
+                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                          resource="esr-thirdparty-sdnc"
+                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                          pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >
+                                                                <outcome value='success'>
+                                                                    <block>
+                                                                        <set>
+                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value="`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                        </set>
+                                                                    </block>
+                                                                </outcome>
+                                                                <outcome value='not-found'>
+                                                                    <return status='failure'>
+                                                                        <parameter name='ack-final' value='Y'/>
+                                                                        <parameter name="error-code" value="500" />
+                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                    </return>
+                                                                </outcome>
+                                                                <outcome value='Other'>
+                                                                    <return status='failure'>
+                                                                        <parameter name='ack-final' value='Y'/>
+                                                                        <parameter name="error-code" value="500" />
+                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                    </return>
+                                                                </outcome>
+                                                            </get-resource>
+                                                        </block>
+                                                    </outcome>
+                                                </switch>
+                                            </for>
+                                        </block>
+                                    </outcome>
+                                    <outcome value='not-found'>
+                                        <return status='failure'>
+                                            <parameter name='ack-final' value='Y'/>
+                                            <parameter name="error-code" value="500" />
+                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                        </return>
+                                    </outcome>
+                                    <outcome value='Other'>
+                                        <return status='failure'>
+                                            <parameter name='ack-final' value='Y'/>
+                                            <parameter name="error-code" value="500" />
+                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                        </return>
+                                    </outcome>
+                                </get-resource>
+                                <switch test='`$otnidx == 0`'>
+                                    <outcome value='true'>
+                                        <block>
+                                            <set>
+                                                <parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />
+                                                <parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />
+                                            </set>
+                                        </block>
+                                    </outcome>
+                                    <outcome value='false'>
+                                        <switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>
+                                            <outcome value='true'>
+                                                <block>
+                                                    <set>
+                                                        <parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />
+                                                        <parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />
+                                                    </set>
+                                                </block>
+                                            </outcome>
+                                            <outcome value='false'>
+                                                <set>
+                                                    <parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />
+                                                    <parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />
+                                                </set>
+                                            </outcome>
+                                        </switch>
+                                    </outcome>
+                                </switch>
+                                <set>
+                                    <parameter name='tmp.srcTtpdstTtpPair' value="`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id + ',' +
+                                               $tmp.otninfootninfoProtect.dstPort.dst-tunnel-tp-id`" />
+                                </set>
+                                <set>
+                                    <parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />
+                                    <parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />
+                                </set>
+                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' ></call>
+                                <set>
+                                    <parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />
+                                </set>
+                                <switch test="`$found-connectivity`">
+                                    <outcome value='false'>
+                                        <block>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                  key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >
+                                                <parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />
+                                                <parameter name='vpn-name' value="`$prop.otn-tunnel-name + '-protection'`" />
+                                                <!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->
+                                                <!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->
+                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
+                                                <!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->
+                                                <parameter name='access-provider-id' value='`$tmp.access-provider-id`' />
+                                                <!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->
+                                                <parameter name='access-client-id' value='`$tmp.access-client-id`' />
+                                                <!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->
+                                                <parameter name='access-topology-id' value='`$tmp.access-topology-id`' />
+                                                <!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->
+                                                <parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />
+                                                <parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />
+                                                <!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->
+                                                <parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />
+                                                <parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />
+                                                <parameter name='route-distinguisher' value='`$gfp`' />
+                                                <parameter name='operational-status' value='Created' />
+                                                <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />
+                                                <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />
+                                                <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />
+                                                <parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />
+                                                <parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />
+                                                <parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />
+                                                <!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->
+                                                <!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->
+                                                <parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+                                                <parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />
+                                                <outcome value='success'>
+                                                    <block></block>
+                                                </outcome>
+                                            </save>
+                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
+                                                <parameter name="ctx-destination" value="uuid.connectivity-otnidx-uuid"/>
+                                            </execute>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                  key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>
+                                                <parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />
+                                                <!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->
+                                                <parameter name='operational-status' value='Created' />
+                                                <parameter name='access-provider-id' value='`$tmp.access-provider-id`' />
+                                                <!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->
+                                                <!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->
+                                                <!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->
+                                                <!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->
+                                                <!--<parameter name='access-ltp-id' value='``' />-->
+                                                <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />
+                                                <parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />
+                                                <!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->
+                                                <parameter name='bandwidth-profile-name' value='`$gfp`' />
+                                                <parameter name='vpn-type' value='dummy' />
+                                                <parameter name='cir' value='`$gfp *1000000`' />
+                                                <parameter name='eir' value='`$gfp *1000000`' />
+                                                <!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->
+                                                <!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->
+                                                <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->
+                                                <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->
+                                                <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />
+                                                <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />
+                                                <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />
+                                                <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` " />
+                                            </save>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
+                                                  key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'
+                                                  force="true" pfx="tmp.AnAI-data">
+                                                <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-otnidx-uuid`" />
+                                            </save>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
+                                                  key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+                                                  force="true" pfx="tmp.AnAI-data">
+                                                <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-otnidx-uuid`" />
+                                                <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->
+                                                <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->
+                                                <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->
+                                                <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->
+                                                <!--      force="true" pfx="tmp.AnAI-data">-->
+                                                <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->
+                                                <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->
+                                                <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->
+                                                <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->
+                                            </save>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'
+                                                  key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid'
+                                                  force="true" pfx="tmp.AnAI-data">
+                                                <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-otnidx-uuid`" />
+                                            </save>
+                                        </block>
+                                    </outcome>
+                                    <outcome value='true'>
+                                        <block atomic='true'>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                  key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >
+                                                <parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />
+                                                <parameter name='vpn-name' value="`$prop.otn-tunnel-name + '-protection'`" />
+                                                <!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->
+                                                <!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->
+                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
+                                                <!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->
+                                                <parameter name='access-provider-id' value='`$tmp.access-provider-id`' />
+                                                <!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->
+                                                <parameter name='access-client-id' value='`$tmp.access-client-id`' />
+                                                <!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->
+                                                <parameter name='access-topology-id' value='`$tmp.access-topology-id`' />
+                                                <!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->
+                                                <parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />
+                                                <parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />
+                                                <!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->
+                                                <parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />
+                                                <parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />
+                                                <parameter name='route-distinguisher' value='`$gfp`' />
+                                                <parameter name='operational-status' value='Created' />
+                                                <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />
+                                                <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />
+                                                <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />
+                                                <parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />
+                                                <parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />
+                                                <parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />
+                                                <!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->
+                                                <!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->
+                                                <parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+                                                <parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />
+                                                <outcome value='success'>
+                                                    <block></block>
+                                                </outcome>
+                                            </save>
+                                            <set>
+                                                <parameter name='tmp.newFlag' value="`$tmp.the-connectivity.coupling-flag + '-' +
+                                               $tmp.srcTtpdstTtpPair`" />
+                                            </set>
+                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                    key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
+                                                <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
+                                                <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />
+                                                <parameter name='operational-status' value='Modified' />
+                                                <parameter name='coupling-flag' value='`$tmp.newFlag`' />
+                                            </update>
+                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'
+                                                  key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid'
+                                                  force="true" pfx="tmp.AnAI-data">
+                                                <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.the-connectivity.connectivity-id`" />
+                                            </save>
+                                        </block>
+                                    </outcome>
+                                </switch>
+                            </block>
+                        </for>
+                    </block>
+                </outcome>
+            </switch>
             <set>
                 <parameter name='domain-A.tunnel-tp-id' value='' />
                 <parameter name='domain-A.node-id' value='' />
index b928dba..325b58b 100644 (file)
                                                                                             </outcome>\r
                                                                                             <outcome value='success'>\r
                                                                                                 <block>\r
+                                                                                                    <set>\r
+                                                                                                        <parameter name='hasSecondary' value="false" />\r
+                                                                                                        <parameter name='network-route-three' value="" />\r
+                                                                                                        <parameter name='tmp.aai.network-route-three.' value="" />\r
+                                                                                                        <parameter name='tmp.aai.network-route-C.' value="" />\r
+                                                                                                    </set>\r
                                                                                                     <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
                                                                                                         <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>\r
                                                                                                     </execute>\r
                                                                                                     <set>\r
                                                                                                         <parameter name='network-route-two' value="`$tmp.aai.logical-link.link-name2`" />\r
                                                                                                     </set>\r
+                                                                                                    <set>\r
+                                                                                                        <parameter name='network-route-three' value="`$tmp.aai.logical-link.segment-id`" />\r
+                                                                                                    </set>\r
+                                                                                                    <switch test='`length($network-route-three) == 0`'>\r
+                                                                                                        <outcome value='true'>\r
+                                                                                                            <set>\r
+                                                                                                                <parameter name='hasSecondary' value="false" />\r
+                                                                                                            </set>\r
+                                                                                                        </outcome>\r
+                                                                                                        <outcome value='false'>\r
+                                                                                                            <set>\r
+                                                                                                                <parameter name='hasSecondary' value="true" />\r
+                                                                                                            </set>\r
+                                                                                                        </outcome>\r
+                                                                                                    </switch>\r
                                                                                                     <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
                                                                                                                   resource="network-route"\r
                                                                                                                   key='network-route.route-id = $network-route-one'\r
                                                                                                                             </set>\r
                                                                                                                         </block>\r
                                                                                                                     </outcome>\r
+                                                                                                                    <outcome value='SECONDARY-ROOT'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-one.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-one.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
                                                                                                                 </switch>\r
                                                                                                             </block>\r
                                                                                                         </outcome>\r
                                                                                                                             </set>\r
                                                                                                                         </block>\r
                                                                                                                     </outcome>\r
+                                                                                                                    <outcome value='SECONDARY-ROOT'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </switch>\r
+                                                                                                            </block>\r
+                                                                                                        </outcome>\r
+                                                                                                    </get-resource>\r
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                  resource="network-route"\r
+                                                                                                                  key='network-route.route-id = $network-route-three'\r
+                                                                                                                  local-only="false"\r
+                                                                                                                  force="true" pfx="tmp.aai.network-route-three">\r
+                                                                                                        <outcome value='not-found'></outcome>\r
+                                                                                                        <outcome value='failure'></outcome>\r
+                                                                                                        <outcome value='success'>\r
+                                                                                                            <block atomic="true">\r
+                                                                                                                <switch test='`$tmp.aai.network-route-three.type`'>\r
+                                                                                                                    <outcome value='ROOT'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-ROOT.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-B.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                    <outcome value='LEAF'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-LEAF.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-A.' value="`$tmp.aai.network-route-two.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                    <outcome value='SECONDARY-ROOT'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-three.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-three.`" />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
                                                                                                                 </switch>\r
                                                                                                             </block>\r
                                                                                                         </outcome>\r
                                                                                                         <parameter name='tmp.ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`" />\r
                                                                                                         <parameter name='tmp.ROOT.uni-tp-id' value="`$tmp.dst.ltpId`" />\r
                                                                                                     </set>\r
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+                                                                                                        <parameter name="original_string" value='`$tmp.aai.network-route-C.next-hop`'/>\r
+                                                                                                        <!--<parameter name="regex" value="[^-]+$"/>-->\r
+                                                                                                        <parameter name="regex" value="[-]+"/>\r
+                                                                                                        <parameter name="ctx_memory_result_key" value="param-prefix-domainC-pnfName"/>\r
+                                                                                                        <outcome value='success'>\r
+                                                                                                            <block atomic="true">\r
+                                                                                                                <set>\r
+                                                                                                                    <parameter name='tmp.dst.domainC.pnf-name' value="`$param-prefix-domainC-pnfName[0] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[1] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[2] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[3] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[4] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[5] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[6] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[7] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[8]`" />\r
+                                                                                                                </set>\r
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                              resource="pnf"\r
+                                                                                                                              key="pnf.pnf-name = $tmp.dst.domainC.pnf-name"\r
+                                                                                                                              pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\r
+                                                                                                                    <!--AND depth = '0'"-->\r
+                                                                                                                    <outcome value='success'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\r
+                                                                                                                                <switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\r
+                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>\r
+                                                                                                                                        <block atomic="true">\r
+                                                                                                                                            <set>\r
+                                                                                                                                                <parameter name='tmp.domainC.esr-thirdparty-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
+                                                                                                                                            </set>\r
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                                                          resource="esr-thirdparty-sdnc"\r
+                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND\r
+                    depth = '1'"\r
+                                                                                                                                                          pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >\r
+                                                                                                                                                <outcome value='success'>\r
+                                                                                                                                                    <block>\r
+                                                                                                                                                        <set>\r
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
+                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\r
+                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->\r
+                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->\r
+                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->\r
+                                                                                                                                                            <!--<parameter name="format" value="json"/>-->\r
+                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->\r
+                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->\r
+                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->\r
+                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->\r
+                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->\r
+                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->\r
+                                                                                                                                                        </set>\r
+                                                                                                                                                    </block>\r
+                                                                                                                                                </outcome>\r
+                                                                                                                                                <outcome value='not-found'>\r
+                                                                                                                                                    <return status='failure'>\r
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                                                                                                    </return>\r
+                                                                                                                                                </outcome>\r
+                                                                                                                                                <outcome value='Other'>\r
+                                                                                                                                                    <return status='failure'>\r
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                                                                                                    </return>\r
+                                                                                                                                                </outcome>\r
+                                                                                                                                            </get-resource>\r
+                                                                                                                                        </block>\r
+                                                                                                                                    </outcome>\r
+                                                                                                                                    <outcome value='network-resource'>\r
+                                                                                                                                        <block atomic="true">\r
+                                                                                                                                            <set>\r
+                                                                                                                                                <parameter name='tmp.domainC.eth-network-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
+                                                                                                                                            </set>\r
+                                                                                                                                        </block>\r
+                                                                                                                                    </outcome>\r
+                                                                                                                                </switch>\r
+                                                                                                                            </for>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                    <outcome value='not-found'>\r
+                                                                                                                        <return status='failure'>\r
+                                                                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                                                                        </return>\r
+                                                                                                                    </outcome>\r
+                                                                                                                    <outcome value='Other'>\r
+                                                                                                                        <return status='failure'>\r
+                                                                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                                                                            <parameter name="error-code" value="500" />\r
+                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                                                                        </return>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </get-resource>\r
+                                                                                                            </block>\r
+                                                                                                        </outcome>\r
+                                                                                                        <outcome value='failure'></outcome>\r
+                                                                                                    </execute>\r
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                  resource="p-interface"\r
+                                                                                                                  key="pnf.pnf-name = $tmp.dst.domainC.pnf-name\r
+               AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop"\r
+                                                                                                                  local-only="false"\r
+                                                                                                                  pfx="tmp.aai.network-route-C.p-interface-dst" >\r
+                                                                                                        <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
+                                                                                                        <!--   resource="p-interface"-->\r
+                                                                                                        <!--       key="pnf.pnf-name = $unique-src-node-Id-->\r
+                                                                                                        <!--           and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->\r
+                                                                                                        <!--           local-only="false" -->\r
+                                                                                                        <!--           pfx="tmp.aai.endpointA.p-interface-src" >-->\r
+                                                                                                        <outcome value='success'>\r
+                                                                                                            <block atomic="true">\r
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+                                                                                                                    <parameter name="original_string" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\r
+                                                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->\r
+                                                                                                                    <parameter name="regex" value="[-]+"/>\r
+                                                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-domainC"/>\r
+                                                                                                                    <outcome value='success'>\r
+                                                                                                                        <block atomic="true">\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\r
+                                                                                                                            </set>\r
+                                                                                                                            <set>\r
+                                                                                                                                <parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\r
+                                                                                                                            </set>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                    <outcome value='failure'>\r
+                                                                                                                        <return status='failure'>\r
+                                                                                                                            <parameter name='error-code' value='' />\r
+                                                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+                                                                                                                        </return>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </execute>\r
+                                                                                                                <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\r
+                                                                                                                    <switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\r
+                                                                                                                        <outcome value='tunnel-termination-point'>\r
+                                                                                                                            <block atomic="true">\r
+                                                                                                                                <set>\r
+                                                                                                                                    <parameter name='tmp.destination-secondary.ttp-id' value="`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />\r
+                                                                                                                                </set>\r
+                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                                              resource="tunnel-termination-point"\r
+                                                                                                                                              key="tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id\r
+               AND depth = '0'"\r
+                                                                                                                                              pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\r
+                                                                                                                                    <outcome value='success'>\r
+                                                                                                                                        <block atomic="true">\r
+                                                                                                                                            <set>\r
+                                                                                                                                                <parameter name='destination-secondary.tunnel-tp-id' value="`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`" />\r
+                                                                                                                                            </set>\r
+                                                                                                                                        </block>\r
+                                                                                                                                    </outcome>\r
+                                                                                                                                </get-resource>\r
+                                                                                                                                <break/>\r
+                                                                                                                            </block>\r
+                                                                                                                        </outcome>\r
+                                                                                                                    </switch>\r
+                                                                                                                </for>\r
+                                                                                                            </block>\r
+                                                                                                        </outcome>\r
+                                                                                                        <outcome value='not-found'></outcome>\r
+                                                                                                        <outcome value='failure'></outcome>\r
+                                                                                                    </get-resource>\r
+                                                                                                    <set>\r
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value="`$param-prefix-domainC-pnfName[0] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[1] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[2] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[3] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[4] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[5] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[6] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[7] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[8]`" />\r
+                                                                                                        <!--<parameter name='tmp.ROOT.pnf-name-short' value="`$param-prefix-domainB-pnfName[8]`" />-->\r
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value="`$tmp.dst-secondary.pnf-name`" />\r
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`" />\r
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value="`$tmp.dst-secondary.ltpId`" />\r
+                                                                                                    </set>\r
                                                                                                     <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' ></call>\r
                                                                                                     <switch test='`$found-middle-man`'>\r
                                                                                                         <outcome value='false'>\r
                                                                                                                     <parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\r
                                                                                                                     <parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\r
                                                                                                                     <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\r
+                                                                                                                    <parameter name='type' value='leaf' />\r
                                                                                                                     <parameter name='data-source' value='`$gfp`' />\r
                                                                                                                 </save>\r
                                                                                                                 <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
                                                                                                                     <parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\r
                                                                                                                     <parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\r
                                                                                                                     <parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\r
+                                                                                                                    <parameter name='type' value='root' />\r
                                                                                                                     <parameter name='data-source' value='`$gfp`' />\r
                                                                                                                 </save>\r
                                                                                                                 <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.ROOT.uni-p-interface-long`" />\r
                                                                                                                 </save>\r
+                                                                                                                <switch test='`$hasSecondary`'>\r
+                                                                                                                    <outcome value='true'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'\r
+                                                                                                                                  key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\r
+                                                                                                                                <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\r
+                                                                                                                                <parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\r
+                                                                                                                                <parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\r
+                                                                                                                                <parameter name='type' value='secondary-root' />\r
+                                                                                                                                <parameter name='data-source' value='`$gfp`' />\r
+                                                                                                                            </save>\r
+                                                                                                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\r
+                                                                                                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\r
+                                                                                                                                <outcome value='true'>\r
+                                                                                                                                    <block>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'\r
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="uni" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                                        </save>\r
+                                                                                                                                    </block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='false'>\r
+                                                                                                                                    <block>\r
+                                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+                                                                                                                                            <parameter name="ctx-destination" value="prop.connectivity-domainC-uuid"/>\r
+                                                                                                                                        </execute>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\r
+                                                                                                                                            <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\r
+                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\r
+                                                                                                                                            <!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\r
+                                                                                                                                            <!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\r
+                                                                                                                                            <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\r
+                                                                                                                                            <parameter name='operational-status' value='Created' />\r
+                                                                                                                                            <parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\r
+                                                                                                                                            <parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\r
+                                                                                                                                            <parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\r
+                                                                                                                                            <parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\r
+                                                                                                                                            <parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\r
+                                                                                                                                            <parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\r
+                                                                                                                                            <parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\r
+                                                                                                                                            <parameter name='vpn-type' value='secondary-root' />\r
+                                                                                                                                            <parameter name='bandwidth-profile-name' value='`$gfp`' />\r
+                                                                                                                                            <parameter name='cir' value='`$gfp *1000000`' />\r
+                                                                                                                                            <parameter name='eir' value='`$gfp *1000000`' />\r
+                                                                                                                                            <parameter name='cbs' value='`$prop.sotn.cbs`' />\r
+                                                                                                                                            <parameter name='ebs' value='`$prop.sotn.ebs`' />\r
+                                                                                                                                            <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\r
+                                                                                                                                            <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\r
+                                                                                                                                            <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\r
+                                                                                                                                            <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
+                                                                                                                                            <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
+                                                                                                                                            <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
+                                                                                                                                            <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` " />\r
+                                                                                                                                        </save>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
+                                                                                                                                              key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainC-uuid`" />\r
+                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
+                                                                                                                                            <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
+                                                                                                                                            <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
+                                                                                                                                            <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
+                                                                                                                                            <!--      force="true" pfx="tmp.AnAI-data">-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
+                                                                                                                                        </save>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'\r
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="uni" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                                        </save>\r
+                                                                                                                                    </block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                            </switch>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </switch>\r
                                                                                                                 <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
                                                                                                                     <parameter name="ctx-destination" value="prop.connectivity-middle-man-uuid"/>\r
                                                                                                                 </execute>\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.ROOT.uni-p-interface-long`" />\r
                                                                                                                 </save>\r
+                                                                                                                <switch test='`$hasSecondary`'>\r
+                                                                                                                    <outcome value='true'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
+                                                                                                                                  key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'\r
+                                                                                                                                  force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                <parameter name="relationship-list.relationship[0].related-to" value="uni" />\r
+                                                                                                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />\r
+                                                                                                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />\r
+                                                                                                                            </save>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </switch>\r
                                                                                                                 <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
                                                                                                                       key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'\r
                                                                                                                       force="true" pfx="tmp.AnAI-data">\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />\r
                                                                                                                 </save>\r
+                                                                                                                <switch test='`$hasSecondary`'>\r
+                                                                                                                    <outcome value='true'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\r
+                                                                                                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\r
+                                                                                                                                <outcome value='false'>\r
+                                                                                                                                    <block>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
+                                                                                                                                              key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'\r
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainC-uuid`" />\r
+                                                                                                                                        </save>\r
+                                                                                                                                    </block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                            </switch>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </switch>\r
                                                                                                                 <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' ></call>\r
                                                                                                             </block>\r
                                                                                                         </outcome>\r
                                                                                                                         </block>\r
                                                                                                                     </outcome>\r
                                                                                                                 </get-resource>\r
+                                                                                                                <switch test='`$hasSecondary`'>\r
+                                                                                                                    <outcome value='true'>\r
+                                                                                                                        <block>\r
+                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                                                          resource="uni"\r
+                                                                                                                                          key="uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long"\r
+                                                                                                                                          local-only="false"\r
+                                                                                                                                          pfx="tmp.aai.secondaryrootuni" >\r
+                                                                                                                                <outcome value='not-found'>\r
+                                                                                                                                    <return status='failure'>\r
+                                                                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+                                                                                                                                    </return>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='failure'>\r
+                                                                                                                                    <return status='failure'>\r
+                                                                                                                                        <parameter name='error-code' value='' />\r
+                                                                                                                                        <parameter name='error-message' value='' />\r
+                                                                                                                                    </return>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='success'>\r
+                                                                                                                                    <block atomic="true">\r
+                                                                                                                                        <set>\r
+                                                                                                                                            <parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\r
+                                                                                                                                        </set>\r
+                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'\r
+                                                                                                                                                key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\r
+                                                                                                                                            <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\r
+                                                                                                                                            <parameter name='data-source' value='`$tmp.newbw`' />\r
+                                                                                                                                        </update>\r
+                                                                                                                                    </block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                            </get-resource>\r
+                                                                                                                        </block>\r
+                                                                                                                    </outcome>\r
+                                                                                                                </switch>\r
                                                                                                                 <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
                                                                                                                       key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
          AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
                                                                                                                                 <parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\r
                                                                                                                                 <parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\r
                                                                                                                                 <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\r
+                                                                                                                                <parameter name='type' value='leaf' />\r
                                                                                                                                 <parameter name='data-source' value='`$gfp`' />\r
                                                                                                                             </save>\r
                                                                                                                             <switch test="`$found-connectivity`">\r
                                                                                                                                     </return>\r
                                                                                                                                 </outcome>\r
                                                                                                                             </switch>\r
+                                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>\r
+                                                                                                                            <switch test="`$found-secondary-root-connectivity`">\r
+                                                                                                                                <outcome value='true'>\r
+                                                                                                                                    <block atomic='true'>\r
+                                                                                                                                        <set>\r
+                                                                                                                                            <!--<parameter name='prop.connectivity-domainB-uuid' value="`$tmp.ROOT.uni-p-interface-long`" />-->\r
+                                                                                                                                            <!--OR-->\r
+                                                                                                                                            <parameter name='prop.connectivity-domainC-uuid' value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                        </set>\r
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
+                                                                                                                                              key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
+                                                                                                                                            <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
+                                                                                                                                            <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
+                                                                                                                                            <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
+                                                                                                                                            <!--      force="true" pfx="tmp.AnAI-data">-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
+                                                                                                                                        </save>\r
+                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
+                                                                                                                                                key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\r
+                                                                                                                                            <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\r
+                                                                                                                                            <parameter name='operational-status' value='Modified' />\r
+                                                                                                                                        </update>\r
+                                                                                                                                    </block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='false'></outcome>\r
+                                                                                                                            </switch>\r
                                                                                                                             <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' ></call>\r
                                                                                                                         </block>\r
                                                                                                                     </outcome>\r
                                                                                                                                 <parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\r
                                                                                                                                 <parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\r
                                                                                                                                 <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\r
+                                                                                                                                <parameter name='type' value='leaf' />\r
                                                                                                                                 <parameter name='data-source' value='`$gfp`' />\r
                                                                                                                             </save>\r
                                                                                                                             <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
                                                                                                                                                     </return>\r
                                                                                                                                                 </outcome>\r
                                                                                                                                             </switch>\r
+                                                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>\r
+                                                                                                                                            <switch test="`$found-secondary-root-connectivity`">\r
+                                                                                                                                                <outcome value='true'>\r
+                                                                                                                                                    <block atomic='true'>\r
+                                                                                                                                                        <set>\r
+                                                                                                                                                            <!--<parameter name='prop.connectivity-domainB-uuid' value="`$tmp.ROOT.uni-p-interface-long`" />-->\r
+                                                                                                                                                            <!--OR-->\r
+                                                                                                                                                            <parameter name='prop.connectivity-domainC-uuid' value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                                        </set>\r
+                                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
+                                                                                                                                                              key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
+                                                                                                                                                              force="true" pfx="tmp.AnAI-data">\r
+                                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+                                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+                                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />\r
+                                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
+                                                                                                                                                            <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
+                                                                                                                                                            <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
+                                                                                                                                                            <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
+                                                                                                                                                            <!--      force="true" pfx="tmp.AnAI-data">-->\r
+                                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
+                                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
+                                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
+                                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
+                                                                                                                                                        </save>\r
+                                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
+                                                                                                                                                                key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\r
+                                                                                                                                                            <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\r
+                                                                                                                                                            <parameter name='operational-status' value='Modified' />\r
+                                                                                                                                                        </update>\r
+                                                                                                                                                    </block>\r
+                                                                                                                                                </outcome>\r
+                                                                                                                                                <outcome value='false'></outcome>\r
+                                                                                                                                            </switch>\r
                                                                                                                                         </block>\r
                                                                                                                                         <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'\r
                                                                                                                                               key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'\r
                                         </outcome>\r
                                     </get-resource>\r
                                 </for>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>\r
+                                <switch test='`$hasSecondary`'>\r
+                                    <outcome value='false'>\r
+                                        <block>\r
+                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>\r
+                                        </block>\r
+                                    </outcome>\r
+                                    <outcome value='true'>\r
+                                        <block>\r
+                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' ></call>\r
+                                        </block>\r
+                                    </outcome>\r
+                                </switch>\r
                             </block>\r
                         </outcome>\r
                     </switch>\r
index de31109..1fee37b 100644 (file)
                                                                                             </outcome>
                                                                                             <outcome value='success'>
                                                                                                 <block>
+                                                                                                    <set>
+                                                                                                        <parameter name='hasSecondary' value="false" />
+                                                                                                        <parameter name='network-route-three' value="" />
+                                                                                                        <parameter name='tmp.aai.network-route-three.' value="" />
+                                                                                                        <parameter name='tmp.aai.network-route-C.' value="" />
+                                                                                                    </set>
                                                                                                     <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
                                                                                                         <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>
                                                                                                     </execute>
                                                                                                     <set>
                                                                                                         <parameter name='network-route-two' value="`$tmp.aai.logical-link.link-name2`" />
                                                                                                     </set>
+                                                                                                    <set>
+                                                                                                        <parameter name='network-route-three' value="`$tmp.aai.logical-link.segment-id`" />
+                                                                                                    </set>
+                                                                                                    <switch test='`length($network-route-three) == 0`'>
+                                                                                                        <outcome value='true'>
+                                                                                                            <set>
+                                                                                                                <parameter name='hasSecondary' value="false" />
+                                                                                                            </set>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='false'>
+                                                                                                            <set>
+                                                                                                                <parameter name='hasSecondary' value="true" />
+                                                                                                            </set>
+                                                                                                        </outcome>
+                                                                                                    </switch>
                                                                                                     <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
                                                                                                                   resource="network-route"
                                                                                                                   key='network-route.route-id = $network-route-one'
                                                                                                                             </set>
                                                                                                                         </block>
                                                                                                                     </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
                                                                                                                 </switch>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                                             </set>
                                                                                                                         </block>
                                                                                                                     </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="network-route"
+                                                                                                                  key='network-route.route-id = $network-route-three'
+                                                                                                                  local-only="false"
+                                                                                                                  force="true" pfx="tmp.aai.network-route-three">
+                                                                                                        <outcome value='not-found'></outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <switch test='`$tmp.aai.network-route-three.type`'>
+                                                                                                                    <outcome value='ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-ROOT.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-B.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='LEAF'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-LEAF.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-A.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-three.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-three.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
                                                                                                                 </switch>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                         <parameter name='tmp.ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`" />
                                                                                                         <parameter name='tmp.ROOT.uni-tp-id' value="`$tmp.dst.ltpId`" />
                                                                                                     </set>
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                        <parameter name="original_string" value='`$tmp.aai.network-route-C.next-hop`'/>
+                                                                                                        <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                        <parameter name="regex" value="[-]+"/>
+                                                                                                        <parameter name="ctx_memory_result_key" value="param-prefix-domainC-pnfName"/>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.dst.domainC.pnf-name' value="`$param-prefix-domainC-pnfName[0] + '-' +
+                                                   $param-prefix-domainC-pnfName[1] + '-' +
+                                                   $param-prefix-domainC-pnfName[2] + '-' +
+                                                   $param-prefix-domainC-pnfName[3] + '-' +
+                                                   $param-prefix-domainC-pnfName[4] + '-' +
+                                                   $param-prefix-domainC-pnfName[5] + '-' +
+                                                   $param-prefix-domainC-pnfName[6] + '-' +
+                                                   $param-prefix-domainC-pnfName[7] + '-' +
+                                                   $param-prefix-domainC-pnfName[8]`" />
+                                                                                                                </set>
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                              resource="pnf"
+                                                                                                                              key="pnf.pnf-name = $tmp.dst.domainC.pnf-name"
+                                                                                                                              pfx='tmp.aai.destination-secondary-pnf' local-only='false' >
+                                                                                                                    <!--AND depth = '0'"-->
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >
+                                                                                                                                <switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>
+                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainC.esr-thirdparty-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                          pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block>
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                        </set>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='network-resource'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainC.eth-network-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </for>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='not-found'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='Other'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </get-resource>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                    </execute>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="p-interface"
+                                                                                                                  key="pnf.pnf-name = $tmp.dst.domainC.pnf-name
+               AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop"
+                                                                                                                  local-only="false"
+                                                                                                                  pfx="tmp.aai.network-route-C.p-interface-dst" >
+                                                                                                        <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                                                                                                        <!--   resource="p-interface"-->
+                                                                                                        <!--       key="pnf.pnf-name = $unique-src-node-Id-->
+                                                                                                        <!--           and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->
+                                                                                                        <!--           local-only="false" -->
+                                                                                                        <!--           pfx="tmp.aai.endpointA.p-interface-src" >-->
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                                    <parameter name="original_string" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>
+                                                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                                    <parameter name="regex" value="[-]+"/>
+                                                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-domainC"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block atomic="true">
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='error-code' value='' />
+                                                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                                <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >
+                                                                                                                    <switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>
+                                                                                                                        <outcome value='tunnel-termination-point'>
+                                                                                                                            <block atomic="true">
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.destination-secondary.ttp-id' value="`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />
+                                                                                                                                </set>
+                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                              resource="tunnel-termination-point"
+                                                                                                                                              key="tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id
+               AND depth = '0'"
+                                                                                                                                              pfx='tmp.aai.destination-secondary-ttp' local-only='false' >
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='destination-secondary.tunnel-tp-id' value="`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </get-resource>
+                                                                                                                                <break/>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </switch>
+                                                                                                                </for>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='not-found'></outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                    </get-resource>
+                                                                                                    <set>
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value="`$param-prefix-domainC-pnfName[0] + '-' +
+                                                   $param-prefix-domainC-pnfName[1] + '-' +
+                                                   $param-prefix-domainC-pnfName[2] + '-' +
+                                                   $param-prefix-domainC-pnfName[3] + '-' +
+                                                   $param-prefix-domainC-pnfName[4] + '-' +
+                                                   $param-prefix-domainC-pnfName[5] + '-' +
+                                                   $param-prefix-domainC-pnfName[6] + '-' +
+                                                   $param-prefix-domainC-pnfName[7] + '-' +
+                                                   $param-prefix-domainC-pnfName[8]`" />
+                                                                                                        <!--<parameter name='tmp.ROOT.pnf-name-short' value="`$param-prefix-domainB-pnfName[8]`" />-->
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value="`$tmp.dst-secondary.pnf-name`" />
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`" />
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value="`$tmp.dst-secondary.ltpId`" />
+                                                                                                    </set>
                                                                                                     <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
                                                                                                                   resource="uni"
                                                                                                                   key="uni.id = $tmp.LEAF.uni-p-interface-long"
                                                                                                                         </block>
                                                                                                                     </outcome>
                                                                                                                 </get-resource>
+                                                                                                                <switch test='`$hasSecondary`'>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block>
+                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                          resource="uni"
+                                                                                                                                          key="uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long"
+                                                                                                                                          local-only="false"
+                                                                                                                                          pfx="tmp.aai.secondaryrootuni" >
+                                                                                                                                <outcome value='not-found'>
+                                                                                                                                    <return status='failure'>
+                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                    </return>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='failure'>
+                                                                                                                                    <return status='failure'>
+                                                                                                                                        <parameter name='error-code' value='' />
+                                                                                                                                        <parameter name='error-message' value='' />
+                                                                                                                                    </return>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='success'>
+                                                                                                                                    <block atomic="true">
+                                                                                                                                        <set>
+                                                                                                                                            <parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />
+                                                                                                                                        </set>
+                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                                key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>
+                                                                                                                                            <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                            <parameter name='data-source' value='`$tmp.newbw`' />
+                                                                                                                                        </update>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </get-resource>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                     </get-resource>
                                                                                                                                         <block></block>
                                                                                                                                     </outcome>
                                                                                                                                     <outcome value='true'>
-                                                                                                                                        <block atomic="true">
-                                                                                                                                            <set>
-                                                                                                                                                <parameter name='tmp.MMonlyHasROOT' value='false' />
-                                                                                                                                            </set>
-                                                                                                                                            <set>
-                                                                                                                                                <parameter name='tmp.MMstillHasUni' value='true' />
-                                                                                                                                            </set>
-                                                                                                                                            <break/>
-                                                                                                                                        </block>
+                                                                                                                                        <switch test="`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`">
+                                                                                                                                            <outcome value='true'>
+                                                                                                                                                <block atomic="true">
+                                                                                                                                                    <set>
+                                                                                                                                                        <parameter name='tmp.MMonlyHasROOT' value='false' />
+                                                                                                                                                    </set>
+                                                                                                                                                    <set>
+                                                                                                                                                        <parameter name='tmp.MMstillHasUni' value='true' />
+                                                                                                                                                    </set>
+                                                                                                                                                    <break/>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                        </switch>
                                                                                                                                     </outcome>
                                                                                                                                 </switch>
                                                                                                                             </block>
                                                                                                                                                 </return>
                                                                                                                                             </outcome>
                                                                                                                                         </switch>
+                                                                                                                                        <switch test='`$hasSecondary`'>
+                                                                                                                                            <outcome value='true'>
+                                                                                                                                                <block>
+                                                                                                                                                    <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                                                                                                                                    <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                                                                                                                        <outcome value='true'>
+                                                                                                                                                            <block></block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='false'>
+                                                                                                                                                            <block>
+                                                                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                        key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>
+                                                                                                                                                                    <parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                </update>
+                                                                                                                                                            </block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </switch>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                        </switch>
                                                                                                                                     </block>
                                                                                                                                 </outcome>
                                                                                                                                 <outcome value='false'>
                                                                                                                                                             </return>
                                                                                                                                                         </outcome>
                                                                                                                                                     </switch>
+                                                                                                                                                    <switch test='`$hasSecondary`'>
+                                                                                                                                                        <outcome value='true'>
+                                                                                                                                                            <block>
+                                                                                                                                                                <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                                                                                                                                                <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                                                                                                                                    <outcome value='true'>
+                                                                                                                                                                        <block></block>
+                                                                                                                                                                    </outcome>
+                                                                                                                                                                    <outcome value='false'>
+                                                                                                                                                                        <block>
+                                                                                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                    key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>
+                                                                                                                                                                                <parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                            </update>
+                                                                                                                                                                        </block>
+                                                                                                                                                                    </outcome>
+                                                                                                                                                                </switch>
+                                                                                                                                                            </block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </switch>
                                                                                                                                                 </block>
                                                                                                                                             </block>
                                                                                                                                         </outcome>
                                                                                                                                                                     </return>
                                                                                                                                                                 </outcome>
                                                                                                                                                             </switch>
+                                                                                                                                                            <switch test='`$hasSecondary`'>
+                                                                                                                                                                <outcome value='true'>
+                                                                                                                                                                    <block>
+                                                                                                                                                                        <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                                                                                                                                                        <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                                <block></block>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                            <outcome value='false'>
+                                                                                                                                                                                <block>
+                                                                                                                                                                                    <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                            key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>
+                                                                                                                                                                                        <parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                                                        <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                                    </update>
+                                                                                                                                                                                </block>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                        </switch>
+                                                                                                                                                                    </block>
+                                                                                                                                                                </outcome>
+                                                                                                                                                            </switch>
                                                                                                                                                         </block>
                                                                                                                                                     </outcome>
                                                                                                                                                     <outcome value='false'>
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn.xml
new file mode 100644 (file)
index 0000000..4edcd13
--- /dev/null
@@ -0,0 +1,88 @@
+<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}'>
+    <method rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync'>
+        <block atomic="true">
+            <set>
+                <parameter name='found-secondary-root-connectivity' value="false" />
+            </set>
+            <set>
+                <parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value="" />
+            </set>
+            <set>
+                <parameter name='tmp.aai.helper-secondary-root-all-connectivities.' value="" />
+            </set>
+            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                          resource="connectivities"
+                          key="selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'"
+                          local-only="false"
+                          pfx="tmp.aai.helper-secondary-root-all-connectivities" >
+                <outcome value='success'>
+                    <block atomic="true">
+                        <for index='helprconnidx' start='0' end='`$tmp.aai.helper-secondary-root-all-connectivities.connectivity_length`' >
+                            <block atomic='true'>
+                                <switch test='`$hasSecondary`'>
+                                    <outcome value='true'>
+                                        <block>
+                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                <outcome value='true'>
+                                                    <block>
+                                                        <switch test="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`">
+                                                            <outcome value='root'>
+                                                                <block>
+                                                                    <switch test="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`">
+                                                                        <outcome value='true'>
+                                                                            <block atomic='true'>
+                                                                                <set>
+                                                                                    <parameter name='found-secondary-root-connectivity' value="true" />
+                                                                                </set>
+                                                                                <set>
+                                                                                    <parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`" />
+                                                                                </set>
+                                                                                <break/>
+                                                                            </block>
+                                                                        </outcome>
+                                                                    </switch>
+                                                                </block>
+                                                            </outcome>
+                                                        </switch>
+                                                    </block>
+                                                </outcome>
+                                                <outcome value='false'>
+                                                    <block>
+                                                        <switch test="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].vpn-type`">
+                                                            <outcome value='secondary-root'>
+                                                                <block>
+                                                                    <switch test="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.SECONDARY-ROOT.uni-p-interface-long`">
+                                                                        <outcome value='true'>
+                                                                            <block atomic='true'>
+                                                                                <set>
+                                                                                    <parameter name='found-secondary-root-connectivity' value="true" />
+                                                                                </set>
+                                                                                <set>
+                                                                                    <parameter name='tmp.aai.SECONDARY-ROOT.connectivity.' value="`$tmp.aai.helper-secondary-root-all-connectivities.connectivity[$helprconnidx].`" />
+                                                                                </set>
+                                                                                <break/>
+                                                                            </block>
+                                                                        </outcome>
+                                                                    </switch>
+                                                                </block>
+                                                            </outcome>
+                                                        </switch>
+                                                    </block>
+                                                </outcome>
+                                            </switch>
+                                        </block>
+                                    </outcome>
+                                </switch>
+                            </block>
+                        </for>
+                    </block>
+                </outcome>
+                <outcome value='not-found'></outcome>
+                <outcome value='failure'></outcome>
+            </get-resource>
+        </block>
+    </method>
+</service-logic>
\ No newline at end of file
index d01140f..7c1d873 100644 (file)
                                                                                             </outcome>
                                                                                             <outcome value='success'>
                                                                                                 <block>
+                                                                                                    <set>
+                                                                                                        <parameter name='hasSecondary' value="false" />
+                                                                                                        <parameter name='network-route-three' value="" />
+                                                                                                        <parameter name='tmp.aai.network-route-three.' value="" />
+                                                                                                        <parameter name='tmp.aai.network-route-C.' value="" />
+                                                                                                    </set>
                                                                                                     <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
                                                                                                         <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>
                                                                                                     </execute>
                                                                                                                             </set>
                                                                                                                         </block>
                                                                                                                     </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
                                                                                                                 </switch>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                                             </set>
                                                                                                                         </block>
                                                                                                                     </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="network-route"
+                                                                                                                  key='network-route.route-id = $network-route-three'
+                                                                                                                  local-only="false"
+                                                                                                                  force="true" pfx="tmp.aai.network-route-three">
+                                                                                                        <outcome value='not-found'></outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <switch test='`$tmp.aai.network-route-three.type`'>
+                                                                                                                    <outcome value='ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-ROOT.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-B.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='LEAF'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-LEAF.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-A.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='SECONDARY-ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value="`$tmp.aai.network-route-three.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-C.' value="`$tmp.aai.network-route-three.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
                                                                                                                 </switch>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                         <parameter name='tmp.ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`" />
                                                                                                         <parameter name='tmp.ROOT.uni-tp-id' value="`$tmp.dst.ltpId`" />
                                                                                                     </set>
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                        <parameter name="original_string" value='`$tmp.aai.network-route-C.next-hop`'/>
+                                                                                                        <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                        <parameter name="regex" value="[-]+"/>
+                                                                                                        <parameter name="ctx_memory_result_key" value="param-prefix-domainC-pnfName"/>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.dst.domainC.pnf-name' value="`$param-prefix-domainC-pnfName[0] + '-' +
+                                                   $param-prefix-domainC-pnfName[1] + '-' +
+                                                   $param-prefix-domainC-pnfName[2] + '-' +
+                                                   $param-prefix-domainC-pnfName[3] + '-' +
+                                                   $param-prefix-domainC-pnfName[4] + '-' +
+                                                   $param-prefix-domainC-pnfName[5] + '-' +
+                                                   $param-prefix-domainC-pnfName[6] + '-' +
+                                                   $param-prefix-domainC-pnfName[7] + '-' +
+                                                   $param-prefix-domainC-pnfName[8]`" />
+                                                                                                                </set>
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                              resource="pnf"
+                                                                                                                              key="pnf.pnf-name = $tmp.dst.domainC.pnf-name"
+                                                                                                                              pfx='tmp.aai.destination-secondary-pnf' local-only='false' >
+                                                                                                                    <!--AND depth = '0'"-->
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >
+                                                                                                                                <switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>
+                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainC.esr-thirdparty-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                          pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block>
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                        </set>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='network-resource'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainC.eth-network-id' value="`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </for>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='not-found'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='Other'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </get-resource>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                    </execute>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="p-interface"
+                                                                                                                  key="pnf.pnf-name = $tmp.dst.domainC.pnf-name
+               AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop"
+                                                                                                                  local-only="false"
+                                                                                                                  pfx="tmp.aai.network-route-C.p-interface-dst" >
+                                                                                                        <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                                                                                                        <!--   resource="p-interface"-->
+                                                                                                        <!--       key="pnf.pnf-name = $unique-src-node-Id-->
+                                                                                                        <!--           and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->
+                                                                                                        <!--           local-only="false" -->
+                                                                                                        <!--           pfx="tmp.aai.endpointA.p-interface-src" >-->
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                                    <parameter name="original_string" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>
+                                                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                                    <parameter name="regex" value="[-]+"/>
+                                                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-domainC"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block atomic="true">
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='error-code' value='' />
+                                                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                                <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >
+                                                                                                                    <switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>
+                                                                                                                        <outcome value='tunnel-termination-point'>
+                                                                                                                            <block atomic="true">
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.destination-secondary.ttp-id' value="`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />
+                                                                                                                                </set>
+                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                              resource="tunnel-termination-point"
+                                                                                                                                              key="tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id
+               AND depth = '0'"
+                                                                                                                                              pfx='tmp.aai.destination-secondary-ttp' local-only='false' >
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='destination-secondary.tunnel-tp-id' value="`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </get-resource>
+                                                                                                                                <break/>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </switch>
+                                                                                                                </for>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='not-found'></outcome>
+                                                                                                        <outcome value='failure'></outcome>
+                                                                                                    </get-resource>
+                                                                                                    <set>
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value="`$param-prefix-domainC-pnfName[0] + '-' +
+                                                   $param-prefix-domainC-pnfName[1] + '-' +
+                                                   $param-prefix-domainC-pnfName[2] + '-' +
+                                                   $param-prefix-domainC-pnfName[3] + '-' +
+                                                   $param-prefix-domainC-pnfName[4] + '-' +
+                                                   $param-prefix-domainC-pnfName[5] + '-' +
+                                                   $param-prefix-domainC-pnfName[6] + '-' +
+                                                   $param-prefix-domainC-pnfName[7] + '-' +
+                                                   $param-prefix-domainC-pnfName[8]`" />
+                                                                                                        <!--<parameter name='tmp.ROOT.pnf-name-short' value="`$param-prefix-domainB-pnfName[8]`" />-->
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value="`$tmp.dst-secondary.pnf-name`" />
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`" />
+                                                                                                        <parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value="`$tmp.dst-secondary.ltpId`" />
+                                                                                                    </set>
                                                                                                     <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' ></call>
                                                                                                     <switch test='`$found-middle-man`'>
                                                                                                         <outcome value='false'>
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.ROOT.uni-p-interface-long`" />
                                                                                                                 </save>
+                                                                                                                <switch test='`$hasSecondary`'>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block>
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                  key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>
+                                                                                                                                <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                <parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />
+                                                                                                                                <parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />
+                                                                                                                                <parameter name='type' value='secondary-root' />
+                                                                                                                                <parameter name='data-source' value='`$gfp`' />
+                                                                                                                            </save>
+                                                                                                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                                                                                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                                                                                                <outcome value='true'>
+                                                                                                                                    <block>
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="uni" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                                        </save>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='false'>
+                                                                                                                                    <block>
+                                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
+                                                                                                                                            <parameter name="ctx-destination" value="prop.connectivity-domainC-uuid"/>
+                                                                                                                                        </execute>
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>
+                                                                                                                                            <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />
+                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->
+                                                                                                                                            <!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->
+                                                                                                                                            <!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->
+                                                                                                                                            <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />
+                                                                                                                                            <parameter name='operational-status' value='Created' />
+                                                                                                                                            <parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />
+                                                                                                                                            <parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />
+                                                                                                                                            <parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />
+                                                                                                                                            <parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />
+                                                                                                                                            <parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />
+                                                                                                                                            <parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />
+                                                                                                                                            <parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                            <parameter name='vpn-type' value='secondary-root' />
+                                                                                                                                            <parameter name='bandwidth-profile-name' value='`$gfp`' />
+                                                                                                                                            <parameter name='cir' value='`$gfp *1000000`' />
+                                                                                                                                            <parameter name='eir' value='`$gfp *1000000`' />
+                                                                                                                                            <parameter name='cbs' value='`$prop.sotn.cbs`' />
+                                                                                                                                            <parameter name='ebs' value='`$prop.sotn.ebs`' />
+                                                                                                                                            <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->
+                                                                                                                                            <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->
+                                                                                                                                            <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->
+                                                                                                                                            <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />
+                                                                                                                                            <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />
+                                                                                                                                            <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />
+                                                                                                                                            <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` " />
+                                                                                                                                        </save>
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
+                                                                                                                                              key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainC-uuid`" />
+                                                                                                                                            <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->
+                                                                                                                                            <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->
+                                                                                                                                            <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->
+                                                                                                                                            <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->
+                                                                                                                                            <!--      force="true" pfx="tmp.AnAI-data">-->
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->
+                                                                                                                                            <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->
+                                                                                                                                        </save>
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
+                                                                                                                                              key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="uni" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                                        </save>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </switch>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
                                                                                                                 <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
                                                                                                                     <parameter name="ctx-destination" value="prop.connectivity-middle-man-uuid"/>
                                                                                                                 </execute>
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.ROOT.uni-p-interface-long`" />
                                                                                                                 </save>
+                                                                                                                <switch test='`$hasSecondary`'>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block>
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
+                                                                                                                                  key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'
+                                                                                                                                  force="true" pfx="tmp.AnAI-data">
+                                                                                                                                <parameter name="relationship-list.relationship[0].related-to" value="uni" />
+                                                                                                                                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="uni.id" />
+                                                                                                                                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.SECONDARY-ROOT.uni-p-interface-long`" />
+                                                                                                                            </save>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
                                                                                                                 <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
                                                                                                                       key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'
                                                                                                                       force="true" pfx="tmp.AnAI-data">
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
                                                                                                                     <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />
                                                                                                                 </save>
+                                                                                                                <switch test='`$hasSecondary`'>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block>
+                                                                                                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->
+                                                                                                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>
+                                                                                                                                <outcome value='false'>
+                                                                                                                                    <block>
+                                                                                                                                        <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
+                                                                                                                                              key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'
+                                                                                                                                              force="true" pfx="tmp.AnAI-data">
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                                                                                                            <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainC-uuid`" />
+                                                                                                                                        </save>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </switch>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
                                                                                                                 <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' ></call>
                                                                                                             </block>
                                                                                                         </outcome>
                                                                                                                                                                 </block>
                                                                                                                                                             </outcome>
                                                                                                                                                         </get-resource>
+                                                                                                                                                        <switch test='`$hasSecondary`'>
+                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                <block>
+                                                                                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                  resource="uni"
+                                                                                                                                                                                  key="uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long"
+                                                                                                                                                                                  local-only="false"
+                                                                                                                                                                                  pfx="tmp.aai.secondaryrootuni" >
+                                                                                                                                                                        <outcome value='not-found'>
+                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                                            </return>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                        <outcome value='failure'>
+                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                                                                                <parameter name='error-message' value='' />
+                                                                                                                                                                            </return>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                                            <block atomic="true">
+                                                                                                                                                                                <set>
+                                                                                                                                                                                    <parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />
+                                                                                                                                                                                </set>
+                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                                                                        key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>
+                                                                                                                                                                                    <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                                                                    <parameter name='data-source' value='`$tmp.newbw`' />
+                                                                                                                                                                                </update>
+                                                                                                                                                                            </block>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                    </get-resource>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </switch>
                                                                                                                                                     </block>
                                                                                                                                                 </outcome>
                                                                                                                                                 <outcome value='true'>
                                                                                                                                                                 </block>
                                                                                                                                                             </outcome>
                                                                                                                                                         </get-resource>
+                                                                                                                                                        <switch test='`$hasSecondary`'>
+                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                <block>
+                                                                                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                  resource="uni"
+                                                                                                                                                                                  key="uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long"
+                                                                                                                                                                                  local-only="false"
+                                                                                                                                                                                  pfx="tmp.aai.secondaryrootuni" >
+                                                                                                                                                                        <outcome value='not-found'>
+                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                                            </return>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                        <outcome value='failure'>
+                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                                                                                <parameter name='error-message' value='' />
+                                                                                                                                                                            </return>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                                            <block atomic="true">
+                                                                                                                                                                                <set>
+                                                                                                                                                                                    <parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />
+                                                                                                                                                                                </set>
+                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                                                                        key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>
+                                                                                                                                                                                    <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                                                                    <parameter name='data-source' value='`$tmp.newbw`' />
+                                                                                                                                                                                </update>
+                                                                                                                                                                            </block>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                    </get-resource>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </switch>
                                                                                                                                                     </block>
                                                                                                                                                 </outcome>
                                                                                                                                             </switch>
                                                                                                                                     </block>
                                                                                                                                 </outcome>
                                                                                                                             </get-resource>
+                                                                                                                            <switch test='`$hasSecondary`'>
+                                                                                                                                <outcome value='true'>
+                                                                                                                                    <block>
+                                                                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                      resource="uni"
+                                                                                                                                                      key="uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long"
+                                                                                                                                                      local-only="false"
+                                                                                                                                                      pfx="tmp.aai.secondaryrootuni" >
+                                                                                                                                            <outcome value='not-found'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='failure'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='error-code' value='' />
+                                                                                                                                                    <parameter name='error-message' value='' />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='success'>
+                                                                                                                                                <block atomic="true">
+                                                                                                                                                    <set>
+                                                                                                                                                        <parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />
+                                                                                                                                                    </set>
+                                                                                                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                                            key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>
+                                                                                                                                                        <parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />
+                                                                                                                                                        <parameter name='data-source' value='`$tmp.newbw`' />
+                                                                                                                                                    </update>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                        </get-resource>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </switch>
                                                                                                                             <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
                                                                                                                                   key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
          AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
                                                                                                                                                 </return>
                                                                                                                                             </outcome>
                                                                                                                                         </switch>
+                                                                                                                                        <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>
+                                                                                                                                        <switch test="`$found-secondary-root-connectivity`">
+                                                                                                                                            <outcome value='true'>
+                                                                                                                                                <block atomic='true'>
+                                                                                                                                                    <set>
+                                                                                                                                                        <!--<parameter name='prop.connectivity-domainB-uuid' value="`$tmp.ROOT.uni-p-interface-long`" />-->
+                                                                                                                                                        <!--OR-->
+                                                                                                                                                        <parameter name='prop.connectivity-domainC-uuid' value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                    </set>
+                                                                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
+                                                                                                                                                          key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+                                                                                                                                                          force="true" pfx="tmp.AnAI-data">
+                                                                                                                                                        <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                                                                                                                        <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                                                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                        <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->
+                                                                                                                                                        <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->
+                                                                                                                                                        <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->
+                                                                                                                                                        <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->
+                                                                                                                                                        <!--      force="true" pfx="tmp.AnAI-data">-->
+                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->
+                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->
+                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->
+                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->
+                                                                                                                                                    </save>
+                                                                                                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                            key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>
+                                                                                                                                                        <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />
+                                                                                                                                                        <parameter name='operational-status' value='Modified' />
+                                                                                                                                                    </update>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='false'></outcome>
+                                                                                                                                        </switch>
                                                                                                                                         <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' ></call>
                                                                                                                                     </block>
                                                                                                                                 </outcome>
                                                                                                                                                                 </return>
                                                                                                                                                             </outcome>
                                                                                                                                                         </switch>
+                                                                                                                                                        <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                        <switch test="`$found-secondary-root-connectivity`">
+                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                <block atomic='true'>
+                                                                                                                                                                    <set>
+                                                                                                                                                                        <!--<parameter name='prop.connectivity-domainB-uuid' value="`$tmp.ROOT.uni-p-interface-long`" />-->
+                                                                                                                                                                        <!--OR-->
+                                                                                                                                                                        <parameter name='prop.connectivity-domainC-uuid' value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                                    </set>
+                                                                                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
+                                                                                                                                                                          key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
+                                                                                                                                                                          force="true" pfx="tmp.AnAI-data">
+                                                                                                                                                                        <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+                                                                                                                                                                        <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
+                                                                                                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`" />
+                                                                                                                                                                        <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->
+                                                                                                                                                                        <!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->
+                                                                                                                                                                        <!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->
+                                                                                                                                                                        <!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->
+                                                                                                                                                                        <!--      force="true" pfx="tmp.AnAI-data">-->
+                                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->
+                                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->
+                                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->
+                                                                                                                                                                        <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->
+                                                                                                                                                                    </save>
+                                                                                                                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                            key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>
+                                                                                                                                                                        <parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />
+                                                                                                                                                                        <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                    </update>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                            <outcome value='false'></outcome>
+                                                                                                                                                        </switch>
                                                                                                                                                     </block>
                                                                                                                                                     <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list'
                                                                                                                                                           key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'
                                         </outcome>
                                     </get-resource>
                                 </for>
-                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>
+                                <switch test='`$hasSecondary`'>
+                                    <outcome value='false'>
+                                        <block>
+                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>
+                                        </block>
+                                    </outcome>
+                                    <outcome value='true'>
+                                        <block>
+                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' ></call>
+                                        </block>
+                                    </outcome>
+                                </switch>
                             </block>
                         </outcome>
                     </switch>
index 3120201..35853b8 100644 (file)
                                 <outcome value='true'>\r
                                     <switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\r
                                         <outcome value='true'>\r
-                                            <set>\r
-                                                <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
-                                            </set>\r
+                                            <block>\r
+                                                <switch test='`$hasSecondary`'>\r
+                                                    <outcome value='false'>\r
+                                                        <set>\r
+                                                            <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+                                                        </set>\r
+                                                    </outcome>\r
+                                                    <outcome value='true'>\r
+                                                        <block>\r
+                                                            <!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\r
+                                                            <switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\r
+                                                                <outcome value='true'>\r
+                                                                    <block>\r
+                                                                        <set>\r
+                                                                            <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+                                                                        </set>\r
+                                                                        <set>\r
+                                                                            <parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+                                                                        </set>\r
+                                                                    </block>\r
+                                                                </outcome>\r
+                                                                <outcome value='false'>\r
+                                                                    <block>\r
+                                                                        <set>\r
+                                                                            <parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\r
+                                                                        </set>\r
+                                                                    </block>\r
+                                                                </outcome>\r
+                                                            </switch>\r
+                                                        </block>\r
+                                                    </outcome>\r
+                                                </switch>\r
+                                            </block>\r
+                                        </outcome>\r
+                                    </switch>\r
+                                </outcome>\r
+                                <outcome value='false'>\r
+                                    <switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\r
+                                        <outcome value='true'>\r
+                                            <block>\r
+                                                <switch test='`$hasSecondary`'>\r
+                                                    <outcome value='true'>\r
+                                                        <block></block>\r
+                                                    </outcome>\r
+                                                </switch>\r
+                                            </block>\r
                                         </outcome>\r
                                     </switch>\r
                                 </outcome>\r
@@ -45,6 +88,9 @@
                 <set>\r
                     <parameter name='tmp.pce-dst-node.' value='' />\r
                 </set>\r
+                <set>\r
+                    <parameter name='tmp.pce-dst-node-backup.' value='' />\r
+                </set>\r
                 <set>\r
                     <!--<parameter name='`otn-oof`' value='' />-->\r
                     <parameter name='otn-oof.' value='' />\r
                                                    $param-prefix-domainB-pnfName[7] + '-' +\r
                                                    $param-prefix-domainB-pnfName[8]`" />\r
                 </set>\r
+                <set>\r
+                    <!--<parameter name='$tmp.pce-dst-node' value="`$param-prefix-domainB-pnfName[0] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[1] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[2] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[3] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[4] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[5] + '-' +-->\r
+                    <!--                                                   1 + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[7] + '-' +-->\r
+                    <!--                                                   $param-prefix-domainB-pnfName[8]`" />-->\r
+                    <parameter name='tmp.pce-dst-node-backup' value="`$param-prefix-domainC-pnfName[0] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[1] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[2] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[3] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[4] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[5] + '-' +\r
+                                                   $otnTopoIdDstBackup + '-' +\r
+                                                   $param-prefix-domainC-pnfName[7] + '-' +\r
+                                                   $param-prefix-domainC-pnfName[8]`" />\r
+                </set>\r
                 <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
                     <parameter name="logger" value="message-log" />\r
                     <parameter name="level" value="info" />\r
                     <!--<parameter name="field2" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
                     <parameter name="field1" value="`$tmp.pce-src-node`"/>\r
                     <parameter name="field2" value="`$tmp.pce-dst-node`"/>\r
+                    <parameter name="field3" value="`$tmp.pce-dst-node-backup`"/>\r
                 </record>\r
                 <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">\r
                     <parameter name="logger" value="message-log" />\r
                     <!--                                                   1 + '-' +-->\r
                     <!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\r
                     <!--                                                   $param-prefix-domainA-pnfName[8]`" />-->\r
-                    <parameter name='filenamemm' value="`$tmp.pce-src-node + $tmp.pce-dst-node`" />\r
+                    <parameter name='filenamemm' value="`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`" />\r
                 </set>\r
-                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\r
-                    <parameter name="pnfs-pfx" value='ccsdkTopopnfs'/>\r
-                    <parameter name="links-pfx" value="ccsdkTopologicalLinks"/>\r
-                    <parameter name="response-pfx" value="otn-oof"/>\r
-                    <parameter name="output-end-to-end-path" value="false"/>\r
-                    <!--<parameter name="src-node" value="`$tmp.src.domainA.pnf-name`"/>-->\r
-                    <!--<parameter name="dst-node" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
-                    <parameter name="src-node" value="`$tmp.pce-src-node`"/>\r
-                    <parameter name="dst-node" value="`$tmp.pce-dst-node`"/>\r
-                    <outcome value='success'></outcome>\r
-                    <outcome value='Other'></outcome>\r
-                    <outcome value='not-found'></outcome>\r
-                </execute>\r
+                <switch test='`$hasSecondary`'>\r
+                    <outcome value='false'>\r
+                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\r
+                            <parameter name="pnfs-pfx" value='ccsdkTopopnfs'/>\r
+                            <parameter name="links-pfx" value="ccsdkTopologicalLinks"/>\r
+                            <parameter name="response-pfx" value="otn-oof"/>\r
+                            <parameter name="output-end-to-end-path" value="false"/>\r
+                            <!--<parameter name="src-node" value="`$tmp.src.domainA.pnf-name`"/>-->\r
+                            <!--<parameter name="dst-node" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
+                            <parameter name="src-node" value="`$tmp.pce-src-node`"/>\r
+                            <parameter name="dst-node" value="`$tmp.pce-dst-node`"/>\r
+                            <outcome value='success'></outcome>\r
+                            <outcome value='Other'></outcome>\r
+                            <outcome value='not-found'></outcome>\r
+                        </execute>\r
+                    </outcome>\r
+                    <outcome value='true'>\r
+                        <block>\r
+                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\r
+                                <parameter name="pnfs-pfx" value='ccsdkTopopnfs'/>\r
+                                <parameter name="links-pfx" value="ccsdkTopologicalLinks"/>\r
+                                <parameter name="response-pfx" value="otn-oof"/>\r
+                                <parameter name="output-end-to-end-path" value="false"/>\r
+                                <!--<parameter name="src-node" value="`$tmp.src.domainA.pnf-name`"/>-->\r
+                                <!--<parameter name="dst-node" value="`$tmp.dst.domainB.pnf-name`"/>-->\r
+                                <parameter name="src-node" value="`$tmp.pce-src-node`"/>\r
+                                <parameter name="dst-node" value="`$tmp.pce-dst-node`"/>\r
+                                <parameter name="dst-node-backup" value="`$tmp.pce-dst-node-backup`"/>\r
+                                <parameter name="require-backuppath" value="`$hasSecondary`"/>\r
+                                <outcome value='success'></outcome>\r
+                                <outcome value='Other'></outcome>\r
+                                <outcome value='not-found'></outcome>\r
+                            </execute>\r
+                        </block>\r
+                    </outcome>\r
+                </switch>\r
             </block>\r
             <set>\r
                 <parameter name='`tmp.otninfo.`' value='' />\r
                 <!--<parameter name='`tmp.otninfo_length`' value='0' />-->\r
+                <parameter name='`tmp.otninfoProtect.`' value='' />\r
             </set>\r
             <for index='vidx' start='0' end='`$otn-oof.solutions_length`' >\r
                 <block atomic="true">\r
                     </block>\r
                 </block>\r
             </for>\r
+            <switch test='`$hasSecondary`'>\r
+                <outcome value='true'>\r
+                    <block>\r
+                        <for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >\r
+                            <block atomic="true">\r
+                                <set>\r
+                                    <parameter name='otn-oof.link-name' value='' />\r
+                                    <!--<parameter name='tmp.aai.cross-link' value='' />-->\r
+                                    <parameter name='tmp.aai.cross-link.' value='' />\r
+                                    <!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\r
+                                    <parameter name='tmp.src-pnf-name' value='' />\r
+                                    <parameter name='tmp.cross-link.' value='' />\r
+                                    <parameter name='tmp.dst-pnf-name' value='' />\r
+                                    <parameter name='tmp.aai.src-tp.' value='' />\r
+                                    <parameter name='param-prefix-src-tp.' value='' />\r
+                                    <parameter name='tmp.aai.src-pnf.' value='' />\r
+                                    <parameter name='tmp.domain-A.network-id' value='' />\r
+                                    <parameter name='tmp.aai.src-network-resource.' value='' />\r
+                                    <parameter name='tmp.domain-A.ttp-id' value='' />\r
+                                    <parameter name='tmp.aai.src-ttp.' value='' />\r
+                                    <parameter name='tmp.aai.dst-tp.' value='' />\r
+                                    <parameter name='param-prefix-dst-tp.' value='' />\r
+                                    <parameter name='tmp.aai.dst-pnf.' value='' />\r
+                                    <parameter name='tmp.domain-C.network-id' value='' />\r
+                                    <parameter name='tmp.aai.dst-network-resource.' value='' />\r
+                                    <parameter name='tmp.domain-C.ttp-id' value='' />\r
+                                    <parameter name='tmp.aai.dst-ttp.' value='' />\r
+                                </set>\r
+                                <set>\r
+                                    <parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\r
+                                    <parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\r
+                                    <parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />\r
+                                </set>\r
+                                <set>\r
+                                    <parameter name='tmp.cross-link.src-ltpId' value="`$otn-oof.secondarySolutions[$vidx].src_pinterface`" />\r
+                                    <parameter name='tmp.src-pnf-name' value="`$otn-oof.secondarySolutions[$vidx].src_node`" />\r
+                                </set>\r
+                                <set>\r
+                                    <parameter name='tmp.cross-link.dst-ltpId' value="`$otn-oof.secondarySolutions[$vidx].dst_pinterface`" />\r
+                                    <parameter name='tmp.dst-pnf-name' value="`$otn-oof.secondarySolutions[$vidx].dst_node`" />\r
+                                </set>\r
+                                <block atomic="true">\r
+                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                  resource="p-interface"\r
+                                                  key="pnf.pnf-name = $tmp.src-pnf-name\r
+                   AND p-interface.interface-name = $tmp.cross-link.src-ltpId"\r
+                                                  pfx='tmp.aai.src-tp' local-only='false' >\r
+                                        <!--AND depth = '0'"-->\r
+                                        <outcome value='success'>\r
+                                            <block>\r
+                                                <for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\r
+                                                    <switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\r
+                                                        <outcome value='tunnel-termination-point'>\r
+                                                            <block atomic="true">\r
+                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+                                                                    <!--<parameter name="original_string" value='`$tmp.aai.src-tp`'/>-->\r
+                                                                    <parameter name="original_string" value='`$tmp.aai.src-tp.interface-name`'/>\r
+                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->\r
+                                                                    <parameter name="regex" value="[-]+"/>\r
+                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-src-tp"/>\r
+                                                                    <outcome value='success'>\r
+                                                                        <block atomic="true">\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value="`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\r
+                                                                            </set>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='failure'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='error-code' value='' />\r
+                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                </execute>\r
+                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                              resource="pnf"\r
+                                                                              key="pnf.pnf-name = $tmp.src-pnf-name"\r
+                                                                              pfx='tmp.aai.src-pnf' local-only='false' >\r
+                                                                    <!--AND depth = '0'"-->\r
+                                                                    <outcome value='success'>\r
+                                                                        <block>\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-A.node-id' value="`$tmp.aai.src-pnf.pnf-id`" />\r
+                                                                                <parameter name='domain-A.tpn' value='1' />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value="`$tmp.aai.src-pnf.pnf-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\r
+                                                                            </set>\r
+                                                                            <for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\r
+                                                                                <switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\r
+                                                                                    <outcome value='network-resource'>\r
+                                                                                        <block atomic="true">\r
+                                                                                            <set>\r
+                                                                                                <parameter name='tmp.domain-A.network-id' value="`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`" />\r
+                                                                                            </set>\r
+                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                          resource="network-resource"\r
+                                                                                                          key="network-resource.network-id = $tmp.domain-A.network-id\r
+               AND depth = '0'"\r
+                                                                                                          pfx='tmp.aai.src-network-resource' local-only='false' >\r
+                                                                                                <outcome value='success'>\r
+                                                                                                    <set>\r
+                                                                                                        <parameter name='domain-A.network-id' value="`$tmp.aai.src-network-resource.network-id`" />\r
+                                                                                                        <parameter name='domain-A.provider-id' value="`$tmp.aai.src-network-resource.provider-id`" />\r
+                                                                                                        <parameter name='domain-A.client-id' value="`$tmp.aai.src-network-resource.client-id`" />\r
+                                                                                                        <parameter name='domain-A.te-topo-id' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
+                                                                                                        <parameter name='domain-A.network-type' value="`$tmp.aai.src-network-resource.network-type`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value="`$tmp.aai.src-network-resource.network-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value="`$tmp.aai.src-network-resource.provider-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value="`$tmp.aai.src-network-resource.client-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value="`$tmp.aai.src-network-resource.te-topo-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value="`$tmp.aai.src-network-resource.network-type`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\r
+                                                                                                    </set>\r
+                                                                                                </outcome>\r
+                                                                                            </get-resource>\r
+                                                                                            <break/>\r
+                                                                                        </block>\r
+                                                                                    </outcome>\r
+                                                                                </switch>\r
+                                                                            </for>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='not-found'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='Other'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                </get-resource>\r
+                                                                <set>\r
+                                                                    <parameter name='tmp.domain-A.ttp-id' value="`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`" />\r
+                                                                </set>\r
+                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                              resource="tunnel-termination-point"\r
+                                                                              key="tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id\r
+               AND depth = '0'"\r
+                                                                              pfx='tmp.aai.src-ttp' local-only='false' >\r
+                                                                    <outcome value='success'>\r
+                                                                        <block atomic="true">\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-A.tunnel-tp-id' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value="`$tmp.aai.src-ttp.tunnel-tp-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\r
+                                                                            </set>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                </get-resource>\r
+                                                                <break/>\r
+                                                            </block>\r
+                                                        </outcome>\r
+                                                    </switch>\r
+                                                </for>\r
+                                            </block>\r
+                                        </outcome>\r
+                                        <outcome value='not-found'>\r
+                                            <return status='failure'>\r
+                                                <parameter name='ack-final' value='Y'/>\r
+                                                <parameter name="error-code" value="500" />\r
+                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                            </return>\r
+                                        </outcome>\r
+                                        <outcome value='Other'>\r
+                                            <return status='failure'>\r
+                                                <parameter name='ack-final' value='Y'/>\r
+                                                <parameter name="error-code" value="500" />\r
+                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                            </return>\r
+                                        </outcome>\r
+                                    </get-resource>\r
+                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                  resource="p-interface"\r
+                                                  key="pnf.pnf-name = $tmp.dst-pnf-name\r
+                   AND p-interface.interface-name = $tmp.cross-link.dst-ltpId"\r
+                                                  pfx='tmp.aai.dst-tp' local-only='false' >\r
+                                        <!--AND depth = '0'"-->\r
+                                        <outcome value='success'>\r
+                                            <block>\r
+                                                <for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\r
+                                                    <switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\r
+                                                        <outcome value='tunnel-termination-point'>\r
+                                                            <block atomic="true">\r
+                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+                                                                    <parameter name="original_string" value='`$tmp.aai.dst-tp`'/>\r
+                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->\r
+                                                                    <parameter name="regex" value="[-]+"/>\r
+                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-dst-tp"/>\r
+                                                                    <outcome value='success'>\r
+                                                                        <block atomic="true">\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value="`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />\r
+                                                                            </set>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='failure'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='error-code' value='' />\r
+                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                </execute>\r
+                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                              resource="pnf"\r
+                                                                              key="pnf.pnf-name = $tmp.dst-pnf-name"\r
+                                                                              pfx='tmp.aai.dst-pnf' local-only='false' >\r
+                                                                    <!--AND depth = '0'"-->\r
+                                                                    <outcome value='success'>\r
+                                                                        <block>\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-C.node-id' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
+                                                                                <parameter name='domain-C.tpn' value='1' />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value="`$tmp.aai.dst-pnf.pnf-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />\r
+                                                                            </set>\r
+                                                                            <for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\r
+                                                                                <switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\r
+                                                                                    <outcome value='network-resource'>\r
+                                                                                        <block atomic="true">\r
+                                                                                            <set>\r
+                                                                                                <parameter name='tmp.domain-C.network-id' value="`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`" />\r
+                                                                                            </set>\r
+                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                                                          resource="network-resource"\r
+                                                                                                          key="network-resource.network-id = $tmp.domain-C.network-id\r
+               AND depth = '0'"\r
+                                                                                                          pfx='tmp.aai.dst-network-resource' local-only='false' >\r
+                                                                                                <outcome value='success'>\r
+                                                                                                    <set>\r
+                                                                                                        <parameter name='domain-C.network-id' value="`$tmp.aai.dst-network-resource.network-id`" />\r
+                                                                                                        <parameter name='domain-C.provider-id' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
+                                                                                                        <parameter name='domain-C.client-id' value="`$tmp.aai.dst-network-resource.client-id`" />\r
+                                                                                                        <parameter name='domain-C.te-topo-id' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
+                                                                                                        <parameter name='domain-C.network-type' value="`$tmp.aai.dst-network-resource.network-type`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value="`$tmp.aai.dst-network-resource.network-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value="`$tmp.aai.dst-network-resource.provider-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value="`$tmp.aai.dst-network-resource.client-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value="`$tmp.aai.dst-network-resource.te-topo-id`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value="`$tmp.aai.dst-network-resource.network-type`" />\r
+                                                                                                        <parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />\r
+                                                                                                    </set>\r
+                                                                                                </outcome>\r
+                                                                                            </get-resource>\r
+                                                                                            <break/>\r
+                                                                                        </block>\r
+                                                                                    </outcome>\r
+                                                                                </switch>\r
+                                                                            </for>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='not-found'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                    <outcome value='Other'>\r
+                                                                        <return status='failure'>\r
+                                                                            <parameter name='ack-final' value='Y'/>\r
+                                                                            <parameter name="error-code" value="500" />\r
+                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                                                        </return>\r
+                                                                    </outcome>\r
+                                                                </get-resource>\r
+                                                                <set>\r
+                                                                    <parameter name='tmp.domain-C.ttp-id' value="`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`" />\r
+                                                                </set>\r
+                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+                                                                              resource="tunnel-termination-point"\r
+                                                                              key="tunnel-termination-point.ttp-id = $tmp.domain-C.ttp-id\r
+               AND depth = '0'"\r
+                                                                              pfx='tmp.aai.dst-ttp' local-only='false' >\r
+                                                                    <outcome value='success'>\r
+                                                                        <block atomic="true">\r
+                                                                            <set>\r
+                                                                                <parameter name='domain-C.tunnel-tp-id' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value="`$tmp.aai.dst-ttp.tunnel-tp-id`" />\r
+                                                                                <parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />\r
+                                                                            </set>\r
+                                                                        </block>\r
+                                                                    </outcome>\r
+                                                                </get-resource>\r
+                                                                <break/>\r
+                                                            </block>\r
+                                                        </outcome>\r
+                                                    </switch>\r
+                                                </for>\r
+                                            </block>\r
+                                        </outcome>\r
+                                        <outcome value='not-found'>\r
+                                            <return status='failure'>\r
+                                                <parameter name='ack-final' value='Y'/>\r
+                                                <parameter name="error-code" value="500" />\r
+                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                            </return>\r
+                                        </outcome>\r
+                                        <outcome value='Other'>\r
+                                            <return status='failure'>\r
+                                                <parameter name='ack-final' value='Y'/>\r
+                                                <parameter name="error-code" value="500" />\r
+                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+                                            </return>\r
+                                        </outcome>\r
+                                    </get-resource>\r
+                                </block>\r
+                            </block>\r
+                        </for>\r
+                    </block>\r
+                </outcome>\r
+            </switch>\r
         </block>\r
     </method>\r
 </service-logic>
\ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop-protection.json b/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop-protection.json
new file mode 100644 (file)
index 0000000..ccd44b8
--- /dev/null
@@ -0,0 +1,61 @@
+{
+    "ietf-eth-tran-service:etht-svc":{
+        "etht-svc-instances":[
+            {
+                "etht-svc-name": ${eth-service-name},
+                "ietf-optical-slice:slice-id": ${slice-id},
+                "etht-svc-descr": "Ethernet-over-OTN",
+                "etht-svc-type": "ietf-eth-tran-types:rmp-svc",
+                "te-topology-identifier":{
+                    "provider-id": ${provider-id},
+                    "client-id": ${client-id},
+                    "topology-id": ${topology-id}
+                },
+                "underlay":{
+                    "otn-tunnels": [
+                        ${repeat:otn-tunnels-name-list_length:
+                            {
+                                "name": ${otn-tunnels-name-list[${1}].otn-tunnel-name}
+                            },
+                        }
+                    ]
+                },
+                "resilience":{
+                    "protection":{
+                        "enable":"true",
+                        "hold-off-time":"0",
+                        "protection-reversion-disable":"true",
+                        "protection-type":"ietf-te-types:lsp-protection-bidir-1-plus-1",
+                        "wait-to-revert":"0"
+                    }
+                },
+                "admin-status":"ietf-te-types:tunnel-admin-state-up",
+                "etht-svc-end-points":[
+                    ${repeat:ethernet-srv-end-points-list_length:
+                        {
+                            "etht-svc-end-point-name": ${ethernet-srv-end-points-list[${1}].ethernet-end-point-name},
+                            "etht-svc-access-points":[
+                                {
+                                    "access-point-id": ${ethernet-srv-end-points-list[${1}].index-number},
+                                    "access-node-id": ${ethernet-srv-end-points-list[${1}].eth-node-id},
+                                    "access-ltp-id": ${ethernet-srv-end-points-list[${1}].eth-node-tp-id},
+                                    "access-role": ${ethernet-srv-end-points-list[${1}].leafOrRootAccess}
+                                }
+                            ],
+                            "outer-tag":{
+                                "tag-type":"ietf-eth-tran-types:classify-c-vlan",
+                                "vlan-value":${ethernet-srv-end-points-list[${1}].cvlan}
+                            },
+                            "service-classification-type":"ietf-eth-tran-types:vlan-classification",
+                            "ingress-egress-bandwidth-profile":{
+                                "bandwidth-profile-type":"ietf-eth-tran-types:mef-10-bwp",
+                                "CIR": ${ethernet-srv-end-points-list[${1}].CIR},
+                                "EIR": ${ethernet-srv-end-points-list[${1}].EIR}
+                            }
+                        },
+                    }
+                ]
+            }
+        ]
+    }
+}
index 5bd29ce..b058169 100644 (file)
@@ -5,7 +5,7 @@
                 "etht-svc-name": ${eth-service-name},
                 "ietf-optical-slice:slice-id": ${slice-id},
                 "etht-svc-descr": "Ethernet-over-OTN",
-                "etht-svc-type": "ietf-eth-tran-types:p2p-svc",
+                "etht-svc-type": "ietf-eth-tran-types:rmp-svc",
                 "te-topology-identifier":{
                     "provider-id": ${provider-id},
                     "client-id": ${client-id},