Supporting 3 or more network domains for Transport Slicing use case.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json
index 9ffaaf7..5681c26 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "d3bb30c4.60fa",\r
+        "id": "c170e1ed.7b781",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 130,\r
-        "y": 87,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 137,\r
+        "y": 82,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d58b4202.9cdb3"\r
+                "9970ac63.cab4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d58b4202.9cdb3",\r
+        "id": "9970ac63.cab4e",\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": 261.2856903076172,\r
-        "y": 136.23810863494873,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 268.2856903076172,\r
+        "y": 131.23810863494873,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "617bde2e.1132b"\r
+                "d984e08f.709ec8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "617bde2e.1132b",\r
+        "id": "d984e08f.709ec8",\r
         "type": "method",\r
         "name": "method tsli-vnf-topology-operation-trans-slice-activate",\r
         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-activate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 264.4286193847656,\r
-        "y": 221.00003242492676,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 271.4286193847656,\r
+        "y": 216.00003242492676,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "8ac7a60e.72d768"\r
+                "8e4db78f.c5ff38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ac7a60e.72d768",\r
+        "id": "8e4db78f.c5ff38",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 414.238037109375,\r
-        "y": 350.6666564941406,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 421.238037109375,\r
+        "y": 345.6666564941406,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "72b21bde.5e8f94",\r
-                "9fe7f5eb.e26c6",\r
-                "9bca10ea.41532"\r
+                "6bde1442.84f93c",\r
+                "d81cbe5a.85cea",\r
+                "2a368168.cab60e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "72b21bde.5e8f94",\r
+        "id": "6bde1442.84f93c",\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": 682.5716552734375,\r
-        "y": 737.59716796875,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 689.5716552734375,\r
+        "y": 732.59716796875,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "441fc399.08ca9c",\r
+        "id": "233d87e5.a24f7",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 714,\r
-        "y": 412,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 721,\r
+        "y": 407,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9fe7f5eb.e26c6",\r
+        "id": "d81cbe5a.85cea",\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": 734,\r
-        "y": 508,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 741,\r
+        "y": 503,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "926c12ae.af2a48",\r
-                "5deb4cbf.60b5f4",\r
-                "35c77549.8e65c2"\r
+                "b0036e6b.1878c8",\r
+                "7901c2f.e699b3c",\r
+                "120c06e4.dff209"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "926c12ae.af2a48",\r
+        "id": "b0036e6b.1878c8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 953,\r
-        "y": 446,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 960,\r
+        "y": 441,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "c296586e.046f08"\r
+                "9167ffc3.5d91a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5deb4cbf.60b5f4",\r
+        "id": "7901c2f.e699b3c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 962.490966796875,\r
-        "y": 488.57403564453125,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 969.490966796875,\r
+        "y": 483.57403564453125,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "bb46ff52.717af8"\r
+                "fe34f5d.3d31308"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "35c77549.8e65c2",\r
+        "id": "120c06e4.dff209",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 951,\r
-        "y": 535,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 958,\r
+        "y": 530,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "236d61d5.47d9a6"\r
+                "6d39868f.7f25c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb46ff52.717af8",\r
+        "id": "fe34f5d.3d31308",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 1116.0623779296875,\r
-        "y": 491.8597717285156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1123.0623779296875,\r
+        "y": 486.8597717285156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "236d61d5.47d9a6",\r
+        "id": "6d39868f.7f25c8",\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": 1120,\r
-        "y": 536,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1127,\r
+        "y": 531,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c296586e.046f08",\r
+        "id": "9167ffc3.5d91a",\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": 1150,\r
-        "y": 442,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1157,\r
+        "y": 437,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "b77b70ed.c591c"\r
+                "5c1ddd56.ddffa4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b77b70ed.c591c",\r
+        "id": "5c1ddd56.ddffa4",\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": 1373.33349609375,\r
-        "y": 441.99993896484375,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1380.33349609375,\r
+        "y": 436.99993896484375,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "2fc295b4.0602da"\r
+                "aeacbf90.6ab9e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2fc295b4.0602da",\r
+        "id": "aeacbf90.6ab9e",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1574.0001335144043,\r
-        "y": 443.00002098083496,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1581.0001335144043,\r
+        "y": 438.00002098083496,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "483259b4.af3e1"\r
+                "7ea091c4.73eb6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cba9b813.e1b22",\r
+        "id": "fd4d27b6.bd205",\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-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
+        "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": 3835,\r
-        "y": 162,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4400,\r
+        "y": 154,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c84632a9.494938",\r
+        "id": "7648091a.a03898",\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.ts-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=\"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
+        "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.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": 3916,\r
-        "y": 477,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4481,\r
+        "y": 469,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "f012f442.27b7b8",\r
-                "961e7c8c.e8988"\r
+                "9edc273d.67b87",\r
+                "9c60eb24.47f378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f012f442.27b7b8",\r
+        "id": "9edc273d.67b87",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4225.5,\r
-        "y": 446,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4790.5,\r
+        "y": 438,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "85de6f60.586588"\r
+                "9905c30a.05be"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "961e7c8c.e8988",\r
+        "id": "9c60eb24.47f378",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4230.5,\r
-        "y": 511,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4795.5,\r
+        "y": 503,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "b3e28f35.f331c"\r
+                "8e92f9d2.75f4a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85de6f60.586588",\r
+        "id": "9905c30a.05be",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return 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 vpn rest api\" />\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4401.5,\r
-        "y": 446,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4966.5,\r
+        "y": 438,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b3e28f35.f331c",\r
+        "id": "8e92f9d2.75f4a8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4397,\r
-        "y": 511,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4962,\r
+        "y": 503,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9e9578a4.5a4df",\r
+        "id": "7974f996.7603f8",\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='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",\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": 3782.5,\r
-        "y": 665,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4347.5,\r
+        "y": 657,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8d5f5723.afac28",\r
+        "id": "1460b865.7cff48",\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=\"post\"/>\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
+        "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": 3936.5,\r
-        "y": 713,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4501.5,\r
+        "y": 705,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "7efa3090.e1e078",\r
-                "602bb58a.eb8054"\r
+                "d6a6995b.244f78",\r
+                "3058a60d.1382f2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7efa3090.e1e078",\r
+        "id": "d6a6995b.244f78",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4282,\r
-        "y": 694,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4847,\r
+        "y": 686,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d892eebe.cdbb5"\r
+                "9008a0fb.361338"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "602bb58a.eb8054",\r
+        "id": "3058a60d.1382f2",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4286,\r
-        "y": 734,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4851,\r
+        "y": 726,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "34660646.412fea"\r
+                "5c04d202.902b9c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d892eebe.cdbb5",\r
+        "id": "9008a0fb.361338",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return 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 vpn rest api\" />\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4440,\r
-        "y": 694,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5005,\r
+        "y": 686,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "34660646.412fea",\r
+        "id": "5c04d202.902b9c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4443.5,\r
-        "y": 734,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5008.5,\r
+        "y": 726,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "63e48280.b2cb84",\r
-                "ffe3929d.a2fda"\r
+                "ec17d55b.a0804",\r
+                "144849a3.b4133e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bae980db.b9d408",\r
+        "id": "471d2a77.3a42ac",\r
         "type": "comment",\r
         "name": "TODO: FIXME:",\r
         "info": "put proper values based on connectivity resource retrieved from AAI",\r
         "comments": "",\r
