A few bug fixes for CLL closed-loop operation.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
index 5f709bf..5989c10 100644 (file)
 [\r
-    {\r
-        "id": "4a2a1676.3e3ca",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 107,\r
-        "y": 137,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4dd41696.2f452"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4dd41696.2f452",\r
-        "type": "service-logic",\r
-        "name": "GENERIC-RESOURCE-API ${project.version}",\r
-        "module": "GENERIC-RESOURCE-API",\r
-        "version": "${project.version}",\r
-        "comments": "",\r
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
-        "outputs": 1,\r
-        "x": 391.2856903076172,\r
-        "y": 198.23810863494873,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "44e593d9.2efad4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "44e593d9.2efad4",\r
-        "type": "method",\r
-        "name": "method cll-vnf-topology-operation-cll-create-clean",\r
-        "xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 397.42860412597656,\r
-        "y": 283.0000305175781,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "49513b93.fc23ac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "49513b93.fc23ac",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 747,\r
-        "y": 342,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b2135089.199e6",\r
-                "23db3db6.da8e02",\r
-                "2b8995d5.8b0c7a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2135089.199e6",\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": 1048.33349609375,\r
-        "y": 612.9302978515625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "23db3db6.da8e02",\r
-        "type": "save",\r
-        "name": "get service-instance from aai",\r
-        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1069.761962890625,\r
-        "y": 315.33331298828125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b4c73c35.f93038",\r
-                "3d5524fd.e8ecb4",\r
-                "65a2b99e.db6b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b4c73c35.f93038",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1294.761962890625,\r
-        "y": 173.33331298828125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "8dbada70.49fdc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3d5524fd.e8ecb4",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1290.2529296875,\r
-        "y": 242.9073486328125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "57a109f4.ebf0e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "65a2b99e.db6b",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1278.761962890625,\r
-        "y": 289.33331298828125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "60bf0db6.5a7ed4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b4e2ba33.09b93",\r
-        "type": "comment",\r
-        "name": "new for TransportSlicing",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 1048.761962890625,\r
-        "y": 203.33331298828125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2b8995d5.8b0c7a",\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": 1036.761962890625,\r
-        "y": 255.33331298828125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8dbada70.49fdc8",\r
-        "type": "switchNode",\r
-        "name": "switch allotted-resources_length != 0",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1535,\r
-        "y": 170,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d1591597.ec80d8",\r
-                "57531373.e3de34"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "57a109f4.ebf0e8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 1445.0623779296875,\r
-        "y": 245.85977172851562,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "60bf0db6.5a7ed4",\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": 1449,\r
-        "y": 290,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d1591597.ec80d8",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1740,\r
-        "y": 207,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4fdc9fba.45ecc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "57531373.e3de34",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1750,\r
-        "y": 134,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "4fdc9fba.45ecc",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1733,\r
-        "y": 282,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a7b4edd.d51559",\r
-                "2c272659.3a51ba",\r
-                "5c772a63.5a0db4",\r
-                "289d87b9.bd6eb8",\r
-                "58aa906f.8d52e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "23486bfb.15b8c4",\r
-        "type": "save",\r
-        "name": "get allotted-resource from aai",\r
-        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2219,\r
-        "y": 333,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7220fecb.3a8288",\r
-                "32198bbf.43a4fc",\r
-                "5d55cc38.78e3ec"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7220fecb.3a8288",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2435,\r
-        "y": 400,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "fa7f120f.655768"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "32198bbf.43a4fc",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2435.490966796875,\r
-        "y": 299.573974609375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b28e6d20.f339e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5d55cc38.78e3ec",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2431,\r
-        "y": 349,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3d8a7dac.ce2c6a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a7b4edd.d51559",\r
-        "type": "for",\r
-        "name": "for each allotted-resource",\r
-        "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1936,\r
-        "y": 314,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "88b22f1d.3626",\r
-                "23486bfb.15b8c4",\r
-                "8ffbf90a.9a2a4",\r
-                "9ccad127.ffcf6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "88b22f1d.3626",\r
-        "type": "set",\r
-        "name": "set the current allotted-resource-id",\r
-        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2216,\r
-        "y": 252,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "289d87b9.bd6eb8",\r
-        "type": "set",\r
-        "name": "set tmp.arr",\r
-        "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
-        "comments": "",\r
-        "x": 1910,\r
-        "y": 264,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2c272659.3a51ba",\r
-        "type": "get-resource",\r
-        "name": "get-resource pnfs-list",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1953,\r
-        "y": 123,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5c772a63.5a0db4",\r
-        "type": "get-resource",\r
-        "name": "get-resource logical-links",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1965,\r
-        "y": 164,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "7c71ad84.2ad9d4",\r
-        "type": "comment",\r
-        "name": "The following two nodes are for PCE",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 1990,\r
-        "y": 76,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f16230fe.988a5",\r
-        "type": "set",\r
-        "name": "set tmp.arr",\r
-        "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
-        "comments": "",\r
-        "x": 1910,\r
-        "y": 210,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b28e6d20.f339e8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 2614,\r
-        "y": 302,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3d8a7dac.ce2c6a",\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": 2613.9375,\r
-        "y": 351.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fa7f120f.655768",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2615.9375,\r
-        "y": 402.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e41c6870.5c2ef8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e41c6870.5c2ef8",\r
-        "type": "save",\r
-        "name": "get allotted-resource relationship from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2908.9375,\r
-        "y": 349.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "54a2b596.71e144",\r
-                "d130d716.0cf7a",\r
-                "2cc5b868.058328"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d130d716.0cf7a",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3182.428466796875,\r
-        "y": 241.7142333984375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b3a5f124.2cf16"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b3a5f124.2cf16",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3360,\r
-        "y": 242,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2cc5b868.058328",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3177.9375,\r
-        "y": 291.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c7a34562.68f14"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c7a34562.68f14",\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": 3359.9375,\r
-        "y": 291.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "54a2b596.71e144",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3181.9375,\r
-        "y": 342.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "bd0a4532.c3f628"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bd0a4532.c3f628",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3361.9375,\r
-        "y": 342.1402587890625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "f545f705.e2438"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f545f705.e2438",\r
-        "type": "switchNode",\r
-        "name": "switch allotted-resource.relationship-list not empty",\r
-        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2928,\r
-        "y": 477,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "333578f7.b029b",\r
-                "a1ea266d.8059"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a1ea266d.8059",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3238,\r
-        "y": 484,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "333578f7.b029b",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3237,\r
-        "y": 538,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "76551384.dcd284"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b7449756.393128",\r
-        "type": "outcome",\r
-        "name": "network-policy",\r
-        "xml": "<outcome value='network-policy'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3982,\r
-        "y": 492,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "497604b.3da63fc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "497604b.3da63fc",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4158.9998779296875,\r
-        "y": 484.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "5622eb31.c6aaa4",\r
-                "f42a71d2.4e018"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "76551384.dcd284",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3401,\r
-        "y": 464,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4cba462a.39c2",\r
-                "cfce2e8c.cb8c08"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4cba462a.39c2",\r
-        "type": "for",\r
-        "name": "for each allotted-resource relationship",\r
-        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3682,\r
-        "y": 420,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "96ce5ffe.418c6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "96ce5ffe.418c6",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3944,\r
-        "y": 420,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b7449756.393128"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5622eb31.c6aaa4",\r
-        "type": "set",\r
-        "name": "set the 1st network-policy-id",\r
-        "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4401.9998779296875,\r
-        "y": 441.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f42a71d2.4e018",\r
-        "type": "save",\r
-        "name": "get network-policy from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4390.9998779296875,\r
-        "y": 496.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d27d0859.022f28",\r
-                "109e108a.071aff",\r
-                "335266e0.15cee2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "335266e0.15cee2",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4644,\r
-        "y": 383,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a7539c87.81698"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a7539c87.81698",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4792.571533203125,\r
-        "y": 383.2857666015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3deb078.64eee78",\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": 4791.509033203125,\r
-        "y": 427.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "109e108a.071aff",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4632.509033203125,\r
-        "y": 427.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3deb078.64eee78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d27d0859.022f28",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4639.509033203125,\r
-        "y": 506.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "fa515a9e.7b382"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fa515a9e.7b382",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4778.509033203125,\r
-        "y": 506.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "f8e42c4e.db7c",\r
-                "af21638c.1e4978"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f8e42c4e.db7c",\r
-        "type": "set",\r
-        "name": "set the max bandwidth",\r
-        "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 4984,\r
-        "y": 504,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "af21638c.1e4978",\r
-        "type": "set",\r
-        "name": "set the max bandwidth",\r
-        "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
-        "comments": "",\r
-        "x": 4983,\r
-        "y": 550,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "cfce2e8c.cb8c08",\r
-        "type": "for",\r
-        "name": "for each allotted-resource relationship",\r
-        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3499,\r
-        "y": 536,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d81e40de.4db928"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d81e40de.4db928",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3779,\r
-        "y": 536,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "5031094a.3c0128"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5031094a.3c0128",\r
-        "type": "outcome",\r
-        "name": "logical-link",\r
-        "xml": "<outcome value='logical-link'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2192.0001220703125,\r
-        "y": 789.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e73c28db.21f4e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e73c28db.21f4e",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2369,\r
-        "y": 782,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "315e52b1.1cc22e",\r
-                "35f8f7f9.459f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "315e52b1.1cc22e",\r
-        "type": "set",\r
-        "name": "set the current logical-link-name",\r
-        "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2612,\r
-        "y": 739,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "35f8f7f9.459f",\r
-        "type": "save",\r
-        "name": "get logical-link from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2601,\r
-        "y": 794,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d939ca6a.3080e8",\r
-                "9cfbb845.158be",\r
-                "6d8b4fc3.7b3018"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d939ca6a.3080e8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2892.490966796875,\r
-        "y": 772.573974609375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "107f7ba4.2d7e2c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9cfbb845.158be",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2881,\r
-        "y": 817,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "acf32404.78571"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "107f7ba4.2d7e2c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3041.0625,\r
-        "y": 772.8597412109375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "acf32404.78571",\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": 3040,\r
-        "y": 817,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6d8b4fc3.7b3018",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2888,\r
-        "y": 896,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "5fee2f71.e558f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5fee2f71.e558f",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3027,\r
-        "y": 896,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "eaccb004.7e72b",\r
-                "eb22e702.6eba4",\r
-                "86c2cb32.4be2a",\r
-                "1855e375.e26f95",\r
-                "a98465a.ebb3518",\r
-                "c39134de.e7bb78",\r
-                "2345afcc.0ac648",\r
-                "a5a8afe4.995398",\r
-                "2419d5d3.394c4a",\r
-                "7c523485.24203c",\r
-                "6836f0a.48b871",\r
-                "b794c846.a3a7a8",\r
-                "2e62e80b.5f4db"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ecf79c2.e9d746",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for ethernet-service-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3341,\r
-        "y": 702,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "eaccb004.7e72b",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for otn-tunnel-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3322,\r
-        "y": 752,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c7da7bbe.4fbda",\r
-        "type": "set",\r
-        "name": "set new ethernet-service-name",\r
-        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 3279,\r
-        "y": 797,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "eb22e702.6eba4",\r
-        "type": "set",\r
-        "name": "set network-route-one",\r
-        "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 3254,\r
-        "y": 860,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "86c2cb32.4be2a",\r
-        "type": "set",\r
-        "name": "set network-route-two",\r
-        "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 3255,\r
-        "y": 915,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1855e375.e26f95",\r
-        "type": "save",\r
-        "name": "get network-route-one from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3271,\r
-        "y": 963,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a1f10f8e.c2622",\r
-                "ab6386aa.ce2908",\r
-                "465cfd34.a22f5c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a98465a.ebb3518",\r
-        "type": "save",\r
-        "name": "get network-route-two from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3260,\r
-        "y": 1049.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1727bd6.343d1c3",\r
-                "193b021d.8148b6",\r
-                "fa057cc5.1269c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a1f10f8e.c2622",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3472,\r
-        "y": 847,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "ef53d37a.78768"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ab6386aa.ce2908",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3467.509033203125,\r
-        "y": 896.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2e203f6c.c03ed"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "465cfd34.a22f5c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3471.509033203125,\r
-        "y": 949.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "187fdc98.499a83"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ef53d37a.78768",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3620.571533203125,\r
-        "y": 846.2857666015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2e203f6c.c03ed",\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": 3610.509033203125,\r
-        "y": 896.426025390625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1727bd6.343d1c3",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3483,\r
-        "y": 1019.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d09d8aa1.f9ab4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "193b021d.8148b6",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3478.509033203125,\r
-        "y": 1069.4259033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b9e292a1.c9c0e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fa057cc5.1269c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3479.509033203125,\r
-        "y": 1122.4259033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "eb27f87a.b5a63"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d09d8aa1.f9ab4",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3631.571533203125,\r
-        "y": 1019.28564453125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b9e292a1.c9c0e8",\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": 3621.509033203125,\r
-        "y": 1069.4259033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "187fdc98.499a83",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3633,\r
-        "y": 949,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c01f8fee.f337d8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "eb27f87a.b5a63",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3633,\r
-        "y": 1121.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1b75ad85.419ffa"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c01f8fee.f337d8",\r
-        "type": "switchNode",\r
-        "name": "switch nr type",\r
-        "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3805,\r
-        "y": 949,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "363c4a34.666d16",\r
-                "db7701b7.1114a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1b75ad85.419ffa",\r
-        "type": "switchNode",\r
-        "name": "switch nr type",\r
-        "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3806,\r
-        "y": 1122,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "be2b6c76.ff3af8",\r
-                "8a677a0d.0b4e4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "363c4a34.666d16",\r
-        "type": "outcome",\r
-        "name": "ROOT",\r
-        "xml": "<outcome value='ROOT'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3981,\r
-        "y": 928,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "91c5280b.7efb48"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "db7701b7.1114a8",\r
-        "type": "outcome",\r
-        "name": "LEAF",\r
-        "xml": "<outcome value='LEAF'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3983,\r
-        "y": 982,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "feb127dc.b0fca"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "be2b6c76.ff3af8",\r
-        "type": "outcome",\r
-        "name": "ROOT",\r
-        "xml": "<outcome value='ROOT'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3982,\r
-        "y": 1092,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "66434378.88cb14"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8a677a0d.0b4e4",\r
-        "type": "outcome",\r
-        "name": "LEAF",\r
-        "xml": "<outcome value='LEAF'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3984,\r
-        "y": 1146,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7a8a47a9.7cb0d8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9215f524.47a16",\r
-        "type": "set",\r
-        "name": "set network-route-ROOT",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4291,\r
-        "y": 880,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c685113.a58967",\r
-        "type": "set",\r
-        "name": "set network-route-LEAF",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4284,\r
-        "y": 978,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9ce6893.2318f78",\r
-        "type": "set",\r
-        "name": "set network-route-ROOT",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4284,\r
-        "y": 1065,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "82c37441.0afd98",\r
-        "type": "set",\r
-        "name": "set network-route-LEAF",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4288,\r
-        "y": 1158,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "33d383f1.734384",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3515,\r
-        "y": 1567,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "538c6639.6c6368"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1103f778.e68a59",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3524.490966796875,\r
-        "y": 1609.5740356445312,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a7a47c61.df546"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e542ccd0.a278f8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3513,\r
-        "y": 1656,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "754b02d5.434a64"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9291fa20.ad2b7",\r
-        "type": "comment",\r
-        "name": "Question?",\r
-        "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
-        "comments": "",\r
-        "x": 3215,\r
-        "y": 1529,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2345afcc.0ac648",\r
-        "type": "save",\r
-        "name": "get p-interface-src from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3258,\r
-        "y": 1594,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "33d383f1.734384",\r
-                "1103f778.e68a59",\r
-                "e542ccd0.a278f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c39134de.e7bb78",\r
-        "type": "execute",\r
-        "name": "execute split tp-id to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3259,\r
-        "y": 1264,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "846097ad.2e1c3",\r
-                "39e06a12.c523ae"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "39e06a12.c523ae",\r
-        "type": "failure",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3482,\r
-        "y": 1250,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "f0966fa1.0b829"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "846097ad.2e1c3",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3484,\r
-        "y": 1283,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "36674d51.b9eb9a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "538c6639.6c6368",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3687.66650390625,\r
-        "y": 1566,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6fff18a2.92ea08",\r
-                "f3044461.d6a5a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a7a47c61.df546",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3678.0623779296875,\r
-        "y": 1612.8597717285156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "754b02d5.434a64",\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": 3682,\r
-        "y": 1657,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6fff18a2.92ea08",\r
-        "type": "execute",\r
-        "name": "execute split tp-id to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3952,\r
-        "y": 1550,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d1ee9b94.2f27a",\r
-                "6eb5b0d3.7baf78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6eb5b0d3.7baf78",\r
-        "type": "failure",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4175,\r
-        "y": 1505,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "f1c76342.65c028"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d1ee9b94.2f27a",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4177,\r
-        "y": 1569,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7b8cb4e4.928c34"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7b8cb4e4.928c34",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
-        "comments": "",\r
-        "x": 4339,\r
-        "y": 1565,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f1c76342.65c028",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4340,\r
-        "y": 1502,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2b4fe89a.1b97b",\r
-                "666bc5e4.57107c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "272ec148.b5240e",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3954,\r
-        "y": 1709,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5865c90a.cd5358",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3999,\r
-        "y": 1619,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "cab25a0.579bfa8",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4082,\r
-        "y": 1757,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "36674d51.b9eb9a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
-        "comments": "",\r
-        "x": 3627,\r
-        "y": 1280,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f0966fa1.0b829",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3630,\r
-        "y": 1243,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1289ab88.c47cfc",\r
-                "43b7d27f.a3c314"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1289ab88.c47cfc",\r
-        "type": "set",\r
-        "name": "set pnf-name",\r
-        "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
-        "comments": "",\r
-        "x": 3804,\r
-        "y": 1199,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f3044461.d6a5a8",\r
-        "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3906,\r
-        "y": 1834,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1efd3cc0.01265b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1efd3cc0.01265b",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4112,\r
-        "y": 1834,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "42b8e904.3e26e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "42b8e904.3e26e8",\r
-        "type": "outcome",\r
-        "name": "tunnel-termination-point",\r
-        "xml": "<outcome value='tunnel-termination-point'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4327.28564453125,\r
-        "y": 1833.82177734375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c27d35dc.5f20a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "43b7d27f.a3c314",\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": 3819,\r
-        "y": 1310,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "818754d0.62847",\r
-                "ffd47564.1fe1e",\r
-                "154b0ca5.d55e4b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "818754d0.62847",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4014.5001220703125,\r
-        "y": 1262,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c3499a0a.3a08a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ffd47564.1fe1e",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4006.5001220703125,\r
-        "y": 1317,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "deee5298.4209e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "154b0ca5.d55e4b",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4011.5001220703125,\r
-        "y": 1374,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a4184f75.2f4fc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a4184f75.2f4fc8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4163.5001220703125,\r
-        "y": 1375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "deee5298.4209e",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4174.5001220703125,\r
-        "y": 1320,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c3499a0a.3a08a",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4158.8824462890625,\r
-        "y": 1259.6556701660156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "ece91d8.33480e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ece91d8.33480e",\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": 4343,\r
-        "y": 1274,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3d2e74e0.b28254"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "666bc5e4.57107c",\r
-        "type": "set",\r
-        "name": "set ltpId",\r
-        "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
-        "comments": "",\r
-        "x": 4510,\r
-        "y": 1460,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2b4fe89a.1b97b",\r
-        "type": "set",\r
-        "name": "set pnf-name",\r
-        "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
-        "comments": "",\r
-        "x": 4511,\r
-        "y": 1568,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "990e20c9.dc548",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME",\r
-        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
-        "comments": "",\r
-        "x": 4512,\r
-        "y": 1517,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c27d35dc.5f20a",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4534.1171875,\r
-        "y": 1834.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4705b8ac.369ff8",\r
-                "140bf681.97f4d1",\r
-                "169362ec.4e0805"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4705b8ac.369ff8",\r
-        "type": "set",\r
-        "name": "set source ttp-id",\r
-        "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
-        "comments": "",\r
-        "x": 4749.1171875,\r
-        "y": 1796.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "140bf681.97f4d1",\r
-        "type": "get-resource",\r
-        "name": "get-resource src TTP",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4746.1171875,\r
-        "y": 1835.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "44788f51.dcb608"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "169362ec.4e0805",\r
-        "type": "break",\r
-        "name": "break",\r
-        "xml": "<break>\n",\r
-        "comments": "",\r
-        "x": 4701.6171875,\r
-        "y": 1877.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "44788f51.dcb608",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4926.6171875,\r
-        "y": 1834.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "96d5e3b9.3b004"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a25be771.e58d08",\r
-        "type": "outcome",\r
-        "name": "esr-thirdparty-sdnc",\r
-        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4741,\r
-        "y": 1278,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "766cd179.71ceb"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "766cd179.71ceb",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4918,\r
-        "y": 1270,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4a39420e.bbc88c",\r
-                "db93fd8f.b0686"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3d2e74e0.b28254",\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": 4538,\r
-        "y": 1274,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a25be771.e58d08",\r
-                "a5fe54fc.22f278"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a5fe54fc.22f278",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4744,\r
-        "y": 1352,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b8ffc162.40264"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b8ffc162.40264",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4921,\r
-        "y": 1344,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "401010e9.39d95"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "96d5e3b9.3b004",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 5084.6171875,\r
-        "y": 1834.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "8dcf461b.b0a6b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8dcf461b.b0a6b8",\r
-        "type": "set",\r
-        "name": "set source tunnel tp ip",\r
-        "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
-        "comments": "",\r
-        "x": 5291.6171875,\r
-        "y": 1834.34033203125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "db93fd8f.b0686",\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": 5126,\r
-        "y": 1277,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1554906a.f71e68",\r
-                "e44344a3.bb67b8",\r
-                "e5d285d7.a1a42"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4a39420e.bbc88c",\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": 5156,\r
-        "y": 1225,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1554906a.f71e68",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5336,\r
-        "y": 1268,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "169a2bda.d46874"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e44344a3.bb67b8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5328,\r
-        "y": 1323,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "81a51254.f91678"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e5d285d7.a1a42",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5333,\r
-        "y": 1380,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "318f7e74.4a0292"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "318f7e74.4a0292",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 5485,\r
-        "y": 1381,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "81a51254.f91678",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 5496,\r
-        "y": 1326,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "169a2bda.d46874",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5480.38232421875,\r
-        "y": 1265.6556701660156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "40d562bc.5b73a4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "401010e9.39d95",\r
-        "type": "set",\r
-        "name": "set domainA ethernet layer network-id",\r
-        "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
-        "comments": "",\r
-        "x": 5156,\r
-        "y": 1468,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "40d562bc.5b73a4",\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": 5695,\r
-        "y": 1262,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8e9cd61c.43d1a",\r
-        "type": "set",\r
-        "name": "set network-route-B",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4279,\r
-        "y": 916,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ecfdf50c.08026",\r
-        "type": "set",\r
-        "name": "set network-route-A",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4270,\r
-        "y": 1014,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "91c5280b.7efb48",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4104,\r
-        "y": 922,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "9215f524.47a16",\r
-                "8e9cd61c.43d1a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "feb127dc.b0fca",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4110,\r
-        "y": 986,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c685113.a58967",\r
-                "ecfdf50c.08026"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "66434378.88cb14",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4110,\r
-        "y": 1092,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "9ce6893.2318f78",\r
-                "caa465e0.6dcff"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7a8a47a9.7cb0d8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4113,\r
-        "y": 1145,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "82c37441.0afd98",\r
-                "7e59d376.e30294"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "caa465e0.6dcff",\r
-        "type": "set",\r
-        "name": "set network-route-B",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4270,\r
-        "y": 1105,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7e59d376.e30294",\r
-        "type": "set",\r
-        "name": "set network-route-A",\r
-        "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4273,\r
-        "y": 1196,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c59f074a.c0fcd",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3645,\r
-        "y": 2406,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e6449278.7ffcc8",\r
-                "87feacf7.c38bf8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "504f1aa.eb8e864",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3472.33349609375,\r
-        "y": 2407,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c59f074a.c0fcd"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a37a9324.8cee68",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3481.824462890625,\r
-        "y": 2449.5740356445312,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2466115d.057356"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "73c3286f.8eb8c8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3470.33349609375,\r
-        "y": 2496,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e7809543.d60ec"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2466115d.057356",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 3635.3958740234375,\r
-        "y": 2452.8597717285156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e7809543.d60ec",\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": 3639.33349609375,\r
-        "y": 2497,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e6449278.7ffcc8",\r
-        "type": "execute",\r
-        "name": "execute split tp-id to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3931.33349609375,\r
-        "y": 2410.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b831939d.d94",\r
-                "5cb920bb.aff4d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5cb920bb.aff4d",\r
-        "type": "failure",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4154.33349609375,\r
-        "y": 2365.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "cf6e6c99.56f7a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b831939d.d94",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4156.33349609375,\r
-        "y": 2429.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3583978e.f629a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3583978e.f629a8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
-        "comments": "",\r
-        "x": 4315.33349609375,\r
-        "y": 2448.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "cf6e6c99.56f7a",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4319.33349609375,\r
-        "y": 2362.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "528dc079.e1b708",\r
-                "ef41d4a6.237198"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "70e4a574.f2fbdc",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3933.33349609375,\r
-        "y": 2569.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "6fa4c461.e1732c",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3978.33349609375,\r
-        "y": 2479.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "418cf3ce.c7d714",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4060.33349609375,\r
-        "y": 2634.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "2419d5d3.394c4a",\r
-        "type": "save",\r
-        "name": "get p-interface-dst from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3244.33349609375,\r
-        "y": 2442,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "504f1aa.eb8e864",\r
-                "a37a9324.8cee68",\r
-                "73c3286f.8eb8c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b8dec384.717cf",\r
-        "type": "comment",\r
-        "name": "Question?",\r
-        "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
-        "comments": "",\r
-        "x": 3205.33349609375,\r
-        "y": 2386,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a5a8afe4.995398",\r
-        "type": "execute",\r
-        "name": "execute split tp-id to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3262.33349609375,\r
-        "y": 2104.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "9c54fa6.d2aa308",\r
-                "ba5d54d9.fee348"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ba5d54d9.fee348",\r
-        "type": "failure",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3485.33349609375,\r
-        "y": 2090.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "64c87509.eed4dc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9c54fa6.d2aa308",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3487.33349609375,\r
-        "y": 2123.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "bff9d45d.398f6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bff9d45d.398f6",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
-        "comments": "",\r
-        "x": 3630.33349609375,\r
-        "y": 2120.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "64c87509.eed4dc",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3633.33349609375,\r
-        "y": 2083.9998779296875,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "68ddabff.26f77c",\r
-                "3932be0c.eefdc2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "68ddabff.26f77c",\r
-        "type": "set",\r
-        "name": "set pnf-name",\r
-        "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
-        "comments": "",\r
-        "x": 3827.33349609375,\r
-        "y": 2087,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "87feacf7.c38bf8",\r
-        "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3890.33349609375,\r
-        "y": 2719,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1be50176.34f787"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1be50176.34f787",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4096.33349609375,\r
-        "y": 2719,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e1f7ff3.daa43"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e1f7ff3.daa43",\r
-        "type": "outcome",\r
-        "name": "tunnel-termination-point",\r
-        "xml": "<outcome value='tunnel-termination-point'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4313.619140625,\r
-        "y": 2717.82177734375,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2a02e2d9.dc0d9e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3932be0c.eefdc2",\r
-        "type": "get-resource",\r
-        "name": "get-resource src pnf",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3849.33349609375,\r
-        "y": 2155,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2d0f7089.d1dde8",\r
-                "fd005c4a.d8bf",\r
-                "939e8fdc.7e7718"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2d0f7089.d1dde8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4044.8336181640625,\r
-        "y": 2107,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "30cca3a0.b1e984"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fd005c4a.d8bf",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4036.8336181640625,\r
-        "y": 2162,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "13a9ea53.f74e26"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "939e8fdc.7e7718",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4041.8336181640625,\r
-        "y": 2219,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7b021b51.27b804"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7b021b51.27b804",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4193.8336181640625,\r
-        "y": 2220,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "13a9ea53.f74e26",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4204.8336181640625,\r
-        "y": 2165,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "30cca3a0.b1e984",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4189.2159423828125,\r
-        "y": 2104.6556701660156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b6ffbea1.954de"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "528dc079.e1b708",\r
-        "type": "set",\r
-        "name": "set ltpId",\r
-        "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
-        "comments": "",\r
-        "x": 4489.33349609375,\r
-        "y": 2323.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ef41d4a6.237198",\r
-        "type": "set",\r
-        "name": "set pnf-name",\r
-        "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
-        "comments": "",\r
-        "x": 4490.33349609375,\r
-        "y": 2428.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "442d43d7.782e7c",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME",\r
-        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
-        "comments": "",\r
-        "x": 4485.33349609375,\r
-        "y": 2377.0001220703125,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2a02e2d9.dc0d9e",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4520.45068359375,\r
-        "y": 2707.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c9847dda.408b8",\r
-                "34fbe7b.83d4898",\r
-                "25621ae5.b8be26"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c9847dda.408b8",\r
-        "type": "set",\r
-        "name": "set destination ttp-id",\r
-        "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
-        "comments": "",\r
-        "x": 4735.45068359375,\r
-        "y": 2669.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "34fbe7b.83d4898",\r
-        "type": "get-resource",\r
-        "name": "get-resource src TTP",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4732.45068359375,\r
-        "y": 2708.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "57e83a4e.a0aa6c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "25621ae5.b8be26",\r
-        "type": "break",\r
-        "name": "break",\r
-        "xml": "<break>\n",\r
-        "comments": "",\r
-        "x": 4687.95068359375,\r
-        "y": 2750.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "57e83a4e.a0aa6c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4912.95068359375,\r
-        "y": 2707.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1bf054a.fc9602b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1bf054a.fc9602b",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 5070.95068359375,\r
-        "y": 2707.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "84673a73.b83338"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "84673a73.b83338",\r
-        "type": "set",\r
-        "name": "set destination tunnel tp ip",\r
-        "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
-        "comments": "",\r
-        "x": 5277.95068359375,\r
-        "y": 2707.3404541015625,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d76262ee.41fc78",\r
-        "type": "outcome",\r
-        "name": "esr-thirdparty-sdnc",\r
-        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4771.33349609375,\r
-        "y": 2123,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "16ae4cb2.9049f3"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "16ae4cb2.9049f3",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4948.33349609375,\r
-        "y": 2115,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e86ea938.d56ff",\r
-                "3118b07d.f07b4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b6ffbea1.954de",\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": 4373.33349609375,\r
-        "y": 2119,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b9078c68.40a298"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b9078c68.40a298",\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": 4568.33349609375,\r
-        "y": 2119,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d76262ee.41fc78",\r
-                "b2b1c906.01de2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3118b07d.f07b4",\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": 5156.33349609375,\r
-        "y": 2122,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6c958b0a.19f5a4",\r
-                "118baae.84358d5",\r
-                "1250b3fe.a83aa4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a44d9faa.fe0e4",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 4950.33349609375,\r
-        "y": 2188,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b2c88a89.6bb6d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2b1c906.01de2",\r
-        "type": "outcome",\r
-        "name": "network-resource",\r
-        "xml": "<outcome value='network-resource'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4773.33349609375,\r
-        "y": 2196,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a44d9faa.fe0e4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e86ea938.d56ff",\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": 5186.33349609375,\r
-        "y": 2070,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b2c88a89.6bb6d",\r
-        "type": "set",\r
-        "name": "set domainB ethernet layer network-id",\r
-        "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
-        "comments": "",\r
-        "x": 5185.33349609375,\r
-        "y": 2312,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6c958b0a.19f5a4",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5366.33349609375,\r
-        "y": 2113,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2e246f5a.b4103"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "118baae.84358d5",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5358.33349609375,\r
-        "y": 2168,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "66d6dc00.1bed6c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1250b3fe.a83aa4",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5363.33349609375,\r
-        "y": 2225,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "795bee7e.95831"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "795bee7e.95831",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 5515.33349609375,\r
-        "y": 2226,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "66d6dc00.1bed6c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 5526.33349609375,\r
-        "y": 2171,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2e246f5a.b4103",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5510.7158203125,\r
-        "y": 2110.6556701660156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c7de596d.cf628"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c7de596d.cf628",\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": 5725.33349609375,\r
-        "y": 2107,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7c523485.24203c",\r
-        "type": "set",\r
-        "name": "set LEAF stuff",\r
-        "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
-        "comments": "",\r
-        "x": 3224,\r
-        "y": 1717,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fded3756.dad178",\r
-        "type": "comment",\r
-        "name": "This is it (should be)",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4446,\r
-        "y": 1000,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3766add2.8d805a",\r
-        "type": "comment",\r
-        "name": "This is it (should be)",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4438,\r
-        "y": 1090,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6836f0a.48b871",\r
-        "type": "set",\r
-        "name": "set ROOT stuff",\r
-        "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
-        "comments": "",\r
-        "x": 3205,\r
-        "y": 2573,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b794c846.a3a7a8",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3356,\r
-        "y": 2821,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "2e62e80b.5f4db",\r
-        "type": "switchNode",\r
-        "name": "switch found-middle-man?",\r
-        "xml": "<switch test='`$found-middle-man`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3233,\r
-        "y": 2931,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "91c4e5f7.8ea498",\r
-                "651d0ecc.91f9"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "91c4e5f7.8ea498",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3417,\r
-        "y": 2910,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e83ca4b2.702b38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "651d0ecc.91f9",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3348,\r
-        "y": 4835,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e7980e09.0eb63"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e7980e09.0eb63",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3503,\r
-        "y": 4828,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "1aa8a9f7.34b03e",\r
-                "b0ed6ff1.30772",\r
-                "727be5c.c27771c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e83ca4b2.702b38",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3560,\r
-        "y": 2910,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "d8bbc948.15f3d",\r
-                "4c5911e7.00bf",\r
-                "12a3e526.881a1b",\r
-                "832127bd.deb14",\r
-                "310c39f.91bd146",\r
-                "10ac9372.85589d",\r
-                "eff2b9f.ec05748",\r
-                "e161ec1a.4abce",\r
-                "9f446fe.9ec171",\r
-                "53557e78.f7c168",\r
-                "a884ac0.a40fdd8",\r
-                "7b528859.fb04",\r
-                "4b76c053.d564f8",\r
-                "90ff1f35.eee16",\r
-                "1b3c7e18.ddb16a",\r
-                "3e78a7bc.55ca98",\r
-                "8cf629c6.d63328"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9f446fe.9ec171",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3871,\r
-        "y": 3265,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d8bbc948.15f3d",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3825,\r
-        "y": 3363,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "4c5911e7.00bf",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3961,\r
-        "y": 3410,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "ec410c1b.c077a8",\r
-        "type": "comment",\r
-        "name": "Create ROOT connectivity",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3792,\r
-        "y": 3214,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d6af901.13a67f",\r
-        "type": "comment",\r
-        "name": "create middle man connectivity and ...",\r
-        "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
-        "comments": "",\r
-        "x": 4318,\r
-        "y": 3705,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "12a3e526.881a1b",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity middle-man",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3882,\r
-        "y": 3744,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "832127bd.deb14",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3830,\r
-        "y": 3795,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "310c39f.91bd146",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3966,\r
-        "y": 3842,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "dff7d863.27131",\r
-        "type": "comment",\r
-        "name": "Create MIDDLE-MAN connectivity",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3823,\r
-        "y": 3704,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7b814ee5.031238",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4253,\r
-        "y": 3901,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "10ac9372.85589d",\r
-        "type": "save",\r
-        "name": "get middle-man connectivity from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3844,\r
-        "y": 3948,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7001b67.e717f48",\r
-                "2d31ff61.2f04d",\r
-                "ccc557b3.890908"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7001b67.e717f48",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4091,\r
-        "y": 3902,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "7b814ee5.031238"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2d31ff61.2f04d",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4091.490966796875,\r
-        "y": 3947.5740356445312,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "cf949a05.c89aa8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ccc557b3.890908",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4089,\r
-        "y": 3991,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "e98195a6.6d12"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cf949a05.c89aa8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4254.0623779296875,\r
-        "y": 3947.8597717285156,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e98195a6.6d12",\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": 4258,\r
-        "y": 3992,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1b3c7e18.ddb16a",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3901,\r
-        "y": 4227,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "3e78a7bc.55ca98",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3904,\r
-        "y": 4272,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "15c4d898.5d69ef",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3893,\r
-        "y": 4063,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b9514e95.f8a09",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3895,\r
-        "y": 4110,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c557914b.681778",\r
-        "type": "comment",\r
-        "name": "The following two will be done in F1",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3817,\r
-        "y": 4180,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "55d807b9.9e0f1",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4424,\r
-        "y": 4909,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1aa8a9f7.34b03e",\r
-        "type": "switchNode",\r
-        "name": "switch no-pce-call",\r
-        "xml": "<switch test='`$no-pce-call`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3718,\r
-        "y": 4809,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "449091f.4415ef",\r
-                "1ea76e22.242bea"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1ea76e22.242bea",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3890,\r
-        "y": 4806,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "8b1b5cc1.1af92"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "449091f.4415ef",\r
-        "type": "outcomeFalse",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3803,\r
-        "y": 5906,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6b1cb253.86fb4c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c26b2751.5ae09",\r
-        "type": "comment",\r
-        "name": "1 --> PCE is needed",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3903,\r
-        "y": 4776,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ace6e9f0.39e568",\r
-        "type": "comment",\r
-        "name": "2 --> no need to call PCE",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3874,\r
-        "y": 5864,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "eff2b9f.ec05748",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3901,\r
-        "y": 4336,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8b1b5cc1.1af92",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4066,\r
-        "y": 4808,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "92650fb7.4fb248",\r
-                "32b221b8.94e72e",\r
-                "c940cf7e.ee51b",\r
-                "dce0cedd.454b5",\r
-                "5ecdaa6f.e24ff4",\r
-                "3829dc12.3b5b24"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6001979f.e727",\r
-        "type": "comment",\r
-        "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 5472,\r
-        "y": 4534,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "92650fb7.4fb248",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4419,\r
-        "y": 5212,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "4d81f93.f62ae88",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3911,\r
-        "y": 4391,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9c2b0edc.50b4c",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4447,\r
-        "y": 5263,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e161ec1a.4abce",\r
-        "type": "save",\r
-        "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3877,\r
-        "y": 3604,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d5e12d5f.415ec",\r
-        "type": "save",\r
-        "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3337,\r
-        "y": 1823,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "47f64a4f.cc38f4",\r
-        "type": "save",\r
-        "name": "save LEAF UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3244,\r
-        "y": 1770,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "461bf5c9.7233b4",\r
-        "type": "set",\r
-        "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
-        "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
-        "comments": "",\r
-        "x": 3927,\r
-        "y": 3307,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "53557e78.f7c168",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3874,\r
-        "y": 2895,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a884ac0.a40fdd8",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3822,\r
-        "y": 2943,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "7b528859.fb04",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3950,\r
-        "y": 2990,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "145ad0a4.4a593f",\r
-        "type": "comment",\r
-        "name": "Create LEAF connectivity",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3787,\r
-        "y": 2853,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4b76c053.d564f8",\r
-        "type": "save",\r
-        "name": "save LEAF UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3784,\r
-        "y": 3081,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "90ff1f35.eee16",\r
-        "type": "save",\r
-        "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3877,\r
-        "y": 3134,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f9c3a7e4.4b967",\r
-        "type": "comment",\r
-        "name": "Create LEAF UNI",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3768,\r
-        "y": 3037,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c6c09b88.1384d8",\r
-        "type": "comment",\r
-        "name": "Create ROOT UNI",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3774,\r
-        "y": 3487,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "dce0cedd.454b5",\r
-        "type": "save",\r
-        "name": "save LEAF UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4341,\r
-        "y": 4542,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d819a295.d1d948",\r
-        "type": "comment",\r
-        "name": "Create LEAF UNI",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4325,\r
-        "y": 4498,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8a0e3e5f.c139f",\r
-        "type": "comment",\r
-        "name": "Create LEAF connectivity",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 5072,\r
-        "y": 4529,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3d40af5d.b5351",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for connectivity domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5159,\r
-        "y": 4571,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "113bf6b.aca4d89",\r
-        "type": "save",\r
-        "name": "save connectivity resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5107,\r
-        "y": 4619,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e3b325e.735f958",\r
-        "type": "save",\r
-        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5235,\r
-        "y": 4666,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "3829dc12.3b5b24",\r
-        "type": "save",\r
-        "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4412,\r
-        "y": 4951,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "78032561.382d8c",\r
-        "type": "comment",\r
-        "name": "populate connectivity-B variable in the context map",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4395,\r
-        "y": 5013,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "32b221b8.94e72e",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4506,\r
-        "y": 5055,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "ddb22b48.c7951",\r
-        "type": "set",\r
-        "name": "set prop.connectivity-domainB-uuid",\r
-        "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4954,\r
-        "y": 5108,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8dae734b.2f3cf",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4264,\r
-        "y": 5806,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "6b696600.0c94ac",\r
-        "type": "save",\r
-        "name": "save LEAF UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4162,\r
-        "y": 5755,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "63a3c79e.874c38",\r
-        "type": "comment",\r
-        "name": "Create LEAF UNI",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4146,\r
-        "y": 5711,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f7343942.604c5",\r
-        "type": "save",\r
-        "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4921,\r
-        "y": 5967,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c940cf7e.ee51b",\r
-        "type": "switchNode",\r
-        "name": "switch found-root-connectivity",\r
-        "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4333,\r
-        "y": 5112,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b0427d82.5bfe9",\r
-                "b8ae94d3.c9ad9"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b0427d82.5bfe9",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4544,\r
-        "y": 5112,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "25de2beb.6b950c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "25de2beb.6b950c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4700,\r
-        "y": 5108,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "ddb22b48.c7951"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b8ae94d3.c9ad9",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4540,\r
-        "y": 5160,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "bc7f369f.c4ff98"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bc7f369f.c4ff98",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
-        "comments": "",\r
-        "x": 4688,\r
-        "y": 5155,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9a0e4d6a.9ad2e",\r
-        "type": "save",\r
-        "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5196,\r
-        "y": 4737,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8ffbf90a.9a2a4",\r
-        "type": "execute",\r
-        "name": "execute UUID generator for ethernet-service-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2362,\r
-        "y": 148,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9ccad127.ffcf6",\r
-        "type": "set",\r
-        "name": "set new ethernet-service-name",\r
-        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2296,\r
-        "y": 184,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9431421f.8473c8",\r
-        "type": "comment",\r
-        "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2481,\r
-        "y": 111,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4acaf17d.83ce3",\r
-        "type": "set",\r
-        "name": "set current-provider-id and current-cvlan-id",\r
-        "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
-        "comments": "",\r
-        "x": 4231,\r
-        "y": 5872,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "26219883.65a92",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4364,\r
-        "y": 5920,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1d162fbe.3673a",\r
-        "type": "switchNode",\r
-        "name": "switch found-connectivity?",\r
-        "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4183,\r
-        "y": 5978,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b4622dbc.20b678",\r
-                "1a01b81f.922a4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b4622dbc.20b678",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4376,\r
-        "y": 5979,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b10bfde8.027e5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b10bfde8.027e5",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
-        "comments": "",\r
-        "x": 4532,\r
-        "y": 5976,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1a01b81f.922a4",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4380,\r
-        "y": 6023,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6ceb0be5.2a433c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6ceb0be5.2a433c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4519,\r
-        "y": 6018,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "f7343942.604c5",\r
-                "c05fdbdc.265b6",\r
-                "97927bbc.dcd8c8",\r
-                "1cb127d3.5a2788",\r
-                "f2b1cf37.e0a26",\r
-                "8f16ceb.590e9b",\r
-                "60b731fb.d0503",\r
-                "bcde9e56.e926a",\r
-                "c55840d4.91858",\r
-                "9ff86b70.d2fcb"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "60b731fb.d0503",\r
-        "type": "save",\r
-        "name": "get all-vpn-bindings from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4716,\r
-        "y": 6697,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "cedc6e.0697a39",\r
-                "a047ea62.8c149",\r
-                "e7b3fd60.6832b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cedc6e.0697a39",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4921,\r
-        "y": 6694,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "193246bb.dba7e9"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a047ea62.8c149",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4904.490966796875,\r
-        "y": 6755.574035644531,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6166d474.1f401c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e7b3fd60.6832b8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4902,\r
-        "y": 6799,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "a8cf7040.6462c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "193246bb.dba7e9",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 5077,\r
-        "y": 6708,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "8ab9510b.66ea08"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6166d474.1f401c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 5067.0623779296875,\r
-        "y": 6755.859771728516,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a8cf7040.6462c8",\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": 5069,\r
-        "y": 6798,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8ab9510b.66ea08",\r
-        "type": "for",\r
-        "name": "for vpnidx in all-vpn-bindings",\r
-        "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5324,\r
-        "y": 6705,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "4468378.6607f48"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4468378.6607f48",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5561,\r
-        "y": 6701,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "fb8fcf56.6ea2f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fb8fcf56.6ea2f8",\r
-        "type": "switchNode",\r
-        "name": "switch vpnuuid is for this slice",\r
-        "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5808,\r
-        "y": 6703,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "b35a7d25.7fd0a",\r
-                "74f376ab.a729f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b35a7d25.7fd0a",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 6009,\r
-        "y": 6693,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "53ea7250.143694"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "74f376ab.a729f",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 6008,\r
-        "y": 6646,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "53ea7250.143694",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4752,\r
-        "y": 6968,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2651f488.54465c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "26dbc9a6.ab4616",\r
-        "type": "set",\r
-        "name": "set tmp.aai.the-vpn-binding",\r
-        "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
-        "comments": "",\r
-        "x": 5601,\r
-        "y": 6873,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fba4365f.21d6b",\r
-        "type": "comment",\r
-        "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 4814,\r
-        "y": 6644,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8f16ceb.590e9b",\r
-        "type": "set",\r
-        "name": "set srcTtp OTN layer",\r
-        "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 4698,\r
-        "y": 6493,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "db5a4ceb.707c88",\r
-        "type": "switchNode",\r
-        "name": "switch provider-id domainA",\r
-        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5043,\r
-        "y": 6324,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "45fd9533.be2acc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "45fd9533.be2acc",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5263,\r
-        "y": 6330,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "530fb98.e048cc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "530fb98.e048cc8",\r
-        "type": "switchNode",\r
-        "name": "switch te-topo-id",\r
-        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5448,\r
-        "y": 6329,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "36abe2fe.4a9a96"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "36abe2fe.4a9a96",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5640,\r
-        "y": 6332,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "75415a60.e2b3b4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "75415a60.e2b3b4",\r
-        "type": "set",\r
-        "name": "set otnTopoIdSrc",\r
-        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
-        "comments": "",\r
-        "x": 5849,\r
-        "y": 6330,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "bcde9e56.e926a",\r
-        "type": "for",\r
-        "name": "for netwidx..allNetworksList_length",\r
-        "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4750,\r
-        "y": 6318,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "db5a4ceb.707c88"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "97927bbc.dcd8c8",\r
-        "type": "get-resource",\r
-        "name": "get-resource network-resources-list",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4758,\r
-        "y": 6211,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "2440c6c.5eeb4ba",\r
-                "8721d82f.3e0a3",\r
-                "3f152fd2.1f0f28"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2440c6c.5eeb4ba",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4994,\r
-        "y": 6194,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8721d82f.3e0a3",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4991,\r
-        "y": 6235,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "3f152fd2.1f0f28",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5005,\r
-        "y": 6275,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1cb127d3.5a2788",\r
-        "type": "set",\r
-        "name": "unset parameters",\r
-        "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
-        "comments": "",\r
-        "x": 4694,\r
-        "y": 6370,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f2b1cf37.e0a26",\r
-        "type": "set",\r
-        "name": "set tmp.pce-src-node",\r
-        "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
-        "comments": "",\r
-        "x": 4702,\r
-        "y": 6428,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c05fdbdc.265b6",\r
-        "type": "set",\r
-        "name": "unset parameters",\r
-        "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
-        "comments": "",\r
-        "x": 4707,\r
-        "y": 6168,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b11f8629.171c6",\r
-        "type": "comment",\r
-        "name": "The following section is to find srcTtp OTN layer (its long name)",\r
-        "info": "The following section is to find srcTtp OTN layer (its long name)",\r
-        "comments": "",\r
-        "x": 4822,\r
-        "y": 6120,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2651f488.54465c",\r
-        "type": "switchNode",\r
-        "name": "switch ops-note is srcTtpOtnLayer",\r
-        "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4995,\r
-        "y": 6965,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "69eb57bf.22dfc8",\r
-                "815687f4.685f18"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "69eb57bf.22dfc8",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5224,\r
-        "y": 6942,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3784edbf.83acfa"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "815687f4.685f18",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5224,\r
-        "y": 6991,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "3784edbf.83acfa",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5385,\r
-        "y": 6947,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6a238d9a.9b2fec",\r
-                "26dbc9a6.ab4616",\r
-                "2310374c.1d397"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bb082a0b.0ed128",\r
-        "type": "comment",\r
-        "name": "increase the bw of the-vpn-binding and change status to modified",\r
-        "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
-        "comments": "",\r
-        "x": 5729,\r
-        "y": 6927,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2310374c.1d397",\r
-        "type": "save",\r
-        "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
-        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 5699,\r
-        "y": 6987,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "6a238d9a.9b2fec",\r
-        "type": "set",\r
-        "name": "unset tmp.aai.the-vpn-binding",\r
-        "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
-        "comments": "",\r
-        "x": 5606,\r
-        "y": 6815,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6b1cb253.86fb4c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3955,\r
-        "y": 5905,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "6b696600.0c94ac",\r
-                "4acaf17d.83ce3",\r
-                "26219883.65a92",\r
-                "1d162fbe.3673a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4a1e792c.5d4bf8",\r
-        "type": "set",\r
-        "name": "unset otnTopoIdSrc",\r
-        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
-        "comments": "",\r
-        "x": 4699,\r
-        "y": 6268,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c55840d4.91858",\r
-        "type": "save",\r
-        "name": "update connectivity resource in AAI",\r
-        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4814,\r
-        "y": 6048,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f6160d91.b00c5",\r
-        "type": "comment",\r
-        "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
-        "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
-        "comments": "",\r
-        "x": 4951,\r
-        "y": 5998,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d896a0c9.160fe8",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4278,\r
-        "y": 6108,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "8cf629c6.d63328",\r
-        "type": "save",\r
-        "name": "save ROOT UNI in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3790,\r
-        "y": 3546,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2b24558.6d75f8",\r
-        "type": "comment",\r
-        "name": "NOT NEEDED ANYMORE?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3972,\r
-        "y": 1801,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "bb31c80c.f29398",\r
-        "type": "comment",\r
-        "name": "NOT NEEDED ANYMORE?",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3950,\r
-        "y": 2671,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f5dbe745.5a7ca",\r
-        "type": "comment",\r
-        "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3781,\r
-        "y": 4013,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "58aa906f.8d52e",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3462,\r
-        "y": 6045,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b0ed6ff1.30772",\r
-        "type": "set",\r
-        "name": "set current-provider-id and current-cvlan-id",\r
-        "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
-        "comments": "",\r
-        "x": 3712,\r
-        "y": 4669,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "727be5c.c27771c",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3845,\r
-        "y": 4717,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5ecdaa6f.e24ff4",\r
-        "type": "switchNode",\r
-        "name": "switch found-connectivity?",\r
-        "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4352,\r
-        "y": 4598,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "27ad8f3e.2bb148",\r
-                "1abb8af.fa663f5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "27ad8f3e.2bb148",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4545,\r
-        "y": 4599,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "c5f554a7.be6918"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1abb8af.fa663f5",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4549,\r
-        "y": 4643,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "359fab60.1e1edc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "359fab60.1e1edc",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4688,\r
-        "y": 4638,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "9fca53b1.0733f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c5f554a7.be6918",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4688,\r
-        "y": 4595,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            [\r
-                "3d40af5d.b5351",\r
-                "113bf6b.aca4d89",\r
-                "e3b325e.735f958",\r
-                "9a0e4d6a.9ad2e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9fca53b1.0733f",\r
-        "type": "set",\r
-        "name": "set prop.connectivity-domainA-uuid",\r
-        "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 5082,\r
-        "y": 4889,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fa5528e4.cedd58",\r
-        "type": "comment",\r
-        "name": "populate connectivity-A variable in the context map",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 5089,\r
-        "y": 4843,\r
-        "z": "2902829f.18c74e",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9ff86b70.d2fcb",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4887,\r
-        "y": 6593,\r
-        "z": "2902829f.18c74e",\r
-        "wires": [\r
-            []\r
-        ]\r
-    }\r
+  {\r
+    "id": "77a1d01c.aa0f88",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 168.56666564941406,\r
+    "y": 174.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1e3c1648.671ee2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e3c1648.671ee2",\r
+    "type": "service-logic",\r
+    "name": "GENERIC-RESOURCE-API ${project.version}",\r
+    "module": "GENERIC-RESOURCE-API",\r
+    "version": "${project.version}",\r
+    "comments": "",\r
+    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
+    "outputs": 1,\r
+    "x": 452.85235595703125,\r
+    "y": 235.8047742843628,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "cf91a24a.cfe63"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cf91a24a.cfe63",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-create-clean",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 458.9952697753906,\r
+    "y": 320.5666961669922,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8dc5a038.179a08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8dc5a038.179a08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 808.5666656494141,\r
+    "y": 379.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9b12be39.ac6768",\r
+        "27bb57a4.5f987",\r
+        "2a2da752.b59748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b12be39.ac6768",\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": 1109.900161743164,\r
+    "y": 650.4969635009766,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "27bb57a4.5f987",\r
+    "type": "save",\r
+    "name": "get service-instance from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1131.328628540039,\r
+    "y": 352.8999786376953,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "6a4d10dc.68d4a",\r
+        "5691a128.aafbf8",\r
+        "5af1bedf.a7a338"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a4d10dc.68d4a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1356.328628540039,\r
+    "y": 210.8999786376953,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "80bca2fd.976568"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5691a128.aafbf8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1351.819595336914,\r
+    "y": 280.47401428222656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f99fec5.4581e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5af1bedf.a7a338",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1340.328628540039,\r
+    "y": 326.8999786376953,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "811c97ff.d24ba8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1663aedd.7a50f9",\r
+    "type": "comment",\r
+    "name": "new for TransportSlicing",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1110.328628540039,\r
+    "y": 240.8999786376953,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2a2da752.b59748",\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": 1098.328628540039,\r
+    "y": 292.8999786376953,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "80bca2fd.976568",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resources_length != 0",\r
+    "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1596.566665649414,\r
+    "y": 207.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9eedb337.58df9",\r
+        "1db64f77.692391"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f99fec5.4581e",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 1506.6290435791016,\r
+    "y": 283.4264373779297,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "811c97ff.d24ba8",\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": 1510.566665649414,\r
+    "y": 327.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9eedb337.58df9",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1801.566665649414,\r
+    "y": 244.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e3d32c54.b9a328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1db64f77.692391",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1811.566665649414,\r
+    "y": 171.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e3d32c54.b9a328",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1794.566665649414,\r
+    "y": 319.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bb266e42.d64ce8",\r
+        "33816966.623666",\r
+        "6367b887.741ef",\r
+        "a5dc6d6.f390b9",\r
+        "c617e6ee.8b983"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "410f1f1c.a0bc8",\r
+    "type": "save",\r
+    "name": "get allotted-resource from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2280.566665649414,\r
+    "y": 370.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b15d3419.e56af8",\r
+        "8179030d.1dc9b8",\r
+        "c175e9c7.17a5f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b15d3419.e56af8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2496.566665649414,\r
+    "y": 437.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e4dfd7bc.ebf1f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8179030d.1dc9b8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2497.057632446289,\r
+    "y": 337.14064025878906,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a4be790d.e1feb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c175e9c7.17a5f8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2492.566665649414,\r
+    "y": 386.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7226e4d.271f21c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb266e42.d64ce8",\r
+    "type": "for",\r
+    "name": "for each allotted-resource",\r
+    "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1997.566665649414,\r
+    "y": 351.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a610825f.3baab8",\r
+        "410f1f1c.a0bc8",\r
+        "5b668059.1f482",\r
+        "989a0e11.127538"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a610825f.3baab8",\r
+    "type": "set",\r
+    "name": "set the current allotted-resource-id",\r
+    "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2277.566665649414,\r
+    "y": 289.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a5dc6d6.f390b9",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+    "comments": "",\r
+    "x": 1971.566665649414,\r
+    "y": 301.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "33816966.623666",\r
+    "type": "get-resource",\r
+    "name": "get-resource pnfs-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2014.566665649414,\r
+    "y": 160.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6367b887.741ef",\r
+    "type": "get-resource",\r
+    "name": "get-resource logical-links",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2026.566665649414,\r
+    "y": 201.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc72be6f.8dc5b",\r
+    "type": "comment",\r
+    "name": "The following two nodes are for PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2051.566665649414,\r
+    "y": 113.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "999645ff.8d79f8",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+    "comments": "",\r
+    "x": 1971.566665649414,\r
+    "y": 247.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a4be790d.e1feb",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 2675.566665649414,\r
+    "y": 339.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7226e4d.271f21c",\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": 2675.504165649414,\r
+    "y": 388.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e4dfd7bc.ebf1f8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2677.504165649414,\r
+    "y": 439.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4971434.1d7e03c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4971434.1d7e03c",\r
+    "type": "save",\r
+    "name": "get allotted-resource relationship from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2970.504165649414,\r
+    "y": 386.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "24e6d7c1.5d2048",\r
+        "3ed3e5cb.f1266a",\r
+        "c01f466a.2c59b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ed3e5cb.f1266a",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3273.995101928711,\r
+    "y": 119.28089904785156,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "23469507.c7cb02"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23469507.c7cb02",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3451.566635131836,\r
+    "y": 119.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c01f466a.2c59b8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3269.504135131836,\r
+    "y": 168.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "196361cf.857fbe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "196361cf.857fbe",\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": 3451.504135131836,\r
+    "y": 168.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24e6d7c1.5d2048",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3273.504135131836,\r
+    "y": 219.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "51b732b0.20c4ec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "51b732b0.20c4ec",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3453.504135131836,\r
+    "y": 219.70692443847656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b7af5f8.780582"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7af5f8.780582",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resource.relationship-list not empty",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2989.566665649414,\r
+    "y": 514.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "73dd535b.21de04",\r
+        "941bba5e.9658d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "941bba5e.9658d",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3329.566635131836,\r
+    "y": 361.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "73dd535b.21de04",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3328.566635131836,\r
+    "y": 415.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "33242734.b6ef48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8e081bd8.979208",\r
+    "type": "outcome",\r
+    "name": "network-policy",\r
+    "xml": "<outcome value='network-policy'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4073.566635131836,\r
+    "y": 369.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ce0fbf14.8d016"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce0fbf14.8d016",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4250.566513061523,\r
+    "y": 362.56654357910156,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1a44842.2180c7c",\r
+        "958a84e8.9fbc48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "33242734.b6ef48",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3492.566635131836,\r
+    "y": 341.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "afaee3e0.e6df98",\r
+        "db5b85f.aeb77f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "afaee3e0.e6df98",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3773.566635131836,\r
+    "y": 297.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c2880ab0.c73eb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2880ab0.c73eb",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4035.566635131836,\r
+    "y": 297.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8e081bd8.979208"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1a44842.2180c7c",\r
+    "type": "set",\r
+    "name": "set the 1st network-policy-id",\r
+    "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4493.566513061523,\r
+    "y": 319.56654357910156,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "958a84e8.9fbc48",\r
+    "type": "save",\r
+    "name": "get network-policy from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4482.566513061523,\r
+    "y": 374.56654357910156,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4710cc76.36ad1c",\r
+        "efa019b.ed98a68",\r
+        "b08c41e4.127bd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b08c41e4.127bd8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4733.566879272461,\r
+    "y": 315.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7eb7952c.f46d84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7eb7952c.f46d84",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4882.138412475586,\r
+    "y": 315.85243225097656,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dd0313dc.1a2988",\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": 4881.075912475586,\r
+    "y": 359.99269104003906,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "efa019b.ed98a68",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4722.075912475586,\r
+    "y": 359.99269104003906,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "dd0313dc.1a2988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4710cc76.36ad1c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4729.075912475586,\r
+    "y": 438.99269104003906,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fbbb1a1a.e2c5b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fbbb1a1a.e2c5b8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4868.075912475586,\r
+    "y": 438.99269104003906,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7a803641.fde268",\r
+        "6a2b20cd.32701"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a803641.fde268",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5073.566879272461,\r
+    "y": 436.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a2b20cd.32701",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5072.566879272461,\r
+    "y": 482.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "db5b85f.aeb77f8",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3590.566635131836,\r
+    "y": 413.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3d651743.57b188"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d651743.57b188",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3870.566635131836,\r
+    "y": 413.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "823d6ddb.3083e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "823d6ddb.3083e8",\r
+    "type": "outcome",\r
+    "name": "logical-link",\r
+    "xml": "<outcome value='logical-link'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2253.5667877197266,\r
+    "y": 826.5667877197266,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a4f7cdf6.5208e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4f7cdf6.5208e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2430.566665649414,\r
+    "y": 819.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "eb8d4808.206a1",\r
+        "4f79166b.81752"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb8d4808.206a1",\r
+    "type": "set",\r
+    "name": "set the current logical-link-name",\r
+    "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2673.566665649414,\r
+    "y": 776.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4f79166b.81752",\r
+    "type": "save",\r
+    "name": "get logical-link from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2662.566665649414,\r
+    "y": 831.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "62989b79.9cfe9c",\r
+        "1988a7a4.ff123",\r
+        "85413e7a.b1b628"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "62989b79.9cfe9c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2954.057632446289,\r
+    "y": 810.1406402587891,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f822b8e9.269d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1988a7a4.ff123",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2942.566665649414,\r
+    "y": 854.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b1dab01.deaad5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f822b8e9.269d",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3102.629165649414,\r
+    "y": 810.4264068603516,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b1dab01.deaad5",\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": 3101.566665649414,\r
+    "y": 854.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "85413e7a.b1b628",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2949.566665649414,\r
+    "y": 933.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fb178b5b.3c4ae8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb178b5b.3c4ae8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3088.566665649414,\r
+    "y": 933.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e94ce0e6.cdcf4",\r
+        "2a0a2d05.627212",\r
+        "2d29cc30.4d633c",\r
+        "8255fb50.a7b88",\r
+        "ea28bb0a.303ea8",\r
+        "4b5b0bf9.d92b04",\r
+        "42798389.0acfb4",\r
+        "29a6af57.132c2",\r
+        "18652387.ef4d1c",\r
+        "c49ed897.0159e8",\r
+        "9d2ec307.fb07b8",\r
+        "c81a19d9.9b256",\r
+        "b5b402c1.c35e88",\r
+        "84774758.102ed8",\r
+        "17e6527f.ea49de",\r
+        "c22e8ab9.0a6b88",\r
+        "647f2e19.e50158",\r
+        "9c75cfb6.9dae68",\r
+        "9a8ce081.e6446",\r
+        "c989c621.8b708",\r
+        "88b89d66.20648"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "31581a8c.76364e",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3437.566665649414,\r
+    "y": 467.56663513183594,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e94ce0e6.cdcf4",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for otn-tunnel-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3418.566604614258,\r
+    "y": 546.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "84774758.102ed8",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3375.566604614258,\r
+    "y": 591.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2a0a2d05.627212",\r
+    "type": "set",\r
+    "name": "set network-route-one",\r
+    "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3340.566635131836,\r
+    "y": 645.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d29cc30.4d633c",\r
+    "type": "set",\r
+    "name": "set network-route-two",\r
+    "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3341.566635131836,\r
+    "y": 700.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8255fb50.a7b88",\r
+    "type": "save",\r
+    "name": "get network-route-one from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3339.566635131836,\r
+    "y": 964.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bc9dba3e.42915",\r
+        "4ccb40e3.75eb",\r
+        "6e77d52e.d49a5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea28bb0a.303ea8",\r
+    "type": "save",\r
+    "name": "get network-route-two from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3334.566635131836,\r
+    "y": 1025.5665130615234,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ddf0ef9b.af495",\r
+        "d012a2e6.7e886",\r
+        "c732ba74.e6ac38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc9dba3e.42915",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3650.566635131836,\r
+    "y": 735.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d26a86c.70f36f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4ccb40e3.75eb",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3646.075668334961,\r
+    "y": 784.9926605224609,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3592fdd4.1e4502"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e77d52e.d49a5c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3650.075668334961,\r
+    "y": 837.9926605224609,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f6681e1c.b1626"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d26a86c.70f36f8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3799.138168334961,\r
+    "y": 734.8524017333984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3592fdd4.1e4502",\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": 3789.075668334961,\r
+    "y": 784.9926605224609,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ddf0ef9b.af495",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3612.566604614258,\r
+    "y": 925.5664825439453,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "275632fb.e09a86"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d012a2e6.7e886",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3608.075668334961,\r
+    "y": 967.9925384521484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "984e984a.f448c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c732ba74.e6ac38",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3609.075668334961,\r
+    "y": 1020.9925384521484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2eeb8181.d4367e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "275632fb.e09a86",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3761.138137817383,\r
+    "y": 924.8522491455078,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "984e984a.f448c8",\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": 3751.075668334961,\r
+    "y": 967.9925384521484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f6681e1c.b1626",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3811.566635131836,\r
+    "y": 837.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "caab91f.12177f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2eeb8181.d4367e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3762.566635131836,\r
+    "y": 1020.5665130615234,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9eb76f3a.cfcbd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "caab91f.12177f",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3986.566635131836,\r
+    "y": 811.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2172bcb.4fd5b44",\r
+        "c6b4aa53.9764a8",\r
+        "fbdccf10.5fabc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9eb76f3a.cfcbd8",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3946.566635131836,\r
+    "y": 928.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "572a469b.71d458",\r
+        "b8b0db7f.0d0b98",\r
+        "56529717.d57cf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2172bcb.4fd5b44",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4108.566635131836,\r
+    "y": 596.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b34792b6.2f84b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6b4aa53.9764a8",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4110.566635131836,\r
+    "y": 650.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8791b1f2.9fddd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "572a469b.71d458",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4127.566665649414,\r
+    "y": 866.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2e043645.b8ff02"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b8b0db7f.0d0b98",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4129.566665649414,\r
+    "y": 920.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8eeda316.6df7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e47fb61.f661c8",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4418.566635131836,\r
+    "y": 548.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "21b58670.3a1192",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4411.566635131836,\r
+    "y": 646.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d0dd5f40.4b5f38",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4429.566665649414,\r
+    "y": 839.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d70d7c37.e21f5",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4433.566665649414,\r
+    "y": 932.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a539fdfb.953e38",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3576.566665649414,\r
+    "y": 1604.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f7f51c3.cfe0e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a32c9d1e.59f95",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3586.057632446289,\r
+    "y": 1647.1407012939453,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ea2bacf1.80819"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb2990eb.3d37b8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3574.566665649414,\r
+    "y": 1693.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "495659dd.a8b668"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c88f575a.f847c",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3276.566665649414,\r
+    "y": 1566.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42798389.0acfb4",\r
+    "type": "save",\r
+    "name": "get p-interface-src from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3319.566665649414,\r
+    "y": 1631.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a539fdfb.953e38",\r
+        "a32c9d1e.59f95",\r
+        "fb2990eb.3d37b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4b5b0bf9.d92b04",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3320.566665649414,\r
+    "y": 1301.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7927223e.403f8c",\r
+        "cb61ec61.ad89d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb61ec61.ad89d",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3541.566635131836,\r
+    "y": 1354.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b9b2d4da.80c098"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7927223e.403f8c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3543.566635131836,\r
+    "y": 1387.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3bca8d9d.c75392"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f7f51c3.cfe0e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3749.233169555664,\r
+    "y": 1603.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f7adce7b.f663c8",\r
+        "aab5a13f.7b9228"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea2bacf1.80819",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3739.6290435791016,\r
+    "y": 1650.4264373779297,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "495659dd.a8b668",\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": 3743.566665649414,\r
+    "y": 1694.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f7adce7b.f663c8",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4013.566665649414,\r
+    "y": 1587.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "eba55ae6.b47008",\r
+        "a5049a4a.932988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5049a4a.932988",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4236.566665649414,\r
+    "y": 1542.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b0af1c9f.1d33f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eba55ae6.b47008",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4238.566665649414,\r
+    "y": 1606.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3044898a.b774b6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3044898a.b774b6",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4400.566665649414,\r
+    "y": 1602.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b0af1c9f.1d33f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4401.566665649414,\r
+    "y": 1539.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3cd7ef1e.9f6f38",\r
+        "782ad12.44a143"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3bca8d9d.c75392",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3686.566635131836,\r
+    "y": 1384.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b9b2d4da.80c098",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3689.566635131836,\r
+    "y": 1347.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2e849446.924674",\r
+        "15f06507.bc03a3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e849446.924674",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3863.566635131836,\r
+    "y": 1303.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aab5a13f.7b9228",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3962.566635131836,\r
+    "y": 1697.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f3dbf41.0b7cb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f3dbf41.0b7cb",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4168.566635131836,\r
+    "y": 1697.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "33161afe.bf5fb6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "33161afe.bf5fb6",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4383.852279663086,\r
+    "y": 1697.388412475586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d1f5e6bd.d6c388"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "15f06507.bc03a3",\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": 3878.566635131836,\r
+    "y": 1414.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "609f91e1.96d3c",\r
+        "c5dd830a.81bd98",\r
+        "f762b67a.3d2c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "609f91e1.96d3c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4074.0667572021484,\r
+    "y": 1366.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "964976f5.819d98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c5dd830a.81bd98",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4066.0667572021484,\r
+    "y": 1421.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bf5b62.bbb734a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f762b67a.3d2c8",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4071.0667572021484,\r
+    "y": 1478.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bc48235e.ca1af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc48235e.ca1af8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4223.066757202148,\r
+    "y": 1479.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bf5b62.bbb734a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4234.066757202148,\r
+    "y": 1424.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "964976f5.819d98",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4218.449081420898,\r
+    "y": 1364.2223052978516,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "242018b6.f49c88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "242018b6.f49c88",\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": 4402.566635131836,\r
+    "y": 1378.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fc08eb6a.2320e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "782ad12.44a143",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4571.566665649414,\r
+    "y": 1497.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3cd7ef1e.9f6f38",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4572.566665649414,\r
+    "y": 1605.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9dc8c404.7ec36",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4573.566665649414,\r
+    "y": 1554.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1f5e6bd.d6c388",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4590.683822631836,\r
+    "y": 1697.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "333e33dc.560624",\r
+        "7db36be0.62778c",\r
+        "5d7040fa.99ac2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "333e33dc.560624",\r
+    "type": "set",\r
+    "name": "set source ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4805.683822631836,\r
+    "y": 1659.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7db36be0.62778c",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4802.683822631836,\r
+    "y": 1698.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2d9a4fac.ae36b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d7040fa.99ac2",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4758.183822631836,\r
+    "y": 1740.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d9a4fac.ae36b8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4983.183822631836,\r
+    "y": 1697.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a4ece740.b4105"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "52e1d551.a483dc",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4802.566665649414,\r
+    "y": 1315.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7de9311.18a165"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7de9311.18a165",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4979.566665649414,\r
+    "y": 1307.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fff1a40e.199ba",\r
+        "7abb7683.fa5358"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc08eb6a.2320e",\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": 4597.566635131836,\r
+    "y": 1378.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "52e1d551.a483dc",\r
+        "6d2d083c.e53ec8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d2d083c.e53ec8",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4805.566665649414,\r
+    "y": 1389.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b42cfcde.f4ebc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b42cfcde.f4ebc8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4982.566665649414,\r
+    "y": 1381.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e8e280e3.a65e5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4ece740.b4105",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5141.183822631836,\r
+    "y": 1697.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "425d708e.783968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "425d708e.783968",\r
+    "type": "set",\r
+    "name": "set source tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5348.183822631836,\r
+    "y": 1697.906967163086,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7abb7683.fa5358",\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": 5187.566665649414,\r
+    "y": 1314.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "45403a46.69b7f4",\r
+        "ab6bed09.5e53d",\r
+        "1ce7c845.052f38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fff1a40e.199ba",\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": 5217.566665649414,\r
+    "y": 1262.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "45403a46.69b7f4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5397.566665649414,\r
+    "y": 1305.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f2e23e54.aa63c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ab6bed09.5e53d",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5389.566665649414,\r
+    "y": 1360.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "29b1e9b9.e1584e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ce7c845.052f38",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5394.566665649414,\r
+    "y": 1417.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "26b11425.c22444"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "26b11425.c22444",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5546.566665649414,\r
+    "y": 1418.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "29b1e9b9.e1584e",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5557.566665649414,\r
+    "y": 1363.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f2e23e54.aa63c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5541.948989868164,\r
+    "y": 1303.2223358154297,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a969095b.c118"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8e280e3.a65e5",\r
+    "type": "set",\r
+    "name": "set domainA ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5217.566665649414,\r
+    "y": 1505.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a969095b.c118",\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": 5756.566665649414,\r
+    "y": 1299.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3c38a36b.8cf1d4",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4406.566635131836,\r
+    "y": 584.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "66912289.29f5fc",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4397.566635131836,\r
+    "y": 682.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b34792b6.2f84b",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4231.566635131836,\r
+    "y": 590.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9e47fb61.f661c8",\r
+        "3c38a36b.8cf1d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8791b1f2.9fddd",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4237.566635131836,\r
+    "y": 654.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "21b58670.3a1192",\r
+        "66912289.29f5fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e043645.b8ff02",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4255.566665649414,\r
+    "y": 866.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d0dd5f40.4b5f38",\r
+        "fac3c269.3e8818"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8eeda316.6df7",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4258.566665649414,\r
+    "y": 919.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d70d7c37.e21f5",\r
+        "d978bf81.a682c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fac3c269.3e8818",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4415.566665649414,\r
+    "y": 879.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d978bf81.a682c8",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4418.566665649414,\r
+    "y": 970.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "98a290a7.380a3",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3710.566635131836,\r
+    "y": 2097.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e497858e.0123a",\r
+        "498e60f5.55f178"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f085da3.5b6764",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3537.900131225586,\r
+    "y": 2098.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "98a290a7.380a3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "92e1b5b8.c9d748",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3547.391098022461,\r
+    "y": 2141.140670776367,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b56c748b.ef0b98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "67d077ec.f8e2b8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3535.900131225586,\r
+    "y": 2187.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "531aab62.3c8d74"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b56c748b.ef0b98",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3700.9625091552734,\r
+    "y": 2144.4264068603516,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "531aab62.3c8d74",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3704.900131225586,\r
+    "y": 2188.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e497858e.0123a",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3996.900131225586,\r
+    "y": 2101.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f5003287.c43b28",\r
+        "e21b6e0c.643e48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e21b6e0c.643e48",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4219.900131225586,\r
+    "y": 2056.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1c25bfa5.0e84a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5003287.c43b28",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4221.900131225586,\r
+    "y": 2120.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9df0e8d3.70e7b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9df0e8d3.70e7b",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4380.900131225586,\r
+    "y": 2139.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1c25bfa5.0e84a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4384.900131225586,\r
+    "y": 2053.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "15645f19.451cd9",\r
+        "5b635208.85addc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "18652387.ef4d1c",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3309.900131225586,\r
+    "y": 2133.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f085da3.5b6764",\r
+        "92e1b5b8.c9d748",\r
+        "67d077ec.f8e2b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8fa3650.6227a18",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3270.900131225586,\r
+    "y": 2077.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "29a6af57.132c2",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3329.900131225586,\r
+    "y": 1873.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f4e16fd.13b25",\r
+        "9c29704e.b9eca8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c29704e.b9eca8",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3552.900131225586,\r
+    "y": 1859.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bb1e4e57.280888"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f4e16fd.13b25",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3554.900131225586,\r
+    "y": 1892.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b75dfd73.636e48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b75dfd73.636e48",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3697.900131225586,\r
+    "y": 1889.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bb1e4e57.280888",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3700.900131225586,\r
+    "y": 1852.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bda8773a.f12a1",\r
+        "d5e4b6e4.115dd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bda8773a.f12a1",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3894.900131225586,\r
+    "y": 1855.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "498e60f5.55f178",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3947.900100708008,\r
+    "y": 2224.566604614258,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f195472b.83ff2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f195472b.83ff2",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4153.900100708008,\r
+    "y": 2224.566604614258,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2e029795.f674f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e029795.f674f8",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4371.185745239258,\r
+    "y": 2223.388381958008,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9d2261f5.b9fa08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d5e4b6e4.115dd8",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3916.900131225586,\r
+    "y": 1923.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "6730b25.e0c5f4c",\r
+        "c5d11aca.de4aa8",\r
+        "359fd71e.08e5b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6730b25.e0c5f4c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4112.400253295898,\r
+    "y": 1875.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "11cc1f31.73aba1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c5d11aca.de4aa8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4104.400253295898,\r
+    "y": 1930.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5b1bf93a.85704"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "359fd71e.08e5b",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4109.400253295898,\r
+    "y": 1987.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "150deb8f.b69cd4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "150deb8f.b69cd4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4261.400253295898,\r
+    "y": 1988.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5b1bf93a.85704",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4272.400253295898,\r
+    "y": 1933.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11cc1f31.73aba1",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4256.782577514648,\r
+    "y": 1873.222427368164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "cff6dd9b.8cbec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "15645f19.451cd9",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4554.900131225586,\r
+    "y": 2014.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5b635208.85addc",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4555.900131225586,\r
+    "y": 2119.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f4c1e1b8.e7b4e8",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4550.900131225586,\r
+    "y": 2068.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9d2261f5.b9fa08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4578.017288208008,\r
+    "y": 2212.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "84d8ab80.c7c5d8",\r
+        "e6773f2f.211b88",\r
+        "2391fc90.5865f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84d8ab80.c7c5d8",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4793.017288208008,\r
+    "y": 2174.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e6773f2f.211b88",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4790.017288208008,\r
+    "y": 2213.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e6f8fe6a.d80188"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2391fc90.5865f4",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4745.517288208008,\r
+    "y": 2255.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e6f8fe6a.d80188",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4970.517288208008,\r
+    "y": 2212.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fdc72134.67c23"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdc72134.67c23",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5128.517288208008,\r
+    "y": 2212.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "be11f8e.1056f08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be11f8e.1056f08",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5335.517288208008,\r
+    "y": 2212.9070587158203,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8905f8e1.68af1",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4838.900131225586,\r
+    "y": 1891.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ca38006f.4cfdd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca38006f.4cfdd",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5015.900131225586,\r
+    "y": 1883.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9fddc1a7.528c8",\r
+        "516ef3bb.d53aec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cff6dd9b.8cbec",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4440.900131225586,\r
+    "y": 1887.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4e481827.26cf7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4e481827.26cf7",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4635.900131225586,\r
+    "y": 1887.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8905f8e1.68af1",\r
+        "eb2add71.4c5b38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "516ef3bb.d53aec",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5223.900131225586,\r
+    "y": 1890.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8f1e6966.2ed9b",\r
+        "eb0b97a0.d2554",\r
+        "8b053235.7e7848"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "13674b50.1cc875",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5017.900131225586,\r
+    "y": 1956.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fd136ece.b5724"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb2add71.4c5b38",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4840.900131225586,\r
+    "y": 1964.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "13674b50.1cc875"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9fddc1a7.528c8",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainB id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5253.900131225586,\r
+    "y": 1838.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd136ece.b5724",\r
+    "type": "set",\r
+    "name": "set domainB ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5252.900131225586,\r
+    "y": 2080.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8f1e6966.2ed9b",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5433.900131225586,\r
+    "y": 1881.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9db69d63.dc9d08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb0b97a0.d2554",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5425.900131225586,\r
+    "y": 1936.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c57fd560.6db4a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b053235.7e7848",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5430.900131225586,\r
+    "y": 1993.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "6e911852.3a5e28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e911852.3a5e28",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5582.900131225586,\r
+    "y": 1994.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c57fd560.6db4a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5593.900131225586,\r
+    "y": 1939.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9db69d63.dc9d08",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5578.282455444336,\r
+    "y": 1879.222427368164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e6169acb.b321e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6169acb.b321e8",\r
+    "type": "set",\r
+    "name": "set controller domainB data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5792.900131225586,\r
+    "y": 1875.5667572021484,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c49ed897.0159e8",\r
+    "type": "set",\r
+    "name": "set LEAF stuff",\r
+    "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3277.566635131836,\r
+    "y": 1694.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "758e6e49.b62098",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4573.566635131836,\r
+    "y": 668.5666351318359,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ebf6202d.cf95a8",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4583.566665649414,\r
+    "y": 864.5666656494141,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9d2ec307.fb07b8",\r
+    "type": "set",\r
+    "name": "set ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3280.566604614258,\r
+    "y": 2202.566604614258,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c81a19d9.9b256",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3417.566665649414,\r
+    "y": 2858.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b5b402c1.c35e88",\r
+    "type": "switchNode",\r
+    "name": "switch found-middle-man?",\r
+    "xml": "<switch test='`$found-middle-man`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3294.566665649414,\r
+    "y": 2968.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1932a37.6a327dd",\r
+        "e9120928.0c2298"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1932a37.6a327dd",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3478.566665649414,\r
+    "y": 2947.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "82607164.646368"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e9120928.0c2298",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3370.566665649414,\r
+    "y": 5125.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ff313408.b74908"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ff313408.b74908",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3525.566665649414,\r
+    "y": 5118.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "172df7ad.1d8918",\r
+        "e9491637.d51c9",\r
+        "ed589f33.dee34",\r
+        "8bbbb496.3df16",\r
+        "581d9366.e6ee44",\r
+        "f0668881.7d6d6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82607164.646368",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3621.566665649414,\r
+    "y": 2947.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a3d597a8.021388",\r
+        "2f89ad50.333c2a",\r
+        "7f37398e.ac4788",\r
+        "c4c44808.41f1d8",\r
+        "7f311072.1019e",\r
+        "a4b5361a.3a19d8",\r
+        "22f4d985.fe3c1e",\r
+        "dc9eeea6.2c8698",\r
+        "7a27d008.22f4d",\r
+        "7fc66b60.eeacbc",\r
+        "4cc13ef6.adae78",\r
+        "19fd1bdb.1b78e4",\r
+        "d873f718.81f988",\r
+        "cea863c0.4ccb38",\r
+        "6825a3b9.0c4a74",\r
+        "97368f95.9c3c68",\r
+        "550c2be9.9018d4",\r
+        "540352c5.31c62c",\r
+        "87e2b691.2d12d8",\r
+        "25259a32.c04fe6",\r
+        "b87e18c5.0db5e8",\r
+        "88b90ca8.e250c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a27d008.22f4d",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainB",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3931.566665649414,\r
+    "y": 3262.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3d597a8.021388",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3879.566665649414,\r
+    "y": 3304.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f89ad50.333c2a",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4008.566665649414,\r
+    "y": 3346.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "568e89f6.76041",\r
+    "type": "comment",\r
+    "name": "Create ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3854.566665649414,\r
+    "y": 3221.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cfc92e2e.d4332",\r
+    "type": "comment",\r
+    "name": "create middle man connectivity and ...",\r
+    "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
+    "comments": "",\r
+    "x": 4379.566665649414,\r
+    "y": 3742.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7f37398e.ac4788",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity middle-man",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3943.566665649414,\r
+    "y": 3781.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4c44808.41f1d8",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3891.566665649414,\r
+    "y": 3832.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f311072.1019e",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4027.566665649414,\r
+    "y": 3879.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b73302ea.6b3c9",\r
+    "type": "comment",\r
+    "name": "Create MIDDLE-MAN connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3884.566665649414,\r
+    "y": 3741.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f06d4892.086d48",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4314.566665649414,\r
+    "y": 3938.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4b5361a.3a19d8",\r
+    "type": "save",\r
+    "name": "get middle-man connectivity from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3905.566665649414,\r
+    "y": 3985.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7c79fc80.066eb4",\r
+        "c371f5b2.5890b8",\r
+        "8674a08a.891028"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c79fc80.066eb4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4152.566665649414,\r
+    "y": 3939.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f06d4892.086d48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c371f5b2.5890b8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4153.057632446289,\r
+    "y": 3985.1407012939453,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f874dece.70a19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8674a08a.891028",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4150.566665649414,\r
+    "y": 4028.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "395b0fd4.a6a4c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f874dece.70a19",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4315.629043579102,\r
+    "y": 3985.4264373779297,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "395b0fd4.a6a4c",\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": 4319.566665649414,\r
+    "y": 4029.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6825a3b9.0c4a74",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3959.566665649414,\r
+    "y": 4327.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "97368f95.9c3c68",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3962.566665649414,\r
+    "y": 4372.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "540352c5.31c62c",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3954.566665649414,\r
+    "y": 4100.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "87e2b691.2d12d8",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3956.566665649414,\r
+    "y": 4147.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "de9883f2.40e1e",\r
+    "type": "comment",\r
+    "name": "The following two will be done in F1",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3875.566665649414,\r
+    "y": 4280.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8e94a286.9bf3d",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4485.566665649414,\r
+    "y": 4946.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "172df7ad.1d8918",\r
+    "type": "switchNode",\r
+    "name": "switch no-pce-call",\r
+    "xml": "<switch test='`$no-pce-call`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3740.566665649414,\r
+    "y": 5099.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "42ddce9e.8ae7c",\r
+        "527e3f0b.1dc1d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "527e3f0b.1dc1d",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3912.566665649414,\r
+    "y": 5096.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7bd89115.7af5d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "42ddce9e.8ae7c",\r
+    "type": "outcomeFalse",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3864.566665649414,\r
+    "y": 5943.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ba444b0.6d090b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "678feee9.54f5e",\r
+    "type": "comment",\r
+    "name": "1 --> PCE is needed",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3925.566665649414,\r
+    "y": 5066.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f4c6dae7.f846f8",\r
+    "type": "comment",\r
+    "name": "2 --> no need to call PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3935.566665649414,\r
+    "y": 5901.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "22f4d985.fe3c1e",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3958.566665649414,\r
+    "y": 4475.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7bd89115.7af5d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4088.566665649414,\r
+    "y": 5098.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a830956d.47074",\r
+        "1755eaf4.354305",\r
+        "bc42d413.82595",\r
+        "e6e246b3.ed891",\r
+        "ea96eb7.ae6d798",\r
+        "64dc9cdb.f55c8c",\r
+        "8e94a286.9bf3d",\r
+        "f715ac9f.9b32b8",\r
+        "79d51ab0.5a125c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "979e33e8.311e38",\r
+    "type": "comment",\r
+    "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5533.566665649414,\r
+    "y": 4571.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a830956d.47074",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4466.566665649414,\r
+    "y": 5601.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dc9eeea6.2c8698",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3937.566665649414,\r
+    "y": 3475.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7fc66b60.eeacbc",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3935.566665649414,\r
+    "y": 2932.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4cc13ef6.adae78",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3883.566665649414,\r
+    "y": 2980.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "19fd1bdb.1b78e4",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4011.566665649414,\r
+    "y": 3027.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "49213484.6d2684",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3848.566665649414,\r
+    "y": 2890.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d873f718.81f988",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3845.566665649414,\r
+    "y": 3118.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "cea863c0.4ccb38",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3938.566665649414,\r
+    "y": 3171.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8a16772c.f0d08",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3829.566665649414,\r
+    "y": 3074.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8aa6375.55f12",\r
+    "type": "comment",\r
+    "name": "Create ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3833.566665649414,\r
+    "y": 3390.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e6e246b3.ed891",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4402.566665649414,\r
+    "y": 4579.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "546f5300.a4bc44",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4386.566665649414,\r
+    "y": 4535.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b36d849f.6b142",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5133.566665649414,\r
+    "y": 4566.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df003672.bddd2",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5220.566665649414,\r
+    "y": 4608.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dbb46179.c47f78",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5168.566665649414,\r
+    "y": 4656.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "837adbb2.1c01e8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5296.566665649414,\r
+    "y": 4703.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "64dc9cdb.f55c8c",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4473.566665649414,\r
+    "y": 4988.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f767aa90.80364",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4456.566665649414,\r
+    "y": 5050.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1755eaf4.354305",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4567.566665649414,\r
+    "y": 5092.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4953b8d7.b454c8",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5015.566665649414,\r
+    "y": 5145.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b4d97863.c15da",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4325.566665649414,\r
+    "y": 5843.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d715f85a.00ec7",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4223.566665649414,\r
+    "y": 5792.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5114dbce.799f0c",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4207.566665649414,\r
+    "y": 5748.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a495cbe2.05f3",\r
+    "type": "save",\r
+    "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4993.566665649414,\r
+    "y": 6005.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc42d413.82595",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4394.566665649414,\r
+    "y": 5149.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5a8de4b.cef309c",\r
+        "99b44375.9d0098"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5a8de4b.cef309c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4605.566665649414,\r
+    "y": 5149.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "41a866cb.6d5e88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41a866cb.6d5e88",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4761.566665649414,\r
+    "y": 5145.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4953b8d7.b454c8",\r
+        "5f4b3cc4.eb62f4",\r
+        "76c11af1.9e9b94"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "99b44375.9d0098",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4601.566665649414,\r
+    "y": 5197.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c40ddff0.38613"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c40ddff0.38613",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 4749.566665649414,\r
+    "y": 5192.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e8bdf848.077f2",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5257.566665649414,\r
+    "y": 4774.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5b668059.1f482",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2423.566665649414,\r
+    "y": 185.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "989a0e11.127538",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2357.566665649414,\r
+    "y": 221.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2d9aece.1465f",\r
+    "type": "comment",\r
+    "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2542.566665649414,\r
+    "y": 148.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8228476b.dfc93",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 4292.566665649414,\r
+    "y": 5909.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "394125b3.b0b57a",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4425.566665649414,\r
+    "y": 5957.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "64250c00.f41444",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4244.566665649414,\r
+    "y": 6015.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "24759095.ee144",\r
+        "cef50f43.3e9f48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24759095.ee144",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4437.566665649414,\r
+    "y": 6016.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c0599a44.570328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c0599a44.570328",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
+    "comments": "",\r
+    "x": 4593.566665649414,\r
+    "y": 6013.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cef50f43.3e9f48",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4441.566665649414,\r
+    "y": 6060.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2c2e6801.1f5998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c2e6801.1f5998",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4580.566665649414,\r
+    "y": 6055.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a495cbe2.05f3",\r
+        "d341cf2c.6ddc78",\r
+        "882a079d.0537c8",\r
+        "9acad1b0.c8f3c8",\r
+        "1591d847.9e7b3",\r
+        "2e348bab.75e0fc",\r
+        "3c4d6cf1.e2588c",\r
+        "cf206ffb.cf7668",\r
+        "5a9ba33a.7d1a8c",\r
+        "68c1a73b.58dcd8",\r
+        "221756d1.77b252",\r
+        "6b274a0f.281994"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c4d6cf1.e2588c",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4777.566665649414,\r
+    "y": 6734.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f71173d.2556e9",\r
+        "36d425a2.cca582",\r
+        "63e9e58.35d851c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f71173d.2556e9",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4982.566665649414,\r
+    "y": 6731.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "211a75a9.b19e7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "36d425a2.cca582",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4966.057632446289,\r
+    "y": 6793.140701293945,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2ef14bb4.55e2cc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "63e9e58.35d851c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4963.566665649414,\r
+    "y": 6836.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "61cb6aef.0faa54"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "211a75a9.b19e7a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5138.566665649414,\r
+    "y": 6745.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1dafef09.17b7d9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ef14bb4.55e2cc",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5128.629043579102,\r
+    "y": 6793.42643737793,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "61cb6aef.0faa54",\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": 5130.566665649414,\r
+    "y": 6835.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1dafef09.17b7d9",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5385.566665649414,\r
+    "y": 6742.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "33d48bc3.4a3004"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "33d48bc3.4a3004",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5622.566665649414,\r
+    "y": 6738.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "509c6355.839cf4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a8b6da5.4a6238",\r
+    "type": "switchNode",\r
+    "name": "switch vpnuuid is for this slice",\r
+    "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5865.566665649414,\r
+    "y": 6710.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4704615c.3c69f",\r
+        "3a6fe540.e42ee2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4704615c.3c69f",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6070.566665649414,\r
+    "y": 6730.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "509c6355.839cf4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3a6fe540.e42ee2",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6069.566665649414,\r
+    "y": 6683.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "509c6355.839cf4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4813.566665649414,\r
+    "y": 7005.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "867fbf45.6b76e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b664359c.e37a3",\r
+    "type": "set",\r
+    "name": "set tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 6275.566635131836,\r
+    "y": 6943.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "125d4567.492113",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4875.566665649414,\r
+    "y": 6681.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2e348bab.75e0fc",\r
+    "type": "set",\r
+    "name": "set srcTtp OTN layer",\r
+    "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4757.566665649414,\r
+    "y": 6569.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf763643.011b",\r
+    "type": "switchNode",\r
+    "name": "switch provider-id domainA",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5102.566665649414,\r
+    "y": 6400.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e8f56973.27478"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8f56973.27478",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5322.566665649414,\r
+    "y": 6406.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fde5a354.539f28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fde5a354.539f28",\r
+    "type": "switchNode",\r
+    "name": "switch te-topo-id",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5509.566665649414,\r
+    "y": 6366.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "575e4bf2.eff614"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "575e4bf2.eff614",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5701.566665649414,\r
+    "y": 6369.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d993f92.1703888"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d993f92.1703888",\r
+    "type": "set",\r
+    "name": "set otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+    "comments": "",\r
+    "x": 5910.566665649414,\r
+    "y": 6367.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf206ffb.cf7668",\r
+    "type": "for",\r
+    "name": "for netwidx..allNetworksList_length",\r
+    "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4809.566665649414,\r
+    "y": 6394.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "cf763643.011b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "882a079d.0537c8",\r
+    "type": "get-resource",\r
+    "name": "get-resource network-resources-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4817.566665649414,\r
+    "y": 6287.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bc620ade.df0f58",\r
+        "6623a49b.f6c65c",\r
+        "19b34b3d.8c8655"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc620ade.df0f58",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5053.566665649414,\r
+    "y": 6270.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6623a49b.f6c65c",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5050.566665649414,\r
+    "y": 6311.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "19b34b3d.8c8655",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5064.566665649414,\r
+    "y": 6351.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9acad1b0.c8f3c8",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4753.566665649414,\r
+    "y": 6446.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1591d847.9e7b3",\r
+    "type": "set",\r
+    "name": "set tmp.pce-src-node",\r
+    "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+    "comments": "",\r
+    "x": 4761.566665649414,\r
+    "y": 6504.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d341cf2c.6ddc78",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4766.566665649414,\r
+    "y": 6244.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2fabd91.b08d0a6",\r
+    "type": "comment",\r
+    "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "comments": "",\r
+    "x": 4881.566665649414,\r
+    "y": 6196.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "867fbf45.6b76e8",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5056.566665649414,\r
+    "y": 7002.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ca20f18b.d4eba8",\r
+        "a546871e.5bfa7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca20f18b.d4eba8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5285.566665649414,\r
+    "y": 6979.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4274d693.44e7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a546871e.5bfa7",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5285.566665649414,\r
+    "y": 7028.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d07c8b0.2ee89",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6018.566635131836,\r
+    "y": 7034.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "90c25785.3a5d5",\r
+        "b664359c.e37a3",\r
+        "9e3c844f.310898"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8461f132.9df9d8",\r
+    "type": "comment",\r
+    "name": "increase the bw of the-vpn-binding and change status to modified",\r
+    "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6403.566635131836,\r
+    "y": 6997.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9e3c844f.310898",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6373.566635131836,\r
+    "y": 7057.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "90c25785.3a5d5",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 6280.566635131836,\r
+    "y": 6885.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ba444b0.6d090b8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4016.566665649414,\r
+    "y": 5942.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d715f85a.00ec7",\r
+        "8228476b.dfc93",\r
+        "394125b3.b0b57a",\r
+        "64250c00.f41444",\r
+        "b4d97863.c15da"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c0768f56.37d61",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4758.566665649414,\r
+    "y": 6344.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5a9ba33a.7d1a8c",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4886.566665649414,\r
+    "y": 6086.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "42948c30.98f5ec",\r
+    "type": "comment",\r
+    "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "comments": "",\r
+    "x": 5023.566665649414,\r
+    "y": 6036.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "550c2be9.9018d4",\r
+    "type": "save",\r
+    "name": "save ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3850.566665649414,\r
+    "y": 3429.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "371edf0a.6e17f",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4028.566635131836,\r
+    "y": 1664.566635131836,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "de567305.4a43d8",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4007.566604614258,\r
+    "y": 2176.566604614258,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "25146472.eb3624",\r
+    "type": "comment",\r
+    "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3842.566665649414,\r
+    "y": 4050.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c5539a8b.106aa",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3932.566665649414,\r
+    "y": 6430.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e9491637.d51c9",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 3734.566665649414,\r
+    "y": 4959.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ed589f33.dee34",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3867.566665649414,\r
+    "y": 5007.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea96eb7.ae6d798",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4413.566665649414,\r
+    "y": 4635.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a8f10916.be28b",\r
+        "f59d19a8.d9c4d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8f10916.be28b",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4606.566665649414,\r
+    "y": 4636.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f728dec2.62b3a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f59d19a8.d9c4d8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4610.566665649414,\r
+    "y": 4680.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c09bd16a.0b32d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c09bd16a.0b32d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4749.566665649414,\r
+    "y": 4675.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d9114bfc.f7bce",\r
+        "6c2541da.5d16b8",\r
+        "b22f3c73.35c508"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f728dec2.62b3a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4749.566665649414,\r
+    "y": 4632.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "df003672.bddd2",\r
+        "dbb46179.c47f78",\r
+        "837adbb2.1c01e8",\r
+        "e8bdf848.077f2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d9114bfc.f7bce",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainA-uuid",\r
+    "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5151.566909790039,\r
+    "y": 4897.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "430a9d16.e4affc",\r
+    "type": "comment",\r
+    "name": "populate connectivity-A variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5158.566909790039,\r
+    "y": 4851.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "68c1a73b.58dcd8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4948.566665649414,\r
+    "y": 6630.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6c2541da.5d16b8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5269.566909790039,\r
+    "y": 4939.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f4b3cc4.eb62f4",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5144.566665649414,\r
+    "y": 5197.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7484b6a.1b27e8",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3489.566665649414,\r
+    "y": 4530.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8eb23d5.90166c",\r
+    "type": "save",\r
+    "name": "update ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4011.566665649414,\r
+    "y": 4631.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8bbbb496.3df16",\r
+    "type": "save",\r
+    "name": "get root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3468.566665649414,\r
+    "y": 4574.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a18c125a.02e14",\r
+        "7f2705d6.db1694",\r
+        "a9eb2c91.698e38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f2705d6.db1694",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3657.057632446289,\r
+    "y": 4543.140884399414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2e3353bd.ee574c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a9eb2c91.698e38",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3645.566665649414,\r
+    "y": 4582.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5c8fdc07.865394"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e3353bd.ee574c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3816.629165649414,\r
+    "y": 4541.426528930664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5c8fdc07.865394",\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": 3806.566665649414,\r
+    "y": 4583.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9ccbfbe.3763808",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3808.566665649414,\r
+    "y": 4627.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b718fb4d.1d2eb",\r
+        "8eb23d5.90166c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a18c125a.02e14",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3650.566665649414,\r
+    "y": 4619.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9ccbfbe.3763808"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b718fb4d.1d2eb",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 3969.566665649414,\r
+    "y": 4559.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "581d9366.e6ee44",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3834.566665649414,\r
+    "y": 4898.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3bda63fd.be934c",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5949.449966430664,\r
+    "y": 6648.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b22f3c73.35c508",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5149.233901977539,\r
+    "y": 5035.650161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "72bb0449.7c6c4c",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5151.450698852539,\r
+    "y": 4995.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "76c11af1.9e9b94",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5025.233657836914,\r
+    "y": 5285.650161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cb7b649.72fc8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5027.450454711914,\r
+    "y": 5245.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ac700fc2.3e2c98",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5115.033462524414,\r
+    "y": 5648.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9aeab5a.07483c8",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4942.033462524414,\r
+    "y": 5705.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7adad055.f81858",\r
+        "1c623aa1.b56e9d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7adad055.f81858",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5153.033462524414,\r
+    "y": 5705.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8b4d22b1.51563"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1c623aa1.b56e9d",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5149.033462524414,\r
+    "y": 5753.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1d139b8d.b9ffb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b4d22b1.51563",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5309.033462524414,\r
+    "y": 5701.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f5948089.056778",\r
+        "eda1ec63.f88a8",\r
+        "116803c1.b8c5c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d139b8d.b9ffb4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 5297.033462524414,\r
+    "y": 5748.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa3077ab.1dba8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5618.917251586914,\r
+    "y": 5801.966567993164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "116803c1.b8c5c4",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5622.700454711914,\r
+    "y": 5840.166763305664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "eda1ec63.f88a8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5729.033462524414,\r
+    "y": 5753.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5948089.056778",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5613.033462524414,\r
+    "y": 5701.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d30afa49.07b758",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5004.033462524414,\r
+    "y": 5606.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "221756d1.77b252",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4716.366470336914,\r
+    "y": 5781.083267211914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ac700fc2.3e2c98",\r
+        "9aeab5a.07483c8",\r
+        "986cd5c9.02e9d",\r
+        "cfe4284f.245dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b274a0f.281994",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5016.399673461914,\r
+    "y": 6141.766860961914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9356e875.de45c8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5822.683334350586,\r
+    "y": 6978.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4274d693.44e7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5441.683334350586,\r
+    "y": 6981.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9356e875.de45c8",\r
+        "f4fb32f5.290118",\r
+        "fc73441.6e16238"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4fb32f5.290118",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5667.683334350586,\r
+    "y": 7033.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7d48e95d.36571"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d48e95d.36571",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5846.683334350586,\r
+    "y": 7032.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9d07c8b0.2ee89"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc73441.6e16238",\r
+    "type": "set",\r
+    "name": "set vpnNameToSearch",\r
+    "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+    "comments": "",\r
+    "x": 5668.683334350586,\r
+    "y": 6926.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c7583bfe.6dbd",\r
+    "type": "notify",\r
+    "name": "notify",\r
+    "xml": "<notify plugin='' resource='' action='' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2662.683334350586,\r
+    "y": 975.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "17e6527f.ea49de",\r
+    "type": "set",\r
+    "name": "set network-route-three",\r
+    "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3340.683334350586,\r
+    "y": 751.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ef95e12.fd687",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3556.683334350586,\r
+    "y": 1079.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "76cbe80c.f4e188",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3552.192398071289,\r
+    "y": 1122.109390258789,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e93ec7e.d04c6c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3556.192367553711,\r
+    "y": 1170.109359741211,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b4c3abcb.bb0aa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4c3abcb.bb0aa8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3713.683334350586,\r
+    "y": 1169.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c59d6859.c80d1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c59d6859.c80d1",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3883.683364868164,\r
+    "y": 1172.6834869384766,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b806c285.3c1eb",\r
+        "1890bb58.2d4ee5",\r
+        "614f0a7f.a53cf4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b806c285.3c1eb",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4057.683334350586,\r
+    "y": 1110.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "224fa1be.62b94e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1890bb58.2d4ee5",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4059.683334350586,\r
+    "y": 1164.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5ec2cf4e.ba2b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "224fa1be.62b94e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4185.683334350586,\r
+    "y": 1110.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a900cf11.02bcd",\r
+        "1c2b8eb2.2e6009"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5ec2cf4e.ba2b2",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4188.683334350586,\r
+    "y": 1163.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "459af4e0.72f56c",\r
+        "8371ef21.19884"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1c2b8eb2.2e6009",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4346.683334350586,\r
+    "y": 1134.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "459af4e0.72f56c",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4363.683334350586,\r
+    "y": 1176.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8371ef21.19884",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4348.683334350586,\r
+    "y": 1214.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a900cf11.02bcd",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4360.683334350586,\r
+    "y": 1094.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f4867be8.a3739",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4525.683334350586,\r
+    "y": 1110.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c22e8ab9.0a6b88",\r
+    "type": "save",\r
+    "name": "get network-route-three from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3316.683334350586,\r
+    "y": 1096.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4ef95e12.fd687",\r
+        "76cbe80c.f4e188",\r
+        "2e93ec7e.d04c6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "614f0a7f.a53cf4",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4002.683334350586,\r
+    "y": 1228.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7f1b4232.b1cfb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f1b4232.b1cfb4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4176.683334350586,\r
+    "y": 1223.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "838abc45.59f7a",\r
+        "db00c52c.5ed268"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db00c52c.5ed268",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4346.683334350586,\r
+    "y": 1296.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "838abc45.59f7a",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4400.683334350586,\r
+    "y": 1256.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ff2b32b5.5b2a08",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4514.683334350586,\r
+    "y": 1281.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "56529717.d57cf",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4073.683334350586,\r
+    "y": 984.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ee2de2c6.4f08d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca426e77.b8a868",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4417.683334350586,\r
+    "y": 1052.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f04a072d.a1bc78",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4471.683334350586,\r
+    "y": 1012.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "494ac499.527a64",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4615.683334350586,\r
+    "y": 1041.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ee2de2c6.4f08d8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4247.683334350586,\r
+    "y": 979.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f04a072d.a1bc78",\r
+        "ca426e77.b8a868"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fbdccf10.5fabc",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4133.683334350586,\r
+    "y": 722.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b0420846.4df49"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f89ab47.26e854",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4477.683334350586,\r
+    "y": 790.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bf3e885.5679178",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4531.683334350586,\r
+    "y": 750.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd3136c3.1f9f9",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4645.683334350586,\r
+    "y": 775.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b0420846.4df49",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4307.683334350586,\r
+    "y": 717.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "bf3e885.5679178",\r
+        "6f89ab47.26e854"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d5e167ce.f19998",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3714.683334350586,\r
+    "y": 2599.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "eb74e655.05ff7",\r
+        "e886ebc1.1661e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47201997.7cc3c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3542.016830444336,\r
+    "y": 2600.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d5e167ce.f19998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "164be473.b70384",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3551.507797241211,\r
+    "y": 2643.257369995117,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "784aa04.7c1dfe",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3540.016830444336,\r
+    "y": 2689.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb74e655.05ff7",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4001.016830444336,\r
+    "y": 2603.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3f64df6c.c641f8",\r
+        "e65de275.42f878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e65de275.42f878",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4224.016830444336,\r
+    "y": 2558.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "34b4944b.960704"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f64df6c.c641f8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4226.016830444336,\r
+    "y": 2622.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "699d84d7.6602fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c75cfb6.9dae68",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3314.016830444336,\r
+    "y": 2635.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "47201997.7cc3c",\r
+        "164be473.b70384",\r
+        "784aa04.7c1dfe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23b8fd1e.0cb2fa",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3275.016830444336,\r
+    "y": 2579.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "647f2e19.e50158",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3334.016830444336,\r
+    "y": 2375.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5e42c344.eae60c",\r
+        "af9299b9.b3a958"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af9299b9.b3a958",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3557.016830444336,\r
+    "y": 2361.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9102a653.17d73"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5e42c344.eae60c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3559.016830444336,\r
+    "y": 2394.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9102a653.17d73",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3705.016830444336,\r
+    "y": 2354.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9818833d.58ad9",\r
+        "288d55d1.6f744a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9818833d.58ad9",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3899.016830444336,\r
+    "y": 2357.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e886ebc1.1661e8",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3952.016799926758,\r
+    "y": 2726.683303833008,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f013a1b2.101138"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f013a1b2.101138",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4158.016799926758,\r
+    "y": 2726.683303833008,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "386bba62.16259e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "288d55d1.6f744a",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3921.016830444336,\r
+    "y": 2425.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "50cea31f.42d1c4",\r
+        "35a7b03.f8d85d",\r
+        "21702f57.67315"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "50cea31f.42d1c4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4116.516952514648,\r
+    "y": 2377.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "295cc726.ea872"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35a7b03.f8d85d",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4108.516952514648,\r
+    "y": 2432.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2c7fef61.a7451"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "21702f57.67315",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4113.516952514648,\r
+    "y": 2489.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9bbdca0e.a0cf58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9bbdca0e.a0cf58",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4265.516952514648,\r
+    "y": 2490.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "295cc726.ea872",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4260.899276733398,\r
+    "y": 2375.339126586914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "723c9a0.e71c268"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a8ce081.e6446",\r
+    "type": "set",\r
+    "name": "set SECONDARY-ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3336.683334350586,\r
+    "y": 2714.683334350586,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c2ddeb07.7a6948",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4011.683303833008,\r
+    "y": 2678.683303833008,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "699d84d7.6602fc",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4385.016830444336,\r
+    "y": 2641.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "34b4944b.960704",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4389.016830444336,\r
+    "y": 2555.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "276189b1.3ed3ce",\r
+        "a978fa30.e2e848"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "386bba62.16259e",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4375.302444458008,\r
+    "y": 2725.505081176758,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "89559da6.e6cb3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c7fef61.a7451",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4276.516952514648,\r
+    "y": 2435.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "276189b1.3ed3ce",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4559.016830444336,\r
+    "y": 2516.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a978fa30.e2e848",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4560.016830444336,\r
+    "y": 2621.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1a2899c1.f9127e",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4555.016830444336,\r
+    "y": 2570.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "89559da6.e6cb3",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4582.133987426758,\r
+    "y": 2715.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8f483fd3.15e2b",\r
+        "5a0d7606.c42ec8",\r
+        "f5ace162.1d1728"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8f483fd3.15e2b",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4797.133987426758,\r
+    "y": 2677.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5a0d7606.c42ec8",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4794.133987426758,\r
+    "y": 2716.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "be061b72.c7b818"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5ace162.1d1728",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4749.633987426758,\r
+    "y": 2758.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b11d681f.057f4",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4843.016830444336,\r
+    "y": 2393.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "530fa7ff.bc17d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "723c9a0.e71c268",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4445.016830444336,\r
+    "y": 2389.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "46b1f311.91a404"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46b1f311.91a404",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4640.016830444336,\r
+    "y": 2389.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b11d681f.057f4",\r
+        "6f790d02.3c377c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f790d02.3c377c",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4845.016830444336,\r
+    "y": 2466.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e6043cfa.36703"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be061b72.c7b818",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4974.633987426758,\r
+    "y": 2715.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ce777f2e.3171a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce777f2e.3171a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5132.633987426758,\r
+    "y": 2715.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "b697c93d.c44198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b697c93d.c44198",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5339.633987426758,\r
+    "y": 2715.0237579345703,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "530fa7ff.bc17d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5020.016830444336,\r
+    "y": 2385.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5455e2bb.51abf4",\r
+        "38fcf2b0.31bbc6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "38fcf2b0.31bbc6",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5228.016830444336,\r
+    "y": 2392.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "46db257f.be5d5c",\r
+        "10ef5dcf.987c42",\r
+        "cdb4ea9.23d2198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6043cfa.36703",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5022.016830444336,\r
+    "y": 2458.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "dba257b1.4bfa28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5455e2bb.51abf4",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainC id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5258.016830444336,\r
+    "y": 2340.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dba257b1.4bfa28",\r
+    "type": "set",\r
+    "name": "set domainC ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5257.016830444336,\r
+    "y": 2582.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "46db257f.be5d5c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5438.016830444336,\r
+    "y": 2383.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "40633d04.a1b504"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10ef5dcf.987c42",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5430.016830444336,\r
+    "y": 2438.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7af2b98b.8d665"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cdb4ea9.23d2198",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5435.016830444336,\r
+    "y": 2495.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f683ae7d.1eb048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f683ae7d.1eb048",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5587.016830444336,\r
+    "y": 2496.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7af2b98b.8d665",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5598.016830444336,\r
+    "y": 2441.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "40633d04.a1b504",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5582.399154663086,\r
+    "y": 2381.339126586914,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8b20e4dc.c76628"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b20e4dc.c76628",\r
+    "type": "set",\r
+    "name": "set controller domainC data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5797.016830444336,\r
+    "y": 2377.6834564208984,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c989c621.8b708",\r
+    "type": "switchNode",\r
+    "name": "switch secondary empty?",\r
+    "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3310.683334350586,\r
+    "y": 850.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c25ccae3.59498",\r
+        "69b0287f.333378"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c25ccae3.59498",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3432.683364868164,\r
+    "y": 795.6833648681641,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "18001e31.10fe62"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "69b0287f.333378",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3419.683364868164,\r
+    "y": 904.6833648681641,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "643ae015.6b3ff8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "18001e31.10fe62",\r
+    "type": "set",\r
+    "name": "set hasSecondary false",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3647.683334350586,\r
+    "y": 632.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "643ae015.6b3ff8",\r
+    "type": "set",\r
+    "name": "set hasSecondary true",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3643.683334350586,\r
+    "y": 676.6833343505859,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "25259a32.c04fe6",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3840.683364868164,\r
+    "y": 3576.683364868164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "e17fd7c.5d8d2a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e17fd7c.5d8d2a8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4031.683364868164,\r
+    "y": 3580.683364868164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "6f9d8ee6.40f9a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f9d8ee6.40f9a8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4158.683364868164,\r
+    "y": 3579.683364868164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "5d450f44.f186c8",\r
+        "87679aab.884488"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "87679aab.884488",\r
+    "type": "save",\r
+    "name": "save SECONDARY-ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4380.683364868164,\r
+    "y": 3468.683364868164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "88b89d66.20648",\r
+    "type": "set",\r
+    "name": "unset secondary related variables",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 3385.566665649414,\r
+    "y": 508.56666564941406,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5d450f44.f186c8",\r
+    "type": "switchNode",\r
+    "name": "switch 2-ROOTS in same domain?",\r
+    "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4376.566665649414,\r
+    "y": 3527.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a8e3fac.bdef108",\r
+        "d683cc3e.7534e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8e3fac.bdef108",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4586.566665649414,\r
+    "y": 3504.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d7e8440b.3d707"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7e8440b.3d707",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4712.566665649414,\r
+    "y": 3504.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "23eff82f.a0dc88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5367218.35d1e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4717.566665649414,\r
+    "y": 3553.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "67e71008.eb1898",\r
+        "df5e72dc.bc108",\r
+        "728f0d90.8753cc",\r
+        "8686c784.f837e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d683cc3e.7534e8",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4591.566665649414,\r
+    "y": 3553.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a5367218.35d1e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23eff82f.a0dc88",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5040.566665649414,\r
+    "y": 3501.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "67e71008.eb1898",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainC",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4993.566665649414,\r
+    "y": 3592.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "df5e72dc.bc108",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4941.566665649414,\r
+    "y": 3634.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "728f0d90.8753cc",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5070.566665649414,\r
+    "y": 3676.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "41be2f96.b765f8",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4956.566665649414,\r
+    "y": 3549.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8686c784.f837e",\r
+    "type": "save",\r
+    "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5048.566665649414,\r
+    "y": 3724.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "561c7038.198b5",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3868.566665649414,\r
+    "y": 3527.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b87e18c5.0db5e8",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3843.566665649414,\r
+    "y": 4198.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "be1f4e62.15aa38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be1f4e62.15aa38",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4035.566665649414,\r
+    "y": 4193.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "a0659afe.abed3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a0659afe.abed3",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4164.566665649414,\r
+    "y": 4193.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "aacb47f4.be072"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aacb47f4.be072",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4496.566665649414,\r
+    "y": 4191.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "88b90ca8.e250c",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3831.566665649414,\r
+    "y": 4422.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d69507e0.d93c6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d69507e0.d93c6",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4011.566665649414,\r
+    "y": 4421.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "280736a4.7aa0f2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "280736a4.7aa0f2",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4140.566665649414,\r
+    "y": 4421.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "ff5dea73.98b998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ff5dea73.98b998",\r
+    "type": "switchNode",\r
+    "name": "switch 2-ROOTS in same domain?",\r
+    "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4358.449966430664,\r
+    "y": 4420.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "860e2e4b.61a0d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "860e2e4b.61a0d8",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4573.449966430664,\r
+    "y": 4420.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "3ff2617b.840e76"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ff2617b.840e76",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4705.449966430664,\r
+    "y": 4420.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "96149cb2.d633c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "96149cb2.d633c",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5069.566665649414,\r
+    "y": 4419.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f0668881.7d6d6",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3506.566665649414,\r
+    "y": 4677.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2492336a.68b20c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2492336a.68b20c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3686.566665649414,\r
+    "y": 4676.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "f54b8794.2acdd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f54b8794.2acdd",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3815.566665649414,\r
+    "y": 4676.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c3a4f53e.304d78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84f57def.b063a",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3551.566665649414,\r
+    "y": 4735.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cebbd661.72d4b8",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4117.566665649414,\r
+    "y": 4834.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3a4f53e.304d78",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3581.566665649414,\r
+    "y": 4768.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9d76d7ba.037948",\r
+        "c6779daf.7d7a8",\r
+        "62f3b274.175fb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6779daf.7d7a8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3763.057632446289,\r
+    "y": 4746.140884399414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "168b9f85.394368"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "62f3b274.175fb4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3751.566665649414,\r
+    "y": 4785.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "6d9d5aec.85fd34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "168b9f85.394368",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3922.629165649414,\r
+    "y": 4744.426528930664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6d9d5aec.85fd34",\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": 3912.566665649414,\r
+    "y": 4786.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1514bf18.105d59",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3914.566665649414,\r
+    "y": 4830.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "16719b54.ca935d",\r
+        "cebbd661.72d4b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d76d7ba.037948",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3756.566665649414,\r
+    "y": 4822.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "1514bf18.105d59"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "16719b54.ca935d",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 4075.566665649414,\r
+    "y": 4762.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "993866bb.1b2058",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4441.566665649414,\r
+    "y": 5330.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f715ac9f.9b32b8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4596.566665649414,\r
+    "y": 5371.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2d27f90.576768",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5039.566665649414,\r
+    "y": 5419.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "79d51ab0.5a125c",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4412.566665649414,\r
+    "y": 5429.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "fbb7e2aa.d5f0a8",\r
+        "7443db3b.00f94c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fbb7e2aa.d5f0a8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4648.566665649414,\r
+    "y": 5413.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "2a6159e8.abaf0e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a6159e8.abaf0e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4792.566665649414,\r
+    "y": 5415.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c2d27f90.576768",\r
+        "5c6afd36.faf1f4",\r
+        "86183466.e0956"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7443db3b.00f94c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4647.566665649414,\r
+    "y": 5461.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c6afd36.faf1f4",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5160.566665649414,\r
+    "y": 5466.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "86183466.e0956",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5042.233657836914,\r
+    "y": 5551.650161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "85909b06.96d1d8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5043.450454711914,\r
+    "y": 5510.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d5d61aed.e9642",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5574.566665649414,\r
+    "y": 5898.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cfe4284f.245dc",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4947.566665649414,\r
+    "y": 5908.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "67276eef.04fd3",\r
+        "9ce9471a.def67"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "67276eef.04fd3",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5180.566665649414,\r
+    "y": 5902.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "7fd061d3.3dea5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7fd061d3.3dea5",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5327.566665649414,\r
+    "y": 5910.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "d5d61aed.e9642",\r
+        "f7e19ea0.d5ede",\r
+        "ccb01b06.92e6a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ce9471a.def67",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5181.566665649414,\r
+    "y": 5952.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7e19ea0.d5ede",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5695.566665649414,\r
+    "y": 5945.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ccb01b06.92e6a8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5577.233657836914,\r
+    "y": 6030.650161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e15ccbfd.b5904",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5578.450454711914,\r
+    "y": 5989.449966430664,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "986cd5c9.02e9d",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5108.566665649414,\r
+    "y": 5858.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4899b08.51e5b",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4942.566665649414,\r
+    "y": 5819.566665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c617e6ee.8b983",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3269.816665649414,\r
+    "y": 6428.816665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9cb4bafc.51db",\r
+        "31675b48.f480a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cb4bafc.51db",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3460.816665649414,\r
+    "y": 6432.816665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "4d6a56c7.6a325"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d6a56c7.6a325",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3587.816665649414,\r
+    "y": 6431.816665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "c5539a8b.106aa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "31675b48.f480a4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3456.816665649414,\r
+    "y": 6502.816665649414,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "8a9f9d03.ba9c7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9f506842.a5d348",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4006.316665649414,\r
+    "y": 6501.900161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8a9f9d03.ba9c7",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3590.316665649414,\r
+    "y": 6504.900161743164,\r
+    "z": "294b5e8a.041612",\r
+    "wires": [\r
+      [\r
+        "9f506842.a5d348"\r
+      ]\r
+    ]\r
+  }\r
 ]
\ No newline at end of file