-        "x": 3780,\r
-        "y": 621,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4345,\r
+        "y": 613,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "63e48280.b2cb84",\r
+        "id": "ec17d55b.a0804",\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-id`' />\n\n<parameter name='operational-status' value='Activated' />\n",\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": 4774,\r
-        "y": 699,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5339,\r
+        "y": 691,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2bc3079a.d7dde",\r
+        "id": "4e9eb117.9357d",\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": 4638,\r
-        "y": 658,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5203,\r
+        "y": 650,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ffe3929d.a2fda",\r
+        "id": "144849a3.b4133e",\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": 4701,\r
-        "y": 745,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5266,\r
+        "y": 737,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f01334b4.1d8928",\r
+        "id": "4f40e2d1.4262ec",\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": 3773,\r
-        "y": 210,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4338,\r
+        "y": 202,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dbf99a2b.67c71",\r
+        "id": "8abcb98.e721cc8",\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": 3799,\r
-        "y": 327,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4364,\r
+        "y": 319,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "27a62f4.f17ab5",\r
-                "1aa65c21.28f974",\r
-                "a732e62d.9d3f9"\r
+                "3115ae28.00936a",\r
+                "34440f82.2778b8",\r
+                "5e322ae1.288484"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27a62f4.f17ab5",\r
+        "id": "3115ae28.00936a",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3994.5001220703125,\r
-        "y": 279,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4559.5001220703125,\r
+        "y": 271,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "b04b9242.14b66"\r
+                "5640c3a4.e53454"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1aa65c21.28f974",\r
+        "id": "34440f82.2778b8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3986.5001220703125,\r
-        "y": 334,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4551.5001220703125,\r
+        "y": 326,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "5b188d77.8ffc8c"\r
+                "b5a71ca6.0ed8a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b04b9242.14b66",\r
+        "id": "5640c3a4.e53454",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4138.8824462890625,\r
-        "y": 278.6556701660156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4703.8824462890625,\r
+        "y": 270.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "14763204.df94c6"\r
+                "4125afdc.dc7c38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a517ec9b.cf8fc8",\r
+        "id": "e2a3abe6.94632",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4721,\r
-        "y": 281,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5286,\r
+        "y": 273,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "37ce34d7.e5314c"\r
+                "e7a85e47.2ddf5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "14763204.df94c6",\r
+        "id": "4125afdc.dc7c38",\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": 4323,\r
-        "y": 277,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4888,\r
+        "y": 269,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "bbbe4e04.e26da"\r
+                "7289fd85.50ab7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bbbe4e04.e26da",\r
+        "id": "7289fd85.50ab7c",\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": 4518,\r
-        "y": 277,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5083,\r
+        "y": 269,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "a517ec9b.cf8fc8"\r
+                "e2a3abe6.94632"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a732e62d.9d3f9",\r
+        "id": "5e322ae1.288484",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3991.5001220703125,\r
-        "y": 391,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4556.5001220703125,\r
+        "y": 383,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "ebcd1e8f.a8cb18"\r
+                "a5591b6a.a340a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebcd1e8f.a8cb18",\r
+        "id": "a5591b6a.a340a8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 4143.5001220703125,\r
-        "y": 392,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4708.5001220703125,\r
+        "y": 384,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b188d77.8ffc8c",\r
+        "id": "b5a71ca6.0ed8a",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 4154.5001220703125,\r
-        "y": 335,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4719.5001220703125,\r
+        "y": 327,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d99536cb.cbc39",\r
+        "id": "ca9f1df7.d822c",\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": 5106,\r
-        "y": 294,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5671,\r
+        "y": 286,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "5f8e12fe.363034",\r
-                "3e541a04.379ece",\r
-                "5e7e63a7.7acdcc"\r
+                "d6fa81cb.78d2d",\r
+                "bcf1b063.c95248",\r
+                "109a3661.2bbbd2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37ce34d7.e5314c",\r
+        "id": "e7a85e47.2ddf5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4900,\r
-        "y": 281,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5465,\r
+        "y": 273,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "17ccdbf.84352a4",\r
-                "d99536cb.cbc39"\r
+                "211b93a9.ce5f0c",\r
+                "ca9f1df7.d822c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17ccdbf.84352a4",\r
+        "id": "211b93a9.ce5f0c",\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": 5136,\r
-        "y": 242,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5701,\r
+        "y": 234,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5f8e12fe.363034",\r
+        "id": "d6fa81cb.78d2d",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5316,\r
-        "y": 285,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5881,\r
+        "y": 277,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "a674bdd4.cbe5f"\r
+                "bf2e4f3b.81ed8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3e541a04.379ece",\r
+        "id": "bcf1b063.c95248",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5308,\r
-        "y": 340,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5873,\r
+        "y": 332,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "b14ed6a2.e3874"\r
+                "bfa4b512.849248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e7e63a7.7acdcc",\r
+        "id": "109a3661.2bbbd2",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5313,\r
-        "y": 397,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5878,\r
+        "y": 389,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "1ce96021.1d8b"\r
+                "76f805.e622cffc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1ce96021.1d8b",\r
+        "id": "76f805.e622cffc",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 5465,\r
-        "y": 398,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 6030,\r
+        "y": 390,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b14ed6a2.e3874",\r
+        "id": "bfa4b512.849248",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 5476,\r
-        "y": 343,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 6041,\r
+        "y": 335,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a674bdd4.cbe5f",\r
+        "id": "bf2e4f3b.81ed8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5460.38232421875,\r
-        "y": 282.6556701660156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 6025.38232421875,\r
+        "y": 274.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "67e87cc0.72543c"\r
+                "76b40334.8bd094"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "67e87cc0.72543c",\r
+        "id": "76b40334.8bd094",\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": 5675,\r
-        "y": 279,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 6240,\r
+        "y": 271,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9bca10ea.41532",\r
+        "id": "2a368168.cab60e",\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": 700,\r
-        "y": 456,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 707,\r
+        "y": 451,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9469a92e.1082c",\r
+        "id": "3bea0429.f0ebac",\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-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-src-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
+        "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": 3815,\r
-        "y": 966,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3807,\r
+        "y": 1611,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8e72aaca.f223b8",\r
+        "id": "d501f859.eecd18",\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.ts-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=\"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
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-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": 3878,\r
-        "y": 1295,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3870,\r
+        "y": 1940,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "4967c60e.7eec88",\r
-                "d728c3b6.b72d4"\r
+                "8a516999.f983f8",\r
+                "e1e3477c.cb45b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4967c60e.7eec88",\r
+        "id": "8a516999.f983f8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4173.5,\r
-        "y": 1262,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4165.5,\r
+        "y": 1907,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "957f3c62.36bab"\r
+                "1f32cbd.2007fb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d728c3b6.b72d4",\r
+        "id": "e1e3477c.cb45b",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4178.5,\r
-        "y": 1327,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4170.5,\r
+        "y": 1972,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "9b37bb11.43c248"\r
+                "5be15aea.63aa2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "957f3c62.36bab",\r
+        "id": "1f32cbd.2007fb4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return 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 vpn rest api\" />\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4341.5,\r
-        "y": 1262,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4333.5,\r
+        "y": 1907,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9b37bb11.43c248",\r
+        "id": "5be15aea.63aa2c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4352,\r
-        "y": 1327,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4344,\r
+        "y": 1972,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "24fc86b.f179cfa",\r
+        "id": "32f45e6c.4d0bea",\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": 3754,\r
-        "y": 1023,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3746,\r
+        "y": 1668,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4e80e5.b17c0f",\r
+        "id": "e8ca7925.e0f8c",\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": 3774,\r
-        "y": 1120,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3766,\r
+        "y": 1765,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d87e44a4.312df",\r
-                "c39adf70.78fbd",\r
-                "ae2b50d9.d9592"\r
+                "9bb092a5.d05b48",\r
+                "221dd2f3.9ac236",\r
+                "26d51b0f.5d004c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d87e44a4.312df",\r
+        "id": "9bb092a5.d05b48",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3976.5001220703125,\r
-        "y": 1073,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3968.5001220703125,\r
+        "y": 1718,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "1f01bb4d.6d662d"\r
+                "b690bac2.55724"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c39adf70.78fbd",\r
+        "id": "221dd2f3.9ac236",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3968.5001220703125,\r
-        "y": 1128,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3960.5001220703125,\r
+        "y": 1773,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "7e32fa48.cb95e4"\r
+                "b19648bb.51984"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f01bb4d.6d662d",\r
+        "id": "b690bac2.55724",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4120.8824462890625,\r
-        "y": 1070.6556701660156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4112.8824462890625,\r
+        "y": 1715.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "71c66ab3.44665c"\r
+                "bc889fde.13a798"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "71c66ab3.44665c",\r
+        "id": "bc889fde.13a798",\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": 4305,\r
-        "y": 1085,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4297,\r
+        "y": 1730,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "7900c812.a2abd"\r
+                "6cdbe20d.6924d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae2b50d9.d9592",\r
+        "id": "26d51b0f.5d004c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3973.5001220703125,\r
-        "y": 1185,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3965.5001220703125,\r
+        "y": 1830,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "c7f28bc4.db74a"\r
+                "5f4cb2c4.11fb94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7f28bc4.db74a",\r
+        "id": "5f4cb2c4.11fb94",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 4125.5001220703125,\r
-        "y": 1186,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4117.5001220703125,\r
+        "y": 1831,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7e32fa48.cb95e4",\r
+        "id": "b19648bb.51984",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 4136.5001220703125,\r
-        "y": 1131,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4128.5001220703125,\r
+        "y": 1776,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d3528946.ee7a88",\r
+        "id": "73a1b393.2e09c4",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4703,\r
-        "y": 1089,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4695,\r
+        "y": 1734,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "746ece73.5c4d48"\r
+                "ab9ee354.2292b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7900c812.a2abd",\r
+        "id": "6cdbe20d.6924d4",\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": 4500,\r
-        "y": 1085,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4492,\r
+        "y": 1730,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d3528946.ee7a88"\r
+                "73a1b393.2e09c4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f8459d33.082c4",\r
+        "id": "1f5d9d19.39869b",\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": 5088,\r
-        "y": 1088,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5080,\r
+        "y": 1733,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "652db70b.f69af",\r
-                "cd87b694.170a2",\r
-                "e10452ec.f851f"\r
+                "9355225.5c1536",\r
+                "66c76394.d1fea4",\r
+                "2e8b8501.9ee95a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "746ece73.5c4d48",\r
+        "id": "ab9ee354.2292b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4880,\r
-        "y": 1081,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4872,\r
+        "y": 1726,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "13e8c9be.60d2ee",\r
-                "f8459d33.082c4"\r
+                "28e5278d.3f4238",\r
+                "1f5d9d19.39869b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13e8c9be.60d2ee",\r
+        "id": "28e5278d.3f4238",\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": 5118,\r
-        "y": 1036,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5110,\r
+        "y": 1681,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "64b1d1df.af4928",\r
+        "id": "8616ea00.2e5968",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 5447,\r
-        "y": 1192,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5439,\r
+        "y": 1837,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "afae5d5f.cf8cd8",\r
+        "id": "8ef11dae.da91",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 5458,\r
-        "y": 1137,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5450,\r
+        "y": 1782,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fe8767e6.75d1",\r
+        "id": "d4ab39c.829a8c8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5442.38232421875,\r
-        "y": 1076.6556701660156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5434.38232421875,\r
+        "y": 1721.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "9e679808.748fd"\r
+                "4d0c934c.0c9114"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e679808.748fd",\r
+        "id": "4d0c934c.0c9114",\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": 5657,\r
-        "y": 1073,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5649,\r
+        "y": 1718,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "652db70b.f69af",\r
+        "id": "9355225.5c1536",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5298,\r
-        "y": 1079,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5290,\r
+        "y": 1724,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "fe8767e6.75d1"\r
+                "d4ab39c.829a8c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd87b694.170a2",\r
+        "id": "66c76394.d1fea4",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5290,\r
-        "y": 1134,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5282,\r
+        "y": 1779,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "afae5d5f.cf8cd8"\r
+                "8ef11dae.da91"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e10452ec.f851f",\r
+        "id": "2e8b8501.9ee95a",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5295,\r
-        "y": 1191,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 5287,\r
+        "y": 1836,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "64b1d1df.af4928"\r
+                "8616ea00.2e5968"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "483259b4.af3e1",\r
+        "id": "7ea091c4.73eb6",\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": 1812,\r
-        "y": 445,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 1819,\r
+        "y": 440,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "deb24009.8fcaa8",\r
-                "f99db731.cec29",\r
-                "20c66e63.50491a"\r
+                "cf96a339.12fc08",\r
+                "ebf1abf2.c0a2b8",\r
+                "a6813928.711c6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "deb24009.8fcaa8",\r
+        "id": "cf96a339.12fc08",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2020,\r
-        "y": 409,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2027,\r
+        "y": 404,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "4730a3bd.f32424"\r
+                "7e9b774d.9e8c28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f99db731.cec29",\r
+        "id": "ebf1abf2.c0a2b8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2020.490966796875,\r
-        "y": 454.57403564453125,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2027.490966796875,\r
+        "y": 449.57403564453125,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "5f621d7d.168d04"\r
+                "b2e1099a.08fc3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20c66e63.50491a",\r
+        "id": "a6813928.711c6",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2018,\r
-        "y": 498,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2025,\r
+        "y": 493,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "3d808fc9.409a"\r
+                "8f5ccf37.c152"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5f621d7d.168d04",\r
+        "id": "b2e1099a.08fc3",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 2183.0623779296875,\r
-        "y": 454.8597717285156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2190.0623779296875,\r
+        "y": 449.8597717285156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3d808fc9.409a",\r
+        "id": "8f5ccf37.c152",\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": 2187,\r
-        "y": 499,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2194,\r
+        "y": 494,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98bf7163.623b18",\r
+        "id": "2f04c146.0a3af6",\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": 2493,\r
-        "y": 498,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2500,\r
+        "y": 493,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "4a10f363.97f04c",\r
-                "75240e64.8364b",\r
-                "7a8b2677.1e3f6"\r
+                "675654a6.d7ff34",\r
+                "15ae8ffb.52d9c8",\r
+                "5de62fdc.3f5a78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "262c25a6.ad70a2",\r
+        "id": "c4252359.e0b548",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2877,\r
-        "y": 498,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2884,\r
+        "y": 493,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "471d55bd.ad492c"\r
+                "cf117e36.f49698",\r
+                "9e15ad66.cb5638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a10f363.97f04c",\r
+        "id": "675654a6.d7ff34",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2704,\r
-        "y": 500,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2711,\r
+        "y": 495,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "262c25a6.ad70a2"\r
+                "c4252359.e0b548"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75240e64.8364b",\r
+        "id": "15ae8ffb.52d9c8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2704.490966796875,\r
-        "y": 545.5740356445312,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2711.490966796875,\r
+        "y": 540.5740356445312,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "1484cf74.c39e71"\r
+                "1c0c1f66.646011"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a8b2677.1e3f6",\r
+        "id": "5de62fdc.3f5a78",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2702,\r
-        "y": 589,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2709,\r
+        "y": 584,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d377f001.ff927"\r
+                "96b5913.ff6507"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d377f001.ff927",\r
+        "id": "96b5913.ff6507",\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": 2869,\r
-        "y": 588,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2876,\r
+        "y": 583,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1484cf74.c39e71",\r
+        "id": "1c0c1f66.646011",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return 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": 2867.0623779296875,\r
-        "y": 545.8597717285156,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2874.0623779296875,\r
+        "y": 540.8597717285156,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4730a3bd.f32424",\r
+        "id": "7e9b774d.9e8c28",\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": 2221,\r
-        "y": 404,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2228,\r
+        "y": 399,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "ed79cbad.42008"\r
+                "a33b5641.550dd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ed79cbad.42008",\r
+        "id": "a33b5641.550dd8",\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": 2426,\r
-        "y": 404,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2433,\r
+        "y": 399,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "87636f23.10a238"\r
+                "dcc9c2f.bdc72c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "87636f23.10a238",\r
+        "id": "dcc9c2f.bdc72c",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2592,\r
-        "y": 404,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2599,\r
+        "y": 399,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "f49319bb.999b88"\r
+                "b86471e.744979"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f49319bb.999b88",\r
+        "id": "b86471e.744979",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2755,\r
-        "y": 404,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 2762,\r
+        "y": 399,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "98bf7163.623b18"\r
+                "2f04c146.0a3af6",\r
+                "65e4f8bf.6cf8f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "471d55bd.ad492c",\r
+        "id": "cf117e36.f49698",\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": 3131,\r
-        "y": 497,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3138,\r
+        "y": 492,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "a6851b6e.131e78",\r
-                "f997812a.bb5bf"\r
+                "965ac3c2.a1d608",\r
+                "6bf420f8.6129c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6851b6e.131e78",\r
+        "id": "965ac3c2.a1d608",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3384,\r
-        "y": 531,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3391,\r
+        "y": 526,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "9ec23d9e.f5fd3"\r
+                "f82e8947.2d7ce8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f997812a.bb5bf",\r
+        "id": "6bf420f8.6129c8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3384,\r
-        "y": 475,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3391,\r
+        "y": 470,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "a48cbe42.98bbb"\r
+                "aacf39c3.b541a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ec23d9e.f5fd3",\r
+        "id": "f82e8947.2d7ce8",\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": 3123,\r
-        "y": 1317,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3115,\r
+        "y": 1962,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "12733247.02817e",\r
-                "457dfc0a.58968c"\r
+                "10da65e0.f509ca",\r
+                "73ba091f.6ce2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12733247.02817e",\r
+        "id": "10da65e0.f509ca",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3376,\r
-        "y": 1351,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3368,\r
+        "y": 1996,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "13d35870.d79cf8"\r
+                "d3f311e2.47dc9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "457dfc0a.58968c",\r
+        "id": "73ba091f.6ce2a",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3376,\r
-        "y": 1295,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3368,\r
+        "y": 1940,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "b272db0a.663f1"\r
+                "4a6141b6.6b0c98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13d35870.d79cf8",\r
+        "id": "d3f311e2.47dc9",\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": 3527,\r
-        "y": 1351,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3519,\r
+        "y": 1996,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d316857d.f41628",\r
+        "id": "fb92b32f.578d9",\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": 3830,\r
-        "y": 102,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4395,\r
+        "y": 94,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3accaf74.7f8a68",\r
+        "id": "16b6eb5a.c037cd",\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": 3811,\r
-        "y": 908,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3803,\r
+        "y": 1553,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a48cbe42.98bbb",\r
+        "id": "b5fbea6d.693118",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3552,\r
-        "y": 477,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4086,\r
+        "y": 351,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "d316857d.f41628",\r
-                "cba9b813.e1b22",\r
-                "f01334b4.1d8928",\r
-                "dbf99a2b.67c71",\r
-                "9e9578a4.5a4df",\r
-                "8d5f5723.afac28",\r
-                "c84632a9.494938"\r
+                "fb92b32f.578d9",\r
+                "fd4d27b6.bd205",\r
+                "4f40e2d1.4262ec",\r
+                "8abcb98.e721cc8",\r
+                "7974f996.7603f8",\r
+                "1460b865.7cff48",\r
+                "7648091a.a03898"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b272db0a.663f1",\r
+        "id": "4a6141b6.6b0c98",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3527,\r
-        "y": 1294,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3519,\r
+        "y": 1939,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "3accaf74.7f8a68",\r
-                "9469a92e.1082c",\r
-                "24fc86b.f179cfa",\r
-                "a4e80e5.b17c0f",\r
-                "8e72aaca.f223b8",\r
-                "6e17b735.11933",\r
-                "35d8443b.290754"\r
+                "16b6eb5a.c037cd",\r
+                "3bea0429.f0ebac",\r
+                "32f45e6c.4d0bea",\r
+                "e8ca7925.e0f8c",\r
+                "d501f859.eecd18",\r
+                "dfc89384.6f3b98",\r
+                "7e08fa79.0c018c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e17b735.11933",\r
+        "id": "dfc89384.6f3b98",\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='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",\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": 3756,\r
-        "y": 1437,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3748,\r
+        "y": 2082,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "35d8443b.290754",\r
+        "id": "7e08fa79.0c018c",\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": 3910,\r
-        "y": 1485,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3902,\r
+        "y": 2130,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "3ee71f70.cef2d8",\r
-                "ec28887e.13052"\r
+                "dd71fa1b.6e05f",\r
+                "23079c35.06b53c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3ee71f70.cef2d8",\r
+        "id": "dd71fa1b.6e05f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4255.5,\r
-        "y": 1466,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4247.5,\r
+        "y": 2111,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "146e8cbe.f1427b"\r
+                "531e9904.6c0cf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ec28887e.13052",\r
+        "id": "23079c35.06b53c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4259.5,\r
-        "y": 1506,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4251.5,\r
+        "y": 2151,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "6938dd8d.725ce4"\r
+                "ca751a91.a1fc5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "146e8cbe.f1427b",\r
+        "id": "531e9904.6c0cf",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return 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 vpn rest api\" />\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4413.5,\r
-        "y": 1466,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4405.5,\r
+        "y": 2111,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6938dd8d.725ce4",\r
+        "id": "ca751a91.a1fc5",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4417,\r
-        "y": 1506,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4409,\r
+        "y": 2151,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             [\r
-                "3103adf.03ebdd2",\r
-                "abd5a958.8851"\r
+                "acce8a06.32f9",\r
+                "300cb80e.add27"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5e2d859.f89e48",\r
+        "id": "ed3d8ab7.5da83",\r
         "type": "comment",\r
         "name": "TODO: FIXME:",\r
         "info": "put proper values based on connectivity resource retrieved from AAI",\r
         "comments": "",\r
-        "x": 3753.5,\r
-        "y": 1393,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 3745.5,\r
+        "y": 2038,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3103adf.03ebdd2",\r
+        "id": "acce8a06.32f9",\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-id`' />\n\n<parameter name='operational-status' value='Activated' />\n",\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": 4757,\r
-        "y": 1505,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4749,\r
+        "y": 2150,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1ee5068c.50a041",\r
+        "id": "dd0732a8.6dcd38",\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": 4615,\r
-        "y": 1463,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4607,\r
+        "y": 2108,\r
+        "z": "bc289cb4.31b288",\r
         "wires": []\r
     },\r
     {\r
-        "id": "abd5a958.8851",\r
+        "id": "300cb80e.add27",\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": 4686,\r
-        "y": 1554,\r
-        "z": "bc9d969b.328b8",\r
+        "x": 4678,\r
+        "y": 2199,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e15ad66.cb5638",\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": 3125,\r
+        "y": 398,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "65e4f8bf.6cf8f",\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": 2946,\r
+        "y": 270,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "198fcdf8.1e22c2",\r
+        "type": "comment",\r
+        "name": "only dst ttp exists. No src",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3907,\r
+        "y": 308,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca0cd7a2.5ca728",\r
+        "type": "comment",\r
+        "name": "only src ttp exists. No dst",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3464,\r
+        "y": 1886,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aacf39c3.b541a",\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": 3615,\r
+        "y": 468,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "df2281b1.f49f38",\r
+                "aea11bc2.879238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aea11bc2.879238",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3885,\r
+        "y": 1059,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "f4291584.31d5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df2281b1.f49f38",\r
+        "type": "outcome",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3879,\r
+        "y": 350,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "b5fbea6d.693118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4291584.31d5f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4043,\r
+        "y": 1058,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "507acb8a.026844",\r
+                "328f5ebe.d2c3f2",\r
+                "282b55f0.c4b452",\r
+                "f1d5dfc2.902f38",\r
+                "e32fad74.744d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "328f5ebe.d2c3f2",\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": 4307,\r
+        "y": 941,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e32fad74.744d",\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.ts-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": 4388,\r
+        "y": 1256,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "4fa7d7bd.5a2ab",\r
+                "f472be3.5d0074"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fa7d7bd.5a2ab",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4697.5,\r
+        "y": 1225,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "1f127e35.6d237a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f472be3.5d0074",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4702.5,\r
+        "y": 1290,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "5d6567d4.56edf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f127e35.6d237a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return 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": 4873.5,\r
+        "y": 1225,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d6567d4.56edf",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4869,\r
+        "y": 1290,\r
+        "z": "bc289cb4.31b288",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "282b55f0.c4b452",\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": 4245,\r
+        "y": 989,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1d5dfc2.902f38",\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": 4271,\r
+        "y": 1106,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "b1abc6d5.732f1",\r
+                "5f6c0c85.ca44ac",\r
+                "386d37a9.f48098"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1abc6d5.732f1",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4466.5001220703125,\r
+        "y": 1058,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "7b990f0b.20c288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f6c0c85.ca44ac",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4458.5001220703125,\r
+        "y": 1113,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "315f8841.f40a1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b990f0b.20c288",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4610.8824462890625,\r
+        "y": 1057.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "c8fb728b.2dc648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8fb728b.2dc648",\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": 4795,\r
+        "y": 1056,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "d59f0b39.d31cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d59f0b39.d31cc8",\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": 4990,\r
+        "y": 1056,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "7e05c38e.6d5cbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "386d37a9.f48098",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4463.5001220703125,\r
+        "y": 1170,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "46492ab4.cb6c04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46492ab4.cb6c04",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return 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": 4615.5001220703125,\r
+        "y": 1171,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "315f8841.f40a1",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return 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": 4626.5001220703125,\r
+        "y": 1114,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "507acb8a.026844",\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": 4302,\r
+        "y": 881,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e05c38e.6d5cbc",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5193,\r
+        "y": 1060,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "436389a3.57fb78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a766cec.04fc1c",\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": 5578,\r
+        "y": 1073,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "985e5e77.801e6",\r
+                "a10da0b1.afaa18",\r
+                "4e466bf1.fc05c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "436389a3.57fb78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5372,\r
+        "y": 1060,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "507f9c6b.ef2c2c",\r
+                "6a766cec.04fc1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "507f9c6b.ef2c2c",\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": 5608,\r
+        "y": 1021,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "985e5e77.801e6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5788,\r
+        "y": 1064,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "37e160ea.8f86d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a10da0b1.afaa18",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5780,\r
+        "y": 1119,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "81ccddb5.3e1b1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e466bf1.fc05c4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5785,\r
+        "y": 1176,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "c4f4a10b.e46a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4f4a10b.e46a6",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return 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": 5937,\r
+        "y": 1177,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81ccddb5.3e1b1",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return 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": 5948,\r
+        "y": 1122,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37e160ea.8f86d8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5932.38232421875,\r
+        "y": 1061.6556701660156,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": [\r
+            [\r
+                "4cbb09e8.a29488"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cbb09e8.a29488",\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": 6147,\r
+        "y": 1058,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "28d376a3.473102",\r
+        "type": "comment",\r
+        "name": "both src and dst exist",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3921,\r
+        "y": 999,\r
+        "z": "bc289cb4.31b288",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file